API Docs — HefuAI Platform

Get started with the OpenAI-compatible API: one key for all major models, with Python/Node.js examples.

Quickstart

curl https://hefu.hk/api/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "deepseek-v4-flash", "messages": [{"role": "user", "content": "Hello"}]}'