Each example is a complete POST /v1/renders body. Only fields that differ from their defaults are shown. See the element field reference for every default.
For text and image elements, duration is required — the API returns 422 if it is missing. video and audio elements have no duration field — use out_point to control how long the clip plays.
Minimal video
The only required field on a video element is source_url. Everything else uses defaults (x: "50%", y: "50%", width: "100%", height: "100%", opacity: 100, volume: 100).
Trim source clip
Play only seconds 2–8 of the source file.
Playback speed
Play the clip at 2× speed.
Audio fade in and out
Fade audio in over 1 second and out over 1 second. fade_in_duration / fade_out_duration affect the embedded audio track only.
Position and size
Place a 50%-wide clip in the bottom-right corner.
Repeat a short clip
Repeat a 6-second clip twice to fill a 12-second render. Add one element per repeat with a different time and matching in_point/out_point.