ApiLux

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

CapabilityEndpointStatus
Text generationPOST /chat/completionsAvailable
Model catalogueGET /modelsAvailable
Image generationPOST /images/generationsAvailable
Image editingPOST /images/editsAvailable
Video generationPOST /videos/generationsAvailable
Streaming, Responses, Messages, IDENot 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.

bash
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