API Docs
OpenAI-compatible Chat Completions. The API URL and model IDs will be published at launch.
POST /v1/chat/completions
Set BASE_URL including /v1 and API_KEY, and replace MODEL_ID with your model ID.
curl "$BASE_URL/chat/completions" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "MODEL_ID",
"messages": [
{"role": "user", "content": "Hello!"}
]
}'Response text: choices[0].message.content