ComfyUI > Nodes > ComfyUI_to_webui > 🌵Boolean Image

ComfyUI Node: 🌵Boolean Image

Class Name

Huaword

Category
❤️ 靓仔 ✨
Author
hua(Kungfu) (Account age: 1787days)
Extension
ComfyUI_to_webui
Latest Updated
2026-01-09
Github Stars
0.03K

How to Install ComfyUI_to_webui

Install this extension via the ComfyUI Manager by searching for ComfyUI_to_webui
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_to_webui in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🌵Boolean Image Description

Huaword intelligently selects images based on word frequency in text for adaptive visual content.

🌵Boolean Image:

The Huaword node is designed to intelligently select between two images based on the presence of specific words within a given text. This node is particularly useful for AI artists who want to dynamically choose visual content based on textual input. By analyzing the frequency of specified words in a larger text, Huaword determines which image to output, offering a seamless way to integrate text analysis with visual selection. This functionality can enhance creative workflows by allowing for more responsive and context-aware image generation, making it a valuable tool for projects that require adaptive visual content based on textual cues.

🌵Boolean Image Input Parameters:

text1

This parameter accepts a string input, which can be multiline and supports dynamic prompts. It represents the full text in which the node will search for specific words. The presence and frequency of these words in text1 determine the node's output. There are no explicit minimum, maximum, or default values, but the text should be meaningful and relevant to the context of your project.

text2

This parameter also accepts a string input, which can be multiline and supports dynamic prompts. It specifies the words that the node will look for within text1. The words in text2 are compared against text1 to decide which image to output. Like text1, there are no explicit minimum, maximum, or default values, but the words should be chosen carefully to align with your desired output.

image1

This parameter is an image input. If the words specified in text2 are found within text1, image1 will be selected as the output. This image should be prepared and relevant to the context where the specified words are expected to appear.

image2

This parameter is another image input. If the words specified in text2 are not found within text1, image2 will be selected as the output. This image serves as an alternative when the conditions for image1 are not met.

🌵Boolean Image Output Parameters:

IMAGE

The output of the Huaword node is an image, either image1 or image2, depending on the presence of the specified words in text1. If any of the words from text2 are found in text1, image1 is returned; otherwise, image2 is returned. This output allows for dynamic visual content selection based on textual analysis, providing flexibility and adaptability in creative projects.

🌵Boolean Image Usage Tips:

  • Ensure that text2 contains words that are relevant and likely to appear in text1 to effectively utilize the node's capabilities.
  • Use meaningful and contextually appropriate images for image1 and image2 to ensure that the output aligns with your project's goals.

🌵Boolean Image Common Errors and Solutions:

"目标单词 '<text2>' 总共出现了 0 次"

  • Explanation: This message indicates that none of the words specified in text2 were found in text1.
  • Solution: Double-check the words in text2 for typos or inaccuracies and ensure they are present in text1. Adjust the text inputs as necessary to align with your intended output.

🌵Boolean Image Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_to_webui
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.