AI Text APIs
AI Text APIs on HiAPI
Section titled “AI Text APIs on HiAPI”HiAPI exposes text models through OpenAI-compatible endpoints while keeping the same account API key used for media generation.
| Model | Endpoint | Best for | Key capabilities |
|---|---|---|---|
| DeepSeek V4 Flash | POST /v1/chat/completions | High-throughput generation, reasoning, coding, Agent workflows | 1M context, streaming, thinking modes, JSON mode, tool calls |
Choose the protocol first
Section titled “Choose the protocol first”- Text conversations and streamed text:
POST /v1/chat/completions. - Image, video, and audio generation: asynchronous
POST /v1/tasks.
Use live pricing for current input, output, and cached-input Token rates.
Get a HiAPI API key or start with the Chat Completions guide.