ComfyUI Node
Text Overlay Node v04
A ComfyUI node in image/text with 32 inputs and 2 outputs.
Text Overlay Node v04
- reference_image
- image
- preview
◄textYour text here►
◄width512►
◄height512►
◄fontC059 BdIta►
◄font_size32►
◄color#FFFFFF►
◄aligncenter►
◄v_alignmiddle►
◄transparent_backgroundtrue►
◄background_color#000000►
◄background_opacity100►
◄x_offset_pct0.0►
◄y_offset_pct0.0►
◄line_spacing1.2►
◄padding20►
◄wrap_width0►
◄outline_color►
◄outline_width1►
◄text_file►
◄boldfalse►
◄italicfalse►
◄shadowfalse►
◄shadow_color#000000►
◄shadow_offset2►
◄layer_blend_modenormal►
◄text_effectnone►
◄gradient_color#0000FF►
◄show_font_previewfalse►
◄preview_textThe quick brown fox jumps over the lazy dog►
◄fonts_per_page30►
◄preview_page1►
Categoryimage/text
Inputs (32)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Your text here | — |
| width | INT | 51216–8192 | — |
| height | INT | 51216–8192 | — |
| font | COMBO | C059 BdIta | 45 options: C059 BdIta, C059 Bold, C059 Italic, C059 Roman, D050000L, DejaVuSans, +39 |
| font_size | INT | 328–256 | — |
| color | STRING | #FFFFFF | — |
| align | COMBO | center | 3 options: left, center, right |
| v_align | COMBO | middle | 3 options: top, middle, bottom |
| transparent_background | BOOLEAN | true | Use a transparent background (if false, uses background color) |
| background_color | STRING | #000000 | Background color when not using transparent background |
| background_opacity | INT | 1000–100 | Background opacity percentage (0-100%) |
| x_offset_pct | FLOAT | 0.0-100–100 | Horizontal offset as percentage of image width (-100% to 100%) |
| y_offset_pct | FLOAT | 0.0-100–100 | Vertical offset as percentage of image height (-100% to 100%) |
| line_spacing | FLOAT | 1.20.5–3 | — |
| padding | INT | 200–500 | — |
| wrap_width | INT | 00–8192 | Max characters per line (0 = auto based on width) |
| reference_imageopt | IMAGE | Optional image to get dimensions from | |
| outline_coloropt | STRING | — | |
| outline_widthopt | INT | 11–10 | — |
| text_fileopt | STRING | — | |
| boldopt | BOOLEAN | false | — |
| italicopt | BOOLEAN | false | — |
| shadowopt | BOOLEAN | false | — |
| shadow_coloropt | STRING | #000000 | — |
| shadow_offsetopt | INT | 21–10 | — |
| layer_blend_modeopt | COMBO | normal | How the text layer should blend with background when composited |
| text_effectopt | COMBO | none | Special effect to apply to text |
| gradient_coloropt | STRING | #0000FF | — |
| show_font_previewopt | BOOLEAN | false | Generate a preview image showing all available fonts |
| preview_textopt | STRING | The quick brown fox jumps over the lazy dog | Sample text to use for font preview |
| fonts_per_pageopt | INT | 305–100 | Number of fonts to show per page in font preview |
| preview_pageopt | INT | 1 | Current page to show in font preview |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| preview | IMAGE | — |