Native SDK / OpenAI
OpenAI SDK
AI Token商城 is fully OpenAI-compatible — point base URL to our endpoint and use your redeemed key.
🔑 Key Configuration
Base URL:
https://ai.ccdan.live/v1/responsesAPI Key:Buy a code at ccdan.live, redeem at ai.ccdan.live
Quick Start
request.sh
curl https://ai.ccdan.live/v1/responses/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $CCDAN_API_KEY" \
-d '{
"model": "gpt-5.4-mini",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'All OpenAI SDK features (streaming, function calling, vision) work natively — no code changes needed.