Clip that copies a reference video's motion
create_motion_clipMake a clip where the influencer repeats the movement of a reference video the user provides (a dance, a gesture, a walk): a look plus a reference video of up to 30 seconds. Two engines: kling (default, 3 credits per second of the reference, follows the movement closely and reads the prompt) or wan (2 credits per second, keeps the look's own background, ignores the prompt, resolution 480p, 580p or 720p). A 10 second video is 30 credits on kling, 20 on wan. Without confirm true it only quotes the price from the video's length; with confirm true it spends. Reference video by upload id (driver_upload, see request_upload), https link (driver_url) or chat attachment (driver_file).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | A completed look id from list_images. | |
| engine | No | kling (default) or wan, the cheaper engine that keeps the look's background. | |
| prompt | No | Optional note on the mood; the motion comes from the video. | |
| confirm | No | True to spend the quoted credits. | |
| driver_url | No | An https link to the reference video whose motion to copy (mp4 or mov, up to 30 seconds and 50 MB) | |
| resolution | No | wan only. Default 720p, same price at each. | |
| driver_file | No | A file the user attached to the chat, when the client supports that: the reference video whose motion to copy (mp4 or mov, up to 30 seconds and 50 MB) | |
| driver_upload | No | An upload id from list_uploads (the user dropped the file on the upload page from request_upload): the reference video whose motion to copy (mp4 or mov, up to 30 seconds and 50 MB) | |
| keep_original_sound | No | Keep the reference video's sound. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Set once the clip is queued (confirm true). | |
| kind | Yes | ||
| next | Yes | ||
| status | Yes | quoted until confirmed, then pending. | |
| balance | Yes | ||
| seconds | Yes | Length of the reference video the price is based on. | |
| cost_credits | Yes | ||
| credits_charged | Yes |