Install
openclaw skills install @pruna-ai/stable-audio-2-5Use when the user wants light instrumental background music, an ambient bed under dialogue or voiceover, or underscore for reels and explainers.
openclaw skills install @pruna-ai/stable-audio-2-5Text-to-music for instrumental background beds on launch reels. Not a Pruna P-model — runs on Replicate.
Mix helper (repo): launch_background_music.py — probes video length, generates bed, mixes under VO with ffmpeg.
| Goal | Use this |
|---|---|
| Light instrumental under a concat launch reel | Yes — after final assembly |
| Under embedded narration from scene anchor triple | Yes — mix quiet bed after concat — audio-post-production.md |
| Replace avatar VO | No — bed mixes under existing dialogue |
| Pruna-native audio | No — use p-video audio input instead |
export REPLICATE_API_TOKEN=r8_...
Requires ffmpeg and ffprobe on PATH for mix step.
| Field | Notes |
|---|---|
prompt | Required. Style tags work well — e.g. Instrumental light electronic pop, soft groove, mellow synth pads, no vocals, 94 BPM |
duration | Seconds, 1–190 (match or slightly exceed reel length) |
steps | 4–8 (default 8) |
cfg_scale | 1–25 (default 1) |
seed | Optional integer for reproducibility |
Output: single MP3 URL.
curl -s -X POST \
-H "Authorization: Bearer ${REPLICATE_API_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "Instrumental light electronic pop bed, soft groove and mellow synth pads, calm positive tech atmosphere, understated background music, no vocals, 94 BPM",
"duration": 90,
"steps": 8,
"cfg_scale": 1
}
}' \
"https://api.replicate.com/v1/models/stability-ai/stable-audio-2.5/predictions"
Poll urls.get until status is succeeded; download output MP3.
background_music)"background_music": {
"enabled": true,
"prompt": "Instrumental light electronic pop bed, soft groove and mellow synth pads, calm positive tech atmosphere, understated background music, no vocals, 94 BPM",
"volume": 0.12,
"output_name": "skills_library_announcement_with_music.mp4"
}
python3 workflows/_shared/scripts/launch_background_music.py \
--video output/my_reel/final.mp4 \
--volume 0.12