Skip to main content
POST
Create video stream
Generate a streamable URL for the entire video or create a custom stream from specific timeline segments.
  • Returns a pre-existing stream URL if available (no re-processing needed)
  • Timeline allows creating videos with multiple segments automatically stitched
  • Timeline format: list of (start_time, end_time) tuples in seconds
  • Stream URLs are HLS format and work with most video players
  • Stream URLs remain valid as long as the video is stored

Authorizations

x-access-token
string
header
required

API key for authentication (sk-xxx format)

Path Parameters

video_id
string
required
Pattern: ^m-
Example:

"m-12345"

Body

application/json
format
enum<string>
Available options:
mp4,
webm,
hls
Example:

"mp4"

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

"high"

Response

200 - application/json

Stream created

success
boolean
Example:

true

data
object