API Reference¶
Complete API reference for the Kawai DeAI Network. All endpoints are prefixed with /v1.
Base URL¶
Authentication¶
When authentication is enabled, include your API token in the Authorization header:
Available APIs¶
Chat Completions API¶
Generate chat completions using language models. Compatible with the OpenAI Chat Completions API.
Messages API¶
Generate messages using language models. Compatible with the Anthropic Messages API.
Responses API¶
Generate responses using language models. Compatible with the OpenAI Responses API.
Embeddings API¶
Generate vector embeddings for text. Compatible with the OpenAI Embeddings API.
Rerank API¶
Rerank documents by relevance to a query. Used for semantic search result ordering.
Tools API¶
Manage libraries, models, and catalog. These endpoints handle server administration tasks.
Text-to-Speech API¶
Generate speech from text using TTS models. Compatible with the OpenAI Speech API.
Speech-to-Text API¶
Transcribe audio to text or translate audio to English. Compatible with the OpenAI Audio API.
Image Generation API¶
Generate, edit, and create variations of images. Compatible with the OpenAI Images API.
Quick Reference¶
| Endpoint | Method | Description |
|---|---|---|
/chat/completions |
POST | Chat completions (OpenAI compatible) |
/messages |
POST | Messages (Anthropic compatible) |
/responses |
POST | Responses API |
/embeddings |
POST | Text embeddings |
/rerank |
POST | Document reranking |
/images/generations |
POST | Image generation |
/images/edits |
POST | Image editing |
/images/variations |
POST | Image variations |
/audio/transcriptions |
POST | Speech-to-text |
/audio/translations |
POST | Audio translation |
/audio/speech |
POST | Text-to-speech |
/models |
GET | List models |
/catalog |
GET | Browse model catalog |
/libs |
GET | Library information |