cURL
curl --request POST \ --url https://dev.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.
Documentation IndexFetch the complete documentation index at: https://docs.oxen.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.oxen.ai/llms.txt
Use this file to discover all available pages before exploring further.
Image edit request
URL of the source image
Text instruction for the edit
URL of the mask image
Edited images
Show child attributes