Skip to content

API

API overview

Call Lumivora from your own scripts with a Lumivora API key: authentication, endpoints, credit charging, error format, and the usage dashboard.

On this page

Create an API key

A Lumivora API key authenticates your own scripts and apps to Lumivora itself — it is not a provider key. Create keys in Settings → API. You can hold up to 10 active keys per account. The full key (prefixed lv_live_) is shown once at creation; Lumivora stores only its SHA-256 hash, so a lost key cannot be retrieved — revoke it and create a new one. Settings shows each key's prefix, last four characters, and last-used time.

Authentication

Send the key as a Bearer token on every request. There is no session on API routes; the key identifies the account, and generations run on that account's connected provider keys and credits.

Authorization: Bearer lv_live_...

A missing or malformed key returns 401 with "Missing or malformed API key."; an unknown or revoked key returns 401 with "Invalid or revoked API key."

Endpoints

EndpointWhat it doesCredits
POST /api/v1/chatOne conversation turn, no streaming, no persistence1 per completed call
POST /api/v1/imagesGenerate an image; fetch bytes via GET /api/v1/images/:id1 per image
POST /api/v1/videosStart an async video job (202); poll GET /api/v1/videos/:id1 per segment
POST /api/v1/videos/:id/extendExtend a finished Omni clip1 per extend
GET /api/v1/videos/:id/contentDownload the finished MP4—
POST /api/v1/audioText-to-speech; fetch bytes via GET /api/v1/audio/:id1 per clip

All endpoints are served from https://www.lumivoralabs.com. Media endpoints return an x-request-id header; include it when reporting a problem.

Credits and usage

API calls charge the same credits as the product: one per generation, held before the provider is called and released in full if the call does not complete. Responses report credits.charged and credits.remaining. Every call — succeeded, failed, or refunded — is recorded in the usage dashboard at Settings → API → Usage, with endpoint, status, provider, model, and credits. Provider usage on your provider key is billed by the provider as usual; the API does not change that.

Errors

Errors return a JSON body with a single human-readable message:

{ "error": "Connect your OpenRouter API key in Settings → AI Providers to use this model." }
StatusMeaning
400The request body is invalid — the message names the field to fix.
401Missing, malformed, invalid, or revoked API key.
402A required provider key is not connected, or the provider rejected the saved key.
403The saved key is turned off for this product, or the account is not entitled.
404The image, audio, or video id does not exist for this account.
409The saved provider key can no longer be read; save it again in Settings → Providers.
429Rate limited — by Lumivora key checks or by your provider.
500 / 502 / 503Lumivora or the provider failed; credits for the call are released.

Questions this page does not answer? Email support@lumivoralabs.com.