https://llm.ai-nebula.com/v1/images/generationsBearer sk-xxxxxxxxxx| Parameter Name | Type | Required | Description | Example Value |
|---|---|---|---|---|
| model | string | Yes | Model name | qwen-image-edit-plus |
| prompt | string | Yes | Image editing instruction (text prompt) | "The girl in image 1 sits down in the pose of image 3 wearing the black dress from image 2" |
| parameters | object | Yes | Generation parameters | See description below |
{
"model": "qwen-image-edit-plus",
"prompt": "Image editing instruction",
"parameters": {
"n": 2, // Number of output images (1-6)
"negative_prompt": "", // Negative prompt (Optional)
"watermark": false, // Watermark (Optional, default false)
"seed": 12345 // Random seed (Optional)
},
"contents": [
{
"role": "user",
"parts": [
{ "image": "https://..." }, // 1st image (Required)
{ "image": "https://..." }, // 2nd image (Optional)
{ "image": "https://..." }, // 3rd image (Optional)
{ "text": "Editing instruction" } // Text instruction (Required, placed at the end)
]
}
]
}data:{mime_type};base64,{base64_data}image/jpegimage/pngimage/bmpimage/tiffimage/webpdata:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD..."distortion, deformation, extra limbs, wrong proportions, uncoordinated, distorted face""over-rendered, distortion, mismatched colors, unnatural, inconsistent style""blurred text, typos, distorted font, unclear strokes, overlapping text""unnatural, sense of violation, obvious seams, wrong shadows, incorrect perspective""uncoordinated, obvious seams, mismatched lighting, inconsistent tone, stitching marks"[0, 2147483647]{
"code": 200,
"msg": "Operation successful",
"data": {
"data": [
{
"url": "https://dashscope-result-sz.oss-cn-shenzhen.aliyuncs.com/xxx.png?Expires=xxx",
"b64_json": "",
"revised_prompt": ""
},
{
"url": "https://dashscope-result-sz.oss-cn-shenzhen.aliyuncs.com/yyy.png?Expires=xxx",
"b64_json": "",
"revised_prompt": ""
}
],
"created": 1762415000,
"metadata": {
"output": {
"choices": [
{
"finish_reason": "stop",
"message": {
"content": [
{ "image": "https://..." },
{ "image": "https://..." }
],
"role": "assistant"
}
}
]
},
"usage": {
"width": 1248,
"image_count": 2,
"height": 832
},
"request_id": "bf37ca26-0abe-98e4-8065-xxxxxx"
}
}
}| Field Path | Type | Description |
|---|---|---|
| code | int | Response status code, 200 indicates success |
| msg | string | Response message |
| data.data[] | array | Generated image array |
| data.data[].url | string | Image URL address (valid for approx. 24 hours) |
| data.created | int | Generation timestamp |
| data.metadata | object | Manufacturer's original response data |
| data.metadata.usage.image_count | int | Number of images generated |
| data.metadata.usage.width | int | Image width |
| data.metadata.usage.height | int | Image height |
{
"code": 400,
"msg": "Parameter Error: Image quantity exceeds limit",
"data": null
}400: Parameter error (e.g., incorrect image format, size over limit, etc.)401: Authentication failed (Invalid or expired API key)403: Insufficient permissions or balance429: Request too frequent, rate limit exceeded500: Internal Server Error"The girl in image 1 sits down in the pose of image 3 wearing the black dress from image 2""Girl sits down wearing a black dress""The girl in image 1 sits down in the pose of image 3 wearing the black dress from image 2, keep her clothing, hairstyle and expression unchanged, movement is natural and smooth, lighting and shadows remain consistent""Girl in image 1 changes clothes"| Edit Type | Recommended Negative Prompts |
|---|---|
| Person Editing | "distortion, deformation, extra limbs, wrong proportions, uncoordinated, face distortion" |
| Style Transfer | "over-rendered, distortion, mismatched colors, unnatural, inconsistent style" |
| Text Editing | "blurred text, typos, distorted font, unclear strokes, overlapping text" |
| Object Editing | "unnatural, sense of violation, obvious seams, wrong shadows, incorrect perspective" |
| Multi-Image Fusion | "uncoordinated, obvious seams, mismatched lighting, inconsistent tone, stitching marks" |
| Usage Scenario | n | negative_prompt | watermark | seed |
|---|---|---|---|---|
| Quick Test | 1-2 | "" | false | Not set |
| High Quality Output | 3-4 | Detailed description | false | Not set |
| Batch Generation | 6 | Brief description | false | Not set |
| Stable Reproduction | 1 | Detailed description | false | Fixed value |
Generate 2 images: 2 images × ¥0.18 = ¥0.36
Generate 6 images: 6 images × ¥0.18 = ¥1.08{
"content": "Image generation: 2 images × ¥0.18 = ¥0.36",
"modelName": "qwen-image-edit-plus",
"quota": 12329,
"quotaDollar": "0.049316"
}qwen-image-plus or doubao-seedream-4-0-250828.n parameter, ranging from 1-6 images."The girl in image 1 sits down in the pose of image 3 wearing the black dress from image 2"data:image/{type};base64,{data}n parameter to generate multiple variants for selection.watermark: false. Note: Removing watermarks may have usage restrictions according to Alibaba Cloud's terms of service; please comply with relevant regulations.| Parameter | Value |
|---|---|
| Model Name | qwen-image-edit-plus, qwen-image-edit-plus-2025-10-30 |
| Supported Function | Image Editing (Image-to-Image) |
| Image Input | 1-3 images (URL or Base64) |
| Image Output | 1-6 images |
| Input Format | JPG, JPEG, PNG, BMP, TIFF, WEBP |
| Output Format | PNG |
| Resolution Limit | 384-3072 pixels |
| File Size Limit | ≤10MB |
| Response Format | URL (Valid for approx. 24 hours) |
| Billing Method | Per image billing (¥0.18/image) |
| Function | Supported | Description |
|---|---|---|
| Single Image Editing | ✅ | 1 input image |
| Multi-Image Fusion | ✅ | 2-3 input images |
| Modify Text | ✅ | Precise modification of text in image |
| Add/Remove Objects | ✅ | Add or delete objects |
| Change Action | ✅ | Modify person/animal pose |
| Style Transfer | ✅ | Change artistic style |
| Negative Prompt | ✅ | Exclude unwanted elements |
| Random Seed | ✅ | Control generation stability |
| Pure Text-to-Image | ❌ | Must have input image |
| Scenario | Image Count | n | negative_prompt | watermark | seed |
|---|---|---|---|---|---|
| Single Image Edit | 1 | 2-3 | Brief description | false | Not set |
| Multi-Image Fusion | 2-3 | 2-4 | Detailed description | false | Not set |
| High Quality Output | 1-3 | 3-4 | Detailed description | false | Not set |
| Stable Reproduction | 1-3 | 1 | Detailed description | false | Fixed value |
| Batch Test | 1-3 | 6 | Brief description | false | Not set |