ComfyUI > Nodes > Endless ️🌊✨ Nodes > Random Prompt Selector

ComfyUI Node: Random Prompt Selector

Class Name

Random_Prompt_Selector

Category
Endless 🌊✨/Randomizers
Author
BiffMunky (Account age: 3336days)
Extension
Endless ️🌊✨ Nodes
Latest Updated
2025-07-25
Github Stars
0.07K

How to Install Endless ️🌊✨ Nodes

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

Random Prompt Selector Description

Randomly selects prompts from a list to enhance creativity and variability in AI art.

Random Prompt Selector:

The Random_Prompt_Selector node is designed to enhance creativity and variability in AI art generation by randomly selecting a prompt from a list of provided options. This node is particularly useful for artists looking to introduce an element of surprise or randomness into their work, ensuring that each execution can yield a different creative direction. By leveraging a seed value, the node can produce reproducible randomness, allowing artists to revisit and refine specific outcomes. This feature is especially beneficial for iterative design processes where consistency is desired alongside variability. The node's primary function is to take a multiline string of prompts and select one at random, providing a simple yet powerful tool for diversifying artistic inspiration.

Random Prompt Selector Input Parameters:

prompts

The prompts parameter is a multiline string input where you can list various prompts, each on a new line. This parameter serves as the pool from which the node will randomly select a prompt. The more prompts you provide, the greater the variety of potential outputs. This parameter is essential for defining the scope of randomness and creativity in your project. The default value is "Prompt A\nPrompt B\nPrompt C", allowing you to start with a basic set of options.

seed

The seed parameter is an integer that controls the randomness of the prompt selection. By setting a specific seed value, you can ensure that the random selection process is reproducible, meaning the same seed will always yield the same prompt selection. This is particularly useful for maintaining consistency across different runs or for revisiting specific outcomes. The seed value ranges from 0 to 2^32

  • 1, with a default value of 0.

Random Prompt Selector Output Parameters:

selected_prompt

The selected_prompt output is a string that represents the randomly chosen prompt from the list provided in the prompts input. This output is crucial as it determines the direction of the AI art generation process. By varying the input prompts and seed, you can explore a wide range of creative possibilities, making this output a key component in the iterative design process.

Random Prompt Selector Usage Tips:

  • To maximize the creative potential of the Random_Prompt_Selector, provide a diverse and extensive list of prompts. This will increase the variety of possible outputs and inspire more unique artistic directions.
  • Use the seed parameter strategically to explore different outcomes. By changing the seed value, you can experiment with new prompt selections while maintaining the ability to reproduce specific results when needed.

Random Prompt Selector Common Errors and Solutions:

Empty prompt list

  • Explanation: This error occurs when the prompts input is empty or contains only whitespace, resulting in no available prompts to select from.
  • Solution: Ensure that the prompts input contains valid, non-empty lines. Add a variety of prompts to the list to avoid this issue.

Seed value out of range

  • Explanation: This error happens when the seed value provided is outside the acceptable range of 0 to 2^32 - 1.
  • Solution: Verify that the seed value is within the specified range. Adjust the seed to a valid integer within the allowed limits.

Random Prompt Selector Related Nodes

Go back to the extension to check out more related nodes.
Endless ️🌊✨ 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 Models, enabling artists to harness the latest AI tools to create incredible art.