ComfyUI  >  Nodes  >  DynamicPrompts Custom Nodes >  I'm Feeling Lucky

ComfyUI Node: I'm Feeling Lucky

Class Name

DPFeelingLucky

Category
Dynamic Prompts
Author
adieyal (Account age: 5025 days)
Extension
DynamicPrompts Custom Nodes
Latest Updated
6/25/2024
Github Stars
0.2K

How to Install DynamicPrompts Custom Nodes

Install this extension via the ComfyUI Manager by searching for  DynamicPrompts Custom Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter DynamicPrompts Custom 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

I'm Feeling Lucky Description

Generate unique and creative AI art prompts with randomness and surprise to inspire fresh ideas and break creative blocks.

I'm Feeling Lucky:

The DPFeelingLucky node is designed to generate creative and unexpected prompts for AI art generation. Leveraging the FeelingLuckyGenerator, this node introduces an element of randomness and surprise into the prompt creation process, making it ideal for artists looking to explore new and uncharted creative directions. By utilizing a random prompt generator, it ensures that each generated prompt is unique and can inspire fresh ideas. This node is particularly useful for breaking out of creative blocks or when you want to experiment with new concepts without having to manually craft each prompt.

I'm Feeling Lucky Input Parameters:

text

This parameter takes a string input that serves as the base text for generating the prompt. The text you provide will be used as a seed to create a new, randomized prompt. If the text is left empty, the node will return an empty string. This parameter is essential for guiding the direction of the generated prompt while still allowing for a high degree of randomness.

seed

The seed parameter is an integer that sets the initial state of the random number generator. By specifying a seed, you can ensure that the same prompt is generated each time for a given text input, which is useful for reproducibility. If the seed is set to a value greater than 0, it will be used to initialize the random generator. Otherwise, the generator will use a random seed. This parameter helps in controlling the randomness to some extent.

autorefresh

This parameter is a string that can be set to either "Yes" or "No". When set to "Yes", the node will force re-evaluation and generate a new prompt each time, even if the input text remains the same. This is useful for continuously generating new ideas without manual intervention. When set to "No", the node will not re-evaluate unless the input text changes. This parameter is useful for controlling the frequency of prompt updates.

I'm Feeling Lucky Output Parameters:

STRING

The output of the DPFeelingLucky node is a single string that contains the generated prompt. This prompt is the result of the FeelingLuckyGenerator processing the input text and applying a layer of randomness to create a unique and inspiring prompt. The output string can be directly used in AI art generation tools to guide the creation of new artworks.

I'm Feeling Lucky Usage Tips:

  • Use a meaningful base text in the text parameter to guide the direction of the generated prompt while still allowing for creative randomness.
  • Set the seed parameter to a specific value if you want to reproduce the same prompt in future sessions.
  • Enable autorefresh by setting it to "Yes" if you want to continuously generate new prompts without changing the input text.

I'm Feeling Lucky Common Errors and Solutions:

Exception: <error_message>

  • Explanation: This error occurs when there is an issue with generating the prompt, possibly due to an invalid input or an internal error in the generator.
  • Solution: Check the input text to ensure it is not empty and is formatted correctly. If the problem persists, try using a different seed value or setting autorefresh to "Yes" to force a new evaluation. Additionally, consult the log for more detailed error information.

I'm Feeling Lucky Related Nodes

Go back to the extension to check out more related nodes.
DynamicPrompts Custom Nodes
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.