Nodes/ComfyUI_Eclipse/Render Lyric Captions
ComfyUI Node

Render Lyric Captions

Align full-song lyrics using optional isolated vocals and render with the original soundtrack. Trim audio and captions together. Wire VIDEO through Preview Video for review, then to Save Video.

By r-vage·Created 11 months ago·Updated about 9 hours ago· 36
Render Lyric Captions
  • audio
  • vocals
  • background
  • video
  • srt
  • report
  • timing_json
  • cleaned_lyrics
◄lyrics—►
◄languageen►
◄deviceauto►
◄font_fileRoboto-Regular.ttf►
◄font_size80►
◄modefloating-words►
◄width720►
◄height1280►
◄fps24.00►
◄positionbottom_center►
◄margin_x40►
◄margin_y40►
◄text_color#ffffff►
◄highlight_color#ffff00►
◄outline_color#616161►
◄outline_width3►
◄background_color#000000►
◄caption_transparency0►
◄enable_glowfalse►
◄glow_intensity5►
◄glow_range25►
◄glow_blur15►
◄glow_inner_color#2ec0ff►
◄glow_outer_color#006eff►
◄trim_start—►
◄duration—►
◄timing_adjustment0.00►
◄circle_radius30.0►
◄float_distance1.5►
◄fade_in0.50►
◄fade_out0.50►
◄min_display0.70►
◄max_words4►
◄max_simultaneous5►
◄seed42►
◄rotation_axisTurning sign►
◄corrected_timing—►
Category🌒 Eclipse/ Video

Inputs (40)

NameTypeDefaultDescription
audioAUDIO—
lyricsSTRINGFull-song plain lyrics or YuE2/MiniMax song JSON.
languageCOMBOen101 options: Auto, en, zh, de, es, ru, +95
deviceCOMBOauto3 options: auto, cpu, cuda
font_fileCOMBORoboto-Regular.ttf7 options: Allura-Regular.ttf, FreeMono.ttf, Oswald-Bold.ttf, Roboto-Regular.ttf, ShareTechMono-Regular.ttf, comic.ttf, +1
font_sizeINT808–512—
modeCOMBOfloating-wordsWords modes group fast words into phrases; lines modes use complete lines. Rotating captions turn in place at a speed set by lyric timing.
widthINT72016–4096—
heightINT128016–4096—
fpsFLOAT24.001–120—
positionCOMBObottom_center9 options: top_left, top_center, top_right, center_left, center_center, center_right, +3
margin_xINT400–2048—
margin_yINT400–2048—
text_colorSTRING#ffffff—
highlight_colorSTRING#ffff00—
outline_colorSTRING#616161—
outline_widthINT30–32—
background_colorSTRING#000000—
caption_transparencyFLOAT00–100Fade text, outline, highlight and glow together. 100% hides captions; background and audio are unchanged.
enable_glowBOOLEANfalse—
glow_intensityINT52–20Glow buildup iterations (more = denser glow).
glow_rangeINT251–500Maximum glow expansion distance in pixels.
glow_blurINT150–500Blur radius applied to each glow step.
glow_inner_colorSTRING#2ec0ff—
glow_outer_colorSTRING#006eff—
trim_startFLOAT0–86400Trim the full soundtrack and captions together, in seconds from the start of the song.
durationFLOAT0–86400Connect seconds explicitly. 0 renders the remainder of the song; the end is clamped to available samples.
timing_adjustmentFLOAT0.00-86400–86400Positive values delay captions.
circle_radiusFLOAT30.00–50Floating caption centers stay inside this circle, centered on the video. Radius is a percentage of the shorter canvas dimension.
float_distanceFLOAT1.50–20Maximum gentle movement as a percentage of the shorter canvas dimension.
fade_inFLOAT0.500–2Fade-in seconds, added before the minimum readable hold. Shortened when floating slots or the next rotating caption need room.
fade_outFLOAT0.500–2Fade-out seconds after the sung span and minimum readable hold. Floating items can overlap while slots remain; rotating items finish by the next onset.
min_displayFLOAT0.700–3Minimum seconds at full animation opacity, excluding fades. Also groups fast words. Reduced when floating slots or the next rotating caption need room; sung onsets never move.
max_wordsINT41–12Maximum words to combine per phrase. Indivisible timed spans and attached untimed text stay intact.
max_simultaneousINT51–8Maximum visible floating items, including outgoing fades.
seedINT420–18446744073709550000Repeatable full-song positions, also preserved when trimming.
rotation_axisCOMBOTurning signRotating modes: Turning sign turns around the vertical axis; Flipping card turns around the horizontal axis. Speed follows lyric timing automatically.
vocalsoptAUDIOFull-song isolated vocals starting at zero. Duration must match audio within 50 ms; never shifted or stretched.
corrected_timingoptSTRINGFull-song timing JSON matching cleaned lyrics. Bypasses alignment and lazy vocal separation.
backgroundoptCOMFY_MATCHTYPE_V3Optional IMAGE, image batch/list, or one VIDEO. Images play in order at caption FPS; VIDEO uses its timestamps. Short backgrounds hold their last frame. Background audio is ignored.

Outputs (5)

NameTypeDescription
videoVIDEO—
srtSTRING—
reportSTRING—
timing_jsonSTRING—
cleaned_lyricsSTRING—