API & MCP
Everything a person can do on Universal Video Converter, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://videoconverter.usefulweb.site/api/v1/calculate– run Universal Video ConverterGET https://videoconverter.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Universal Video Converter
Converts MP4, MOV, MKV, WebM, AVI and other videos to MP4 (H.264/AAC), WebM (VP9/Opus), MOV or MKV. Cap the resolution, choose the quality (CRF) and frame rate, and keep the audio as is when the target container supports it. Remux-only mode changes the container without re-encoding when the codecs fit — fast and lossless.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | Video file. MP4, MOV, MKV, WebM, AVI, MPEG-TS, WMV, FLV; max 250 MB and 20 minutes. |
format | select (mp4, webm, mov, mkv) | "mp4" | Output format |
remux | boolean | false | Remux only: change the container without re-encoding (fails if the codecs do not fit the container) |
quality | select (high, medium, low) | "medium" | Quality |
crf | integer | — | Custom CRF (optional). Overrides the quality preset. Lower = better and larger. H.264: 0–51 (18–28 typical); VP9: 0–63 (24–40 typical). |
maxHeight | select (keep, 2160, 1440, 1080, 720, 480, 360) | "keep" | Maximum resolution. Caps the short side (height for landscape, width for portrait). Never enlarges. |
fps | select (keep, 60, 50, 30, 25, 24, 15) | "keep" | Frame rate |
audio | select (auto, reencode, remove) | "auto" | Audio |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://videoconverter.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
video_converter - Local stdio connector:
node src/mcp-stdio.ts --tool=video-converter
{
"mcpServers": {
"video-converter": { "type": "http", "url": "https://videoconverter.usefulweb.site/mcp" }
}
}