ComfyUI Node
RM Add Label
Renders a text label and joins it to the image (up/down/left/right), or draws it straight onto the image (overlay). height = -1 auto-sizes the bar to the wrapped text. Note that any direction other than 'overlay' changes the output dimensions. Fonts are read from this pack's fonts/ folder and from the system font directory. Connect 'caption' to label each image in a batch differently; one caption per image.
RM Add Label
- image
- image
◄textText►
◄directionup►
◄height48►
◄font▾►
◄font_size32►
◄font_colorwhite►
◄label_colorblack►
◄text_x10►
◄text_y2►
◄caption►
CategoryRMAutomation/image
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| text | STRING | Text | — |
| direction | COMBO | up | 5 options: up, down, left, right, overlay |
| height | INT | 48-1–4096 | — |
| font | COMBO | 1 options: <no fonts found> | |
| font_size | INT | 321–4096 | — |
| font_color | STRING | white | — |
| label_color | STRING | black | — |
| text_x | INT | 100–4096 | — |
| text_y | INT | 20–4096 | — |
| captionopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |