ComfyUI > Nodes > WAS Node Suite > Text Random Prompt

ComfyUI Node: Text Random Prompt

Class Name

Text Random Prompt

Category
WAS Suite/Text
Author
WASasquatch (Account age: 4688days)
Extension
WAS Node Suite
Latest Updated
2024-08-25
Github Stars
1.07K

How to Install WAS Node Suite

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

Text Random Prompt Description

Generates random text prompts based on search seed for AI artists using Lexica Art database.

Text Random Prompt:

The Text Random Prompt node is designed to generate a random text prompt based on a given search seed. This node is particularly useful for AI artists looking to explore new and creative ideas by leveraging the vast database of prompts available on Lexica Art. By providing a search seed, the node queries the Lexica Art API to fetch a list of related images and their associated prompts. If no search seed is provided, the node randomly selects from a predefined list of categories such as portrait, landscape, anime, superhero, animal, nature, and scenery. This functionality allows you to quickly generate diverse and inspiring prompts, aiding in the creative process and helping to overcome creative blocks.

Text Random Prompt Input Parameters:

search_seed

The search_seed parameter is a string input that serves as the keyword for querying the Lexica Art API. When a specific search seed is provided, the node uses it to fetch related prompts from the Lexica Art database. If the search seed is left empty or contains only whitespace, the node will randomly select a category from a predefined list to generate the prompt. This parameter does not have minimum or maximum values, but it should be a meaningful string to yield relevant results. The default behavior when this parameter is not provided is to select a random category.

Text Random Prompt Output Parameters:

TEXT_TYPE

The output parameter of this node is of type TEXT_TYPE, which represents the generated text prompt. This prompt is derived from the Lexica Art API based on the provided search seed or a randomly selected category. The output is a single string that can be used as a creative prompt for various AI art projects. The generated prompt is designed to inspire and guide the creative process, providing a starting point for generating artwork or other creative content.

Text Random Prompt Usage Tips:

  • To get the most relevant prompts, provide a specific and meaningful search seed related to the theme or subject you are interested in.
  • If you are looking for random inspiration, leave the search seed empty or use a common keyword to explore a wide range of prompts from different categories.
  • Use the generated prompts as a starting point for your creative projects, and feel free to modify or expand upon them to suit your artistic vision.

Text Random Prompt Common Errors and Solutions:

404 not found error

  • Explanation: This error occurs when the Lexica Art API does not return any images for the given search seed.
  • Solution: Try using a different search seed or leave the search seed empty to allow the node to select a random category.

Unable to establish connection to Lexica API

  • Explanation: This error indicates that the node was unable to connect to the Lexica Art API, possibly due to network issues or API downtime.
  • Solution: Check your internet connection and try again later. If the issue persists, verify that the Lexica Art API is operational.

Text Random Prompt Related Nodes

Go back to the extension to check out more related nodes.
WAS Node Suite
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.