Qwen Image 3.0 - Image Editor
Qwen Image 3.0 by Alibaba Cloud also edits images from natural-language instructions, supporting a primary image plus up to two additional reference images for multi-image fusion. For premium fidelity with resolution-based pricing, see Qwen Image 3.0 Pro.
Note: Image files must first be uploaded using the Asset API before editing. The imageUrl and additional_images parameters should contain the paths returned from the Asset API upload.
Endpoint
Request Headers
| Field | Value |
|---|---|
| API-KEY | <api-key> |
| Content-Type | application/json |
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_EDITOR |
model | string | Yes | AI model identifier. Must be qwen-image-3.0 |
promptObject | object | Yes | Configuration object containing all image editing parameters |
Prompt Object Parameters
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
imageUrl | string | Yes | Path to the primary source image to be edited (max 10MB) | - |
prompt | string | Yes | Text description of the desired image transformation | - |
additional_images | array | No | Up to 2 additional image paths for multi-image editing (max 10MB each) | [] |
n | number | No | Number of output images to generate (integer 1–6) | 1 |
width | number | Yes | Output width in pixels; total pixels (width × height) must be between 512×512 (262,144) and 2048×2048 (4,194,304) | - |
height | number | Yes | Output height in pixels; total pixels (width × height) must be between 512×512 (262,144) and 2048×2048 (4,194,304) | - |
prompt_extend | boolean | No | Enable AI prompt optimization for better results | true |
enable_thinking | boolean | No | Let the model reason while extending the prompt. Requires prompt_extend enabled | true |
negative_prompt | string | No | Describe what you don't want in the output | - |
seed | number | No | Random seed for reproducible results (0-2147483647) | - |
Agent prompt extension (
prompt_extend_mode: "agent") is available for generation only; editing always uses direct extension.
Multi-Image Editing
Qwen Image 3.0 supports up to 3 total images for complex editing tasks:
- Image 1 (Primary): Specified via
imageUrlparameter (required) - Image 2 & Image 3 (Additional): Specified via
additional_imagesarray (optional, max 2)
In your prompt, reference images using "Image 1", "Image 2", and "Image 3" to specify which image elements to use.
Example: "Replace the background in Image 1 with the landscape from Image 2"
Code Examples
- cURL
- JavaScript
- Python
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EDITOR",
"model": "qwen-image-3.0",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_portrait.png",
"prompt": "Change the background to a serene mountain landscape at sunset",
"n": 2,
"prompt_extend": true,
"negative_prompt": "blurry, low resolution, distorted"
}
}'
fetch('https://api.1min.ai/api/features', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'API-KEY': 'YOUR_API_KEY'
},
body: JSON.stringify({
type: 'IMAGE_EDITOR',
model: 'qwen-image-3.0',
promptObject: {
imageUrl: 'development/images/2025_12_04_18_10_29_882_portrait.png',
prompt: 'Change the background to a serene mountain landscape at sunset',
n: 2,
prompt_extend: true,
negative_prompt: 'blurry, low resolution, distorted'
}
})
})
.then(response => response.json())
.then(data => console.log(data));
import requests
url = "https://api.1min.ai/api/features"
headers = {
"Content-Type": "application/json",
"API-KEY": "YOUR_API_KEY"
}
data = {
"type": "IMAGE_EDITOR",
"model": "qwen-image-3.0",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_portrait.png",
"prompt": "Change the background to a serene mountain landscape at sunset",
"n": 2,
"prompt_extend": True,
"negative_prompt": "blurry, low resolution, distorted"
}
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Interactive Playground
API Playground
https://api.1min.ai/api/featuresGenerated cURL Command:
curl -X POST "https://api.1min.ai/api/features" \
-H "API-KEY: <your-api-key>" \
-H "Content-Type: application/json" \
-d '{
"type": "IMAGE_EDITOR",
"model": "qwen-image-3.0",
"promptObject": {
"imageUrl": "development/images/2025_12_04_18_10_29_882_portrait.png",
"prompt": "Change the background to a serene mountain landscape at sunset, maintaining the subject composition and lighting",
"n": 1,
"additional_images": [],
"prompt_extend": true,
"enable_thinking": true,
"negative_prompt": ""
}
}'
Response Format
{
"aiRecord": {
"uuid": "f85656ed-1eb1-4191-a2ca-8ded269ab888",
"userId": "f944dd01-da40-405c-b698-708269eb9664",
"teamId": "7d530bad-357c-4f6e-b627-16f043c9a16b",
"model": "qwen-image-3.0",
"type": "IMAGE_EDITOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2026-10-13T10:01:54.754Z",
"aiRecordDetail": {
"promptObject": {
"n": 1,
"seed": 2,
"prompt": "Change the background to a serene mountain landscape at sunset, maintaining the subject composition and lighting",
"imageUrl": "development/images/2026_01_10_22_07_53_181_p1011712.png",
"prompt_extend": true,
"negative_prompt": "",
"additional_images": [
"development/images/2026_01_10_22_07_26_478_p1011753.webp"
]
},
"resultObject": [
"development/images/2026_10_13_17_02_11_069_503598.png"
],
"responseObject": {
"request_id": "a1b2c3d4-0000-0000-0000-abcdef123456",
"usage": {
"input_image_count": 2,
"output_image_count": 1,
"output_width": 1024,
"output_height": 1024,
"input_image_type": "qima_input_1k",
"output_image_type": "qima_output_1k"
}
}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset-staging.1min.ai/development/images/2026_10_13_17_02_11_069_503598.png?X-Amz-Signature=..."
}
}