API reference
Kusa-Dance character dance
Dedicated multipart/form-data endpoint for Kusa-Dance. It is not /tasks/create, takes no task_type and does not accept JSON. Send the character image and the reference video as URLs or files.
POST
/api/go/b2b/tasks/video_to_video/animateRequest
| Field | Type | Required | Description |
|---|---|---|---|
video | file | Required No | Reference dance or motion video. File: MP4 / MOV / AVI / WebM, up to 100 MB. A video_url is downloaded and measured by the server; template_id uses a site dance template. |
video_url | string | Required No | Reference dance or motion video. File: MP4 / MOV / AVI / WebM, up to 100 MB. A video_url is downloaded and measured by the server; template_id uses a site dance template. |
template_id | integer | Required No | Reference dance or motion video. File: MP4 / MOV / AVI / WebM, up to 100 MB. A video_url is downloaded and measured by the server; template_id uses a site dance template. |
image | file | Required No | Character image. File: JPG / PNG / WebP, up to 10 MB. |
image_url | string | Required No | Character image. File: JPG / PNG / WebP, up to 10 MB. |
resolution | string | Required No | 720p (default) or 1080p. The reference is cut at 30 s (720p) or 10 s (1080p). |
seed | integer | Required No | |
width | integer | Required No | |
height | integer | Required No | |
watermark | boolean | Required No | Whether to add a watermark; omitted means false on this endpoint. |
webhook_url | string | Required No | Final callback URL supported by this route. |
Response structure
| Field | Type | Required | Description |
|---|---|---|---|
task_id | string | Required Yes | Async task UUID. |
status | string | Required Yes | PENDING / RUNNING / COMPLETED / FAILED / CANCELLED |
queue_position | integer | Required No | Queue position. |