About Qwen Image Edit Max
Qwen Image Edit Max is Alibaba's closed image editing model. It follows natural-language instructions to modify, restyle, or combine up to three input images while preserving the identity of people and products.
The output keeps the aspect ratio of the last input image by default, with total pixels close to 1024x1024, and any side can be set from 512 to 2048 pixels. It can return up to six candidates per call. It suits object removal and replacement, background changes, style transfer, and multi-image composition such as placing a product from one image into a scene from another.
Weights are not published.
| Metric | Value |
|---|---|
| Max Resolution | 2048 per side |
| Multilingual | Yes (Chinese, English) |
Ready to build with Qwen Image Edit Max?
Try Qwen Image Edit Max in the Workbench to prompt it, compare outputs, and iterate on prompts without writing any code. When you're ready to ship, call the same model from our API and build your own apps on top of it.
curl -sSf -X POST https://hub.oxen.ai/api/ai/images/edit \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OXEN_API_KEY" \
-d '{
"model": "qwen-image-edit-max",
"prompt": "Put a red knitted scarf on the character in @Image1 and place it in a snowy pine forest at dusk",
"input_images": [
"https://hub.oxen.ai/api/repos/ox/Oxen-Character-Simple-Vector-Graphic/file/main/images/reference/bloxy_white_bg.png"
],
"aspect_ratio": "auto",
"num_images": 1,
"enable_prompt_expansion": true,
"watermark": false
}'Request parameters
Every field Qwen Image Edit Max accepts in the request body. See the API reference for response formats.
https://hub.oxen.ai/api/ai/images/edit| Field | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | — | Text prompt describing the image to generate, or the edit to apply. Use @Image1, @Image2, etc. to reference the input images. |
input_images | array<string> | Yes | — | Input images to edit or combine. The output keeps the aspect ratio of the last image unless an aspect ratio is chosen. Reference them in the prompt as @Image1, @Image2, etc. Up to 3 images. |
aspect_ratio | string | No | "auto" | auto16:99:161:14:33:4 |
num_images | integer | No | 1 | Number of images to generate, 1 to 6. Only the first is returned; all are billed. Range: 1 – 6 |
enable_prompt_expansion | boolean | No | true | Let the model rewrite the prompt with more detail before rendering. Turn off for tighter control over the wording. |
negative_prompt | string | No | — | What to keep out of the image. Up to 500 characters. |
seed | integernullable | No | — | Seed for reproducible generation, 0 to 2147483647. Results can still vary between runs. |
watermark | boolean | No | false | Add an AI-generated watermark in the bottom-right corner. |