# Qwen Image 2.1 API

> Alibaba's Qwen Image 2.1: text to image and image editing, up to 2K. By Alibaba, on Revana from $0.03 per image.

- Model id: `qwen-image-2.1`
- Kind: image
- Maker: Alibaba
- Tasks: Text to image, Image to image
- Resolutions: 1K, 2K
- Routes: 1
- Status: live on the API
- Page: https://revana.si/models/qwen-image-2.1

## Price (per image, USD)

| Setting | Price | Credits |
|---|---|---|
| 1K | $0.03 | 3 |
| 2K | $0.05 | 5 |

100 credits = $1. Charged once, only for the route that succeeds; failed generations cost nothing.

## Request

POST https://api.revana.si/v1/generations with `Authorization: Bearer $REVANA_API_KEY`:

```json
{
  "model": "qwen-image-2.1",
  "input": {
    "prompt": "A product photo of a ceramic coffee cup on a linen tablecloth, soft morning light",
    "resolution": "1K"
  }
}
```

Poll `GET /v1/generations/{id}` until `status` is `succeeded` or `failed`, then download `GET /v1/generations/{id}/content`. Full API: https://revana.si/llms.txt

## Similar models

- [Wan 2.6](https://revana.si/models/wan-2.6.md): from $0.07 per second of video
- [Qwen Image](https://revana.si/models/qwen-image.md): from $0.03 per image
- [HappyHorse 1.0](https://revana.si/models/happyhorse-1.0.md): from $0.17 per second of video
- [HappyHorse 1.1](https://revana.si/models/happyhorse-1.1.md): from $0.15 per second of video
- [Wan 2.2 Animate](https://revana.si/models/wan-2.2-animate.md): from $0.08 per second of video
- [Wan 2.2 Speech To Video](https://revana.si/models/wan-2.2-speech-to-video.md): from $0.08 per second of video

