qwen-image-edit
Model Overview
Setup your API Key
API Schema
post
Body
modelstring · enumRequiredPossible values:
promptstring · max: 800Required
The text prompt describing the content, style, or composition of the image to be generated.
imagestringRequired
The image to be edited. Enter the Base64 encoding of the picture or an accessible URL. Image URL: Make sure that the image URL is accessible. Base64-encoded content: The format must be in lowercase.
negative_promptstring · max: 500Optional
The description of elements to avoid in the generated image.
watermarkbooleanOptionalDefault:
Add an invisible watermark to the generated images.
falseResponses
200Success
application/json
post
/v1/images/generations200Success
Quick Example

'Make the dinosaur sit on a lounge chair with its back to the camera, looking toward the water.
The setting sun has almost disappeared below the horizon.'Last updated
Was this helpful?