Ali Bailian Video API
Crazyrouter exposes Ali Bailian-compatible video routes so applications already using DashScope / Ali Bailian video formats can migrate with minimal path changes.What This Page Covers
- This page documents the Ali-compatible public alias exposed by Crazyrouter, so client requests should continue using
/alibailian/api/v1/* - Internally, Crazyrouter now talks to the official DashScope upstream through
/api/v1/* - If you want Crazyrouter’s unified video API rather than the Ali-compatible migration path, use
/v1/video/generations - Actual model availability still depends on your token allowlist, pricing configuration, and current production channel bindings; do not assume every upstream Ali model is enabled by default
Supported Endpoints
POST /alibailian/api/v1/services/aigc/video-generation/video-synthesisGET /alibailian/api/v1/tasks/{task_id}
Internal Upstream Mapping
- Public compatibility submit path:
POST /alibailian/api/v1/services/aigc/video-generation/video-synthesis - Public compatibility query path:
GET /alibailian/api/v1/tasks/{task_id} - Crazyrouter upstream submit path:
POST /api/v1/services/aigc/video-generation/video-synthesis - Crazyrouter upstream query path:
GET /api/v1/tasks/{task_id}
Authentication
POST Create Video
Request Body Shape
| Field | Type | Required | Description |
|---|---|---|---|
model | string | Yes | Model name, such as wan2.5-i2v-preview |
input | object | Yes | Core input payload |
input.prompt | string | No | Positive prompt |
input.negative_prompt | string | No | Negative prompt |
input.img_url | string | No | First-frame image URL or Base64 |
input.audio_url | string | No | Audio file URL |
input.template | string | No | Video effect template |
parameters | object | No | Advanced processing parameters |
parameters.resolution | string | No | Resolution tier, for example 480P |
parameters.duration | integer | No | Video duration in seconds |
parameters.prompt_extend | boolean | No | Whether to enable prompt enhancement |
parameters.watermark | boolean | No | Whether to add an AI watermark |
parameters.audio | boolean | No | Whether to auto-add audio |
parameters.seed | integer | No | Random seed |
Request Example
cURL
Response Example
GET Query Task
Request Example
cURL
Response Example
Error Behavior Verified Locally
- the local environment confirmed the create route exists; when a model is unavailable it returns a business error such as
model_not_foundrather than404 - the local environment also confirmed the query route exists; a nonexistent task returns:
This path family is primarily for protocol-compatible migration. The request and response bodies stay much closer to native DashScope / Bailian conventions than to Crazyrouter’s unified video schema. It also does not mean every Ali video model is publicly enabled on Crazyrouter; treat current pricing, token allowlists, and live channel bindings as the source of truth.