Raw schema
{
"additionalProperties": false,
"properties": {
"audio": {
"additionalProperties": false,
"description": "Audio encoding settings.",
"properties": {
"bitrate_kbps": {
"description": "Audio bitrate in kbps.",
"maximum": 2147483647,
"minimum": -2147483648,
"type": "integer"
},
"channels": {
"description": "Channel count. Omit to keep the source's.",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"codec": {
"description": "Audio codec: aac (default), opus, mp3, or flac.",
"enum": [
"aac",
"opus",
"mp3",
"flac"
],
"type": "string"
},
"normalize": {
"description": "Apply loudness normalization.",
"type": "boolean"
},
"sample_rate": {
"description": "Sample rate in Hz. Omit to keep the source's.",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
}
},
"type": "object"
},
"container": {
"description": "Container format: mp4, webm, mkv, or mov.",
"enum": [
"mp4",
"webm",
"mkv",
"mov"
],
"type": "string"
},
"content_type": {
"description": "Content type for encoder tuning: film, animation, grain, gaming, sports, or stillimage.",
"enum": [
"film",
"animation",
"grain",
"gaming",
"sports",
"stillimage"
],
"type": [
"null",
"string"
]
},
"delivery_format": {
"description": "Delivery format: progressive, hls, dash, or cmaf.",
"enum": [
"progressive",
"hls",
"dash",
"cmaf"
],
"type": "string"
},
"description": {
"description": "Optional description (up to 1024 characters).",
"type": "string"
},
"disable_audio": {
"description": "Produce video-only outputs (no audio). Defaults to false.",
"type": [
"null",
"boolean"
]
},
"faststart": {
"description": "Move the MP4 index to the front for progressive playback. Defaults to true.",
"type": [
"null",
"boolean"
]
},
"name": {
"description": "Human-readable name (1-128 characters).",
"type": "string"
},
"quality_tier": {
"description": "Quality tier: economy, standard (default), or premium.",
"enum": [
"economy",
"standard",
"premium"
],
"type": "string"
},
"segment_duration": {
"description": "Segment duration in seconds for hls/dash (2-30, default 6).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"slug": {
"description": "URL-safe identifier, unique within the app and permanent once created. Lowercase letters, digits and underscores only, 3-64 characters (e.g. \"gaming_1080p_60\").",
"type": "string"
},
"variants": {
"description": "Multi-variant ABR ladder (up to 20 rungs). Only valid when delivery_format is hls, dash or cmaf.",
"items": {
"additionalProperties": false,
"properties": {
"bitrate_kbps": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"buffer_size_kbps": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"crf": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"framerate": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"height": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"max_bitrate_kbps": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"quality": {
"description": "Per-rung quality tier override: economy, standard, or premium.",
"enum": [
"economy",
"standard",
"premium"
],
"type": [
"null",
"string"
]
},
"resolution": {
"description": "Resolution for this rung: 480p, 720p, 1080p, 1440p, 2160p, or 4320p.",
"enum": [
"480p",
"720p",
"1080p",
"1440p",
"2160p",
"4320p"
],
"type": "string"
},
"width": {
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
}
},
"required": [
"resolution"
],
"type": "object"
},
"type": [
"null",
"array"
]
},
"video": {
"additionalProperties": false,
"description": "Video encoding settings.",
"properties": {
"aq_mode": {
"description": "Adaptive quantization mode (0-3).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"aq_strength": {
"description": "Adaptive quantization strength (0.0-3.0).",
"type": [
"null",
"number"
]
},
"bframes": {
"description": "Number of B-frames (0-16).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"bitrate_kbps": {
"description": "Target bitrate in kbps for cbr/vbr (100-100000).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"bitrate_mode": {
"description": "Rate control: crf (quality-targeted), vbr, or cbr.",
"enum": [
"crf",
"cbr",
"vbr"
],
"type": "string"
},
"buffer_size_kbps": {
"description": "VBV buffer size in kbps (100-480000).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"codec": {
"description": "Video codec: h264 (default), h265, vp9, or av1.",
"enum": [
"h264",
"h265",
"vp9",
"av1"
],
"type": "string"
},
"crf": {
"description": "Constant Rate Factor; lower is higher quality and larger files. 15-35 for h264, 18-35 for h265, 15-50 for vp9, 20-55 for av1.",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"deblock": {
"description": "Deblocking filter, \"alpha:beta\" (e.g. \"0:0\").",
"type": [
"null",
"string"
]
},
"encoder_preset": {
"description": "Encoder speed preset. h264/h265: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower. av1: \"3\"-\"12\".",
"type": [
"null",
"string"
]
},
"framerate": {
"description": "Target frame rate (0 = keep the source's, max 240).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"height": {
"description": "Custom output height in pixels (128-4320).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"keyint": {
"description": "GOP size in frames (1-600).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"level": {
"description": "Codec level, e.g. \"3.0\", \"4.0\", \"5.1\".",
"type": [
"null",
"string"
]
},
"max_bitrate_kbps": {
"description": "VBV maximum bitrate in kbps (100-240000).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"min_keyint": {
"description": "Minimum keyframe interval (1-60).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"profile": {
"description": "Codec profile: baseline, main or high for h264; main or main10 for h265.",
"type": [
"null",
"string"
]
},
"psy_rd": {
"description": "Psychovisual rate-distortion, \"strength:trellis\" (e.g. \"1.0:0.0\").",
"type": [
"null",
"string"
]
},
"rc_lookahead": {
"description": "Rate-control lookahead frames (0-250).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"refs": {
"description": "Number of reference frames (1-16).",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
},
"resolution": {
"description": "Target resolution: 480p, 720p, 1080p, 1440p, 2160p, or 4320p. Omit to keep the source resolution. Use this OR width+height.",
"enum": [
"480p",
"720p",
"1080p",
"1440p",
"2160p",
"4320p"
],
"type": [
"null",
"string"
]
},
"tune": {
"description": "Content-aware tuning. h264: film, animation, grain, stillimage, fastdecode. h265: grain, fastdecode.",
"type": [
"null",
"string"
]
},
"width": {
"description": "Custom output width in pixels (128-7680). Use with height for non-standard aspect ratios.",
"maximum": 2147483647,
"minimum": -2147483648,
"type": [
"null",
"integer"
]
}
},
"type": "object"
}
},
"required": [
"slug",
"name",
"container",
"video",
"audio"
],
"type": "object"
}