Skip to content
Node packVerifiedExternal
Open source

ComfyUI-Book-Tools

Maintainer@Big-Idea-TechnologyCgrade

Package profile

Status
Verified
Publisher
@Big-Idea-Technology
Source
GitHub
Stars
40

README

Screenshot

Features

Image Text Overlay: Add customizable text overlays to images. Prompt Selection and Scheduling: Manage and format string prompts based on configurable parameters. Loop Constructs: Implement looping mechanisms which can reset based on conditions. Special Comparators: Utilize a unique string class for special comparison features.

Installation

To run the scripts, you need Python 3.6 or higher. Dependencies are listed in requirements.txt, which can be installed using:

pip install -r requirements.txt

Requirements

Pillow for image processing (PIL) PyTorch (torch) for tensor operations Numpy (numpy)

Methods

  • add_text_overlay: Adds text to an image according to specified parameters such as alignment, color, font size, etc.

  • PromptSelector and PromptSchedule These classes are used to handle and format text prompts. They support selecting prompts based on input indices and applying pre- and post-text to formatted outputs.

  • Loop, LoopStart, LoopEnd A set of classes designed to facilitate custom loop constructs that can dynamically handle iteration based on runtime conditions.

  • EndQueue Conditioning end of current queue

Contributions

Contributions are welcome. Please fork the repository and submit a pull request with your suggested changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Nodes in this pack

11 nodes
  • BTDownloadFont
  • BTEndQueue
  • BTImageTextOverlay
  • BTLoop
  • BTLoopEnd
  • BTLoopStart
  • BTPromptSchedule
  • BTPromptSelector
  • BTRandomTextOverlay
  • BTTextGrowth
  • BTTextToImage

Related resources

3 connections

Sources

3 sources
GitHubSourceVersion 02fd11d8a2ea14516bac39562b1eb6a41bb0cb7f
github.com/Big-Idea-Technology/ComfyUI-Book-Tools

Verified Sep 13

Source excerpts

1 excerpt

Source context: Repo Big-Idea-Technology/ComfyUI-Book-Tools