API Reference
Model capability APIs compatible with the OpenAI API format
Overview
API Reference covers HTTP endpoints for model capabilities—chat, completions, embeddings, images, audio, and more. The protocol is compatible with the OpenAI API so existing SDKs and clients can integrate quickly.
Quick start
| Item | Description |
|---|---|
| Base URL | https://your-domain/v1 |
| Auth | Header Authorization: Bearer <API_TOKEN> |
| Model list | GET /v1/models |
Endpoint categories
Models
List available models.
Chat
Chat completion endpoints.
Completions
Legacy text completion endpoints.
Embeddings
Text embedding endpoints.
Rerank
Document reranking endpoints.
Moderations
Content moderation endpoints.
Audio
Speech recognition and synthesis.
Realtime
Realtime audio streaming.
Images
Image generation endpoints.
Videos
Video generation endpoints.
Unimplemented
Placeholder endpoints not yet available.
How is this guide?