Lumenfall is fully compatible with all official OpenAI SDKs. Since Lumenfall implements the OpenAI API specification, you can use any official SDK by simply changing the base URL and API key. Official SDKs:Documentation Index
Fetch the complete documentation index at: https://docs.lumenfall.ai/llms.txt
Use this file to discover all available pages before exploring further.
- openai-python - Python
- openai-node - JavaScript / TypeScript
- openai-go - Go
- openai-dotnet - C# / .NET
- openai-java - Java
- openai-ruby - Ruby
Installation
Configuration
Chat completions
Streaming
Generate images
Edit images
Generate videos
Video generation is asynchronous. Submit a request withclient.videos.create(), then poll with client.videos.retrieve() until the video is ready.
Video generation options
| Parameter | Type | Default | Description |
|---|---|---|---|
model | string | required | Model ID (e.g., sora-2) |
prompt | string | required | Text description of the desired video |
seconds | string or number | varies | Duration of the video in seconds |
size | string | varies | Video dimensions (e.g., 1920x1080) or aspect ratio (e.g., 16:9) |
n | integer | 1 | Number of videos to generate (1-4) |
aspect_ratio | string | - | Aspect ratio (e.g., 16:9, 9:16) |
resolution | string | - | Resolution shorthand (720p, 1080p) |
input_image | string | - | URL of image for image-to-video generation |
webhook_url | string | - | URL for completion notification |
Environment variables
All SDKs support environment variables for configuration:Image generation options
| Parameter | Type | Default | Description |
|---|---|---|---|
model | string | required | Model ID (e.g., gemini-3-pro-image, gpt-image-1.5, flux.2-max) |
prompt | string | required | Text description of the desired image |
n | integer | 1 | Number of images to generate (1-10) |
size | string | 1024x1024 | Image dimensions |
quality | string | standard | Image quality (standard or hd) |
response_format | string | url | Response format (url or b64_json) |
style | string | vivid | Image style (vivid or natural) |
Passing additional parameters
Lumenfall passes through any additional parameters to the upstream provider. This allows you to use provider-specific features that aren’t part of the standard OpenAI API.Additional parameters are passed directly to the provider. Check the provider’s documentation for supported parameters. Unsupported parameters may be silently ignored.
Next steps
API Reference
Explore the full API documentation.
Available Models
See all available models.