Volver a modelos
API activaQwen Image
API activaQwen ImageQwen Image 3
qwen-image-3High-fidelity text-to-image and image-to-image generation with strong typography, layout, and multilingual prompt following.
Resumen del modelo
- Endpoint
- /api/v1/images/generations
- Coste en créditos
- 10 credits / image
- Latencia habitual
- 20-60 sec
- Entrada y salida
- Text, up to 3 images → PNG or JPEG
Capacidades
- 1K and 2K output
- Text and image conditioning
- Prompt expansion
- Deterministic seeds
Parámetros de solicitud
| Parámetro | Tipo | Requisito | Descripción |
|---|---|---|---|
| model | string | Obligatorio | Model identifier. Predeterminado: qwen-image-3 |
| prompt | string | Obligatorio | Generation prompt, up to 800 characters. |
| image_urls | string[] | Opcional | Up to three public image URLs for image-to-image generation. |
| aspect_ratio | string | Opcional | Output aspect ratio. Predeterminado: 16:9 |
| resolution | 1K | 2K | Opcional | Output resolution tier. Predeterminado: 1K |
| output_format | png | jpeg | Opcional | Generated file format. Predeterminado: png |
| seed | integer | Opcional | Integer from 0 to 2147483647. Predeterminado: 1 |
Ejemplo de solicitud
curl https://qwenapi.org/api/v1/images/generations \
-H "Authorization: Bearer $QWEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen-image-3",
"prompt": "Editorial product photo of a translucent blue speaker on a steel desk, soft morning light",
"aspect_ratio": "16:9",
"resolution": "1K",
"output_format": "png"
}'El endpoint de generación es asíncrono. Consulta GET /api/v1/tasks/ con la misma clave Bearer.