Skip to content

Custom node for ComfyUI to add a text box over a processed image before save node.

Notifications You must be signed in to change notification settings

Smuzzies/comfyui_chatbox_overlay

Repository files navigation

Chatbox Overlay node for ComfyUI

Custom node for ComfyUI to add a text box over a processed image before save node.

UPDATED TO NEW PIL VERSION ADDED LINE SPACING INPUT

Installation:

Download the py file and place it in the customnodes directory of your ComfyUI installation path. Restart ComfyUI.

Add the node just before your save node by searching for "Chatbox Overlay".

Included is a sample chatbox for 1024x1024 images. Adjust the start locations by calculating your image axis in pixels. Adjust your font location. Ex. for windows it might be c:/windows/fonts/font.ttf

image

Workflow:

For the sample chatbox image included, save and load this image into ComfyUI.

Filename Text 1_231012001707_Filename Text 2_00001_Filename Text 3

image

Example of stacking from X/Y coord calculations based of your image size.

image

About

Custom node for ComfyUI to add a text box over a processed image before save node.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages