Depth for every frame. Split at every cut.
Send a video and get back a stable depth video of the whole thing, plus a depth clip for each shot with its start and end time. One API call, up to 30 minutes per video.
What you get back
depth.mp4
The whole video as depth, consistent from frame to frame. H.264, the source audio kept, up to 30 fps. Long edge 1024 px, or the source size on request.
shots/001.mp4 …
Turn on shots and the depth video is also cut at every hard cut, one clip per shot, each with its start and end time. Shots shorter than 2 seconds are merged into their neighbour.
A webhook when it is done
Give a URL and we call it when the job succeeds or fails. Downloads stay available for 7 days after the job finishes.
Pricing
$0.004per second of source video, $0.24 per minute
- Shot splitting: +$0.0005 per secondCharged only when the video is actually cut into 2 or more shots. No cut, no extra.
- Failed jobs are freeThe cost is held when a job starts and charged only when it succeeds.
- Prepaid credit, from $10 to $1,000Your first top-up is matched, up to $100. New accounts can top up $100 in total in their first 30 days.
| Example | Cost |
|---|---|
| 1-minute clip | $0.24 |
| 10-minute video, split into shots | $2.70 |
| 30-minute episode, split into shots | $8.10 |
Three calls
- Create a job. You get an upload URL.
- Upload the video to it, then start the job.
- Poll the job or wait for your webhook, then download the files.
# 1. Create a job curl https://api.literun.dev/v1/jobs \ -H "Authorization: Bearer $LITERUN_KEY" \ -d '{"size_bytes": 52428800, "options": {"shots": true}}' # 2. Upload, then start curl -X PUT --data-binary @clip.mp4 "$UPLOAD_URL" curl -X POST https://api.literun.dev/v1/jobs/$JOB_ID/start \ -H "Authorization: Bearer $LITERUN_KEY" # 3. Get the result curl https://api.literun.dev/v1/jobs/$JOB_ID \ -H "Authorization: Bearer $LITERUN_KEY"