Skip to main content
POST
Video Bitrate Calculator

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ioResolution
enum<string>

Resolution

Available options:
1280x720,
1920x1080,
2560x1440,
3840x2160,
7680x4320,
custom
ioCustomWidth
number

Width (px)

Required range: 1 <= x <= 15360
ioCustomHeight
number

Height (px)

Required range: 1 <= x <= 8640
ioFrameRate
enum<string>

Frame rate (FPS)

Available options:
24,
30,
60,
120
ioCodec
enum<string>

Codec

Available options:
h264,
h265,
vp9,
av1
ioQuality
enum<string>

Quality

Available options:
low,
medium,
high,
veryhigh
ioAudioBitrate
enum<string>

Audio bitrate

Available options:
0,
64,
128,
192,
320

Response

Tool output

tool
string
required
tool_version
string
required

Output-contract version for this tool. Currently "1" for all tools.

outputs
object
required
credits_used
integer
required

Credits this call consumed, after any settlement refund. 0 when metering is disabled.

request_id
string
credits_remaining
integer | null

Credits left in the current monthly allowance, or null when metering is disabled.