Prerequisites
Chat completion
Send a message and get a text response. Text models are powered by OpenRouter, so you can use any model available there.Response
Generate an image
Lumenfall uses an OpenAI-compatible API, so you can use any OpenAI SDK or make direct HTTP requests.Response
The API returns image URLs in the standard OpenAI format:Generate a video
Video generation is asynchronous. You submit a request and get back an ID, then poll for the result.Response
The initial request returns a202 with the video object:
Available models
Lumenfall routes your requests to the best available provider. Browse our full model catalog to see all supported models, or use the Models API to list available models programmatically.Estimate costs before generating
Add?dryRun=true to any request to get a cost estimate without generating the image. The response includes pricing in micros (1/1,000,000 of a dollar). See Cost estimation for details and response format.
Next steps
API Reference
Explore the full API documentation.
Authentication
Learn about API keys and authentication.
Routing
Understand how Lumenfall routes requests to providers.
Billing
View pricing and manage your account balance.