Create a motion-control clip
create_motion_clipAnimate a character or photo by copying motion from a driver video. Provide one image or photo and a short mp4/mov video to generate a clip, returning a clip ID for status polling.
Instructions
Animate a character look (or your own photo) by copying the motion of a driver video. Same as clipugc videos motion. Costs 3 credits per second of driver video, rounded up, capped at 30 seconds (confirm with get_credits). The driver must be mp4/mov, at most 50 MB and 30 seconds; it is uploaded first. Provide exactly one of image or photo. Returns the clip id and status. Generation runs in the background. Poll get_video with {"id": , "kind": "clip"} every 5 to 10 seconds until status is "completed" or "failed", then call download_video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | Id of a generated character look (same as --image). | |
| photo | No | Local path to your own photo, png/jpg/jpeg/webp; uploaded first (same as --photo). | |
| driver | Yes | Local path of the driver video, mp4/mov, max 50 MB and 30s (same as --driver). | |
| prompt | No | What the character does, max 1500 chars (same as --prompt). | |
| keep_sound | No | Keep the driver video's original sound (same as --keep-sound). |