cURL
curl --request POST \ --url https://hub.oxen.ai/api/ai/images/edit \ --header 'Content-Type: application/json' \ --data ' { "image": "<string>", "model": "<string>", "prompt": "<string>", "mask": "<string>", "n": 1, "size": "<string>" } '
{ "created": 123, "images": [ { "revised_prompt": "<string>", "url": "<string>" } ], "model": "<string>" }
Edits an image given a prompt and source image.
Image edit request
URL of the source image
Text instruction for the edit
URL of the mask image
Edited images
Show child attributes