API & MCP
Everything a person can do on Ambience Bed for Video and Audio, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://reelcraftambiencebed.usefulweb.site/api/v1/calculate– run Ambience Bed for Video and AudioGET https://reelcraftambiencebed.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Ambience Bed for Video and Audio
Generates a procedural ambience (rain, wind, stream, campfire, room tone with hum or an evolving drone) with the shared usefulweb audio engine, loops it seamlessly over the whole clip with a fade-in and fade-out, optionally in a room reverb, and mixes it under the original sound — or replaces the sound. Videos keep their picture untouched (stream copy); recordings come back as WAV. The report lists the bed level, how far it sits under the original and the peak of the mix.
| Field | Type | Default | Description |
|---|---|---|---|
file (required) | file | — | Video or audio file. MP4/MOV (H.264, HEVC, AV1), WebM (VP8/VP9/AV1) or an audio file; up to 5 minutes and 250 MB. |
kind | select (rain, wind, stream, fire, hum, drone) | "rain" | Ambience |
level | number | -32 | Bed level (RMS). Loudness of the bed itself. Speech usually sits around −20 dBFS RMS, so −32 keeps the bed about 12 dB under it. |
fadeIn | number | 2 | Fade-in |
fadeOut | number | 3 | Fade-out |
room | select (none, small-room, living-room, studio, hall, cathedral, cave, forest) | "none" | Room reverb on the bed |
mode | select (mix, replace) | "mix" | Original sound |
seed | text | — | Seed (optional). Same seed and settings = the same bed every time. |
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://reelcraftambiencebed.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
reelcraft_ambience_bed - Local stdio connector:
node src/mcp-stdio.ts --tool=reelcraft-ambience-bed
{
"mcpServers": {
"reelcraft-ambience-bed": { "type": "http", "url": "https://reelcraftambiencebed.usefulweb.site/mcp" }
}
}