Use a Remix template as the driving video
swap_import_templateCopy a Remix template's clip (an id from browse_templates {source:"remix"}) into the user's swap uploads and return it as a driving video for create_character_swap: drivingVideoR2Key, drivingVideoFileName, drivingDurationSeconds, plus the template's prompt. Pair it with a character image from swap_import_character or swap_upload and call create_character_swap with engine "pro". FREE: nothing is generated here.
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": {
"templateId": "<templateId>"
},
"name": "swap_import_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | Yes | A template id from browse_templates {source:"remix"}. |