Назад к моделям
Активный APIQwen Image
Активный APIQwen ImageQwen Image 3
qwen-image-3High-fidelity text-to-image and image-to-image generation with strong typography, layout, and multilingual prompt following.
Обзор модели
- Эндпоинт
- /api/v1/images/generations
- Стоимость в кредитах
- 10 credits / image
- Обычная задержка
- 20-60 sec
- Вход и выход
- Text, up to 3 images → PNG or JPEG
Возможности
- 1K and 2K output
- Text and image conditioning
- Prompt expansion
- Deterministic seeds
Параметры запроса
| Параметр | Тип | Обязательность | Описание |
|---|---|---|---|
| model | string | Обязательно | Model identifier. По умолчанию: qwen-image-3 |
| prompt | string | Обязательно | Generation prompt, up to 800 characters. |
| image_urls | string[] | Необязательно | Up to three public image URLs for image-to-image generation. |
| aspect_ratio | string | Необязательно | Output aspect ratio. По умолчанию: 16:9 |
| resolution | 1K | 2K | Необязательно | Output resolution tier. По умолчанию: 1K |
| output_format | png | jpeg | Необязательно | Generated file format. По умолчанию: png |
| seed | integer | Необязательно | Integer from 0 to 2147483647. По умолчанию: 1 |
Пример запроса
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"
}'Генерация асинхронна. Опросите GET /api/v1/tasks/ с тем же Bearer-ключом.