ApiLux

Quick start

From an empty account to your first AI request in a few minutes.

Four steps

  1. 01Create an ApiLux account and sign in.
  2. 02Top up your balance — it is denominated in credits, where 1 credit = 1 VND.
  3. 03Open API keys in the dashboard and create one. The key is shown exactly once.
  4. 04Call GET /models to get a model ID, then send your first request.

Your first request

cURL
export APILUX_API_KEY="apl_YOUR_API_KEY"
export APILUX_BASE_URL="https://apilux.net/api/v1"

# 1. Xem bạn gọi được model nào
curl "$APILUX_BASE_URL/models" \
  -H "Authorization: Bearer $APILUX_API_KEY"

# 2. Gửi request đầu tiên (thay MODEL_ID bằng id ở bước 1)
curl "$APILUX_BASE_URL/chat/completions" \
  -H "Authorization: Bearer $APILUX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MODEL_ID",
    "messages": [{ "role": "user", "content": "Chào ApiLux" }]
  }'
Call ApiLux from your server only. Embedding an API key in a web or mobile app exposes it to anyone who can read the bundle.