Qwen Image 2.0 Pro
unofficialimage
Qwen Image 2.0 Pro specifications
| Context window | — |
|---|---|
| Max output tokens | — |
| Release date | — |
| Input | Text |
| Output | Image |
Qwen Image 2.0 Pro pricing in rubles
You pay for what you use, per token and per unit. The final request cost is returned in the API response.
| Type | Price |
|---|---|
| Image | 13,5 ₽ per image |
Prices are in rubles and may change with exchange rates.
What Qwen Image 2.0 Pro can do
- Generation
Qwen Image 2.0 Pro API: connection and code examples
The service exposes a single OpenAI-compatible API. Set our base_url and the key from your dashboard.
OpenAI Python SDK
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.neuralbridge.ru/v1")
image = client.images.generate(model="qwen/qwen-image-2.0-pro-01402", prompt="Рыжий кот в скафандре")
print(image.data[0].url or image.data[0].b64_json[:64])cURL
curl https://api.neuralbridge.ru/v1/images/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen/qwen-image-2.0-pro-01402", "prompt": "Рыжий кот в скафандре"}'API endpoints
POST /v1/images/generationsprimary | Суреттер — генерация Мәтіндік сипаттама бойынша суретті генерациялау. |
Supported request parameters
| Parameter | Default | Allowed values | Description |
|---|---|---|---|
size | — | — | Нәтиженің өлшемі «ені×биіктігі» түріндегі жолмен. |
width | — | — | Суреттің ені пиксельде. |
height | — | — | Суреттің биіктігі пиксельде. |
seed | — | — | Кездейсоқтықты бекітеді: бірдей seed және бірдей параметрлермен қайталанған сұрау бірдей нәтижені береді. |
negative_prompt | — | — | Нәтижеде НЕ болуы керек: қалаусыз объектілерді, детальдарды немесе стильді тізімдеңіз. |