Create Depth Map
create_depth_mapTurn a video into a DEPTH MAP: a grayscale video where brightness encodes distance, used as a motion reference so a new generated subject moves exactly like your source clip. Pass video_url (a public https video URL) OR one of your own Switch video ids (from list_my_videos or list_my_assets). For an external URL also pass duration_seconds (the clip length; your own Switch videos carry it automatically) because the render is billed per second of video. Returns a task_id right away; poll get_depth_map_status until the download URL is ready (usually a few minutes). If the render fails, your tokens are returned automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_url | Yes | A public https video URL, OR one of your own Switch video ids. | |
| duration_seconds | No | Clip length in seconds. Required for external URLs; your own Switch videos are measured automatically. |