Back to models
Live APIQwen Image
Live APIQwen ImageQwen Image 2512
qwen-image-2512Cost-efficient image generation route for production batches, concept exploration, and image-editing pipelines.
Model overview
- Endpoint
- /api/v1/images/generations
- Credit cost
- 5 credits / image
- Typical latency
- 15-45 sec
- Input and output
- Text or images → PNG, JPEG, WebP
Capabilities
- Low per-image cost
- Text-to-image
- Multi-image editing
- Flexible pixel sizes
Request parameters
| Parameter | Type | Requirement | Description |
|---|---|---|---|
| model | string | Required | Model identifier. Default: qwen-image-2512 |
| prompt | string | Required | Generation or edit prompt. |
| images | string[] | Optional | Source image URLs for editing. |
| size | string | Optional | Pixel dimensions using width*height. Default: 1024*1024 |
| output_format | png | jpeg | webp | Optional | Generated file format. Default: jpeg |
Request example
curl https://qwenapi.org/api/v1/images/generations \
-H "Authorization: Bearer $QWEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-2512",
"prompt": "Minimal packaging design for a botanical sparkling water brand",
"size": "1024*1024",
"output_format": "jpeg"
}'The generation endpoint is asynchronous. Poll GET /api/v1/tasks/ with the same Bearer key.