Token168 Docs
Token168 provides a managed API abstraction layer. Access model providers through one key while keeping protocol-specific endpoints visible.
Quick start
Use the public base URL for API calls: https://api.token168.ai.
Create an API key in Console, select a model family, then call the provider-compatible endpoint with the Token168 key.
First API call
curl https://www.token168.cc/v1/images/generations \
-H "Authorization: Bearer $TOKEN168_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A blue circle on a white background",
"n": 1,
"size": "1024x1024",
"quality": "low",
"output_format": "png"
}'
Provider protocol matrix
Token168 keeps protocol-specific endpoints visible instead of hiding every provider behind one wrapper.
| Family | Endpoint | Status | Target |
|---|---|---|---|
| OpenAI-compatible | /v1/chat/completions | Active | www.token168.cc |
| Claude-compatible | /v1/messages | Active | www.token168.cc |
| Gemini-compatible | /v1beta/models/{model}:generateContent | Active | www.token168.cc |
| Midjourney / MJ | /mj/submit/imagine | TBD | Q3 2024 |
| Suno | /suno/submit/music | TBD | Q3 2024 |
| Seedance native | /api/v3/contents/generations/tasks | Active | www.token168.cc |
API Reference status
Console actions
Use Console to create API keys, inspect requests, view model availability, and review billing records.
Models and pricing shown in Console come from Token168 platform configuration and account permissions.
Unsupported APIs
Unsupported endpoints
Direct file uploads, files, fine-tunes, liveness checks, subtitle removal, generic cancellation, and provider-only asset lifecycle controls outside the Asset Library page are unsupported through token168 unless a page explicitly says otherwise.