Doc version:v1.0.0 | Last updated:2026-07-22 This platform fully supports the official Tongyi Wanxiang (Wan) video generation API. Requests and responses are transparently proxied; parameter semantics are identical to the official API.
| Endpoint | Model | Invocation |
|---|---|---|
| Digital Human Video generation | wan2.2-s2v | Asynchronous (create task + poll for results) |
| Face Detection | wan2.2-s2v-detect | Synchronous (returns result immediately) |
Recommended workflow: Call the Face Detection endpoint first to confirm the image is compliant ( check_pass: true), then submit the Digital Human Video generation task. This avoids task failures caused by non-compliant images.
POST https://platform.dataeyes.ai/ali/api/v1/services/aigc/image2video/video-synthesis| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Content-Type | string | Yes | application/json | Data exchange format |
Authorization | string | Yes | Authentication, Bearer {API_KEY} |
The X-DashScope-Async: enableheader required by the official API is added automatically by the platform — you do not need to include it; including it is also compatible.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | Fixed to wan2.2-s2v | |
input.image_url | string | Yes | Portrait image URL; must be a publicly accessible HTTP/HTTPS link. See "Image and Audio Requirements" below | |
input.audio_url | string | Yes | Vocal audio URL; must be a publicly accessible HTTP/HTTPS link. See "Image and Audio Requirements" below | |
parameters.resolution | string | No | 480P | Output resolution tier, options 480P, 720P. Output keeps the same aspect ratio as the input image, with total pixels adjusted to around the selected tier (480P ≈ 310K pixels, 720P ≈ 920K pixels; e.g. a 4:5 input image at 480P may output 480×600) |
parameters.style | string | No | Lip-sync scenario, e.g. speech (talking). The official documentation describes three scenarios — talking, singing, and performing — but the enum values for singing/performing are not publicly documented; verify through testing |
| Input | Requirements |
|---|---|
| Image | Format jpg/jpeg/png/bmp/webp; both width and height within [400, 7000] pixels; a clear, front-facing, single-person portrait is recommended (you can pre-check with the Face Detection endpoint) |
| Audio | Format wav/mp3; file smaller than 15MB, duration less than 20 seconds; must contain clear and loud vocals — removing ambient noise and background music is recommended |
curl --request POST \
--url 'https://platform.dataeyes.ai/ali/api/v1/services/aigc/image2video/video-synthesis' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.2-s2v",
"input": {
"image_url": "https://example.com/portrait.jpg",
"audio_url": "https://example.com/speech.mp3"
},
"parameters": {
"resolution": "480P",
"style": "speech"
}
}'curl --request POST \
--url 'https://platform.dataeyes.ai/ali/api/v1/services/aigc/image2video/video-synthesis' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.2-s2v",
"input": {
"image_url": "https://example.com/portrait.jpg",
"audio_url": "https://example.com/sing.wav"
},
"parameters": {
"resolution": "720P",
"style": "speech"
}
}'{
"output": {
"task_status": "PENDING",
"task_id": "0385dc79-5ff8-4d82-bcb6-xxxxxx"
},
"request_id": "4909100c-7b5a-9f92-bfe5-xxxxxx"
}usage object returned by the query endpoint:usage.duration: duration of the generated video in seconds, equal to the input audio duration — this is the billing basis;usage.SR: output resolution tier (480 or 720); unit prices differ by tier, with 720P priced higher than 480P.POST https://platform.dataeyes.ai/ali/api/v1/services/aigc/image2video/face-detectThis is a synchronous endpoint: the detection result is returned immediately in the response, no task_idis produced, and no polling is needed.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Content-Type | string | Yes | application/json | Data exchange format |
Authorization | string | Yes | Authentication, Bearer {API_KEY} |
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | Fixed to wan2.2-s2v-detect | |
input.image_url | string | Yes | URL of the image to check; must be a publicly accessible HTTP/HTTPS link. Format jpg/jpeg/png/bmp/webp; both width and height within [400, 7000] pixels |
curl --request POST \
--url 'https://platform.dataeyes.ai/ali/api/v1/services/aigc/image2video/face-detect' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "wan2.2-s2v-detect",
"input": {
"image_url": "https://example.com/portrait.jpg"
}
}'{
"output": {
"check_pass": true,
"humanoid": true
},
"usage": {
"image_count": 1
},
"request_id": "c56f62df-xxxx-xxxx-xxxx-xxxxxx"
}{
"output": {
"check_pass": false,
"humanoid": false,
"code": "xxx",
"message": "xxx"
},
"usage": {
"image_count": 1
},
"request_id": "c56f62df-xxxx-xxxx-xxxx-xxxxxx"
}| Field | Type | Description |
|---|---|---|
output.check_pass | boolean | Detection result: true = passed, the image can be used for Digital Human Video generation; false = failed |
output.humanoid | boolean | Whether a human figure was detected |
output.code / output.message | string | Returned only when the check fails, giving the reason; absent when the check passes |
usage.image_count | integer | Number of images checked in this request, fixed at 1 — this is the billing basis |
request_id | string | Unique ID of this request |
Face Detection is billed by the number of images checked: a successful request is billed regardless of whether the check passes; failed requests are not billed.
task_id (Face Detection is synchronous and requires no querying):GET https://platform.dataeyes.ai/ali/api/v1/tasks/{task_id}