Skip to main content
POST
Compile timeline
Create a video timeline by adding video clips inline and overlaying audio, images, or text assets on top.
  • Timeline v1 uses simple inline and overlay operations
  • Video IDs start with m-, audio with a-, images with img-
  • For advanced editing with tracks and effects, use Timeline v2
  • generate_stream() returns a playable stream URL

Create Timeline v2

Advanced timeline with tracks and effects

Timeline Guides

Learn timeline 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

Response

200 - application/json

Timeline compilation result

success
boolean
Example:

true

data
object