fattly_actor_swap
Replaces the creator in an existing video with another actor. Takes a few minutes. By using this you confirm you have the right to the video and the actor's likeness.
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": {
"videoUrl": "<videoUrl>",
"consent": "<consent>"
},
"name": "fattly_actor_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actorId | No | Actor to put in the video: a creator id from the built-in roster (fattly_list_ad_presets) or the actorId of an avatar you generated with fattly_create_avatar. | |
| consent | Yes | Must be true — confirms you have the right to the video and the actor's likeness. | |
| actorUrl | No | Your own actor photo as a fal URL. | |
| videoUrl | Yes | Source video — the URL returned by fattly_upload_media (kind video). | |
| durationToken | No | durationToken from fattly_upload_media for this video — without it the maximum (60 s) is billed. |