Introduction
Submit a video URL from 1 to 120 seconds and choose grayscale, inferno or turbo. Output resolution and AAC sound match your clip; billing rounds input duration up to whole seconds with a 3-second floor.
| Field | Value |
|---|---|
| Input | Video |
| Output | Video |
| Publisher | Apple |
| Modality | Video |
| Family identifier | depth-pro/2-video |
| Accepted clip length | 1 to 120 seconds |
| Color maps | Grayscale (default), Inferno, Turbo |
| Output format | H.264 MP4 matching source dimensions (up to 30 fps) |
| Audio | Source AAC audio preserved |
| Billing | Per whole input second (ceil), 3-second minimum, 120-second cap; failed runs free |
Key features & highlights
Grayscale depth sequences built for video restyling
The 5-second 1080p cyclists sample renders moving wheels, spokes and riders in clean grayscale without frame-to-frame flicker. Feed the resulting MP4 straight into depth-conditioned video generators or VFX rotoscoping layers.
Preserves input dimensions, frame rate and audio track
Across tested 480×480, 1344×768 and 1920×1080 clips at 24 fps, Depth Pro 2 Video matched input framing and kept the original AAC soundtrack intact. Drop the returned H.264 MP4 onto a parallel track in your editor with zero audio drift.
Inferno and turbo visualizations across longer takes
The 10-second 1080p saxophonist clip rendered in inferno highlights shifting hand gestures, brass reflections and stage depth smoothly from start to finish, at the exact same per-second rate as grayscale.
Request parameters
| Parameter | Required | Description |
|---|---|---|
video_url | Yes | Required video URL from 1 to 120 seconds (MP4 or WebM). Output keeps source resolution and AAC audio; clips under 3 seconds bill at the 3-second floor. at least 1 characters |
colormap | No | Video depth palette: grayscale (default, near = white, far = black for video conditioning), inferno or turbo (color visualizations). Does not change the per-second rate. |
Pricing
$0.012 / second
Billed per whole second of input video (rounded up), with a 3-second minimum and 120-second maximum. Color map and resolution do not change the per-second rate; failed jobs are not billed.
Use cases
Depth conditioning for video-to-video restyling
Generate a temporally consistent grayscale depth pass from live-action footage to drive depth-guided video restyling or ControlNet animation without popping edges between frames.
Post-production Z-depth masking and lighting
Lay the returned MP4 on a synchronized track in Premiere, DaVinci Resolve or Nuke to drive synthetic rack focus, atmospheric haze or foreground relighting while keeping audio locked.
Long-take spatial analysis up to two minutes
Process full 120-second takes in one call rather than slicing footage into short segments that drift in depth scale across cut boundaries.
Unfiltered adult and studio footage workflows
Extract steady depth passes from performance, dance and adult studio clips on one endpoint with no text prompt and no automatic content refusals.
Prompt guide & pro tips
Prepare a clip from 1 to 120 seconds
Trim or export an MP4 or WebM clip up to 120 seconds long. Resolution and original audio carry through to the returned MP4.
Pick grayscale, inferno or turbo
Keep grayscale for video-to-video conditioning and compositing mattes, or pick inferno or turbo when reviewing spatial depth visually.
Submit and track per-second settlement
Billing uses the measured source duration rounded up to whole seconds, with a 3-second minimum and 120-second maximum. Color map and resolution never change the rate.
Sync the MP4 onto your edit timeline
Download the returned H.264 MP4, verify frame alignment and audio sync against the source take, and wire it into your compositing or generation pipeline.
Overview
Apple Depth Pro 2 Video converts a source video clip (1 to 120 seconds) into a temporally steady H.264 MP4 depth sequence without needing a text prompt. Output dimensions follow your source video (verified across 480×480, 1344×768 and 1920×1080), frame rate is preserved up to 30 fps, and the original AAC audio track stays attached.
Video inputs
| Field | Type | Default | Video behavior |
|---|---|---|---|
video_url | string (URI) | Required | Source MP4 or WebM clip from 1 to 120 seconds |
colormap | string | grayscale | Video depth palette: grayscale for conditioning, inferno, or turbo |
Example request
{
"video_url": "https://cdn.spicyapi.ai/models/examples/inputs/9d3d465c2e555e7f.mp4",
"colormap": "grayscale"
}
Output format and billing
Every completed task delivers one H.264 MP4 file matching your source framing with original AAC audio preserved. Billing uses the measured source duration rounded up to the next whole second, with a 3-second minimum and a 120-second maximum (min(max(ceil(duration), 3), 120)). Neither colormap nor resolution changes the per-second rate, and failed tasks are never billed.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "apple/depth-pro-2-video/video-edit",
"input": {
"colormap": "grayscale",
"video_url": "https://example.com/reference.mp4"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.

