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

# Qwen Image Plus

> Qwen Image Plus: Generate an image from a text prompt. Use `input.prompt`, not `input.messages`.

Generate an image from a text prompt. Use `input.prompt`, not `input.messages`.

`POST /v1/images/generations`

## Quick Example

Set `MIXROUTE_API_KEY` before running the request.

```bash theme={null}
curl --request POST 'https://api.mixroute.ai/v1/images/generations' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
  "model": "qwen-image-plus",
  "input": {
    "prompt": "A red ceramic mug on a white table."
  },
  "parameters": {
    "size": "1024*1024",
    "n": 1
  }
}'
```

Read the image URL from `output.results[].url` after `output.task_status` becomes `SUCCEEDED`.

## Parameters and Limits

| Field | Description |
| - | - |
| `model` | `qwen-image-plus`. Set the model ID exactly as shown. |
| `input.prompt` | Text description of the image. |
| `parameters.size` | Use `width*height`, for example `1024*1024`. |
| `parameters.n` | Only `1` is supported per request. |

## API Reference

* [Qwen Image Generation](https://mixroute.ai/docs/api-reference/endpoint/qwen-image.md)


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