Estimate, submit, inspect and retrieve PennyCompute media jobs.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Estimate a public API job without creating it. Real-ESRGAN x4plus outputs PNG at 4× source width and height. $0.001 per image. BiRefNet outputs a transparent PNG at source dimensions. $0.0003 per image. Kokoro-82M costs $0.000495 per 1,000 characters, prorated per character. FLUX.2 klein 4B costs $0.0047 per 1024×1024 image. 1024×1024 PNG only; no other sizes or aspect ratios; no edit endpoint; no LoRA. Whisper large-v3-turbo costs $0.0001 per audio minute, prorated per second. A five-second 480p H3 clip is $0.025; FFmpeg HD output is $0.0075 per minute with a 1-second minimum; Remotion is $0.0037 per render plus $0.0048 per minute through 1080p. Failed jobs are free.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http pennycompute https://api.pennycompute.com/mcp
Headers
Authorization (optional, not in the config above)Estimate a public API job without creating it. Real-ESRGAN x4plus outputs PNG at 4× source width and height. $0.001 per image. BiRefNet outputs a transparent PNG at source dimensions. $0.0003 per image. Kokoro-82M costs $0.000495 per 1,000 characters, prorated per character. FLUX.2 klein 4B costs $0.0047 per 1024×1024 image. 1024×1024 PNG only; no other sizes or aspect ratios; no edit endpoint; no LoRA. Whisper large-v3-turbo costs $0.0001 per audio minute, prorated per second. A five-second 480p H3 clip is $0.025; FFmpeg HD output is $0.0075 per minute with a 1-second minimum; Remotion is $0.0037 per render plus $0.0048 per minute through 1080p. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| input* | any | |
| service_id* | string | |
| max_wait_seconds | integer |
{
"type": "object",
"allOf": [
{
"if": {
"required": [
"service_id"
],
"properties": {
"service_id": {
"const": "image.upscale.v1"
}
}
},
"then": {
"properties": {
"input": {
"type": "object",
"required": [
"input_url"
],
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
}
},
"additionalProperties": false
}
}
}
},
{
"if": {
"required": [
"service_id"
],
"properties": {
"service_id": {
"const": "image.remove_background.v1"
}
}
},
"then": {
"properties": {
"input": {
"type": "object",
"required": [
"input_url"
],
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
}
},
"additionalProperties": false
}
}
}
},
{
"if": {
"required": [
"service_id"
],
"properties": {
"service_id": {
"const": "audio.tts.v1"
}
}
},
"then": {
"properties": {
"input": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"pattern": "\\S",
"maxLength": 5000,
"minLength": 1
},
"voice": {
"enum": [
"af_heart",
"af_bella",
"am_adam",
"bf_emma",
"bm_george"
],
"type": "string",
"default": "af_heart"
}
},
"additionalProperties": false
}
}
}
},
{
"if": {
"required": [
"service_id"
],
"properties": {
"service_id": {
"const": "image.generate.v1"
}
}
},
"then": {
"properties": {
"input": {
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"prompt": {
"type": "string",
"pattern": "\\S",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
}
}
}
},
{
"if": {
"required": [
"service_id"
],
"properties": {
"service_id": {
"const": "audio.transcribe.v1"
}
}
},
"then": {
"properties": {
"input": {
"type": "object",
"required": [
"input_url",
"duration_seconds"
],
"properties": {
"language": {
"type": "string",
"pattern": "^[a-z]{2}$"
},
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
},
"duration_seconds": {
"type": "integer",
"maximum": 1800,
"minimum": 1
}
},
"additionalProperties": false
}
}
}
}
],
"required": [
"service_id",
"input"
],
"properties": {
"input": {
"anyOf": [
{
"not": {
"anyOf": [
{
"required": [
"references",
"first_frame_url"
]
},
{
"required": [
"references",
"last_frame_url"
]
}
]
},
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"prompt": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"quality": {
"enum": [
"fast",
"high",
"full"
],
"default": "fast"
},
"references": {
"type": "object",
"required": [],
"properties": {
"audio": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"seconds": {
"type": "integer",
"maximum": 15,
"minimum": 2
}
},
"additionalProperties": false
},
"maxItems": 3
},
"images": {
"type": "array",
"items": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"maxItems": 9
},
"videos": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"seconds": {
"type": "integer",
"maximum": 15,
"minimum": 2
}
},
"additionalProperties": false
},
"maxItems": 3
},
"use_video_sound": {
"type": "boolean",
"default": false
}
},
"additionalProperties": false
},
"resolution": {
"enum": [
"480p",
"768p"
],
"default": "480p"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"21:9"
],
"default": "16:9"
},
"public_intent": {
"type": "boolean"
},
"last_frame_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"first_frame_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"duration_seconds": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 4
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"prompt",
"reference_jpeg_base64"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"prompt": {
"type": "string",
"maxLength": 2000,
"minLength": 1
},
"public_intent": {
"type": "boolean"
},
"reference_jpeg_base64": {
"type": "string",
"maxLength": 180000
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"input_url"
],
"properties": {
"crf": {
"type": "integer",
"maximum": 51,
"minimum": 0
},
"fps": {
"type": "integer",
"maximum": 120,
"minimum": 1
},
"gop": {
"type": "integer",
"maximum": 1000,
"minimum": 1
},
"height": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"max_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"input_url": {
"type": "string",
"format": "uri"
},
"audio_codec": {
"enum": [
"aac",
"copy"
],
"type": "string",
"default": "aac"
},
"buffer_kbps": {
"type": "integer",
"maximum": 400000,
"minimum": 50
},
"size_budget": {
"type": "object",
"required": [
"bytes",
"reserve_kbps",
"max_kbps"
],
"properties": {
"bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"low_rate": {
"type": "object",
"required": [
"below_kbps",
"max_edge"
],
"properties": {
"max_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"below_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 50
}
},
"additionalProperties": false
},
"max_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 50
},
"reserve_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 0
}
},
"additionalProperties": false
},
"strip_audio": {
"type": "boolean"
},
"video_codec": {
"enum": [
"h264_videotoolbox",
"libx264"
],
"type": "string",
"default": "h264_videotoolbox"
},
"x264_preset": {
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow",
"placebo"
],
"type": "string"
},
"pixel_format": {
"enum": [
"yuv420p"
],
"type": "string"
},
"audio_streams": {
"enum": [
"first",
"all"
],
"type": "string",
"default": "first"
},
"start_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0
},
"strip_metadata": {
"type": "boolean",
"default": false
},
"duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
},
"max_bitrate_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 50
},
"keep_fps_at_least": {
"type": "integer",
"maximum": 120,
"minimum": 1
},
"overlay_image_url": {
"type": "string",
"format": "uri"
},
"replace_audio_url": {
"type": "string",
"format": "uri"
},
"audio_bitrate_kbps": {
"type": "integer",
"maximum": 512,
"minimum": 32
},
"max_source_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
},
"pad_to_duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
},
"replace_audio_in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"input_urls"
],
"properties": {
"input_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 64,
"minItems": 1
},
"audio_codec": {
"enum": [
"copy",
"aac"
],
"type": "string",
"default": "copy"
},
"video_codec": {
"enum": [
"copy",
"h264_videotoolbox",
"libx264"
],
"type": "string",
"default": "copy"
},
"output_container": {
"enum": [
"mp4"
],
"type": "string",
"default": "mp4"
}
}
},
{
"type": "object",
"required": [
"input_url",
"captions_url"
],
"properties": {
"input_url": {
"type": "string",
"format": "uri"
},
"captions_url": {
"type": "string",
"format": "uri"
},
"captions_format": {
"enum": [
"ass",
"srt"
],
"type": "string",
"default": "ass"
}
}
},
{
"type": "object",
"required": [
"input_url",
"tracks"
],
"properties": {
"tracks": {
"type": "array",
"items": {
"type": "object",
"required": [
"input_url",
"role"
],
"properties": {
"loop": {
"type": "boolean",
"default": false
},
"role": {
"enum": [
"dialogue",
"music",
"effect"
],
"type": "string"
},
"gain_db": {
"type": "number",
"default": 0,
"maximum": 12,
"minimum": -60
},
"start_ms": {
"type": "integer",
"default": 0,
"maximum": 86400000,
"minimum": 0
},
"input_url": {
"type": "string",
"format": "uri"
}
}
},
"maxItems": 16,
"minItems": 1
},
"ducking": {
"type": "object",
"required": [],
"properties": {
"ratio": {
"type": "number",
"default": 8,
"maximum": 20,
"minimum": 1
},
"enabled": {
"type": "boolean",
"default": true
},
"attack_ms": {
"type": "number",
"default": 20,
"maximum": 2000,
"minimum": 1
},
"release_ms": {
"type": "number",
"default": 250,
"maximum": 5000,
"minimum": 10
},
"threshold_db": {
"type": "number",
"default": -24,
"maximum": 0,
"minimum": -60
}
}
},
"input_url": {
"type": "string",
"format": "uri"
},
"preserve_source_audio": {
"type": "boolean",
"default": true
},
"output_audio_bitrate_kbps": {
"type": "integer",
"default": 192,
"maximum": 512,
"minimum": 64
}
}
},
{
"type": "object",
"required": [],
"properties": {
"mix": {
"type": "object",
"required": [],
"properties": {
"tracks": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"url",
"duration_seconds"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"kind": {
"enum": [
"overlay_video",
"narration",
"music",
"sound_effects",
"user_audio"
],
"type": "string"
},
"sound": {
"enum": [
"required",
"optional"
],
"type": "string",
"default": "required"
},
"layout": {
"type": "object",
"required": [
"mode"
],
"properties": {
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string",
"default": "cover"
},
"mode": {
"enum": [
"picture_in_picture",
"full_bleed"
],
"type": "string"
},
"width": {
"type": "number",
"default": 1,
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"default": 1,
"maximum": 1,
"exclusiveMinimum": 0
},
"opacity": {
"type": "number",
"default": 1,
"maximum": 1,
"minimum": 0
},
"center_x": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0
},
"center_y": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0
},
"rotation_degrees": {
"type": "number",
"default": 0,
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"volume": {
"type": "number",
"default": 1,
"maximum": 8,
"minimum": 0
},
"playback_rate": {
"type": "number",
"default": 1,
"maximum": 4,
"minimum": 0.25
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 3600,
"minimum": 0
},
"fade_in_seconds": {
"type": "number",
"default": 0,
"maximum": 30,
"minimum": 0
},
"duration_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0.01
},
"fade_out_seconds": {
"type": "number",
"default": 0,
"maximum": 30,
"minimum": 0
},
"source_in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 512
},
"music_duck_db": {
"type": "number",
"maximum": 0,
"minimum": -60
},
"primary_volume": {
"type": "number",
"default": 1,
"maximum": 8,
"minimum": 0
},
"primary_volume_under_narration": {
"type": "number",
"maximum": 8,
"minimum": 0
}
},
"additionalProperties": false
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"fit": {
"enum": [
"contain",
"cover"
],
"type": "string",
"default": "contain"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"luts": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"end_seconds": {
"type": [
"number",
"null"
],
"default": null,
"maximum": 3600,
"exclusiveMinimum": 0
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 3600,
"minimum": 0
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 32
},
"volume": {
"type": "number",
"default": 1,
"maximum": 2,
"minimum": 0
},
"audio_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
},
"out_seconds": {
"type": "number",
"maximum": 86400,
"exclusiveMinimum": 0
},
"opening_fade": {
"type": "object",
"required": [
"frames"
],
"properties": {
"color": {
"type": "string",
"default": "#000000",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"frames": {
"type": "integer",
"maximum": 600,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 240
},
"sound": {
"type": "object",
"required": [],
"properties": {
"codec": {
"enum": [
"aac"
],
"type": "string",
"default": "aac"
},
"channels": {
"enum": [
1,
2,
"source"
],
"default": 2
},
"edit_list": {
"type": "boolean",
"default": true
},
"sample_rate": {
"enum": [
48000,
44100,
"source"
],
"default": 48000
},
"bitrate_kbps": {
"type": "integer",
"default": 256,
"maximum": 512,
"minimum": 64
},
"peak_ceiling_dbfs": {
"type": [
"number",
"null"
],
"default": -2,
"maximum": 0,
"minimum": -20
}
},
"additionalProperties": false
},
"canvas": {
"type": "object",
"required": [
"aspect_ratio"
],
"properties": {
"crf": {
"type": "integer",
"maximum": 51,
"minimum": 0
},
"fps": {
"type": "integer",
"default": 30,
"maximum": 120,
"minimum": 1
},
"preset": {
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow"
],
"type": "string"
},
"resolution": {
"enum": [
"720p",
"1080p",
"4k",
"proxy_480p"
],
"type": "string",
"default": "720p"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3"
],
"type": "string"
}
},
"additionalProperties": false
},
"picture": {
"enum": [
"encode",
"copy"
],
"type": "string",
"default": "encode"
},
"captions": {
"type": "object",
"required": [
"lines"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"end_seconds": {
"type": "number",
"maximum": 3600,
"exclusiveMinimum": 0
},
"start_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 300
},
"style": {
"type": "object",
"required": [],
"properties": {
"bold": {
"type": "boolean",
"default": true
},
"font": {
"type": "string",
"default": "Arial",
"pattern": "^[A-Za-z0-9 _-]+$",
"maxLength": 100
},
"color": {
"type": "string",
"default": "#ffffff",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shadow": {
"type": "number",
"default": 1,
"maximum": 20,
"minimum": 0
},
"outline": {
"type": "number",
"default": 5,
"maximum": 20,
"minimum": 0
},
"min_size_px": {
"type": "integer",
"default": 34,
"maximum": 400,
"minimum": 0
},
"size_percent": {
"type": "number",
"default": 4.2,
"maximum": 20,
"minimum": 1
},
"outline_color": {
"type": "string",
"default": "#101010",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"side_margin_px": {
"type": "integer",
"default": 60,
"maximum": 2000,
"minimum": 0
},
"min_bottom_margin_px": {
"type": "integer",
"default": 120,
"maximum": 2000,
"minimum": 0
},
"bottom_margin_percent": {
"type": "number",
"default": 12,
"maximum": 50,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"duration_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0.1
},
"picture_segments": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"url",
"duration_seconds"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"kind": {
"const": "video"
},
"luts": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"end_seconds": {
"type": [
"number",
"null"
],
"default": null,
"maximum": 3600,
"exclusiveMinimum": 0
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 3600,
"minimum": 0
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 32
},
"volume": {
"type": "number",
"default": 1,
"maximum": 8,
"minimum": 0
},
"playback_rate": {
"type": "number",
"default": 1,
"maximum": 4,
"minimum": 0.5
},
"duration_seconds": {
"type": "number",
"maximum": 600,
"minimum": 0.01
},
"source_in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
},
"source_out_seconds": {
"type": "number",
"maximum": 86400,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"url",
"duration_seconds"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"kind": {
"const": "image"
},
"camera": {
"type": "object",
"required": [],
"properties": {
"origin_y": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0
},
"to_scale": {
"type": "number",
"default": 1,
"maximum": 1.2,
"minimum": 1
},
"from_scale": {
"type": "number",
"default": 1,
"maximum": 1.2,
"minimum": 1
},
"to_x_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
},
"to_y_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
},
"from_x_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
},
"from_y_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
}
},
"additionalProperties": false
},
"duration_seconds": {
"type": "number",
"maximum": 600,
"minimum": 0.01
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"duration_seconds"
],
"properties": {
"kind": {
"const": "placeholder"
},
"color": {
"type": "string",
"default": "#111827",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"duration_seconds": {
"type": "number",
"maximum": 600,
"minimum": 0.01
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 240
},
"source_audio_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"cells"
],
"properties": {
"cells": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"url"
],
"properties": {
"at": {
"oneOf": [
{
"enum": [
"first",
"middle",
"last"
],
"type": "string"
},
{
"type": "number",
"maximum": 86400,
"minimum": 0
},
{
"type": "object",
"required": [
"before_end_seconds"
],
"properties": {
"before_end_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0
}
},
"additionalProperties": false
}
],
"default": "middle"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"kind": {
"const": "video"
},
"pick": {
"enum": [
"at_or_after",
"on_display"
],
"type": "string",
"default": "at_or_after"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"kind": {
"const": "image"
},
"if_animated": {
"enum": [
"first_frame",
"refuse"
],
"type": "string",
"default": "first_frame"
}
},
"additionalProperties": false
}
]
},
"maxItems": 64,
"minItems": 1
},
"format": {
"enum": [
"png",
"jpg",
"webp"
],
"type": "string",
"default": "png"
},
"scaler": {
"enum": [
"lanczos",
"bicubic"
],
"type": "string",
"default": "lanczos"
},
"columns": {
"type": "integer",
"maximum": 16,
"minimum": 1
},
"preview": {
"type": "object",
"required": [
"long_edge"
],
"properties": {
"mark": {
"oneOf": [
{
"type": "object",
"required": [
"style"
],
"properties": {
"style": {
"enum": [
"diagonal",
"corner",
"center_tile"
],
"type": "string"
},
"opacity": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"style",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"style": {
"const": "wordmark"
}
},
"additionalProperties": false
}
]
},
"long_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"blur_sigma": {
"type": "number",
"maximum": 1024,
"minimum": 0.1
},
"crop_percent": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"height": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"redact_percent": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"height": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 32,
"minItems": 1
}
},
"additionalProperties": false
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"max_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"max_width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"cell_width": {
"type": "integer",
"maximum": 4096,
"minimum": 16
},
"cell_height": {
"type": "integer",
"maximum": 4096,
"minimum": 16
},
"jpeg_qscale": {
"type": "integer",
"maximum": 31,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"sources"
],
"properties": {
"bed": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"loop": {
"type": "boolean",
"default": true
},
"duck_db": {
"type": "number",
"maximum": -1,
"minimum": -60
},
"gain_db": {
"type": "number",
"default": 0,
"maximum": 12,
"minimum": -60
},
"fade_seconds": {
"type": "number",
"default": 0,
"maximum": 30,
"minimum": 0
}
},
"additionalProperties": false
},
"keep": {
"enum": [
"start",
"end"
],
"type": "string",
"default": "start"
},
"output": {
"type": "object",
"required": [],
"properties": {
"format": {
"enum": [
"wav",
"mp3",
"m4a"
],
"type": "string",
"default": "wav"
},
"channels": {
"enum": [
1,
2
]
},
"sample_rate": {
"type": "integer",
"maximum": 96000,
"minimum": 8000
},
"bitrate_kbps": {
"type": "integer",
"maximum": 512,
"minimum": 32
},
"sample_format": {
"enum": [
"s16",
"f32"
],
"type": "string"
}
},
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
},
"duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"trim_silence": {
"type": "boolean",
"default": false
},
"loudness_lufs": {
"type": "number",
"maximum": -5,
"minimum": -40
},
"max_duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"url",
"measures"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"measures": {
"type": "array",
"items": {
"enum": [
"format",
"loudness",
"scenes",
"black",
"freeze"
],
"type": "string"
},
"maxItems": 5,
"minItems": 1,
"uniqueItems": true
},
"waveform": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"color": {
"type": "string",
"default": "#ffffff",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"width": {
"type": "integer",
"maximum": 4096,
"minimum": 16
},
"height": {
"type": "integer",
"maximum": 1024,
"minimum": 16
}
},
"additionalProperties": false
},
"freeze_noise_db": {
"type": "number",
"maximum": 0,
"minimum": -120
},
"scene_threshold": {
"type": "number",
"default": 0.3,
"maximum": 1,
"minimum": 0.01
},
"black_min_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0.01
},
"freeze_min_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0.01
},
"black_pixel_threshold": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"black_picture_threshold": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"serve_url",
"composition_id"
],
"properties": {
"gl": {
"enum": [
"angle",
"swangle",
"egl",
"vulkan",
"angle-egl",
"swiftshader"
],
"type": "string"
},
"crf": {
"type": "number",
"maximum": 51,
"minimum": 0
},
"muted": {
"type": "boolean"
},
"b_frames": {
"type": "integer",
"maximum": 16,
"minimum": 0
},
"serve_url": {
"type": "string",
"format": "uri"
},
"timeout_ms": {
"type": "integer",
"maximum": 600000,
"minimum": 7000
},
"audio_codec": {
"enum": [
"aac",
"mp3",
"opus",
"pcm-16"
],
"type": "string"
},
"color_space": {
"enum": [
"default",
"bt709",
"bt2020-ncl"
],
"type": "string"
},
"concurrency": {
"type": "integer",
"maximum": 32,
"minimum": 1
},
"frame_range": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 2
},
"input_props": {
"type": "object",
"default": {},
"additionalProperties": true
},
"sample_rate": {
"type": "integer",
"maximum": 96000,
"minimum": 8000
},
"still_frame": {
"type": "integer",
"maximum": 1000000,
"minimum": 0
},
"video_codec": {
"enum": [
"h264",
"h265",
"vp8",
"vp9",
"prores"
],
"type": "string",
"default": "h264"
},
"x264_preset": {
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow",
"placebo"
],
"type": "string"
},
"image_format": {
"enum": [
"jpeg",
"png"
],
"type": "string",
"default": "jpeg"
},
"jpeg_quality": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"pixel_format": {
"enum": [
"yuv420p",
"yuva420p",
"yuv422p",
"yuv444p"
],
"type": "string",
"default": "yuv420p"
},
"x264_profile": {
"enum": [
"baseline",
"main",
"high"
],
"type": "string"
},
"audio_bitrate": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"remote_assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"input_props_path"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"input_props_path": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"default": [],
"maxItems": 64
},
"video_bitrate": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"composition_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resolved_props": {
"type": "object",
"required": [
"composition_id"
],
"properties": {
"prop": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"composition_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"input_props_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://"
},
"output_container": {
"enum": [
"mp4",
"webm",
"mov"
],
"type": "string",
"default": "mp4"
},
"encoding_max_rate": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"bundle_manifest_url": {
"type": "string",
"format": "uri"
},
"enforce_audio_track": {
"type": "boolean"
},
"encoding_buffer_size": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"bundle_manifest_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"ignore_certificate_errors": {
"type": "boolean"
}
}
},
{
"type": "object",
"required": [
"input_url"
],
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"input_url"
],
"properties": {
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"pattern": "\\S",
"maxLength": 5000,
"minLength": 1
},
"voice": {
"enum": [
"af_heart",
"af_bella",
"am_adam",
"bf_emma",
"bm_george"
],
"type": "string",
"default": "af_heart"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"prompt": {
"type": "string",
"pattern": "\\S",
"maxLength": 2000,
"minLength": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"input_url",
"duration_seconds"
],
"properties": {
"language": {
"type": "string",
"pattern": "^[a-z]{2}$"
},
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
},
"duration_seconds": {
"type": "integer",
"maximum": 1800,
"minimum": 1
}
},
"additionalProperties": false
}
]
},
"service_id": {
"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",
"image.upscale.v1",
"image.remove_background.v1",
"audio.tts.v1",
"image.generate.v1",
"audio.transcribe.v1"
],
"type": "string"
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
}
}
}FLUX.2 klein 4B costs $0.0047 per 1024×1024 image. 1024×1024 PNG only; no other sizes or aspect ratios; no edit endpoint; no LoRA. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| seed | integer | |
| prompt* | string | |
| priority | any | |
| output_upload | object | |
| idempotency_key* | string | |
| client_reference | string | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
{
"type": "object",
"required": [
"prompt",
"idempotency_key"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 4294967295,
"minimum": 0
},
"prompt": {
"type": "string",
"pattern": "\\S",
"maxLength": 2000,
"minLength": 1
},
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Kokoro-82M costs $0.000495 per 1,000 characters, prorated per character. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| text* | string | |
| voice | string | |
| priority | any | |
| output_upload | object | |
| idempotency_key* | string | |
| client_reference | string | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
{
"type": "object",
"required": [
"text",
"idempotency_key"
],
"properties": {
"text": {
"type": "string",
"pattern": "\\S",
"maxLength": 5000,
"minLength": 1
},
"voice": {
"enum": [
"af_heart",
"af_bella",
"am_adam",
"bf_emma",
"bm_george"
],
"type": "string",
"default": "af_heart"
},
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Read the prepaid and outstanding balances in millionths of a US dollar. Failed jobs are free.
No arguments.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}Return the public download URL for a succeeded job. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| id* | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Read a job, including its status and final charge. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| id* | string |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}List jobs newest first, with the public API filters and cursor. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| cursor | string | |
| status | string |
{
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 50,
"maximum": 200,
"minimum": 1
},
"cursor": {
"type": "string"
},
"status": {
"enum": [
"queued",
"active",
"cancelling",
"succeeded",
"failed",
"cancelled",
"expired"
],
"type": "string"
}
},
"additionalProperties": false
}BiRefNet outputs a transparent PNG at source dimensions. $0.0003 per image. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| priority | any | |
| input_url* | string | |
| output_upload | object | |
| idempotency_key* | string | |
| client_reference | string | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
{
"type": "object",
"required": [
"input_url",
"idempotency_key"
],
"properties": {
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Submit a transcode, stitch, audio mix, caption burn, timeline export, frame grab, or audio job. Video is $0.00375 per SD minute, $0.0075 per HD minute, or $0.015 per 4K minute; audio is $0.0015 per minute, with a 1-second minimum. Use estimate_job for an image. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| input* | any | |
| priority | any | |
| service_id* | string | |
| output_upload | object | |
| idempotency_key* | string | |
| client_reference | string | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
{
"type": "object",
"required": [
"service_id",
"input",
"idempotency_key"
],
"properties": {
"input": {
"anyOf": [
{
"type": "object",
"required": [
"input_url"
],
"properties": {
"crf": {
"type": "integer",
"maximum": 51,
"minimum": 0
},
"fps": {
"type": "integer",
"maximum": 120,
"minimum": 1
},
"gop": {
"type": "integer",
"maximum": 1000,
"minimum": 1
},
"height": {
"type": "integer",
"maximum": 2160,
"minimum": 1
},
"max_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"input_url": {
"type": "string",
"format": "uri"
},
"audio_codec": {
"enum": [
"aac",
"copy"
],
"type": "string",
"default": "aac"
},
"buffer_kbps": {
"type": "integer",
"maximum": 400000,
"minimum": 50
},
"size_budget": {
"type": "object",
"required": [
"bytes",
"reserve_kbps",
"max_kbps"
],
"properties": {
"bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"low_rate": {
"type": "object",
"required": [
"below_kbps",
"max_edge"
],
"properties": {
"max_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"below_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 50
}
},
"additionalProperties": false
},
"max_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 50
},
"reserve_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 0
}
},
"additionalProperties": false
},
"strip_audio": {
"type": "boolean"
},
"video_codec": {
"enum": [
"h264_videotoolbox",
"libx264"
],
"type": "string",
"default": "h264_videotoolbox"
},
"x264_preset": {
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow",
"placebo"
],
"type": "string"
},
"pixel_format": {
"enum": [
"yuv420p"
],
"type": "string"
},
"audio_streams": {
"enum": [
"first",
"all"
],
"type": "string",
"default": "first"
},
"start_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0
},
"strip_metadata": {
"type": "boolean",
"default": false
},
"duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
},
"max_bitrate_kbps": {
"type": "integer",
"maximum": 200000,
"minimum": 50
},
"keep_fps_at_least": {
"type": "integer",
"maximum": 120,
"minimum": 1
},
"overlay_image_url": {
"type": "string",
"format": "uri"
},
"replace_audio_url": {
"type": "string",
"format": "uri"
},
"audio_bitrate_kbps": {
"type": "integer",
"maximum": 512,
"minimum": 32
},
"max_source_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
},
"pad_to_duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
},
"replace_audio_in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"input_urls"
],
"properties": {
"input_urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"maxItems": 64,
"minItems": 1
},
"audio_codec": {
"enum": [
"copy",
"aac"
],
"type": "string",
"default": "copy"
},
"video_codec": {
"enum": [
"copy",
"h264_videotoolbox",
"libx264"
],
"type": "string",
"default": "copy"
},
"output_container": {
"enum": [
"mp4"
],
"type": "string",
"default": "mp4"
}
}
},
{
"type": "object",
"required": [
"input_url",
"tracks"
],
"properties": {
"tracks": {
"type": "array",
"items": {
"type": "object",
"required": [
"input_url",
"role"
],
"properties": {
"loop": {
"type": "boolean",
"default": false
},
"role": {
"enum": [
"dialogue",
"music",
"effect"
],
"type": "string"
},
"gain_db": {
"type": "number",
"default": 0,
"maximum": 12,
"minimum": -60
},
"start_ms": {
"type": "integer",
"default": 0,
"maximum": 86400000,
"minimum": 0
},
"input_url": {
"type": "string",
"format": "uri"
}
}
},
"maxItems": 16,
"minItems": 1
},
"ducking": {
"type": "object",
"required": [],
"properties": {
"ratio": {
"type": "number",
"default": 8,
"maximum": 20,
"minimum": 1
},
"enabled": {
"type": "boolean",
"default": true
},
"attack_ms": {
"type": "number",
"default": 20,
"maximum": 2000,
"minimum": 1
},
"release_ms": {
"type": "number",
"default": 250,
"maximum": 5000,
"minimum": 10
},
"threshold_db": {
"type": "number",
"default": -24,
"maximum": 0,
"minimum": -60
}
}
},
"input_url": {
"type": "string",
"format": "uri"
},
"preserve_source_audio": {
"type": "boolean",
"default": true
},
"output_audio_bitrate_kbps": {
"type": "integer",
"default": 192,
"maximum": 512,
"minimum": 64
}
}
},
{
"type": "object",
"required": [
"input_url",
"captions_url"
],
"properties": {
"input_url": {
"type": "string",
"format": "uri"
},
"captions_url": {
"type": "string",
"format": "uri"
},
"captions_format": {
"enum": [
"ass",
"srt"
],
"type": "string",
"default": "ass"
}
}
},
{
"type": "object",
"required": [],
"properties": {
"mix": {
"type": "object",
"required": [],
"properties": {
"tracks": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"url",
"duration_seconds"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"kind": {
"enum": [
"overlay_video",
"narration",
"music",
"sound_effects",
"user_audio"
],
"type": "string"
},
"sound": {
"enum": [
"required",
"optional"
],
"type": "string",
"default": "required"
},
"layout": {
"type": "object",
"required": [
"mode"
],
"properties": {
"fit": {
"enum": [
"cover",
"contain"
],
"type": "string",
"default": "cover"
},
"mode": {
"enum": [
"picture_in_picture",
"full_bleed"
],
"type": "string"
},
"width": {
"type": "number",
"default": 1,
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"default": 1,
"maximum": 1,
"exclusiveMinimum": 0
},
"opacity": {
"type": "number",
"default": 1,
"maximum": 1,
"minimum": 0
},
"center_x": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0
},
"center_y": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0
},
"rotation_degrees": {
"type": "number",
"default": 0,
"maximum": 180,
"minimum": -180
}
},
"additionalProperties": false
},
"volume": {
"type": "number",
"default": 1,
"maximum": 8,
"minimum": 0
},
"playback_rate": {
"type": "number",
"default": 1,
"maximum": 4,
"minimum": 0.25
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 3600,
"minimum": 0
},
"fade_in_seconds": {
"type": "number",
"default": 0,
"maximum": 30,
"minimum": 0
},
"duration_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0.01
},
"fade_out_seconds": {
"type": "number",
"default": 0,
"maximum": 30,
"minimum": 0
},
"source_in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 512
},
"music_duck_db": {
"type": "number",
"maximum": 0,
"minimum": -60
},
"primary_volume": {
"type": "number",
"default": 1,
"maximum": 8,
"minimum": 0
},
"primary_volume_under_narration": {
"type": "number",
"maximum": 8,
"minimum": 0
}
},
"additionalProperties": false
},
"clips": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"fit": {
"enum": [
"contain",
"cover"
],
"type": "string",
"default": "contain"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"luts": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"end_seconds": {
"type": [
"number",
"null"
],
"default": null,
"maximum": 3600,
"exclusiveMinimum": 0
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 3600,
"minimum": 0
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 32
},
"volume": {
"type": "number",
"default": 1,
"maximum": 2,
"minimum": 0
},
"audio_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
},
"out_seconds": {
"type": "number",
"maximum": 86400,
"exclusiveMinimum": 0
},
"opening_fade": {
"type": "object",
"required": [
"frames"
],
"properties": {
"color": {
"type": "string",
"default": "#000000",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"frames": {
"type": "integer",
"maximum": 600,
"minimum": 1
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 240
},
"sound": {
"type": "object",
"required": [],
"properties": {
"codec": {
"enum": [
"aac"
],
"type": "string",
"default": "aac"
},
"channels": {
"enum": [
1,
2,
"source"
],
"default": 2
},
"edit_list": {
"type": "boolean",
"default": true
},
"sample_rate": {
"enum": [
48000,
44100,
"source"
],
"default": 48000
},
"bitrate_kbps": {
"type": "integer",
"default": 256,
"maximum": 512,
"minimum": 64
},
"peak_ceiling_dbfs": {
"type": [
"number",
"null"
],
"default": -2,
"maximum": 0,
"minimum": -20
}
},
"additionalProperties": false
},
"canvas": {
"type": "object",
"required": [
"aspect_ratio"
],
"properties": {
"crf": {
"type": "integer",
"maximum": 51,
"minimum": 0
},
"fps": {
"type": "integer",
"default": 30,
"maximum": 120,
"minimum": 1
},
"preset": {
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow"
],
"type": "string"
},
"resolution": {
"enum": [
"720p",
"1080p",
"4k",
"proxy_480p"
],
"type": "string",
"default": "720p"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3"
],
"type": "string"
}
},
"additionalProperties": false
},
"picture": {
"enum": [
"encode",
"copy"
],
"type": "string",
"default": "encode"
},
"captions": {
"type": "object",
"required": [
"lines"
],
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object",
"required": [
"start_seconds",
"end_seconds",
"text"
],
"properties": {
"text": {
"type": "string",
"maxLength": 240,
"minLength": 1
},
"end_seconds": {
"type": "number",
"maximum": 3600,
"exclusiveMinimum": 0
},
"start_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 300
},
"style": {
"type": "object",
"required": [],
"properties": {
"bold": {
"type": "boolean",
"default": true
},
"font": {
"type": "string",
"default": "Arial",
"pattern": "^[A-Za-z0-9 _-]+$",
"maxLength": 100
},
"color": {
"type": "string",
"default": "#ffffff",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"shadow": {
"type": "number",
"default": 1,
"maximum": 20,
"minimum": 0
},
"outline": {
"type": "number",
"default": 5,
"maximum": 20,
"minimum": 0
},
"min_size_px": {
"type": "integer",
"default": 34,
"maximum": 400,
"minimum": 0
},
"size_percent": {
"type": "number",
"default": 4.2,
"maximum": 20,
"minimum": 1
},
"outline_color": {
"type": "string",
"default": "#101010",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"side_margin_px": {
"type": "integer",
"default": 60,
"maximum": 2000,
"minimum": 0
},
"min_bottom_margin_px": {
"type": "integer",
"default": 120,
"maximum": 2000,
"minimum": 0
},
"bottom_margin_percent": {
"type": "number",
"default": 12,
"maximum": 50,
"minimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"source_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"duration_seconds": {
"type": "number",
"maximum": 3600,
"minimum": 0.1
},
"picture_segments": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"url",
"duration_seconds"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"kind": {
"const": "video"
},
"luts": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"end_seconds": {
"type": [
"number",
"null"
],
"default": null,
"maximum": 3600,
"exclusiveMinimum": 0
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 3600,
"minimum": 0
}
},
"additionalProperties": false
},
"default": [],
"maxItems": 32
},
"volume": {
"type": "number",
"default": 1,
"maximum": 8,
"minimum": 0
},
"playback_rate": {
"type": "number",
"default": 1,
"maximum": 4,
"minimum": 0.5
},
"duration_seconds": {
"type": "number",
"maximum": 600,
"minimum": 0.01
},
"source_in_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
},
"source_out_seconds": {
"type": "number",
"maximum": 86400,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"url",
"duration_seconds"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"kind": {
"const": "image"
},
"camera": {
"type": "object",
"required": [],
"properties": {
"origin_y": {
"type": "number",
"default": 0.5,
"maximum": 1,
"minimum": 0
},
"to_scale": {
"type": "number",
"default": 1,
"maximum": 1.2,
"minimum": 1
},
"from_scale": {
"type": "number",
"default": 1,
"maximum": 1.2,
"minimum": 1
},
"to_x_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
},
"to_y_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
},
"from_x_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
},
"from_y_percent": {
"type": "number",
"default": 0,
"maximum": 3,
"minimum": -3
}
},
"additionalProperties": false
},
"duration_seconds": {
"type": "number",
"maximum": 600,
"minimum": 0.01
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"duration_seconds"
],
"properties": {
"kind": {
"const": "placeholder"
},
"color": {
"type": "string",
"default": "#111827",
"pattern": "^#[0-9a-fA-F]{6}$"
},
"duration_seconds": {
"type": "number",
"maximum": 600,
"minimum": 0.01
}
},
"additionalProperties": false
}
]
},
"default": [],
"maxItems": 240
},
"source_audio_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"cells"
],
"properties": {
"cells": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"required": [
"kind",
"url"
],
"properties": {
"at": {
"oneOf": [
{
"enum": [
"first",
"middle",
"last"
],
"type": "string"
},
{
"type": "number",
"maximum": 86400,
"minimum": 0
},
{
"type": "object",
"required": [
"before_end_seconds"
],
"properties": {
"before_end_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0
}
},
"additionalProperties": false
}
],
"default": "middle"
},
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"kind": {
"const": "video"
},
"pick": {
"enum": [
"at_or_after",
"on_display"
],
"type": "string",
"default": "at_or_after"
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"kind",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"crop": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 1,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"maximum": 1,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"kind": {
"const": "image"
},
"if_animated": {
"enum": [
"first_frame",
"refuse"
],
"type": "string",
"default": "first_frame"
}
},
"additionalProperties": false
}
]
},
"maxItems": 64,
"minItems": 1
},
"format": {
"enum": [
"png",
"jpg",
"webp"
],
"type": "string",
"default": "png"
},
"scaler": {
"enum": [
"lanczos",
"bicubic"
],
"type": "string",
"default": "lanczos"
},
"columns": {
"type": "integer",
"maximum": 16,
"minimum": 1
},
"preview": {
"type": "object",
"required": [
"long_edge"
],
"properties": {
"mark": {
"oneOf": [
{
"type": "object",
"required": [
"style"
],
"properties": {
"style": {
"enum": [
"diagonal",
"corner",
"center_tile"
],
"type": "string"
},
"opacity": {
"type": "number",
"default": 0.55,
"maximum": 1,
"minimum": 0
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"style",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"style": {
"const": "wordmark"
}
},
"additionalProperties": false
}
]
},
"long_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"blur_sigma": {
"type": "number",
"maximum": 1024,
"minimum": 0.1
},
"crop_percent": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"height": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"redact_percent": {
"type": "array",
"items": {
"type": "object",
"required": [
"x",
"y",
"width",
"height"
],
"properties": {
"x": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"y": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"width": {
"type": "number",
"maximum": 100,
"minimum": 0
},
"height": {
"type": "number",
"maximum": 100,
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 32,
"minItems": 1
}
},
"additionalProperties": false
},
"quality": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"max_edge": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"max_width": {
"type": "integer",
"maximum": 8192,
"minimum": 16
},
"cell_width": {
"type": "integer",
"maximum": 4096,
"minimum": 16
},
"cell_height": {
"type": "integer",
"maximum": 4096,
"minimum": 16
},
"jpeg_qscale": {
"type": "integer",
"maximum": 31,
"minimum": 1
}
},
"additionalProperties": false
},
{
"type": "object",
"required": [
"sources"
],
"properties": {
"bed": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"loop": {
"type": "boolean",
"default": true
},
"duck_db": {
"type": "number",
"maximum": -1,
"minimum": -60
},
"gain_db": {
"type": "number",
"default": 0,
"maximum": 12,
"minimum": -60
},
"fade_seconds": {
"type": "number",
"default": 0,
"maximum": 30,
"minimum": 0
}
},
"additionalProperties": false
},
"keep": {
"enum": [
"start",
"end"
],
"type": "string",
"default": "start"
},
"output": {
"type": "object",
"required": [],
"properties": {
"format": {
"enum": [
"wav",
"mp3",
"m4a"
],
"type": "string",
"default": "wav"
},
"channels": {
"enum": [
1,
2
]
},
"sample_rate": {
"type": "integer",
"maximum": 96000,
"minimum": 8000
},
"bitrate_kbps": {
"type": "integer",
"maximum": 512,
"minimum": 32
},
"sample_format": {
"enum": [
"s16",
"f32"
],
"type": "string"
}
},
"additionalProperties": false
},
"sources": {
"type": "array",
"items": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"start_seconds": {
"type": "number",
"default": 0,
"maximum": 86400,
"minimum": 0
},
"duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
}
},
"additionalProperties": false
},
"maxItems": 200,
"minItems": 1
},
"trim_silence": {
"type": "boolean",
"default": false
},
"loudness_lufs": {
"type": "number",
"maximum": -5,
"minimum": -40
},
"max_duration_seconds": {
"type": "number",
"maximum": 86400,
"minimum": 0.01
}
},
"additionalProperties": false
}
]
},
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"service_id": {
"enum": [
"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"
],
"type": "string"
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Submit one five-second 480p H3 image-to-video clip for $0.025. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| seed | integer | |
| prompt* | string | |
| priority | any | |
| aspect_ratio | any | |
| output_upload | object | |
| first_frame_url* | string | |
| idempotency_key* | string | |
| client_reference | string | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
Submit a Remotion render. The live rate is $0.0037 per render plus $0.0048 per minute through 1080p or $0.017 above 1080p. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| gl | string | |
| crf | number | |
| muted | boolean | |
| b_frames | integer | |
| priority | any | |
| serve_url* | string | |
| timeout_ms | integer | |
| audio_codec | string | |
| color_space | string | |
| concurrency | integer | |
| frame_range | array | |
| input_props | object |
Whisper large-v3-turbo costs $0.0001 per audio minute, prorated per second. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| language | string | |
| priority | any | |
| input_url* | string | |
| output_upload | object | |
| idempotency_key* | string | |
| client_reference | string | |
| duration_seconds* | integer | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
{
"type": "object",
"required": [
"input_url",
"duration_seconds",
"idempotency_key"
],
"properties": {
"language": {
"type": "string",
"pattern": "^[a-z]{2}$"
},
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"duration_seconds": {
"type": "integer",
"maximum": 1800,
"minimum": 1
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}Prepare an input file or Remotion bundle through the public assets API and return its upload and input or serve URLs. Failed jobs are free.
No arguments.
{
"type": "object",
"oneOf": [
{
"not": {
"required": [
"files"
]
},
"type": "object",
"required": [],
"properties": {
"bytes": {
"type": "integer"
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
},
"content_type": {
"type": "string",
"pattern": "^(?![^/]+/[^;]*\\+xml(?:\\s*;|$))(?:(?:video|audio|image)/[a-z0-9!#$&^_.+-]+|application/(?:octet-stream|json)|text/plain)(?:\\s*;.*)?$",
"maxLength": 200,
"minLength": 3
},
"public_intent": {
"type": "boolean"
}
}
},
{
"type": "object",
"required": [
"files"
],
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"required": [
"path",
"sha256",
"bytes"
],
"properties": {
"path": {
"type": "string",
"maxLength": 1024,
"minLength": 1
},
"bytes": {
"type": "integer",
"maximum": 100000000,
"minimum": 1
},
"sha256": {
"type": "string",
"pattern": "^[0-9a-f]{64}$"
}
},
"additionalProperties": false
},
"maxItems": 256,
"minItems": 1
}
},
"additionalProperties": false
}
]
}Real-ESRGAN x4plus outputs PNG at 4× source width and height. $0.001 per image. Failed jobs are free.
| Argument | Type | Description |
|---|---|---|
| priority | any | |
| input_url* | string | |
| output_upload | object | |
| idempotency_key* | string | |
| client_reference | string | |
| max_output_bytes | integer | |
| max_wait_seconds | integer | |
| webhook_endpoint_id | string |
{
"type": "object",
"required": [
"input_url",
"idempotency_key"
],
"properties": {
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"input_url": {
"type": "string",
"format": "uri",
"pattern": "^[Hh][Tt][Tt][Pp][Ss]?://",
"maxLength": 4096
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 25, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.
{
"type": "object",
"required": [
"prompt",
"first_frame_url",
"idempotency_key"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0
},
"prompt": {
"type": "string",
"maxLength": 10000,
"minLength": 1
},
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"aspect_ratio": {
"enum": [
"16:9",
"9:16",
"1:1",
"4:3",
"3:4",
"21:9"
],
"default": "16:9"
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"first_frame_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://",
"maxLength": 4096
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
}| sample_rate | integer |
| still_frame | integer |
| video_codec | string |
| x264_preset | string |
| image_format | string |
| jpeg_quality | integer |
| pixel_format | string |
| x264_profile | string |
| audio_bitrate | string |
| output_upload | object |
| remote_assets | array |
| video_bitrate | string |
| composition_id* | string |
| resolved_props | object |
| idempotency_key* | string |
| input_props_url | string |
| client_reference | string |
| max_output_bytes | integer |
| max_wait_seconds | integer |
| output_container | string |
| encoding_max_rate | string |
| bundle_manifest_url | string |
| enforce_audio_track | boolean |
| webhook_endpoint_id | string |
| encoding_buffer_size | string |
| bundle_manifest_sha256 | string |
| ignore_certificate_errors | boolean |
{
"type": "object",
"required": [
"serve_url",
"composition_id",
"idempotency_key"
],
"properties": {
"gl": {
"enum": [
"angle",
"swangle",
"egl",
"vulkan",
"angle-egl",
"swiftshader"
],
"type": "string"
},
"crf": {
"type": "number",
"maximum": 51,
"minimum": 0
},
"muted": {
"type": "boolean"
},
"b_frames": {
"type": "integer",
"maximum": 16,
"minimum": 0
},
"priority": {
"enum": [
"normal",
"batch"
],
"default": "normal"
},
"serve_url": {
"type": "string",
"format": "uri"
},
"timeout_ms": {
"type": "integer",
"maximum": 600000,
"minimum": 7000
},
"audio_codec": {
"enum": [
"aac",
"mp3",
"opus",
"pcm-16"
],
"type": "string"
},
"color_space": {
"enum": [
"default",
"bt709",
"bt2020-ncl"
],
"type": "string"
},
"concurrency": {
"type": "integer",
"maximum": 32,
"minimum": 1
},
"frame_range": {
"type": "array",
"items": {
"type": "integer",
"minimum": 0
},
"maxItems": 2,
"minItems": 2
},
"input_props": {
"type": "object",
"default": {},
"additionalProperties": true
},
"sample_rate": {
"type": "integer",
"maximum": 96000,
"minimum": 8000
},
"still_frame": {
"type": "integer",
"maximum": 1000000,
"minimum": 0
},
"video_codec": {
"enum": [
"h264",
"h265",
"vp8",
"vp9",
"prores"
],
"type": "string",
"default": "h264"
},
"x264_preset": {
"enum": [
"ultrafast",
"superfast",
"veryfast",
"faster",
"fast",
"medium",
"slow",
"slower",
"veryslow",
"placebo"
],
"type": "string"
},
"image_format": {
"enum": [
"jpeg",
"png"
],
"type": "string",
"default": "jpeg"
},
"jpeg_quality": {
"type": "integer",
"maximum": 100,
"minimum": 0
},
"pixel_format": {
"enum": [
"yuv420p",
"yuva420p",
"yuv422p",
"yuv444p"
],
"type": "string",
"default": "yuv420p"
},
"x264_profile": {
"enum": [
"baseline",
"main",
"high"
],
"type": "string"
},
"audio_bitrate": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"output_upload": {
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri",
"pattern": "^https://",
"maxLength": 4096
},
"headers": {
"type": "object",
"maxProperties": 16,
"additionalProperties": {
"type": "string",
"maxLength": 8192
}
}
},
"additionalProperties": false
},
"remote_assets": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"input_props_path"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"input_props_path": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
}
},
"default": [],
"maxItems": 64
},
"video_bitrate": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"composition_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"resolved_props": {
"type": "object",
"required": [
"composition_id"
],
"properties": {
"prop": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"composition_id": {
"type": "string",
"maxLength": 200,
"minLength": 1
}
},
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"maxLength": 128,
"minLength": 8
},
"input_props_url": {
"type": "string",
"format": "uri",
"pattern": "^https?://"
},
"client_reference": {
"type": "string",
"maxLength": 256
},
"max_output_bytes": {
"type": "integer",
"maximum": 5000000000,
"minimum": 1
},
"max_wait_seconds": {
"type": "integer",
"default": 900,
"maximum": 86400,
"minimum": 1
},
"output_container": {
"enum": [
"mp4",
"webm",
"mov"
],
"type": "string",
"default": "mp4"
},
"encoding_max_rate": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"bundle_manifest_url": {
"type": "string",
"format": "uri"
},
"enforce_audio_track": {
"type": "boolean"
},
"webhook_endpoint_id": {
"type": "string",
"format": "uuid"
},
"encoding_buffer_size": {
"type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?[KkM]$",
"maxLength": 16
},
"bundle_manifest_sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"ignore_certificate_errors": {
"type": "boolean"
}
},
"additionalProperties": false
}