ComfyUI Node: ⚖ Build Prompt

Class Name

Build Prompt [Dream]

Category
✨ Dream/☯ conditioning
Author
Dream Project (Account age: 669days)
Extension
Dream Project Animation Nodes
Latest Updated
2024-07-01
Github Stars
0.07K

How to Install Dream Project Animation Nodes

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

⚖ Build Prompt Description

Create and manage weighted prompts for AI art projects with precise control and flexibility.

Build Prompt [Dream]:

The Build Prompt [Dream] node is designed to help you create and manage complex prompts for your AI art projects. This node allows you to construct a weighted prompt by combining different text inputs with specified weights, enabling you to fine-tune the influence of each part of the prompt on the final output. By using this node, you can easily experiment with different prompt configurations and achieve more precise control over the generated art. The main goal of this node is to provide a flexible and intuitive way to build prompts that can be adjusted and refined to meet your creative needs.

Build Prompt [Dream] Input Parameters:

partial_prompt

This is an optional input parameter that accepts a PartialPrompt object. If provided, it allows you to build upon an existing prompt, adding new elements to it. This can be useful for iteratively refining your prompt by adding new components without starting from scratch each time.

added_prompt

This required parameter is a string input where you can specify the text to be added to the prompt. It supports multiline input, allowing you to include detailed and complex descriptions. The default value is an empty string. The text you enter here will be combined with the existing prompt (if any) and weighted according to the weight parameter.

weight

This required parameter is a float input that determines the influence of the added_prompt on the final prompt. The default value is 1.0. By adjusting the weight, you can control how strongly the added text affects the overall prompt. Higher weights increase the influence, while lower weights decrease it.

Build Prompt [Dream] Output Parameters:

partial_prompt

The output of this node is a PartialPrompt object. This object represents the combined prompt, including all the text and weights specified through the input parameters. The PartialPrompt can be further processed or finalized using other nodes, allowing you to build complex and nuanced prompts for your AI art projects.

Build Prompt [Dream] Usage Tips:

  • Experiment with different weights for various parts of your prompt to see how they influence the final output. This can help you find the right balance and achieve the desired artistic effect.
  • Use the partial_prompt input to iteratively build and refine your prompt. Start with a basic prompt and gradually add more details and adjustments to enhance the final result.
  • Take advantage of the multiline support in the added_prompt parameter to include detailed descriptions and complex ideas in your prompt.

Build Prompt [Dream] Common Errors and Solutions:

"Invalid weight value"

  • Explanation: The weight parameter must be a float value. If you enter a non-numeric value, this error will occur.
  • Solution: Ensure that the weight parameter is set to a valid float value. For example, use 1.0 instead of "one".

"Empty added_prompt"

  • Explanation: The added_prompt parameter is required and cannot be empty.
  • Solution: Provide a valid string for the added_prompt parameter. If you want to add multiple lines, use the multiline input feature.

"PartialPrompt object not found"

  • Explanation: The partial_prompt parameter is optional, but if provided, it must be a valid PartialPrompt object.
  • Solution: Ensure that the partial_prompt parameter is either left empty or set to a valid PartialPrompt object. If you are chaining nodes, make sure the output from the previous node is correctly connected.

⚖ Build Prompt Related Nodes

Go back to the extension to check out more related nodes.
Dream Project Animation 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.