Video SFX

Generate synchronized sound effects, foley, or ambient audio for a video clip.

Overview

The Video SFX node takes an input video plus an optional text prompt and produces an mp4 with AI-generated sound effects merged in. It uses Replicate’s zsxkib/mmaudio model (based on the open-source MMAudio project) and is ideal for adding rain, footsteps, ambience, room tone, foley, or other diegetic sounds to silent or AI-generated video.

⚠️ Replaces the existing audio track. The original audio of the input video is dropped and replaced with the generated SFX. To keep the original audio, route this node’s output into a Merge Video & Audio node with the original audio as a second input.

Configuration

Field Type Default Description
Prompt Textarea Describes the desired sound (e.g., “rain on metal roof”, “footsteps in dry leaves”). Connected text/prompt nodes override the config-panel value.
Negative prompt Textarea music Sounds to exclude. mmaudio’s default keeps the output SFX-only — change it if you actually want musical SFX.
Versions Number 1 How many takes to generate per run (1–4). Each version uses a distinct seed for variety; cost scales linearly.
cfg_strength Number 4.5 Advanced — guidance scale (1.0–10.0).
num_steps Number 25 Advanced — diffusion steps (10–50).
seed Number random Advanced — leave blank or -1 for random. When set, version N uses seed + N.
promptPrefix / promptSuffix text Optional pre/post text wrapped around the prompt at run time (settings panel → Pre & post text; hidden from app users; captured by presets). See Prompt pre & post text.

Inputs & Outputs

Inputs:

Outputs:

Credit Cost

Duration is derived automatically from the input video via ffprobe. The duration is rounded up into the next bucket; the bucket determines the cost shown in the editor and charged at run time.

Input video duration Bucket Credits / version
≤ 8s :8s 2
≤ 15s :15s 2
≤ 30s :30s 3
≤ 60s :60s 4
≤ 120s :120s 7
≤ 300s :300s 14

For multi-version runs the cost multiplies: versions × per-version. Worked examples:

Duration Versions Total credits
5s 1 2
8s 1 2
12s 1 2
30s 1 3
31s 1 4
60s 4 15
180s 1 14

If ffprobe fails to derive a duration, the :8s bucket is used as a fallback and a warning is logged.

Constraints

Determinism

Best Practices

Common Use Cases

Powered by

This node sends your video to Replicate for processing using the zsxkib/mmaudio model, based on the open-source MMAudio project. See Replicate’s terms for licensing and attribution.