Create image edit
Creates an edited or extended image given an original image and a prompt.
In: header
Model identifier in the format providerSlug/modelSlug, e.g., qwen/qwen-image-edit.
The image to edit. Can be a file (multipart/form-data) or a Base64-encoded string/URL (application/json).
binaryAn additional image whose fully transparent areas indicate where image should be edited. Can be a file (multipart/form-data) or a Base64-encoded string/URL (application/json).
binaryA text description of the desired image(s).
11 <= value <= 6"url""url" | "b64_json"Response Body
curl -X POST "https://api.openroute.cn/v1/images/edits" \ -H "Content-Type: application/json" \ -d '{ "model": "qwen/qwen-image-edit", "image": "string", "prompt": "A sunlit indoor lounge area with a pool containing a flamingo" }'Last updated on
