> ## 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 Max

> Qwen Image Max: Generate an image from text using the Qwen multimodal request shape. This route uses a text block, not reference images.

Generate an image from text using the Qwen multimodal request shape. This route uses a text block, not reference images.

`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-max",
  "input": {
    "messages": [
      {
        "role": "user",
        "content": [
          {
            "text": "A red ceramic mug on a white table."
          }
        ]
      }
    ]
  },
  "parameters": {
    "size": "1024*1024",
    "n": 1
  }
}'
```

Read the image from `output.choices[].message.content[].image`.

## Parameters and Limits

| Field | Description |
| - | - |
| `model` | `qwen-image-max`. Set the model ID exactly as shown. |
| `input.messages[].content[].text` | Place one text block in one `user` message. |
| `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.