https://llm.ai-nebula.com/v1/images/generationsBearer sk-xxxxxxxxxx| Parameter Name | Type | Required | Description | Example Value |
|---|---|---|---|---|
| model | string | Yes | Model name | qwen-image-plus |
| prompt | string | Yes | Text prompt | "A cute orange kitten" |
| parameters | object | Yes | Generation parameters | See description below |
{
"model": "qwen-image-plus",
"prompt": "Your prompt content",
"parameters": {
"size": "1328*1328", // Image size (Required)
"negative_prompt": "", // Negative prompt (Optional)
"prompt_extend": true, // Prompt extension (Optional, default true)
"watermark": true // Watermark (Optional, default true)
}
}extra and input.messages:{
"model": "qwen-image-plus",
"prompt": "Your prompt content",
"extra": {
"input": {
"messages": [
{
"role": "user",
"content": [
{
"text": "Your prompt content"
}
]
}
]
},
"parameters": {
"size": "1328*1328",
"negative_prompt": "",
"prompt_extend": true,
"watermark": true
}
}
}| Size | Aspect Ratio | Usage Scenarios |
|---|---|---|
| 1328×1328 | 1:1 | Square images, avatars, social media |
| 1664×928 | 16:9 | Widescreen, video covers, desktop wallpapers |
| 928×1664 | 9:16 | Mobile vertical screen, short video covers |
| 1472×1140 | 4:3 | Landscape photos |
| 1140×1472 | 3:4 | Vertical photos, posters |
"blur, noise, low resolution, pixelated""watermark, text, logo, copyright sign""cartoon, anime, abstract, realistic""distortion, deformation, extra limbs, wrong proportions"prompt_extend parameter:prompt_extend: true)prompt_extend: false)watermark parameter:{
"code": 200,
"msg": "Operation successful",
"data": {
"data": [
{
"url": "https://dashscope-result-wlcb-acdr-1.oss-cn-wulanchabu-acdr-1.aliyuncs.com/...",
"b64_json": "",
"revised_prompt": ""
}
],
"created": 1762411334,
"metadata": {
"output": {
"choices": [
{
"finish_reason": "stop",
"message": {
"content": [
{
"image": "https://..."
}
],
"role": "assistant"
}
}
],
"task_metric": {
"FAILED": 0,
"SUCCEEDED": 1,
"TOTAL": 1
}
},
"request_id": "c9c7658e-a78e-4f3d-b59c-c25ab83c833b",
"usage": {
"height": 1328,
"image_count": 1,
"width": 1328
}
}
}
}| Field Path | Type | Description |
|---|---|---|
| code | int | Response status code, 200 indicates success |
| msg | string | Response message |
| data.data[] | array | Array of generated images |
| 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: Unsupported image size",
"data": null
}400: Parameter error (e.g., wrong model name, invalid size format, etc.)401: Authentication failed (Invalid or expired API key)403: Insufficient permissions or balance429: Request too frequent, rate limit exceeded500: Internal Server Error"A poster with the title 'Summer Sale' and subtitle '50% off site-wide', background is a fresh beach scene""A promotional poster""A Chinese couplet, left scroll 'Spring returns to the earth, thousands of mountains are beautiful', right scroll 'Sun shines on the divine land, all industries prosper', horizontal scroll 'Everything is renewed', background is red Xuan paper, font is regular script in gold""A Chinese couplet"{
"negative_prompt": "blur, low quality, distortion, deformation, extra limbs, wrong proportions, ugly"
}{
"negative_prompt": "blur, noise, overexposure, underexposure, low resolution, watermark"
}{
"negative_prompt": "blur, heavy shadows, excessive reflection, color distortion, messy background"
}{
"negative_prompt": "blurred text, typos, distorted font, unclear strokes"
}| Usage Scenario | size | prompt_extend | watermark | negative_prompt |
|---|---|---|---|---|
| Rapid Creation | 1328×1328 | true | true | "" |
| Precise Control | As needed | false | false | Detailed description |
| Text Rendering | 1328×1328 | false | true | "blurred text" |
| High Quality Output | 1664×928 | false | false | "blur, low quality, noise" |
| Poster Design | 928×1664 | true | false | "messy, low quality" |
Generate 1 image: 1 image × ¥0.18 = ¥0.18
Generate 5 images: 5 images × ¥0.18 = ¥0.90{
"content": "Image generation: 1 image × ¥0.18 = ¥0.18",
"modelName": "qwen-image-plus",
"quota": 12329,
"quotaDollar": "0.024658"
}gemini-2.5-flash-image or doubao-seedream-4-0-250828.{
"prompt": "A poster, title is 'Double 11 Sale', subtitle '50% off site-wide', background is a red gradient"
}prompt_extend: true - System expands your positive promptnegative_prompt: "..." - Simultaneously applies negative constraintswatermark: false:{
"parameters": {
"watermark": false
}
}prompt_extend: true to let the system optimize automatically.prompt_extend: false to keep the original description.${prompt}_${size}_${negative_prompt}_${prompt_extend}| Parameter | Value |
|---|---|
| Model Name | qwen-image-plus |
| Supported Function | Text-to-Image (Pure text generation) |
| Core Advantage | Complex Text Rendering (Chinese/English) |
| Supported Sizes | 1328×1328, 1664×928, 928×1664, 1472×1140, 1140×1472 |
| Image Input | ❌ Not Supported |
| Response Format | URL (Valid for approx. 24 hours) |
| Billing Method | Per image billing (¥0.18/image) |
| Function | Supported | Description |
|---|---|---|
| Text-to-Image | ✅ | Generate images from pure text descriptions |
| Text Rendering | ✅ | Excels at Chinese/English text rendering |
| Prompt Extension | ✅ | Optional intelligent extension |
| Negative Prompt | ✅ | Exclude unwanted elements |
| Watermark Control | ✅ | Select whether to add watermark |
| Image-to-Image | ❌ | Not Supported |
| Multi-Image Fusion | ❌ | Not Supported |
| Conversation Context | ❌ | Not Supported |
| Size | Ratio | Scenario |
|---|---|---|
| 1328×1328 | 1:1 | Social media, avatars |
| 1664×928 | 16:9 | Video cover, landscape |
| 928×1664 | 9:16 | Short video, phone wallpaper |
| 1472×1140 | 4:3 | Landscape photo |
| 1140×1472 | 3:4 | Vertical poster |
| Scenario | size | prompt_extend | watermark | negative_prompt |
|---|---|---|---|---|
| Rapid Creation | 1328×1328 | true | true | "" |
| Text Poster | 928×1664 | false | false | "blurred text" |
| High Quality Photo | 1664×928 | false | false | "blur, low quality, noise" |
| Couplet Calligraphy | 1140×1472 | false | true | "blurred text, typos" |