NeuralBridgeDocumentation

lucid origin

unofficialimage
DeveloperLeonardo
Identifierleonardo/lucid-origin-08130

lucid origin specifications

Context window
Max output tokens
Release date
InputText
OutputImage

lucid origin pricing in rubles

You pay for what you use, per token and per unit. The final request cost is returned in the API response.

TypePrice
Image4,03per image

Prices are in rubles and may change with exchange rates.

What lucid origin can do

lucid origin 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/lucid-origin-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/lucid-origin-08130", "prompt": "Рыжий кот в скафандре"}'

API endpoints

POST /v1/images/generationsprimaryСуреттер — генерация
Мәтіндік сипаттама бойынша суретті генерациялау.

Supported request parameters

ParameterDefaultAllowed valuesDescription
sizeНәтиженің өлшемі «ені×биіктігі» түріндегі жолмен.
widthСуреттің ені пиксельде.
heightСуреттің биіктігі пиксельде.
num_steps25Генерация қадамдарының саны: қадамдар көп болса, нәтиже егжей-тегжейлі болады және күту уақыты ұзартады.
seedКездейсоқтықты бекітеді: бірдей seed және бірдей параметрлермен қайталанған сұрау бірдей нәтижені береді.
Language:РусскийEnglishУкраїнськаБеларускаяҚазақшаOʻzbekchaКыргызчаТоҷикӣՀայերենAzərbaycancaTürkmençeRomânăDeutschFrançaisEspañolItalianoPortuguêsPolskiNederlandsTürkçeΕλληνικά