Visit ComfyUI Online for ready-to-use ComfyUI environment
ComfyUI_WordCloud generates visual word clouds from text data using nodes like Word Cloud and Load Text File, enabling users to create graphical representations of word frequency and importance within a given text.
ComfyUI_WordCloud is an extension designed to generate word cloud images within the ComfyUI environment. A word cloud is a visual representation of text data, where the size of each word indicates its frequency or importance. This extension leverages the word_cloud library to create these visualizations, making it easier for AI artists to analyze and present textual information in a visually appealing manner.
With ComfyUI_WordCloud, you can create customized word clouds that highlight key terms, exclude specific words, and even shape the word cloud to fit a particular contour. This tool is particularly useful for artists who want to incorporate text-based art into their projects or need a creative way to display textual data.
At its core, ComfyUI_WordCloud works by analyzing a block of text and determining the frequency of each word. The more frequently a word appears, the larger it will be in the word cloud. This extension allows you to customize various aspects of the word cloud, such as colors, fonts, and shapes, to create a unique and visually engaging output.
The Word Cloud node is the primary feature of this extension. It allows you to generate word cloud images based on your text input. Here are the customizable options available:
This node allows you to select colors from a palette and output RGB values, making color selection more convenient.
This node loads a text file from a specified path and uses UTF-8 encoding.
Currently, ComfyUI_WordCloud does not include different models. It relies on the word_cloud library to generate word clouds based on the provided text and customization options.
font_dir.ini
file. This file is located in the root directory of the plugin and defaults to the Windows system font directory (C:\Windows\fonts
). If the custom directory is invalid, the built-in font directory will be used.For workflows saved with older versions, you need to reset the font:
font_dir.ini
.font_path
of the WordCloud node.font_dir.ini
is correct.color_ref_image
is correctly set if you are using it for color reference.colormap
setting is not conflicting with the color_ref_image
.How do I change the font?
Edit the font_dir.ini
file to point to your desired font directory and restart ComfyUI.
Can I use custom shapes for the word cloud? Yes, you can use a mask image to define custom shapes.
For additional resources, tutorials, and community support, you can explore the following:
© Copyright 2024 RunComfy. All Rights Reserved.