Visit ComfyUI Online for ready-to-use ComfyUI environment
Generates random text prompts based on search seed for AI artists using Lexica Art database.
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.
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.
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.
© Copyright 2024 RunComfy. All Rights Reserved.