Skip to main content
Video Depth is an API that converts a video into a depth video: every frame becomes a map of how far each point is from the camera. Body pose, motion and camera movement are preserved; faces, clothing, colours and textures are not. That makes the output a motion-only reference: pass it to Seedance 2.5 Pro with images of a new subject, and the generation keeps the movement of the original clip without its identity.

Key capabilities

  • Per-frame depth: Every frame is converted with Depth Anything. In grayscale, near is light and far is dark
  • Same shape as the input: The output is an MP4 (H.264) with the same resolution in pixels, frame rate and duration as the input, without an audio track
  • Four colormaps: grayscale (default), or the colour visualizations inferno, viridis and turbo
  • Motion transfer: The grayscale output is the format Seedance 2.5 reads as a motion reference in reference_videos
  • Async processing: Webhook notifications or polling for task completion
  • Flexible input: Accepts a publicly accessible HTTPS URL or an uploaded file reference (upl_vid_...)

Use cases

  • Motion transfer without identity: Reuse the performance of a clip (a dance, a gesture, a camera move) with a different character, product or style
  • Previsualization: Block out movement with any footage and generate the final look afterwards
  • Depth visualization: Produce colour depth videos for analysis, education or creative effects
  • Compositing: Use the depth video as a matte for depth-based effects in your own pipeline

Convert a video

Create a task by submitting a video. The service returns a task ID for async polling or webhook notification.

POST /v1/ai/video-depth

Create a new video depth task

GET /v1/ai/video-depth

List all video depth tasks

GET /v1/ai/video-depth/{task-id}

Get task status and results by ID

Parameters

Motion transfer with Seedance 2.5

  1. Convert your clip with POST /v1/ai/video-depth, keeping the default grayscale colormap.
  2. When the task is COMPLETED, take the video URL from generated.
  3. Call Seedance 2.5 Pro with that URL in reference_videos, images of the new subject in reference_images, and a prompt that describes the result.
The generated video follows the movement of your clip with the new subject. To keep the original subject as well as its motion, skip the conversion and pass the clip itself in reference_videos.

Frequently Asked Questions

Video Depth converts a video into a depth video with Depth Anything. You submit a video as a publicly accessible HTTPS URL (or an upl_vid_ upload reference), receive a task ID, then poll for the result or receive a webhook notification. The output shows, frame by frame, how far each point is from the camera.
The input can be at most 30 seconds long and 200 MB. A longer or larger video is rejected with a 400 before anything is charged.
Use grayscale (the default) when the depth video is a motion reference for Seedance 2.5. inferno, viridis and turbo show the same depth in colour and are meant for visualization.
No. The output has no audio track. It keeps the resolution in pixels, frame rate and duration of the input.
Per second of the input video, rounded up to the next whole second.

Best practices

  • Trim before converting: You pay per second of input, and the limit is 30 seconds, so send only the part whose motion you need
  • Keep the default colormap for motion transfer: Seedance 2.5 reads the grayscale depth video as a motion reference
  • Use webhooks in production: Pass webhook_url instead of polling