Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComfyUI-TextOverlay

A custom node for ComfyUI that adds text overlay to images, with options for text and background color, opacity, vertical positioning, and custom font selection.

shapes

Features

  • Add customizable text overlays to images
  • Choose from predefined text and background colors
  • Adjust background opacity
  • Control vertical positioning of the text
  • Use custom fonts by specifying the font file path

Installation

  1. Clone this repository into your ComfyUI custom_nodes folder:

    git clone https://github.com/neeltheninja/ComfyUI-TextOverlay.git
  2. Restart ComfyUI or reload custom nodes

Usage

  1. In ComfyUI, add the "Add Text Overlay" node to your workflow
  2. Connect an image input to the node
  3. Set your desired text, colors, positioning options, and font path
  4. Run your workflow to see the result!

Parameters

  • image: Input image
  • text: Text to overlay on the image
  • vertical_position: Vertical position of the text (-1 to 1)
  • text_color_option: Color of the text (White, Black, Red, Green, Blue)
  • bg_color_option: Color of the background (Black, White, Red, Green, Blue)
  • bg_opacity: Opacity of the background (0 to 1)
  • font_path: Path to the TTF font file

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

About

A custom node for ComfyUI that adds text overlay to images, with options for text and background color, opacity, and vertical positioning.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages