Introduction
ApiLux is a single API gateway for many AI models — text, image and video — paid in VND, billed by actual usage.
What ApiLux does
You create an API key, top up a balance, then call one endpoint for every kind of workload. ApiLux handles authentication, routing to a model provider, normalising the response and charging by actual usage.
The model ID you send is an ApiLux model ID. We map it to a provider behind the scenes. When we change or add providers, your code does not change.
What is supported today
| Capability | Endpoint | Status |
|---|---|---|
| Text generation | POST /chat/completions | Available |
| Model catalogue | GET /models | Available |
| Image generation | POST /images/generations | Available |
| Image editing | POST /images/edits | Available |
| Video generation | POST /videos/generations | Available |
| Streaming, Responses, Messages, IDE | — | Not available yet |
An available endpoint does not mean every model works: a model must also be enabled and priced on ApiLux. Call
GET /models to see exactly what you can use.Base URL
Every endpoint lives under this base URL. Two path forms reach the same handler — either is fine.
https://apilux.net/api/v1
# Dạng tương đương, hữu ích khi gọi trực tiếp vào domain ứng dụng:
https://<host>/api/v1