Documentation
API Endpoints
These are the public endpoints most app developers need.
Core text generation
POST /v1/chat/completions— OpenAI-compatible multi-turn chatPOST /v1/messages— Anthropic-compatible Messages APIPOST /v1/responses— OpenAI Responses API
Model and account metadata
GET /v1/models— List all available models (no auth required)GET /v1/usage— Get token and request usage stats
Embeddings and moderation
POST /v1/embeddings— Generate vector embeddingsPOST /v1/moderations— Content safety scoring
Image and video generation
POST /v1/images/generations— Text-to-image and text-to-videoGET /v1/images/generations/:id— Poll async generation jobs
Audio
POST /v1/audio/speech— Text-to-speechPOST /v1/audio/transcriptions— Speech-to-text