ComfyUI > Nodes > DJZ-Nodes > Zenkai-Prompt

ComfyUI Node: Zenkai-Prompt

Class Name

ZenkaiPrompt

Category
DJZ-Nodes
Author
DriftJohnson (Account age: 4052days)
Extension
DJZ-Nodes
Latest Updated
2025-04-25
Github Stars
0.04K

How to Install DJZ-Nodes

Install this extension via the ComfyUI Manager by searching for DJZ-Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter DJZ-Nodes 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

Zenkai-Prompt Description

Generate text prompts from pre-defined files for creative workflow enhancement, ensuring consistency and inspiration for AI artists.

Zenkai-Prompt:

ZenkaiPrompt is a versatile node designed to enhance your creative workflow by generating text prompts from a collection of pre-defined text files. Its primary function is to randomly select a line from a specified text file, using a seed value to ensure consistent results across different runs. This node is particularly beneficial for AI artists looking to introduce variability and inspiration into their projects, as it allows for the seamless integration of diverse prompts into the creative process. By leveraging a structured folder of text files, ZenkaiPrompt provides a simple yet powerful way to access a wide range of ideas and themes, making it an essential tool for those seeking to expand their artistic horizons.

Zenkai-Prompt Input Parameters:

text_file

The text_file parameter allows you to select a specific text file from which the prompt will be generated. This parameter is crucial as it determines the source of the prompts, and the available options are automatically populated from the text files located in the prompts folder. By choosing a particular file, you can control the thematic direction of the generated prompts, ensuring they align with your creative goals.

seed

The seed parameter is an integer value that influences the random selection of a line from the chosen text file. It ensures that the same line is selected consistently across different executions when the same seed is used. This parameter is particularly useful for maintaining reproducibility in your projects. The seed value ranges from 0 to 4,294,967,295 (0xFFFFFFFF), with a default value of 0. By adjusting the seed, you can explore different prompt variations while still having the option to return to a specific prompt when needed.

Zenkai-Prompt Output Parameters:

STRING

The output of the ZenkaiPrompt node is a STRING, which represents the selected line from the specified text file. This output is the actual prompt that can be used in your creative projects. The importance of this output lies in its ability to provide a consistent and reproducible prompt based on the input parameters, allowing you to integrate it seamlessly into your artistic workflow.

Zenkai-Prompt Usage Tips:

  • To ensure a diverse range of prompts, regularly update the text files in the prompts folder with new content that aligns with your creative themes.
  • Experiment with different seed values to explore a variety of prompts from the same text file, which can help in discovering unexpected and inspiring ideas.

Zenkai-Prompt Common Errors and Solutions:

FileNotFoundError: [Errno 2] No such file or directory: '...'

  • Explanation: This error occurs when the specified text file is not found in the prompts folder.
  • Solution: Ensure that the text file you are trying to access exists in the prompts folder and that the file name is correctly specified in the text_file parameter.

ValueError: Seed value out of range

  • Explanation: This error indicates that the seed value provided is outside the acceptable range of 0 to 4,294,967,295.
  • Solution: Adjust the seed value to be within the specified range to avoid this error and ensure proper functionality of the node.

Zenkai-Prompt Related Nodes

Go back to the extension to check out more related nodes.
DJZ-Nodes
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 Playground, enabling artists to harness the latest AI tools to create incredible art.