Creates a job that processes a media file through a pipeline: probe → import → encode → export. This is the main way to process media — send a URL, pick a kind, and Ittybit handles the rest. For the CLI equivalent, see ittybit jobs create.
Request body
Field
Type
Required
Description
input
string
yes
Input URL (http://, https://, or s3://)
kind
string
yes
video · audio · image · animation · adaptive_video
options
object
no
Processing options
output
string
no
S3 destination (s3://bucket/key)
metadata
object
no
Arbitrary key-value pairs
Options
video
Option
Type
Values
format
string
mp4 · webm · mov
codec
string
h264 · h265 · vp9 · av1
quality
string
very_low · low · medium · high · very_high
width
int or string
Pixels or "50%"
height
int or string
Pixels or "50%"
fit
string
contain · cover · fill
position
string
center · top · bottom · left · right etc.
background
string
Hex color (e.g. "#000000") — only with fit: contain
fps
number
1–60
bitrate
integer
300,000–60,000,000 bps
start
number
Seconds
end
number
Seconds
audio
Option
Type
Values
format
string
mp3 · aac · ogg · opus · wav · flac
quality
string
very_low · low · medium · high · very_high
bitrate
integer
32,000–320,000 bps
start
number
Seconds
end
number
Seconds
image
Option
Type
Values
format
string
jpeg · png · webp · avif
quality
string
very_low · low · medium · high · very_high
width
int or string
Pixels or "50%"
height
int or string
Pixels or "50%"
fit
string
contain · cover · fill
position
string
center · top · bottom · left · right etc.
background
string
Hex color (e.g. "#000000") — only with fit: contain
start
number
Frame time in seconds (video input)
animation
Option
Type
Values
format
string
gif · webp
quality
string
very_low · low · medium · high · very_high
width
int or string
Pixels or "50%"
height
int or string
Pixels or "50%"
fit
string
contain · cover · fill
position
string
center · top · bottom · left · right etc.
background
string
Hex color (e.g. "#000000") — only with fit: contain
start
number
Seconds
end
number
Seconds (required)
fps
number
1–60
adaptive_video
Option
Type
Values
format
string
hls
quality
string
very_low · low · medium · high · very_high
width
int or string
Pixels or "50%"
height
int or string
Pixels or "50%"
fit
string
contain · cover · fill
position
string
center · top · bottom · left · right etc.
background
string
Hex color (e.g. "#000000") — only with fit: contain
start
number
Seconds
end
number
Seconds
Examples
Video
Convert and resize a video. Smaller files mean faster page loads and lower CDN costs.
ittybit video \ -i https://example.com/upload.mov \ --width 1280 \ --height 720 \ --format mp4 \ --quality high \