Step 1: Register and Create a Scoped API Key
Sign up at www.ai653.com/register, top up a small test balance inside the dashboard, and generate a dedicated project API key stored in your environment variable AI653_API_KEY.
Step 2: Send Your First Chat Completion Request
import os
from openai import OpenAI
client = OpenAI(
base_url="https://www.ai653.com/v1",
api_key=os.environ["AI653_API_KEY"],
)
response = client.chat.completions.create(
model="gpt-6.2-sol",
messages=[{"role": "user", "content": "Return a 3-item API deployment checklist."}],
)
print(response.choices[0].message.content)
print("Usage:", response.usage) Step 3: Submit a Unified Seedance 2.5 Video Task (Support Activation Required)
Once your video access is activated, Seedance 2.5 runs directly on www.ai653.com with your same account and key:
# Create task
curl -X POST "https://www.ai653.com/api/v3/contents/generations/tasks" \
-H "Authorization: Bearer $AI653_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedance2.5",
"content": [{"type": "text", "text": "Golden hour drone shot over misty pine mountains"}],
"duration": 10,
"resolution": "720p",
"ratio": "16:9",
"generate_audio": true
}'
# Poll until succeeded
curl "https://www.ai653.com/api/v3/contents/generations/tasks/$TASK_ID" \
-H "Authorization: Bearer $AI653_API_KEY" Step 4: Reconcile Usage & Troubleshoot Cleanly
- Review modality billing units and verification steps on our Pricing & Usage-Based Billing Guide before scaling traffic.
- Check HTTP status codes:
401indicates invalid/mismatched API key or leftover CLI OAuth credentials;429requires exponential backoff rather than tight retry loops. - Need help? Email support@ai653.com with model ID, timestamp, status code, and redacted request ID.
Frequently Asked Questions
Can I reuse existing OpenAI or Anthropic SDK code?
Yes. Keep your SDK intact and only update base_url to https://www.ai653.com/v1, api_key to your dashboard key, and model to an active ID from the model directory.
What endpoint is used for Seedance 2.5 video tasks, and is activation required?
All video models (Seedance 2.5 / 2.0 Fast, Grok Video 1.5, Veo 3.1, Kling 4.0) require contacting support@ai653.com or QQ 10735920 to activate video permissions first. Once enabled, call https://www.ai653.com/api/v3/contents/generations/tasks directly on the main domain.