Stable Audio 音频生成提示词
stable-audio-prompting
为 Stability 的 Stable Audio 系列编写提示词——其训练元数据所期望的流派/乐器/情绪/BPM 顺序、在 Stable Audio 3 上区分音乐、分轨(stems)和音效的 TrackType 与 VocalType 标签、使时长与所描述内容相匹配、guidance_scale 和步数实际影响哪些检查点,以及针对 inpaint、outpaint 和 audio-to-audio 变体的提示技巧(在这些变体中,周围音频的优先级高于提示词)。当模型 id 指定为 Stable Audio(fal-ai/stable-audio-25/text-to-audio, fal-ai/stable-audio-3/medium/text-to-audio, fal-ai/stable-audio-3/small/music/text-to-audio, fal-ai/stable-audio-3/small/sfx/text-to-audio, fal-ai/stable-audio-3/medium/audio-to-audio, fal-ai/stable-audio-25/inpaint, stability-ai/stable-audio-2.5)并用于 generate_music、run_node 或音频生成节点时使用。不适用于最初的 fal-ai/stable-audio。
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-15
- Stars
- ★ 635
- Forks
- 91
01 前言 Front Matter
- name
- stable-audio-prompting
- description
- Prompt Stability's Stable Audio line — the genre/instruments/mood/BPM order its training metadata expects, the TrackType and VocalType tags that separate music, stems and sound effects on Stable Audio 3, matching duration to what you described, which checkpoints guidance_scale and step count actually affect, and prompting the inpaint, outpaint and audio-to-audio variants where the surrounding audio outranks the prompt. Use whenever the model id names Stable Audio (fal-ai/stable-audio-25/text-to-audio, fal-ai/stable-audio-3/medium/text-to-audio, fal-ai/stable-audio-3/small/music/text-to-audio, fal-ai/stable-audio-3/small/sfx/text-to-audio, fal-ai/stable-audio-3/medium/audio-to-audio, fal-ai/stable-audio-25/inpaint, stability-ai/stable-audio-2.5) on generate_music, run_node or an audio generation node. Not for the original fal-ai/stable-audio.
03 SKILL.md 正文
Stable Audio → write the metadata, not a mood
Stable Audio was trained on library-music metadata, so it responds to prompts shaped like library-music metadata: what the genre is, what is playing, how it feels, how fast it goes. Poetic descriptions of a feeling get a generic bed.
Reach the music endpoints with find_model for text_to_music, then
generate_music, which forwards only the prompt, lyrics and a duration. Every
dial in the table below, and the SFX checkpoints and the audio-to-audio,
inpaint and outpaint variants, need the route's own node: find it with
search_nodes, read its fields with get_node_info, and run it with
run_node. Each run is a paid generation, so confirm the scope with the
user before rendering several.
Music prompts
Four elements, in this order:
- Genre — the core style, first.
- Instruments — with character, not just names. "Smooth electric piano", "textural percussion", "distorted bass" carry more than "piano, drums, bass".
- Mood and production — the feel, plus the production era or treatment.
- BPM — and the key when it matters.
An exciting breakbeat instrumental for a fast-paced game, funky electric guitar chords, steady break drums, smooth electric piano and supporting bass. Fresh, modern and adventurous, 105 BPM.
Two habits that measurably help: vary the vocabulary instead of repeating the same adjective, and reference an era to describe production — "80s gated reverb", "90s grunge distortion" — which encodes a whole chain in three words.
On Stable Audio 3, prefix the type. TrackType: Music, VocalType: Instrumental
is the tag pair for instrumental beds and is worth setting explicitly; the
model otherwise decides whether to bring in a vocal.
Stems and single instruments
Start with TrackType: Instrument, then the instrument, genre, mood and BPM.
This is the path for something that has to sit in a mix rather than be the mix.
Playing technique, recording environment and effects all read: "close-mic'd
upright bass, fingered, small wooden room, light tape saturation".
Sound effects
TrackType: SFX, then three things:
- Source — the object or instrument making the sound.
- Action — how it is triggered, how long it rings, how it decays.
- Production — mic placement, room character, processing.
TrackType: SFX. A steel toolbox lid slamming shut on a concrete workshop floor, sharp metallic impact with a short rattling decay, close mic, small room with a hard early reflection.
Then set a short duration. Most effects are under two seconds, and a 30-second request for a door slam gets you a door slam followed by 28 seconds of room.
Duration and parameters
Match the duration to what you described. The Stable Audio 3 medium checkpoint
goes to 380 seconds, but a prompt describing a loop or a hit produces its best
result when the length fits the description; for a music bed, 60–90 seconds is
the range the guide recommends. On a node the field changes name —
seconds_total on fal's 2.5, duration on Stable Audio 3 and on Replicate's
stability-ai/stable-audio-2.5 — and 2.5 defaults to 190 seconds on both,
which is three minutes of audio nobody asked for. generate_music's
duration_seconds sets it for you.
| Parameter | What it does | Where to sit |
|---|---|---|
num_inference_steps |
Sampling steps (steps on Replicate) |
The distilled checkpoints default to 8, and the guide says they gain little above it; raise it on a base checkpoint (default 50) |
guidance_scale |
Prompt adherence (fal only) | The guide says it is effective on Stable Audio 3 only on base (non-distilled) checkpoints, which default to 7; the distilled ones default to 1 |
negative_prompt |
Qualities to avoid (Stable Audio 3 only) | Name the artifact you hear: "clipping", "muddy low end", "vocal chops" |
enable_prompt_expansion |
LLM prompt rewrite | Off by default; useful for a three-word prompt, harmful once your prompt is already metadata |
seed |
Comparability | Pin it while you change one element at a time |
The base versus distilled split is the one that catches people: the guide
says that on a distilled Stable Audio 3 checkpoint the two dials most people
reach for do little, and the prompt is the whole instrument.
Editing existing audio
Audio-to-audio seeds generation from a clip, and the dial has two names.
Stable Audio 3 takes init_noise_level (0.9 default): 0.1 keeps the source
close, 1.0 replaces it with noise and generates outright. Stable Audio 2.5
takes strength (0.8 default), which runs the same way — 0 returns the input.
Low keeps melody and rhythm; high strips them and keeps only broad character.
Inpaint and outpaint hold everything outside a masked region and regenerate
inside it — mask_start_seconds / mask_end_seconds on Stable Audio 3,
mask_start / mask_end on 2.5. Here the surrounding audio matters more than
the prompt: a short mask is pulled hard toward its context regardless of what
you wrote, and only a wide mask gives the prompt room. If an inpaint is
ignoring you, widen the mask before rewriting the prompt.
Symptoms
| What went wrong | What to change |
|---|---|
| A generic bed | Rewrite as genre, instruments with character, mood, BPM |
| An unwanted vocal | Add TrackType: Music, VocalType: Instrumental to the prompt |
| The effect is padded with room tone | Cut the duration to the length of the actual event |
| Raising guidance changed nothing | You are probably on a distilled checkpoint — switch to base or fix the prompt |
| An inpaint ignores the prompt | Widen the masked region |
| Two takes are not comparable | Pin the seed and change one element |
Check the result with analyze_audio, analyze_audio_spectrum and
detect_audio_events rather than listening for it — a missing instrument or a
clipped peak shows up there faster than by ear.
Where it lands
A bed from here is the "track of your own" build in video-audio-continuity:
one clip on its own audio track for the whole runtime, with the generated shots
muted under it. Because the prompt states the BPM, beat-sync-editing starts
with a grid it can predict and then confirms with detect_audio_events on the
file. A TrackType: SFX hit of 1–3 s is what logo-reveal lands a mark on.
motion-graphics carries the timeline ops that lay the clip down.
Adapted from Stability's Stable Audio 2.5 prompt guide and the Stable Audio 3 prompting guide: https://stability.ai/implementations/stable-audio-25-prompt-guide https://github.com/Stability-AI/stable-audio-3/blob/main/docs/guides/prompting.md
04 同仓库更多 Skills
humanizer
Rewrite AI-sounding text so it reads like the writer without changing what it says. Use when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line closers, staged openers, forced triads, dashes everywhere, inflated claims, sales language, stock AI words, bold labels, or filler.
NodeTool可视化AI工作流构建
nodetool
使用 NodeTool MCP 服务器构建、验证、运行和调试可视化 AI 工作流,并处理资产、集合和任务。当用户提及 NodeTool,或要求在其 NodeTool 服务器上创建工作流图、节点或运行媒体生成时使用。
Wan 2.6 视频提示词编写
wan-2-6-prompting
为阿里的 Wan 2.6 视频模型编写提示词——文生视频采用全局风格描述行加上按时间用括号标记的分镜,图生视频只描述随时间变化的内容。涵盖各服务商的镜头模式切换、提示词预算、负面提示词、运动强度措辞、音频输入和提示词扩展。当模型 ID 指定 Wan 2.6 视频路由(alibaba/wan-2.6/text-to-video、alibaba/wan-2.6/image-to-video、wan-video/wan-2.6-t2v、wan-video/wan-2.6-i2v、wan-video/wan2.6-i2v-flash)用于 generate_video、animate_image 或 TextToVideo 节点时使用。不适用于 Wan 2.5 或 2.7,也不适用于 Wan 2.6 图像路由。
可复用视频工作流搭建
video-workflow
构建可复用的 NodeTool 视频工作流,用于批量处理或重复输入。若只需制作单个成品,请使用 storyboard(分镜)技能。
参考视频镜头结构复刻
video-clone
分析参考视频,并在 NodeTool 中使用新产品或新演员重现其镜头结构。
多场景视频音频连续性处理
video-audio-continuity
让由生成视频剪辑而成的多场景作品中的声音保持连续——为什么每个场景各生成一段片段会在每处边界硬切音频、何时改为把所有场景写入同一次生成、能在服务商版权过滤下保留下来的声音设计词汇,以及如何检查返回内容的时长、宽高比和混音效果。当作品包含多个场景且视频模型会自行生成音频(Seedance 2、Veo 3、MiniMax H3、Kling 2.6 及更高版本),或剪辑的声音在镜头切换处中断时使用。