Skip to main content
POST
Video Depth - Convert a video into a depth video

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Required for authentication. Learn how to obtain an API key

Body

application/json
video
string
required

Source video. A publicly accessible HTTPS URL pointing to the video, or an uploaded file reference (upl_vid_...). At most 30 seconds and 200 MB.

colormap
enum<string>
default:grayscale

Colormap of the output depth video:

  • grayscale: near is light, far is dark (default). The format Seedance 2.5 reads as a motion reference.
  • inferno, viridis, turbo: colour visualizations of the same depth.
Available options:
grayscale,
inferno,
viridis,
turbo
webhook_url
string<uri>

Optional callback URL that will receive asynchronous notifications when the task changes status. The webhook will be called with the task status and the depth video URL.

Response

OK - Task created.

data
object
required
Example: