Nodes/ComfyUI-FeiFei/Cinematic Frame & Subtitle
ComfyUI Node

Cinematic Frame & Subtitle

A ComfyUI node in FeiFei with 13 inputs and 1 output.

By aifeifei798·Created 13 days ago·Updated 2 days ago· 2
Cinematic Frame & Subtitle
  • image
  • image
◄aspect_ratio21:9►
◄lock_modeShort Side (recommended)►
◄base_side1024►
◄fill_modeCinematic Crop (fill frame)►
◄subtitle_topWe were all waiting for someone who was never coming.►
◄subtitle_bottom►
◄subtitle_size0.045►
◄subtitle_colorYellow►
◄shadow0.80►
◄positionBottom►
◄timecode►
◄font_path►
CategoryFeiFei

Inputs (13)

NameTypeDefaultDescription
imageIMAGE—
aspect_ratioCOMBO21:9Aspect of the finished still. Same list as the Aspect Ratio (1024) node, so one ratio can drive both. 21:9 is the scope look, 16:9 the clean HD frame, 9:16 and 9:21 the vertical ones.
lock_modeCOMBOShort Side (recommended)Which side base_side pins. Same rule as the Aspect Ratio (1024) node: Short Side keeps 21:9 at 1024 high and 9:16 at 1024 wide.
base_sideINT1024128–4096The side pinned by lock_mode; the other side follows the ratio. A 21:9 still at 1024 comes out 2384x1024. Always a multiple of 16.
fill_modeCOMBOCinematic Crop (fill frame)How the picture reaches the frame. Cinematic Crop (the default) scales the image to fill the frame and cuts the overflow off the top/bottom or the sides, so the frame is always completely covered - a 16:9 render in 21:9 loses its top and bottom, never gains side bars. Letterbox is the exception: it shows the whole image and adds black bars on the leftover axis.
subtitle_topSTRINGWe were all waiting for someone who was never coming.Main subtitle line, typeset first and largest. Any language; long lines wrap to 86% of the picture width.
subtitle_bottomSTRINGSecond line, set under the main one at 82% of its size. Leave it empty for a single-line subtitle.
subtitle_sizeFLOAT0.0450.015–0.12Main line height as a fraction of the frame's short side, so the subtitle keeps the same optical size in 21:9 and in 9:16. 0.045 is about 46px on a 1024px-short-side frame.
subtitle_colorCOMBOYellowYellow is the usual hard-subtitle look, White the plain theatrical one.
shadowFLOAT0.800–1Soft drop shadow under the glyphs, scaled to the font size, so the line stays readable over a bright frame. 0 turns it off.
positionoptCOMBOBottomBottom centres the line in the lower black bar when Letterbox leaves room for it, and otherwise sets it just above the bottom edge of the picture. Center is the title-card placement.
timecodeoptSTRINGOptional burn-in timecode, for example 01:23:45:12, drawn in a dashed box in the top-right corner of the picture. Empty skips it.
font_pathoptSTRINGFont file for the subtitle and timecode. Empty falls back to DejaVu / Arial for a Latin line and to Noto CJK / YaHei / PingFang for a line that needs CJK glyphs.

Outputs (1)

NameTypeDescription
imageIMAGE—