Integrations

curl → AI24X

Fastest way to verify your key and balance from any machine.

1) Set your key

export AI24X_API_KEY="sk-your-key"

2) Call flash

curl -sS -X POST "https://api.ai24x.com/v1/chat/run" \ -H "X-API-Key: $AI24X_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"Hello","model":"flash","max_tokens":120}'

3) Prefer pro or VIP name

# model: "pro" or "vip-kimi" (VIP required)

Expect HTTP 200 and a text field in JSON. 401 = bad key; 402 = top up credits.

HTTP / Python · Node.js · Docs