Add AI-generated sound to any video (5M+ runs) โ synthesizes synchronized audio (ambience, effects, foley) from the video content and an optional text prompt. The perfect finisher for silent AI-generated clips.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "zsxkib/mmaudio",
"input": {
"video": "https://example.com/generated-clip.mp4",
"prompt": "ocean waves, seagulls, gentle wind"
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | No | - | Describe the sound you want (e.g. 'rain on leaves, distant thunder') |
negative_prompt | string | No | music | Sounds to avoid (default avoids music) |
video | string | No | - | Video to add sound to |
duration | number | No | 8 | Audio duration in seconds |
num_steps | integer | No | 25 | Number of inference steps |
cfg_strength | number | No | 4.5 | Guidance strength (CFG) |
seed | integer | No | - | Random seed (-1 for random) |
image | string | No | - | Optional image file for image-to-audio generation (experimental) |
There are 3 ways to provide files for the video parameter:
Attach files directly to POST /v1/predictions/upload. No separate upload step needed.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=zsxkib/mmaudio" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:video=@your_file.png"Pass a publicly accessible URL directly. You can also use file_url from the Storage API.
{
"model": "zsxkib/mmaudio",
"input": {
"prompt": "your prompt here",
"video": "https://example.com/image.jpg"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Add synchronized ambience to a generated video
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "zsxkib/mmaudio",
"input": {
"video": "https://example.com/generated-clip.mp4",
"prompt": "ocean waves, seagulls, gentle wind"
}
}'POST /v1/predictions