qwen-image-edit
Model Overview
The image editing variant of our 20B qwen-image model. It expands the model’s distinctive text rendering abilities to editing tasks, making accurate text modifications within images possible.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
The text prompt describing the content, style, or composition of the image to be generated.
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.
The description of elements to avoid in the generated image.
Add an invisible watermark to the generated images.
falseQuick Example
Let's generate an image using an input image and a prompt that defines how it should be edited.
We obtained the following 1184x896 image by running this code 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?