Properties
| Name | Type | Description |
|---|---|---|
| service_id | string | A service listed by GET /v1/services. |
| input | object | The schema depends on service_id. The FFmpeg services take the inputs in FfmpegTranscodeInput, FfmpegStitchInput, FfmpegCaptionBurnInput, FfmpegAudioMixInput, FfmpegTimelineExportInput, FfmpegFramesIn |
| max_wait_seconds | integer | How long a queued job waits for a renderer. A job sent while every slot is busy waits in the queue and starts, in order, when one frees; it is not refused. After this many seconds without a start it b |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pennycompute-com/json-schema/pennycompute-com-estimate-request-schema.json",
"title": "EstimateRequest",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/pennycompute-com-openapi.json#/components/schemas/EstimateRequest",
"type": "object",
"properties": {
"service_id": {
"type": "string",
"enum": [
"h3.video.v1",
"h3.reference_480p.v1",
"ffmpeg.transcode.v1",
"ffmpeg.stitch_export.v1",
"ffmpeg.audio_mix.v1",
"ffmpeg.caption_burn.v1",
"ffmpeg.timeline_export.v1",
"ffmpeg.frames.v1",
"ffmpeg.audio.v1",
"media.measure.v1",
"remotion.render.v1"
],
"description": "A service listed by GET /v1/services."
},
"input": {
"description": "The schema depends on service_id. The FFmpeg services take the inputs in FfmpegTranscodeInput, FfmpegStitchInput, FfmpegCaptionBurnInput, FfmpegAudioMixInput, FfmpegTimelineExportInput, FfmpegFramesInput and FfmpegAudioInput. media.measure.v1 takes MediaMeasureInput. remotion.render.v1 takes RemotionRenderInput.",
"anyOf": [
{
"$ref": "#/$defs/H3VideoInput"
},
{
"$ref": "#/$defs/H3PresetInput"
},
{
"$ref": "#/$defs/FfmpegTranscodeInput"
},
{
"$ref": "#/$defs/FfmpegStitchInput"
},
{
"$ref": "#/$defs/FfmpegCaptionBurnInput"
},
{
"$ref": "#/$defs/FfmpegAudioMixInput"
},
{
"$ref": "#/$defs/FfmpegTimelineExportInput"
},
{
"$ref": "#/$defs/FfmpegFramesInput"
},
{
"$ref": "#/$defs/FfmpegAudioInput"
},
{
"$ref": "#/$defs/MediaMeasureInput"
},
{
"$ref": "#/$defs/RemotionRenderInput"
}
]
},
"max_wait_seconds": {
"type": "integer",
"minimum": 1,
"maximum": 86400,
"default": 900,
"description": "How long a queued job waits for a renderer. A job sent while every slot is busy waits in the queue and starts, in order, when one frees; it is not refused. After this many seconds without a start it becomes expired with failure_code no_capacity and is not charged. Rather than resending a job that expired, send it once with the longest wait you accept, for example 7200 for two hours: H3 slots are few and a clip can wait minutes for one."
}
},
"required": [
"service_id",
"input"
],
"$defs": {
"FfmpegAudioInput": {
"type": "object",
"additionalProperties": false,
"properties": {
"sources": {
"type": "array",
"minItems": 1,
"maxItems": 200,
"description": "Videos or sound files, joined in order.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"start_seconds": {
"type": "number",
"minimum": 0,
"maximum": 86400,
"default": 0
},
"duration_seconds": {
"type": "number",
"minimum": 0.01,
"maximum": 86400,
"description": "How much of the source is used. Omit to run to its end."
}
},
"required": [
"url"
]
}
},
"bed": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"gain_db": {
"type": "number",
"minimum": -60,
"maximum": 12,
"default": 0
},
"loop": {
"type": "boolean",
"default": true,
"description": "true: the bed repeats to cover the whole length. false: it plays once."
},
"fade_seconds": {
"type": "number",
"minimum": 0,
"maximum": 30,
"default": 0,
"description": "The bed fades in over this long at the start and out over this long at its end."
},
"duck_db": {
"type": "number",
"minimum": -60,
"maximum": -1,
"description": "Lower the bed under the sources with a side-chain compressor. Omit to leave it."
}
},
"required": [
"url"
],
"description": "Music under the joined sources for their whole length."
},
"trim_silence": {
"type": "boolean",
"default": false,
"description": "Remove silence at the start and the end."
},
"loudness_lufs": {
"type": "number",
"minimum": -40,
"maximum": -5,
"description": "Bring the result to this integrated loudness."
},
"max_duration_seconds": {
"type": "number",
"minimum": 0.01,
"maximum": 86400,
"description": "Cut the result to this length, keeping its start or its end as keep says."
},
"keep": {
"type": "string",
"enum": [
"start",
"end"
],
"default": "start"
},
"output": {
"type": "object",
"additionalProperties": false,
"properties": {
"format": {
"type": "string",
"enum": [
"wav",
"mp3",
"m4a"
],
"default": "wav"
},
"sample_rate": {
"type": "integer",
"minimum": 8000,
"maximum": 96000,
"description": "Omit for the rate of the first source, or the nearest one the format takes. mp3 takes 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100 and 48000 Hz; m4a takes those and 64000, 88200 and 96000; wav takes any."
},
"channels": {
"enum": [
1,
2
],
"description": "Omit for the channels of the first source, at most 2."
},
"bitrate_kbps": {
"type": "integer",
"minimum": 32,
"maximum": 512,
"description": "For mp3 and m4a. Omit for 192."
},
"sample_format": {
"type": "string",
"enum": [
"s16",
"f32"
],
"description": "For wav. Omit for s16."
}
},
"required": []
}
},
"required": [
"sources"
],
"description": "Input for ffmpeg.audio.v1: one WAV, MP3 or M4A. Unknown fields are refused. The job result carries duration_seconds, sample_rate, channels, integrated_lufs and true_peak_dbtp, measured on the finished file."
},
"FfmpegAudioMixInput": {
"type": "object",
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"description": "Any public https link to the file, up to 1 GB, or an input_url from POST /v1/assets. The renderer fetches it with a plain GET, so keep it readable until the job has ended."
},
"tracks": {
"type": "array",
"minItems": 1,
"maxItems": 16,
"items": {
"type": "object",
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"description": "Any public https link to the file, up to 1 GB, or an input_url from POST /v1/assets. The renderer fetches it with a plain GET, so keep it readable until the job has ended."
},
"role": {
"type": "string",
"enum": [
"dialogue",
"music",
"effect"
]
},
"start_ms": {
"type": "integer",
"minimum": 0,
"maximum": 86400000,
"default": 0
},
"gain_db": {
"type": "number",
"minimum": -60,
"maximum": 12,
"default": 0
},
"loop": {
"type": "boolean",
"default": false
}
},
"required": [
"input_url",
"role"
]
}
},
"preserve_source_audio": {
"type": "boolean",
"default": true
},
"ducking": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"default": true
},
"threshold_db": {
"type": "number",
"minimum": -60,
"maximum": 0,
"default": -24
},
"ratio": {
"type": "number",
"minimum": 1,
"maximum": 20,
"default": 8
},
"attack_ms": {
"type": "number",
"minimum": 1,
"maximum": 2000,
"default": 20
},
"release_ms": {
"type": "number",
"minimum": 10,
"maximum": 5000,
"default": 250
}
},
"required": []
},
"output_audio_bitrate_kbps": {
"type": "integer",
"minimum": 64,
"maximum": 512,
"default": 192
}
},
"required": [
"input_url",
"tracks"
]
},
"FfmpegCaptionBurnInput": {
"type": "object",
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"description": "Any public https link to the file, up to 1 GB, or an input_url from POST /v1/assets. The renderer fetches it with a plain GET, so keep it readable until the job has ended."
},
"captions_url": {
"type": "string",
"format": "uri",
"description": "Any public https link to the file, up to 1 GB, or an input_url from POST /v1/assets. The renderer fetches it with a plain GET, so keep it readable until the job has ended."
},
"captions_format": {
"type": "string",
"enum": [
"ass",
"srt"
],
"default": "ass"
}
},
"required": [
"input_url",
"captions_url"
]
},
"FfmpegFramesInput": {
"type": "object",
"additionalProperties": false,
"properties": {
"cells": {
"type": "array",
"minItems": 1,
"maxItems": 64,
"items": {
"description": "One cell of the image: a frame of a video, or an image.",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"kind": {
"const": "video"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"at": {
"default": "middle",
"description": "Which frame: first, middle (half the length), last, or a time in seconds. A time past the end is the last frame.",
"oneOf": [
{
"type": "string",
"enum": [
"first",
"middle",
"last"
]
},
{
"type": "number",
"minimum": 0,
"maximum": 86400
}
]
},
"crop": {
"type": "object",
"additionalProperties": false,
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"description": "A part of the source, as fractions of its width and height. x plus width and y plus height are at most 1."
}
},
"required": [
"kind",
"url"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"kind": {
"const": "image"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"crop": {
"type": "object",
"additionalProperties": false,
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"description": "A part of the source, as fractions of its width and height. x plus width and y plus height are at most 1."
}
},
"required": [
"kind",
"url"
]
}
]
},
"description": "The cells, laid out left to right, top to bottom. One cell with no cell size is a plain frame grab."
},
"columns": {
"type": "integer",
"minimum": 1,
"maximum": 16,
"description": "Cells per row. Omit to put all cells in one row, at most 16 to a row. A short last row is filled with black."
},
"cell_width": {
"type": "integer",
"minimum": 16,
"maximum": 4096,
"description": "Each cell is scaled to fit inside cell_width by cell_height and letterboxed on black. Send both or neither; more than one cell needs both."
},
"cell_height": {
"type": "integer",
"minimum": 16,
"maximum": 4096
},
"format": {
"type": "string",
"enum": [
"png",
"jpg",
"webp"
],
"default": "png"
},
"quality": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"description": "For jpg and webp. Omit for 85."
},
"max_width": {
"type": "integer",
"minimum": 16,
"maximum": 8192,
"description": "The finished image is scaled down to at most this width, never up."
}
},
"required": [
"cells"
],
"description": "Input for ffmpeg.frames.v1: one PNG, JPEG or WebP made of frames. Unknown fields are refused. The grid before scaling is at most 16383 pixels on a side and 100,000,000 pixels in all. The job result carries width, height and cells, a list with the seconds of the frame grabbed for each cell (null for an image)."
},
"FfmpegStitchInput": {
"type": "object",
"properties": {
"input_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri",
"description": "Any public https link to the file, up to 1 GB, or an input_url from POST /v1/assets. The renderer fetches it with a plain GET, so keep it readable until the job has ended."
},
"minItems": 1,
"maxItems": 64,
"description": "Clips in playback order, joined end to end."
},
"video_codec": {
"type": "string",
"enum": [
"copy",
"h264_videotoolbox",
"libx264"
],
"default": "copy",
"description": "copy joins the clips without re-encoding; they must share codec, size, frame rate and audio layout. The other values re-encode."
},
"audio_codec": {
"type": "string",
"enum": [
"copy",
"aac"
],
"default": "copy"
},
"output_container": {
"type": "string",
"enum": [
"mp4"
],
"default": "mp4"
}
},
"required": [
"input_urls"
]
},
"FfmpegTimelineExportInput": {
"type": "object",
"additionalProperties": false,
"properties": {
"picture": {
"type": "string",
"enum": [
"encode",
"copy"
],
"default": "encode",
"description": "encode: the picture is made from clips or picture_segments on the canvas. copy: the picture of source_url is kept untouched and only its sound is replaced or finished."
},
"canvas": {
"type": "object",
"additionalProperties": false,
"properties": {
"aspect_ratio": {
"type": "string",
"enum": [
"16:9",
"9:16",
"1:1",
"4:3"
]
},
"resolution": {
"type": "string",
"enum": [
"720p",
"1080p",
"4k",
"proxy_480p"
],
"default": "720p"
},
"fps": {
"type": "integer",
"minimum": 1,
"maximum": 120,
"default": 30
},
"crf": {
"type": "integer",
"minimum": 0,
"maximum": 51,
"description": "The quality of every picture encode in the job: lower is a better picture and a larger file. Left out, it follows resolution: 30 at proxy_480p, 23 at 720p, 18 at 1080p and 20 at 4k. It does not change the price."
},
"preset": {
"type": "string",
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow"
],
"description": "The libx264 preset of every picture encode in the job. Left out, it follows resolution: fast at proxy_480p and 720p, veryfast at 1080p and 4k. It does not change the price."
}
},
"required": [
"aspect_ratio"
],
"description": "The output shape, size and frame rate. Required for an encoded picture; a copied picture keeps its own size."
},
"duration_seconds": {
"type": "number",
"minimum": 0.1,
"maximum": 3600,
"description": "The total length of the output. Picture is padded with black and sound with silence up to it, then both are cut at it. With picture: copy it is optional: omitted, the output is as long as the picture; given, it has to be within 0.2 seconds of the length of the picture or the job fails with invalid_input."
},
"clips": {
"type": "array",
"maxItems": 240,
"default": [],
"description": "Clips joined in order.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"in_seconds": {
"type": "number",
"minimum": 0,
"maximum": 86400,
"default": 0
},
"out_seconds": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 86400,
"description": "Where the clip ends in its source. Omit to run to the end of the source."
},
"volume": {
"type": "number",
"minimum": 0,
"maximum": 2,
"default": 1
},
"audio_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A sound that replaces the sound of the clip, cut with the same in and out."
},
"fit": {
"type": "string",
"enum": [
"contain",
"cover"
],
"default": "contain",
"description": "contain letterboxes on black. cover scales to fill and crops to the centre."
},
"opening_fade": {
"type": "object",
"additionalProperties": false,
"properties": {
"frames": {
"type": "integer",
"minimum": 1,
"maximum": 600
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"default": "#000000"
}
},
"required": [
"frames"
]
},
"luts": {
"type": "array",
"maxItems": 32,
"default": [],
"description": "Looks applied over parts of the clip. Times count from the in-point of the clip: start included, end excluded.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"start_seconds": {
"type": "number",
"minimum": 0,
"maximum": 3600,
"default": 0
},
"end_seconds": {
"type": [
"number",
"null"
],
"exclusiveMinimum": 0,
"maximum": 3600,
"default": null
}
},
"required": [
"url"
]
}
}
},
"required": [
"url"
]
}
},
"picture_segments": {
"type": "array",
"maxItems": 240,
"default": [],
"description": "When any are given the picture is made from them and clips are not used.",
"items": {
"description": "One piece of the picture, by kind: a video, a still image or a plain colour.",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"properties": {
"kind": {
"const": "video"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"duration_seconds": {
"type": "number",
"minimum": 0.01,
"maximum": 600
},
"source_in_seconds": {
"type": "number",
"minimum": 0,
"maximum": 86400,
"default": 0
},
"source_out_seconds": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 86400
},
"playback_rate": {
"type": "number",
"minimum": 0.5,
"maximum": 4,
"default": 1
},
"volume": {
"type": "number",
"minimum": 0,
"maximum": 8,
"default": 1
},
"luts": {
"type": "array",
"maxItems": 32,
"default": [],
"description": "Looks applied over parts of the segment. Times are in the source, counted from source_in_seconds, before any change of speed.",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"start_seconds": {
"type": "number",
"minimum": 0,
"maximum": 3600,
"default": 0
},
"end_seconds": {
"type": [
"number",
"null"
],
"exclusiveMinimum": 0,
"maximum": 3600,
"default": null
}
},
"required": [
"url"
]
}
}
},
"required": [
"kind",
"url",
"duration_seconds"
]
},
{
"type": "object",
"additionalProperties": false,
"properties": {
"kind": {
"const": "image"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096,
"description": "A public http or https link the renderer fetches, up to 1 GB. Keep it readable until the job has ended."
},
"duration_seconds": {
"type": "number",
"minimum": 0.01,
"maximum": 600
},
"crop": {
"type": "object",
"additionalProperties": false,
"properties": {
"x": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"y": {
"type": "number",
"minimum": 0,
"maximum": 1
},
"width": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
},
"height": {
"type": "number",
"exclusiveMinimum": 0,
"maximum": 1
}
},
"required": [
"x",
"y",
"width",
"height"
],
"description": "A part of the image, as fractions of its width and height. It is stretched to the canvas. Without a crop the image is scaled to cover and cropped to the centre."
},
"camera": {
"type": "object",
"additionalProperties": false,
"properties": {
"from_scale": {
"type": "number",
"minimum": 1,
"maximum": 1.2,
"default": 1
},
"to_scale": {
"type": "number",
"minimum": 1,
"maximum": 1.2,
"default": 1
},
"from_x_percent": {
"type": "number",
"minimum": -3,
"maximum": 3,
"default": 0
},
"to_x_percent": {
"type": "number",
"
# --- truncated at 32 KB (70 KB total) ---
# Full source: https://artifacts.apis.io/pennycompute-com/json-schema/pennycompute-com-estimate-request-schema.json
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/pennycompute-com-estimate-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.