phoenix 1.0
unofficialimage
phoenix 1.0 specifications
| Context window | — |
|---|---|
| Max output tokens | — |
| Release date | — |
| Input | Text |
| Output | Image |
phoenix 1.0 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 | 3,38 ₽ per image |
Prices are in rubles and may change with exchange rates.
What phoenix 1.0 can do
- Streaming responses
- Generation
phoenix 1.0 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="leonardo/phoenix-1.0-08130", 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": "leonardo/phoenix-1.0-08130", "prompt": "Рыжий кот в скафандре"}'API endpoints
POST /v1/images/generationsprimary | Images — generations Metin açıklamasına göre görüntü oluşturma. |
Supported request parameters
| Parameter | Default | Allowed values | Description |
|---|---|---|---|
size | — | — | Sonuç boyutu, «genişlik×yükseklik» biçiminde bir satır olarak. |
width | — | — | Görselin piksel cinsinden genişliği. |
height | — | — | Görüntünün yüksekliği piksel cinsinden. |
num_steps | 25 | — | Üretim adım sayısı: daha fazla adım — daha ayrıntılı sonuç ve daha uzun bekleme. |
seed | — | — | Rastgeleliği sabitler: aynı seed ve aynı parametrelerle yapılan tekrar isteği aynı sonucu verir. |
negative_prompt | — | — | Sonuçta ne olmamalı: istenmeyen nesneleri, detayları veya üslubu listeleyin. |