Skip to main content
Glama

Create Depth Map

create_depth_map

Turn 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

TableJSON Schema
NameRequiredDescriptionDefault
video_urlYesA public https video URL, OR one of your own Switch video ids.
duration_secondsNoClip length in seconds. Required for external URLs; your own Switch videos are measured automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources