API Reference
Call AI models with the AsterFlow API
Start Calling the API
AsterFlow gives customers one model API with OpenAI-, Claude-, and Gemini-compatible request formats.
Authentication and endpoint
Create an API key, then read the API usage guide for the Base URL, authentication format, and Python and cURL examples.
Model APIs
Models
List the models available to your account.
Chat
Send Chat Completions and Responses requests.
Text Completions
Use the legacy text completion format.
Embeddings
Generate text embedding vectors.
Rerank
Rank candidate documents by relevance.
Moderation
Check content against safety categories.
Audio
Synthesize, transcribe, and translate audio.
Realtime Audio
Create a realtime audio session.
Images
Generate or edit images.
Videos
Create videos and check task status.