Everything you need to send your first request.
Every request needs your API key in the Authorization header. Get a key from your dashboard.
Authorization: Bearer YOUR_API_KEY
https://ai.fireclashpro.com
POST /v1/chat/completions — OpenAI-compatible. The model field is required by the format but its value doesn't matter — every request is served by life-ai-1.
curl https://ai.fireclashpro.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "life-ai-1",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'
import requests
response = requests.post(
"https://ai.fireclashpro.com/v1/chat/completions",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "life-ai-1",
"messages": [{"role": "user", "content": "Hello!"}],
},
)
print(response.json()["choices"][0]["message"]["content"])
const res = await fetch("https://ai.fireclashpro.com/v1/chat/completions", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "life-ai-1",
messages: [{ role: "user", content: "Hello!" }],
}),
});
const data = await res.json();
console.log(data.choices[0].message.content);
Add "stream": true to get a Server-Sent Events response, same format as OpenAI's streaming API.
Each API key can make up to 200 requests per day. Going over returns HTTP 429. Create additional keys from your dashboard if you need to separate usage across projects.
401 | Missing, invalid, or revoked API key |
429 | Daily request limit reached for this key |
502 | Backend model router unreachable — try again shortly |