Skip to main content
POST
Compile timeline (v2)
Create advanced video compositions with multiple tracks, clips, transitions, and effects. Timeline v2 provides granular control over video editing including cropping, filters, and positioning.
  • Timeline v2 supports multiple tracks for layering videos, audio, images, and text
  • Clips define what asset plays and for how long (duration)
  • Default resolution is 1280x720, default background is black
  • Supports transitions, filters, cropping, and positioning on clips
  • Download the generated timeline with the Download endpoint

Download Timeline

Export timeline as video file

Editor Guides

Learn advanced video composition

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Body

application/json
request_type
enum<string>
required
Available options:
compile
Example:

"compile"

timeline
object[]
required
output_format
enum<string>
Available options:
mp4,
webm,
hls
Example:

"mp4"

quality
enum<string>
Available options:
low,
medium,
high
Example:

"high"

Response

200 - application/json

Timeline compilation result

success
boolean
Example:

true

data
object