Edit images using the qwen-image-edit-max model.
This model supports multi-image input and output. It can:
Key features:
| Property | Requirement |
|---|---|
| Formats | JPG, JPEG, PNG, BMP, TIFF, WEBP, GIF (first frame only) |
| Resolution | Width and height: 384-3072 pixels |
| File Size | Max 10MB per image |
| Input Count | 1-3 images |
| Input Type | Public URL or Base64-encoded data |
prompt_extend for more polished resultsBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of input image URLs or Base64-encoded images. Supports 1-3 images. For multi-image input, the order defines their sequence. The aspect ratio of the output image is determined by the last image.
Image requirements:
1 - 3 elementsImage URL or Base64-encoded image data
Image editing instruction (max 800 characters). Describes the elements and visual features you want in the generated image. When editing multiple images, use "Image 1", "Image 2", "Image 3" to refer to corresponding images. Supports both Chinese and English.
800Negative prompt describing unwanted content (max 500 characters). Used to constrain the image generation. Example: low resolution, error, worst quality, low quality, disfigured, extra fingers, bad proportions.
500Output image resolution in format "widthheight" (e.g., "10241024"). Width and height must be in range [512, 2048] pixels. Example: "10241024", "7681024", "512*512"
Leave empty to maintain aspect ratio similar to input image with resolution close to 1024*1024.
Number of images to generate (1-6).
1 <= x <= 6Enable intelligent prompt rewriting. When enabled, a large language model optimizes the positive prompt. Significantly improves results for simple or less descriptive prompts.
Random seed for reproducibility [0, 2147483647]. Using the same seed helps ensure consistency of generated content. Note: Results are not guaranteed to be identical for every call even with the same seed.
0 <= x <= 2147483647Accepted - Task created successfully