Nodes/ComfyUI-Easy-SongGeneration/Easy SongGeneration - 生成伴奏
ComfyUI Node

Easy SongGeneration - 生成伴奏

This is the node that ignores your lyrics

By eastmoe·Created 3 months ago·Updated 6 days ago· 4
Easy SongGeneration - 生成伴奏
  • songgen_model
  • prompt_audio
  • 音频
  • 元数据
lyrics
descriptionsfemale, pop, energetic, piano, drum kit
seed-1
duration0
extend_stride5
temperature0.00
cfg_coef1.5
top_k0
top_p0.00
use_samplingtrue
record_tokenstrue
record_window50
chunk_size128
auto_prompt_audio_type
prompt_audio_batch_index0

Easy SongGeneration - 生成伴奏 ("Generate BGM") is the pure-music mode of this pack: accompaniment, backing track, instrumental - no vocals. The community verdict on open music models has been that instrumentals are their strong suit (ACE-Step's instrumentals get praised precisely where its vocals get laughed at), and Tencent's model has a dedicated mode for it that this node exposes. It's the one you reach for when the goal is a soundtrack, a backing loop, or a song you can hum along to.

How it's different under the hood

The inputs look identical to the mixed node - 歌词, 描述, seed, duration, sampling knobs, auto-style or reference audio - but read the code and the difference shows up in two places. First, your 歌词 input is discarded: the model gets . as the lyric text, because there's no one to sing. Second, your 描述 gets wrapped with [Musicality-very-high], [Pure-Music], before the model sees it. That [Pure-Music] tag is the switch that tells the upstream pipeline to produce instrumental audio.

So yes - the lyrics box on this node is a trap. You can leave it empty or dump anything in there; it does nothing. Spend your effort on 描述 instead. That's where the genre, instruments and vibe live: cinematic, strings, slow build, orchestral is a very different track from lo-fi, warm piano, vinyl crackle.

The inputs that matter

  • 描述 (descriptions) - the actual creative control. Defaults to female, pop, energetic, piano, drum kit, which is a strange default for a pure-music node; change it or you'll get instrumentals with "female pop" energy. (Lightly annoying, worth knowing.)
  • 种子 / 时长 - -1 random / time-based seed; 0 = the model's max_dur from config (2m30s on base, 4m30s on large/v2).
  • 自动参考风格 - genre presets like Electronic, Jazz, Soundtrack that inject a matching reference prompt. Needs the auto-prompt weights; None skips them.
  • 参考音频 (prompt_audio) - an optional ComfyUI AUDIO reference that overrides the auto style. Works without the auto-prompt weights, but the pack needs the Demucs files (part of the third_party/ download) to separate your reference into usable parts.

Outputs are 音频 (48kHz AUDIO) and 元数据 (JSON with the seed and generation params).

When to use it vs. the others

If you only need the backing track, this is the cleaner choice - no vocals to strip later, and it's the same GPU cost as any other generation. If you think there's even a chance you'll want the vocals too, the Easy SongGeneration - 分轨生成 node runs one generation and hands back mixed + vocal + BGM together, so you don't pay twice. BGM is the one to reach for when you're sure: YouTube background music, game sound, or a bed under someone else's voiceover.

Categoryeastmoe/Comfy-Easy-SongGeneration

Inputs (17)

NameTypeDefaultDescription
songgen_modelSONGGEN_MODELSongGeneration 模型加载节点输出。
lyricsSTRINGSongGeneration 段落格式歌词,例如 [verse] ... ; [chorus] ...。
descriptionsSTRINGfemale, pop, energetic, piano, drum kit风格、情绪、乐器、人声等逗号分隔提示词。
seedINT-1-1–2147483647-1 使用当前时间。
durationFLOAT00–2700 使用模型 config.yaml 的 max_dur。
extend_strideFLOAT51–60长音频生成步长,通常保持 5。
temperatureFLOAT0.000–20 使用原推理默认值。
cfg_coefFLOAT1.50–10Classifier-Free Guidance 系数。
top_kINT00–100000 使用原推理默认值。
top_pFLOAT0.000–10 关闭 top-p。
use_samplingBOOLEANtrue关闭后使用 greedy decoding。
record_tokensBOOLEANtrue保持与原推理脚本一致。
record_windowINT501–1000Token recording window。
chunk_sizeINT12816–1024Diffusion decoding chunk size。
auto_prompt_audio_typeCOMBONone 表示不使用自动参考音频。
prompt_audiooptAUDIO可选 ComfyUI AUDIO,会优先于自动参考风格。
prompt_audio_batch_indexoptINT00–4096当 AUDIO 包含 batch 时选择其中一条。

Outputs (2)

NameTypeDescription
音频AUDIO
元数据STRING