Skip to main content

1. Get your API key

API access is included in VIP and Elite plans.
  1. Open elumenta.ru/webProfile → API Keys
  2. Click Create Key, give it a name
  3. Copy the key — it starts with nb_
Store your key securely. It provides full access to your token balance. Never expose it in client-side code.

2. The unified generation endpoint

All generations go through a single endpoint: POST /api/v2/generate You pass any model slug + prompt + optional params object. This works for text, images, video, audio, and tools — same endpoint, different model slug.

3. Response structure

4. Generate an image

Pass model-specific options in the params object:
Response:

5. Check balance

6. Poll async results

For video/slow models, status is pending. Poll GET /api/v2/generate/{id}:

Next steps

Full generate reference

All parameters and model-specific options

Streaming

Real-time SSE text streaming

Model catalog

All 52 slugs with costs

Error handling

Retries, backoff, error codes