APIXO has two main API patterns:Documentation Index
Fetch the complete documentation index at: https://apixo.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Generation APIs for image, video, and audio models. These are async because generation can take seconds or minutes.
- LLM Gateway for Claude, OpenAI, and Gemini compatible APIs. These behave like direct provider API calls.
API families
| API family | Base URL | Best for | Result pattern |
|---|---|---|---|
| Generation APIs | https://api.apixo.ai/api/v1 | Images, videos, music, and other generated media | generateTask plus statusTask or webhooks |
| LLM Gateway | https://llm.apixo.ai | Chat, coding tools, agents, and LLM apps | Direct non-streaming or streaming response |
Generation task flow
- Submit a task to
POST /generateTask/{model}. - Receive a
taskId. - Poll
GET /statusTask/{model}?taskId=...or receive a webhook. - Read the final result when
stateissuccess.
LLM Gateway flow
- Pick the compatible API format your app already supports.
- Set the base URL to
https://llm.apixo.ai. - Use your APIXO API key in the provider-compatible auth header.
- Keep the official request body and model field.
Routing strategies
APIXO routing is configured per API key:| Strategy | Best for | Behavior |
|---|---|---|
| Auto | Most users | Value-first with failover to Official routes |
| Value | Cost-sensitive workloads | Partner routes optimized for price |
| Official | Mission-critical workloads | Official or officially authorized routes |
Key pages
Quickstart
Generate your first image with the async task flow.
Generation API Overview
Browse image, video, and audio model API docs.
LLM Gateway Overview
Use official LLM API formats through APIXO.
Errors
Debug failed requests and task failures.