IndoxHub API Documentation¶
One API. 200+ models. 14+ providers.
IndoxHub is a unified AI gateway that gives you access to models from OpenAI, Anthropic, Google, Mistral, DeepSeek, and more — all through a single API endpoint.
Why IndoxHub?¶
- Unified API — Same format for every provider. Switch models by changing one string.
- OpenAI SDK Compatible — Use the OpenAI Python SDK with
base_url="https://api.indoxhub.com/v1" - 200+ Models — Chat, embeddings, images, video, TTS, STT from 14+ providers
- Built-in Billing — Credit-based usage tracking with per-request cost
- BYOK Support — Bring your own provider API keys for direct billing
- Response Caching — Automatic caching for embedding requests
Quick Start¶
curl https://api.indoxhub.com/api/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-4o-mini", "messages": [{"role": "user", "content": "Hello!"}]}'
Capabilities¶
| Feature | Endpoint | Description |
|---|---|---|
| Chat Completions | POST /chat/completions |
Multi-turn conversations |
| Text Completions | POST /completions |
Prompt-based text generation |
| Embeddings | POST /embeddings |
Vector representations for search |
| Image Generation | POST /images/generations |
Text-to-image with DALL-E, Imagen |
| Video Generation | POST /videos/generations |
Text-to-video with Veo |
| Text-to-Speech | POST /audio/tts/generations |
Convert text to natural speech |
| Speech-to-Text | POST /audio/stt/transcriptions |
Transcribe audio to text |
| Models | GET /models/ |
Browse available models (public) |
Supported Providers¶
OpenAI, Anthropic, Google, Mistral, DeepSeek, XAI, Qwen, Cohere, AI21, Meta, Amazon, Writer, Stability, Luma