Brightforge API
Brightforge Unified, Pixlie, Framekind and Sanala as one OpenAI-compatible API. Create a key, change your base URL, and call them from any app.
1. Get a key
Sign in, open API keys in your account and create one. New accounts get free trial credit. Keep the key secret; you can revoke it any time.
2. Chat models
curl https://api.brightforge.ltd/v1/chat/completions \
-H "Authorization: Bearer $BRIGHTFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"brightforge/unified","messages":[{"role":"user","content":"Plan a 30-second product video"}]}'
Works with the OpenAI SDKs: set base_url="https://api.brightforge.ltd/v1" and use your Brightforge key. "stream": true is supported.
3. Video (Pixlie)
Video is asynchronous, like every video API: create a job, poll it, download the mp4. Renders can take several minutes when demand is high.
# create
curl https://api.brightforge.ltd/v1/videos -H "Authorization: Bearer $BRIGHTFORGE_API_KEY" -H "Content-Type: application/json" \
-d '{"model":"brightforge/pixlie-1","prompt":"Medium shot of a fox crossing a rainy street at dusk, slow sideways camera move","seconds":5,"size":"832x480"}'
# poll until "status":"completed"
curl https://api.brightforge.ltd/v1/videos/VIDEO_ID -H "Authorization: Bearer $BRIGHTFORGE_API_KEY"
# download
curl -L https://api.brightforge.ltd/v1/videos/VIDEO_ID/content -H "Authorization: Bearer $BRIGHTFORGE_API_KEY" -o clip.mp4
Failed renders are refunded automatically. Every Pixlie output is AI-generated; please label it as such.
Models and prices
| Model | What it does | Endpoint | Price |
|---|---|---|---|
brightforge/unified | Brightforge's all-in-one assistant: chat, ideas for media, app building and learning. | /v1/chat/completions | $0.50 / 1M input · $2.00 / 1M output |
brightforge/framekind-1 | App-building copilot: describe an app, get runnable files (Flutter by default). | /v1/chat/completions | $0.50 / 1M input · $2.00 / 1M output |
brightforge/sanala-1 | Learning tutor that teaches step by step and checks understanding. | /v1/chat/completions | $0.50 / 1M input · $2.00 / 1M output |
brightforge/pixlie-1 | Text-to-video: describe a shot, get a short AI-generated clip. Asynchronous: create a job, poll it, download the mp4. Every output is AI-generated and should be labelled as such. | /v1/videos | $0.12 / second of video |
Other endpoints
GET /v1/models · GET /v1/videos · GET /v1/billing/balance
Errors use the OpenAI shape: {"error":{"message","type","code"}}. 402 means you are out of credits; 429 means slow down.