ComfyUI > Nodes > ComfyUI_LayerStyle_Advance > LayerUtility: PromptEmbellish(Advance)

ComfyUI Node: LayerUtility: PromptEmbellish(Advance)

Class Name

LayerUtility: PromptEmbellish

Category
😺dzNodes/LayerUtility/Prompt
Author
chflame163 (Account age: 701days)
Extension
ComfyUI_LayerStyle_Advance
Latest Updated
2025-03-09
Github Stars
0.18K

How to Install ComfyUI_LayerStyle_Advance

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

LayerUtility: PromptEmbellish(Advance) Description

Enhance text prompts for AI image generation with detailed embellishments for high-quality results.

LayerUtility: PromptEmbellish(Advance):

The LayerUtility: PromptEmbellish node is designed to enhance and refine text prompts for use in AI-driven image generation, particularly with models like Stable Diffusion. This node takes a basic description or concept and embellishes it into a more detailed and polished prompt, suitable for generating high-quality images. By leveraging advanced generative models, it can translate and modify input descriptions, ensuring they are well-suited for the intended visual output. This process involves multiple steps, including translation if necessary, and the generation of a comprehensive prompt that adheres to specified token limits. The node is particularly useful for artists and creators looking to transform simple ideas into rich, descriptive prompts that can guide AI models to produce more accurate and visually appealing results.

LayerUtility: PromptEmbellish(Advance) Input Parameters:

api

The api parameter specifies the generative model to be used for processing the prompt. You can choose from options like gemini-1.5-flash and gemini-pro-vision. This selection determines the model's capabilities and influences the quality and style of the generated prompt.

token_limit

The token_limit parameter sets the maximum number of tokens for the generated prompt. It accepts integer values ranging from 2 to 1024, with a default of 40. This parameter controls the length and detail of the output, allowing you to tailor the prompt's verbosity to your needs.

describe

The describe parameter is a string input where you provide the initial description or concept for the prompt. It can be a simple idea or a detailed description, and it supports multiline input. This parameter serves as the foundation for the embellishment process, guiding the node in generating a refined prompt.

image

The image parameter is optional and allows you to provide an image as a reference for the prompt generation. This can help the node tailor the prompt to better match the visual characteristics of the provided image, enhancing the relevance and accuracy of the output.

LayerUtility: PromptEmbellish(Advance) Output Parameters:

text

The text output parameter is a string that contains the embellished prompt generated by the node. This refined prompt is designed to be used with AI models like Stable Diffusion to produce high-quality images. It incorporates the input description, any necessary translations, and additional embellishments to ensure it is detailed and effective for image generation.

LayerUtility: PromptEmbellish(Advance) Usage Tips:

  • To achieve the best results, provide a clear and concise description in the describe parameter. This will help the node generate a more accurate and relevant prompt.
  • Experiment with different token_limit values to find the optimal balance between prompt detail and brevity, depending on your specific needs and the capabilities of the AI model you are using.

LayerUtility: PromptEmbellish(Advance) Common Errors and Solutions:

"Invalid API selection"

  • Explanation: This error occurs when an unsupported or incorrect API option is selected.
  • Solution: Ensure that you select a valid API option from the provided list, such as gemini-1.5-flash or gemini-pro-vision.

"Token limit out of range"

  • Explanation: This error indicates that the specified token limit is outside the acceptable range.
  • Solution: Adjust the token_limit parameter to be within the range of 2 to 1024.

"Empty description"

  • Explanation: This error arises when the describe parameter is left empty, preventing the node from generating a prompt.
  • Solution: Provide a valid description or concept in the describe parameter to enable the prompt embellishment process.

LayerUtility: PromptEmbellish(Advance) Related Nodes

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