ComfyUI Node
Cinematic Frame & Subtitle
A ComfyUI node in FeiFei with 13 inputs and 1 output.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| aspect_ratio | COMBO | 21:9 | Aspect 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_mode | COMBO | Short 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_side | INT | 1024128–4096 | The 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_mode | COMBO | Cinematic 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_top | STRING | We 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_bottom | STRING | Second line, set under the main one at 82% of its size. Leave it empty for a single-line subtitle. | |
| subtitle_size | FLOAT | 0.0450.015–0.12 | Main 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_color | COMBO | Yellow | Yellow is the usual hard-subtitle look, White the plain theatrical one. |
| shadow | FLOAT | 0.800–1 | Soft drop shadow under the glyphs, scaled to the font size, so the line stays readable over a bright frame. 0 turns it off. |
| positionopt | COMBO | Bottom | Bottom 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. |
| timecodeopt | STRING | Optional 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_pathopt | STRING | Font 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)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |