Nodes Browser

ComfyDeploy: How Chatbox Overlay node for ComfyUI works in ComfyUI?

What is Chatbox Overlay node for ComfyUI?

Nodes: Chatbox Overlay. Custom node for ComfyUI to add a text box over a processed image before save node.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for Chatbox Overlay node for ComfyUI and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Chatbox Overlay node for ComfyUI

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

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

Credits to https://github.com/mikkel/ComfyUI-text-overlay and ChatGPT.