ComfyUI > Nodes > ComfyUI-RvTools_v2 > Random Prompt (Subjects)

ComfyUI Node: Random Prompt (Subjects)

Class Name

Random Prompt by jice: Subjects [RvTools]

Category
🫦 RvTools II/ Text
Author
r-vage (Account age: 317days)
Extension
ComfyUI-RvTools_v2
Latest Updated
2026-03-27
Github Stars
0.02K

How to Install ComfyUI-RvTools_v2

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

Random Prompt (Subjects) Description

Generates creative prompts by randomly selecting lines from text files in a specified directory.

Random Prompt by jice: Subjects [RvTools]:

The "Random Prompt by jice: Subjects [RvTools]" node is designed to facilitate the generation of creative prompts by randomly selecting lines from text files stored in a specified directory. This node is particularly useful for AI artists looking to inject randomness and variety into their creative processes. By automatically creating necessary directories and files if they do not exist, the node ensures a seamless setup experience. It reads text files, extracts lines, and allows users to either select specific lines or opt for random selection, thereby offering a dynamic and flexible approach to prompt generation. This capability is especially beneficial for generating diverse and unexpected creative outputs, making it an essential tool for artists seeking inspiration or exploring new creative directions.

Random Prompt by jice: Subjects [RvTools] Input Parameters:

seed

The seed parameter is an integer input that influences the randomness of the prompt generation process. It allows you to control the random selection of lines from the text files, ensuring reproducibility of results if the same seed is used. The parameter accepts values ranging from 0 to 1125899906842624, with a default value of 0. By adjusting the seed, you can explore different variations of prompts while maintaining the ability to recreate specific outputs when needed.

Random Prompt by jice: Subjects [RvTools] Output Parameters:

final_values

The final_values output parameter provides the generated prompt as a string. This output is the result of concatenating selected lines from the text files, either chosen randomly or specified by the user. The generated prompt serves as a creative input for further artistic processes, offering a blend of randomness and user-defined elements to inspire new ideas and directions.

Random Prompt by jice: Subjects [RvTools] Usage Tips:

  • Ensure that the directory specified for storing text files exists and contains the desired content for prompt generation. If the directory does not exist, the node will attempt to create it and populate it with default files.
  • Experiment with different seed values to explore a wide range of prompt variations. This can help in discovering unique and unexpected creative directions.

Random Prompt by jice: Subjects [RvTools] Common Errors and Solutions:

The path <prompt_path> could not be created! Is there write access?

  • Explanation: This error occurs when the node attempts to create a directory for storing text files but lacks the necessary write permissions.
  • Solution: Ensure that the specified path has the appropriate write permissions. You may need to adjust the directory permissions or choose a different location where the node has write access.

Error reading lines from file

  • Explanation: This error indicates that the node encountered an issue while trying to read lines from a text file, possibly due to file corruption or encoding issues.
  • Solution: Verify that the text files are not corrupted and are encoded in UTF-8 format. If necessary, recreate the files with the correct encoding to ensure compatibility with the node.

Random Prompt (Subjects) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-RvTools_v2
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.

Random Prompt (Subjects)