Scenes guide
Describe your video as an ordered list of scenes instead of calculating timeline timestamps.
Image vs. video scenes
Each scene sets type to "image" or "video" and provides an https:// URL in src. Up to 1,000 scenes can be combined in a single render.
Duration rules
- Explicit duration: pass
durationin seconds (from0.5to600). - With voice-over, no duration: at render time, the scene automatically lasts
voice length + 0.3 s. - Without voice-over or duration: defaults to
5 sat render time. - Credit estimation: when
durationis omitted, the API reserves8 sper scene for credit checks. On completion, unused reserved seconds are released and onlyceil(duration_seconds)is consumed.
Motion, fit, transitions & presets
| Option | Values | Behavior |
|---|---|---|
| motion | zoom-in | zoom-out | pan-left | pan-right | none | Smooth Ken Burns camera motion applied to still images. |
| fit | loop | slow | freeze | cut | Controls how shorter or longer video clips adapt to the scene length. |
| transition | none | fade | crossfade | Transition entering the scene from the previous scene. |
| preset | documentary | short | none | Default pacing, motion, and typography defaults for long-form or vertical shorts. |
Subtitles, music & formats
- Subtitles: set
subtitles: { enabled: true, style? }and addsubtitle(up to 500 chars, full Unicode) on individual scenes. - Music & ducking: pass
music: { src, volume?: 0..1, ducking?: true }to automatically duck background music underneath voice-over tracks. - Formats & resolutions:
16:9,9:16, and1:1at720por1080p(24, 25, or 30 fps). Test renders are automatically output at480pwith a watermark.
Complete scene payload example
curl -X POST https://reelpipe.dev/api/v1/renders \ -H "Authorization: Bearer rk_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{ "format": "16:9", "resolution": "1080p", "fps": 30, "preset": "documentary", "scenes": [ { "type": "image", "src": "https://reelpipe.dev/samples/alpine-ridge.jpg", "voice": "https://cdn.example.com/voice-1.mp3", "motion": "zoom-in", "subtitle": "High above the treeline, the morning mist clears." }, { "type": "video", "src": "https://cdn.example.com/clip-2.mp4", "duration": 8, "fit": "slow", "transition": "crossfade", "subtitle": "Short clips can loop, slow down, freeze, or cut to match the scene." } ], "music": { "src": "https://cdn.example.com/bed-track.mp3", "volume": 0.25, "ducking": true }, "subtitles": { "enabled": true, "style": "clean" }}'Raw JSON
{ "format": "16:9", "resolution": "1080p", "fps": 30, "preset": "documentary", "scenes": [ { "type": "image", "src": "https://reelpipe.dev/samples/alpine-ridge.jpg", "voice": "https://cdn.example.com/voice-1.mp3", "motion": "zoom-in", "subtitle": "High above the treeline, the morning mist clears." }, { "type": "video", "src": "https://cdn.example.com/clip-2.mp4", "duration": 8, "fit": "slow", "transition": "crossfade", "subtitle": "Short clips can loop, slow down, freeze, or cut to match the scene." } ], "music": { "src": "https://cdn.example.com/bed-track.mp3", "volume": 0.25, "ducking": true }, "subtitles": { "enabled": true, "style": "clean" }}