Model Details
MMAudio V2 gives an existing or silent video a soundtrack: supply a video and a short text prompt describing the sound you want, and it generates a synchronized audio track — Foley, sound effects, ambience, or music — muxed back into the video and returned as a single MP4 with the new audio. The audio is timed to the on-screen action, so footsteps, splashes, engine noise, wind, or a musical bed line up with what's happening in the frame. Drive the result entirely from the `prompt`; use `negative_prompt` to steer away from sounds you don't want.
## Best for - Adding Foley and sound effects to silent footage so actions (footsteps, impacts, water, machinery) are audible and in sync - Laying down ambience or a room tone — rain, forest, crowd, wind — over B-roll and establishing shots - Generating a quick music bed or atmospheric score for a clip from a text description - Sound-designing animation, game capture, or AI-generated video that comes out silent
## Choose another model when - You want to re-sync a talking person's mouth to new speech — this generates ambient/effect audio, not lip-synced dialogue, so use a lip-sync model - You need spoken narration or dialogue from text — use a text-to-speech model, then mux it yourself - You want a standalone audio file rather than a video with the audio muxed in — use a dedicated text-to-audio model - You need to generate the video itself from a prompt or image — use a text-to-video or image-to-video model first, then add sound here
## Tips - Describe the sound you want concretely in `prompt` (\"gentle rain on leaves with distant thunder\", \"upbeat acoustic guitar\") rather than describing the visuals - Set `duration` (seconds, 1–30) to match your clip; cost is billed per output second - Raise `num_steps` for slightly cleaner audio at the expense of speed; raise `cfg_strength` to follow the prompt more strictly
## Advanced Configuration - `mask_away_clip` (default `false`) is a research toggle that masks away the input video's visual conditioning during generation; leave it off for normal video-conditioned audio.
To run via the ModelRunner JavaScript client: ```js import { modelrunner } from \"@modelrunner/client\";
const result = await modelrunner.subscribe(\"mmaudio/v2\", { input: { video_url: \"https://media.modelrunner.ai/your-silent-clip.mp4\", prompt: \"gentle ambient nature sounds with birds and wind\", duration: 8, }, }); ```

