Create a Danceo AI dance video
create_dance_videoStarts an asynchronous AI dance video render from authorized portrait photos and a selected Danceo template; returns a job ID for polling until the paid render finishes.
Instructions
Start an asynchronous AI dance video render. Use when the user explicitly asks to animate an authorized portrait with a Danceo reference template. Call list_dance_templates first and pass one returned template_id. Supply public HTTPS portrait image URLs; use one photo for a person or dog, and the template’s required number of photos for cats. Choose an integer output_duration from 5 to 30 seconds that does not exceed the selected reference duration. This API flow currently estimates 80 credits per requested output second; explain that estimate and get confirmation if the user has not already authorized a paid render. The tool returns a job_id immediately and charges the account. Poll get_video_status until the job finishes. Use only portraits and likenesses the user has permission to transform.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"portrait_urls": "<portrait_urls>",
"template_id": "<template_id>",
"output_duration": "<output_duration>"
},
"name": "create_dance_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_id | Yes | An id returned by list_dance_templates. | |
| subject_type | No | What the supplied portrait depicts. | person |
| portrait_urls | Yes | Public HTTPS URLs for the portrait image or images. | |
| output_duration | Yes | Requested output duration in seconds. |