Copy a video's moves onto a person
copy_motionMake the person in a picture do what the person in a video does: a dance trend, a gesture, a walk. The new video shows the person and the setting of the picture, moving like the person in the video, for the video's whole length. It works best when both show one person whose whole body, or upper body and head, stays in view. To use part of a longer video, make an asset of that part first: download_asset gives its link, and import_asset_url with startSeconds and endSeconds imports only that part. It answers at once with a Job ID and the media is made in the background: start every generation you need, keep working, then call wait_for_jobs with all their Job IDs to get each Asset ID for patch_film. Uses credits for each second of the video: about 27 credits a second at standard and about 42 credits a second at pro, so a 15-second trend uses 399 credits at standard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| person | Yes | The picture of the person to animate, in one of these forms: asset:ID, an image asset as it is; asset:ID#t=14.6, the frame of a video asset at 14.6 seconds; film:#t=3.2, the frame of the edit at 3.2 seconds. Use the IDs search_assets gives. One person, with the whole body or the upper body and head in view and not covered. | |
| prompt | Yes | What to add, in plain words: the setting, the light, the clothes. null keeps what the picture shows. Up to 2000 characters. | |
| quality | Yes | standard for most videos. pro keeps faces, hands and fine detail sharper, and uses more credits. | |
| keepSound | Yes | null or true (the default) keeps the video's sound, such as the song of a dance trend. false makes the new video silent. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. | |
| videoAssetId | Yes | The video whose moves to copy: a ready video asset of 3 to 30 seconds, with one person whose body stays in view. |