Visit ComfyUI Online for ready-to-use ComfyUI environment
Enhance text prompts for AI art generation with detailed embellishments and language refinement.
The LayerUtility: PromptEmbellish node is designed to enhance and refine text prompts for use in AI art generation, specifically with Stable Diffusion. This node takes an initial prompt and embellishes it by adding descriptive details and polishing the language to create a more vivid and detailed prompt. This process helps in generating more accurate and visually appealing images by providing the AI with a richer and more nuanced description. The node can handle additional descriptive input and can translate non-English descriptions into English, ensuring that the final prompt is both detailed and coherent. The main goal of this node is to transform simple or rough prompts into well-crafted, elaborate descriptions that can significantly improve the quality of the generated images.
The api
parameter is used to interface with the generative model, such as gemini-pro
. This parameter is essential for the node to communicate with the model and generate the embellished prompt. It does not have a specific range or default value as it depends on the implementation and the model being used.
The token_limit
parameter defines the minimum number of words or tokens that the final embellished prompt should contain. This ensures that the generated prompt is sufficiently detailed. The exact minimum and maximum values are not specified, but it should be set according to the desired level of detail in the prompt. For example, a higher token limit will result in a more elaborate description.
The describe
parameter allows you to provide additional descriptive input that you want to be included in the final prompt. If this parameter is not empty, the node will ensure that the provided description is incorporated into the embellished prompt. This can be particularly useful for emphasizing specific elements or themes in the generated image. There is no specific range or default value for this parameter.
The image
parameter is optional and can be used to provide an image that the node will use as a reference for generating the prompt. If an image is provided, the node will describe the image and incorporate this description into the final prompt. This helps in creating prompts that are closely aligned with the visual content of the provided image. There is no specific range or default value for this parameter.
The ret_text
parameter is the final embellished prompt generated by the node. This output is a detailed and polished text description that can be used directly with Stable Diffusion to generate images. The ret_text
is crafted to be rich in detail and coherent, ensuring that the AI has a clear and vivid description to work with, which can significantly enhance the quality of the generated images.
token_limit
values to find the right balance between detail and brevity. A higher token limit will result in a more elaborate prompt, which can be useful for complex scenes.image
parameter. This will help the node generate a prompt that closely matches the visual content of the image.gemini-pro
model.gemini-pro
model is accessible and properly configured.token_limit
parameter is set to an invalid value.token_limit
is set to a positive integer that reflects the desired level of detail in the prompt.describe
parameter is expected but not provided.describe
parameter if you want to include specific descriptions in the final prompt.image
parameter is provided but the image cannot be found or accessed.© Copyright 2024 RunComfy. All Rights Reserved.