Qwen Image Edit Plus - Image Text Editor
Advanced image editing model by Alibaba Cloud with powerful multi-image fusion capabilities. Qwen Image Edit Plus allows you to edit images using natural language instructions while supporting up to 3 input images for complex editing tasks.
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-edit-plus |
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 | - |
n | number | Yes | Number of output images to generate (1-6) | - |
additional_images | array | No | Up to 2 additional image paths for multi-image editing (max 10MB each) | - |
width | number | No | Custom output width in pixels (512-2048). Leave empty to match input aspect ratio | - |
height | number | No | Custom output height in pixels (512-2048). Leave empty to match input aspect ratio | - |
prompt_extend | boolean | No | Enable AI prompt optimization for better results | - |
negative_prompt | string | No | Describe what you don't want in the output (max 500 characters) | - |
seed | number | No | Random seed for reproducible results (0-2147483647) | - |
Multi-Image Editing
Qwen Image Edit Plus 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)
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-edit-plus",
"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-edit-plus',
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-edit-plus",
"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/featuresPath to the primary source image to be edited (Image 1)
Describe the editing transformation you want. Reference images as 'Image 1', 'Image 2', 'Image 3'
Generate 1-6 output variations
Up to 2 additional image paths for multi-image editing (max 10MB each)
Custom output width (512-2048). Leave empty to match input aspect ratio
Custom output height (512-2048). Leave empty to match input aspect ratio
AI will enhance your prompt for better results
Describe what you don't want in the output (max 500 characters)
Random seed for reproducible results (0-2147483647)
Generated 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-edit-plus",
"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,
"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-edit-plus",
"type": "IMAGE_EDITOR",
"metadata": null,
"rating": null,
"feedback": null,
"conversationId": null,
"status": "SUCCESS",
"createdAt": "2026-01-12T10:01:54.754Z",
"aiRecordDetail": {
"promptObject": {
"n": 1,
"seed": 2,
"width": 1024,
"height": 1021,
"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": "low reslution",
"additional_images": [
"development/images/2026_01_10_22_07_26_478_p1011753.webp",
"development/images/2026_01_10_22_07_28_777_p1012002.webp"
]
},
"resultObject": [
"development/images/2026_01_12_17_02_11_069_503598.png"
],
"responseObject": {}
},
"additionalData": null,
"temporaryUrl": "https://s3.us-east-1.amazonaws.com/asset-staging.1min.ai/development/images/2026_01_12_17_02_11_069_503598.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIAVRUVQEFIHSKAXGE7%2F20260112%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20260112T100216Z&X-Amz-Expires=604800&X-Amz-Signature=fd9c99f5985c4f2ab0da5b351bdcd0429cef18205a4589fa82e883f6341861ed&X-Amz-SignedHeaders=host&x-amz-checksum-mode=ENABLED&x-id=GetObject"
}
}