Skip to main content
POST
Compile media content
Compile search results or a list of videos/scenes into a single playable stream. Useful for creating compilations from search queries or combining specific video segments.
  • Compile is useful for creating highlight reels or compilations from search results
  • Each timeline entry needs video ID and time range (start, end in seconds)
  • Returns a playable stream URL
  • Compile automatically stitches segments together in order

Create Timeline v2

Advanced composition with multiple tracks

Search Collections

Find videos to compile

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Body

application/json
inputs
object[]
required
output_format
enum<string>
Available options:
mp4,
webm,
hls
Example:

"mp4"

callback_url
string
Example:

"https://webhook.example.com/callback"

Response

200 - application/json

Compilation started

success
boolean
Example:

true

status
enum<string>
Available options:
processing,
done,
failed
Example:

"processing"

data
object