Base URL
Authorization header for all requests.
Endpoints
Chat & Completions
OpenAI-compatible chat and text completions via
POST /v1/chat/completions and POST /v1/completions.OpenAI Responses
OpenAI Responses format via
POST /v1/responses.Claude Messages
Anthropic Claude Messages format via
POST /v1/messages.Gemini Chat
Google Gemini generateContent format via
POST /v1beta/models/{model}:generateContent.Images
Image generation and editing via
POST /v1/images/generations and POST /v1/images/edits.Audio
Speech-to-text, translation, and text-to-speech via the
/v1/audio/* endpoints.Video
Video generation tasks via Sora-compatible, Kling, Jimeng, Doubao, and Vidu providers.
Embeddings
Text embeddings via
POST /v1/embeddings.Rerank
Document reranking (Cohere/Jina format) via
POST /v1/rerank.Realtime
WebSocket-based realtime conversations via
GET /v1/realtime.Models
List available models via
GET /v1/models.Common request headers
See Authentication for a full explanation of which header to use with each endpoint.

