ComfyUI Node
Four-Line Flip Subtitle (四行翻转字幕)
A ComfyUI node in Subtitle Effects/Dynamic with 34 inputs and 1 output.
Four-Line Flip Subtitle (四行翻转字幕)
- image
- subtitle_data
- IMAGE
◄font_name▾►
◄fps30.00►
◄text_color#F8F8F8►
◄highlight_color#AA000C►
◄stroke_color#000000►
◄shadow_color#606060►
◄highlight_modeauto►
◄highlight_words►
◄max_red_per_group1►
◄group_size4►
◄font_layout_modefit_active►
◄base_font_164►
◄base_font_282►
◄base_font_3104►
◄base_font_4156►
◄scale_font_to_widthyes►
◄padding84►
◄line_gap8►
◄center_y_ratio0.50►
◄intro_duration0.26►
◄flip_duration0.44►
◄line_interval0.68►
◄group_hold1.05►
◄stroke_width1►
◄shadow_opacity0.00►
◄shadow_offset2►
◄trail_opacity0.00►
◄edge_visible_ratio0.40►
◄max_chars_per_line0►
◄background_modekeep►
◄srt_path►
◄text►
CategorySubtitle Effects/Dynamic
Inputs (34)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| font_name | COMBO | 7 options: Inter-Regular.otf, JetBrainsMono-Regular.ttf, LXGWWenKai-Regular.ttf, NotoSerifSC-Regular.otf, SmileySans-Oblique.ttf, SourceHanSansSC-Regular.otf, +1 | |
| fps | FLOAT | 30.001–120 | — |
| text_color | STRING | #F8F8F8 | — |
| highlight_color | STRING | #AA000C | — |
| stroke_color | STRING | #000000 | — |
| shadow_color | STRING | #606060 | — |
| highlight_mode | COMBO | auto | 3 options: auto, manual, off |
| highlight_words | STRING | — | |
| max_red_per_group | INT | 10–4 | — |
| group_size | INT | 42–4 | — |
| font_layout_mode | COMBO | fit_active | 2 options: fit_active, fixed |
| base_font_1 | INT | 6412–320 | — |
| base_font_2 | INT | 8212–340 | — |
| base_font_3 | INT | 10412–360 | — |
| base_font_4 | INT | 15612–420 | — |
| scale_font_to_width | COMBO | yes | 2 options: yes, no |
| padding | INT | 840–400 | — |
| line_gap | INT | 80–120 | — |
| center_y_ratio | FLOAT | 0.500.1–0.9 | — |
| intro_duration | FLOAT | 0.260.01–2 | — |
| flip_duration | FLOAT | 0.440.05–2 | — |
| line_interval | FLOAT | 0.680.05–5 | — |
| group_hold | FLOAT | 1.050.05–8 | — |
| stroke_width | INT | 10–12 | — |
| shadow_opacity | FLOAT | 0.000–1 | — |
| shadow_offset | INT | 20–30 | — |
| trail_opacity | FLOAT | 0.000–1 | — |
| edge_visible_ratio | FLOAT | 0.400–1 | — |
| max_chars_per_line | INT | 00–80 | — |
| background_mode | COMBO | keep | 2 options: keep, black |
| srt_path | STRING | — | |
| textopt | STRING | — | |
| subtitle_dataopt | SUBTITLE_DATA | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |