NeuralBridge
Sign in Download IDE
Leonardo AI

phoenix 1.0

image generation

Image generation model Leonardo Phoenix 1.0 for text-to-image.

Specifications

Context window
—
Max tokens in response
—
Vendor
Leonardo AI
Release
—
Login
text
Output
images

Capabilities

streaminggeneration

Parameters

size
Result size as a "width×height" string.
width
Image width in pixels.
height
Image height in pixels.
num_stepsdefault: 25
Number of generation steps: more steps give more detail and take longer.
seed
Pins randomness: repeating a request with the same seed and parameters returns the same result.
negative_prompt
What must NOT appear in the result: list unwanted objects, details or styling.

Endpoints

POSThttps://api.neuralbridge.ru/v1/images/generationsprimary
Images — generations — Generate an image from a text description.

Code examples

python
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])

Other Leonardo AI models

For OpenAI SDK, specify /v1 in base_url. For Anthropic SDK — without /v1.
Prices
Image / image3,38 ₽
The request cost in rubles — in the response, field usage.cost
Identifier
leonardo/phoenix-1.0-08130
Get API key