ComfyUI Node
❌[DEPRECATED] Image Labeler (old version)
Adds a label with custom text to the image.
❌[DEPRECATED] Image Labeler (old version)
- image
- IMAGE
◄text—►
◄text_color#FF0000►
◄background_color#FFFFFF►
◄font_nameroboto_slab►
◄font_size64►
◄font_scalenone►
◄label_positionbottom_right►
◄label_padding-1►
◄min_label_width0►
◄min_label_height0►
Category⚡Z-Image/__deprecated
Inputs (11)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | Input image to which the label will be added. | |
| text | STRING | Text to be displayed in the label. | |
| text_color | STRING | #FF0000 | Color of the label text in hexadecimal format (e.g. #FFFFFF for white). |
| background_color | STRING | #FFFFFF | Background color of the label in hexadecimal format (e.g. #000000 for black). |
| font_name | COMBO | roboto_slab | The font to be used for the label text. |
| font_size | INT | 648–256 | Size of the font used for the label text, the final size will be adjusted automatically in relation to the image height. |
| font_scale | COMBO | none | Position of the label on the image, specifying the corner or edge alignment. |
| label_position | COMBO | bottom_right | Position of the label on the image, specifying the corner or edge alignment. |
| label_padding | INT | -1-1–100 | Padding around the label text, measured in pixels. Set this value to -1 for automatic padding adjustment based on font size. |
| min_label_width | INT | 0 | Minimum width of the label area in pixels, ensuring the label has enough width even if the text is so short. |
| min_label_height | INT | 0 | Minimum height of the label area in pixels, ensuring the label has enough height even if the font is so small. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | Output image with the added label containing the specified text. |