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.

By Moser9815·Created 7 months ago·Updated 2 days ago· 0
RM Add Label
  • image
  • image
textText
directionup
height48
font
font_size32
font_colorwhite
label_colorblack
text_x10
text_y2
caption
CategoryRMAutomation/image

Inputs (11)

NameTypeDefaultDescription
imageIMAGE
textSTRINGText
directionCOMBOup5 options: up, down, left, right, overlay
heightINT48-1–4096
fontCOMBO1 options: <no fonts found>
font_sizeINT321–4096
font_colorSTRINGwhite
label_colorSTRINGblack
text_xINT100–4096
text_yINT20–4096
captionoptSTRING

Outputs (1)

NameTypeDescription
imageIMAGE