> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdn-fly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Qwen Image Plus

> Call Alibaba's Qwen Image Plus text-to-image model via the Starrise AI API.

Qwen Image Plus is a text-to-image model available through Starrise AI. The API is **synchronous** — it automatically polls the upstream asynchronous task and directly returns the final image URL.

## Key Capabilities

* **Text-to-image** — Generate images from text descriptions
* **Flexible sizes** — Specify output resolution via `size`
* **URL or Base64** — Choose the return format via `response_format`

## Quick Example

```bash cURL theme={null}
curl https://dayu.cdn-fly.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen-image-plus",
    "prompt": "A cute cat in Ghibli style",
    "size": "1024x1024",
    "response_format": "url"
  }'
```

```python Python theme={null}
import requests

response = requests.post(
    "https://dayu.cdn-fly.com/v1/images/generations",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={
        "model": "qwen-image-plus",
        "prompt": "A cute cat in Ghibli style",
        "size": "1024x1024",
        "response_format": "url"
    }
)

result = response.json()
print(result["data"][0]["url"])
```

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `model` | string | Yes | Must be `qwen-image-plus` |
| `prompt` | string | Yes | Image description text |
| `n` | integer | No | Number of images to generate, default `1` |
| `size` | string | No | Output size, e.g. `1024x1024` |
| `response_format` | string | No | `url` (default) or `b64_json` |

## Response Fields

| Field | Description |
| - | - |
| `data[].url` | Image download URL (valid \~24 hours) |
| `data[].b64_json` | Base64-encoded image (only returned when `response_format=b64_json`) |
| `data[].revised_prompt` | Actual prompt after AI expansion |
| `created` | Creation timestamp |

> **[API Reference](/en/api-reference/model-api/alibaba/qwen-image-plus)**
>
> View the interactive API Playground for Qwen Image Plus.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.