Supported Video Models
1. Byteplus Seedance Workflow
Seedance produces cinematic camera dynamics and physics-grounded scene animation.Step 1: Submit Video Generation Task
- Endpoint:
POST https://api.xroute.ai/Byteplus/contents/generations/tasks - Header:
Authorization: Bearer $XROUTE_API_KEY
Step 2: Poll Task Status
- Endpoint:
GET https://api.xroute.ai/Byteplus/contents/generations/tasks/{task_id}
cURL
Response (Completed)
Complete Python Polling Script
Python (Byteplus Ark SDK)
2. WAN Video Synthesis Native (DashScope Protocol)
WAN models use Alibaba DashScope’s asynchronous synthesis standard.Step 1: Submit Synthesis Task
- Endpoint:
POST https://api.xroute.ai/WAN/services/aigc/video-generation/video-synthesis - Header:
Authorization: Bearer $XROUTE_API_KEYX-DashScope-Async: enable
cURL
Step 2: Poll WAN Task
- Endpoint:
GET https://api.xroute.ai/WAN/tasks/{task_id}
cURL

