Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates prompt creation and management for AI-generated art in Deforum, streamlining input parsing and formatting for dynamic art sequences.
The DeforumPromptNode is designed to facilitate the creation and management of prompts for AI-generated art within the Deforum framework. This node allows you to input a series of prompts, which are then parsed and formatted into a structured dictionary. This functionality is particularly useful for artists who want to automate the generation of art based on specific prompts at different keyframes. By converting a simple string input into a more complex data structure, the DeforumPromptNode streamlines the process of managing multiple prompts, making it easier to create intricate and dynamic art sequences.
The prompts
parameter is a multiline string input where you can specify your prompts along with their corresponding keyframes. Each line should follow the format keyframe:'prompt'
, where keyframe
is an integer representing the frame number and prompt
is the text prompt to be used at that frame. This parameter allows you to define multiple prompts at different keyframes, enabling the creation of dynamic and evolving art sequences. The default value is 0:'Cat Sushi'
, and it does not require forced input.
The deforum_data
parameter is optional and accepts a pre-existing data structure of type deforum_data
. This parameter allows you to pass in previously formatted prompt data, which can be useful for editing or appending to existing prompts. If provided, the node will integrate the new prompts with the existing data, ensuring a seamless update to your prompt sequence.
The deforum_data
output parameter is a dictionary that contains the formatted prompts. This dictionary maps keyframes to their corresponding prompts, making it easy to manage and reference the prompts throughout the art generation process. The output is crucial for downstream nodes that require structured prompt data to generate art based on the specified keyframes and prompts.
prompts
input follows the correct format keyframe:'prompt'
to avoid parsing errors.deforum_data
parameter to edit or append to existing prompt sequences, allowing for more flexible and iterative art creation.prompts
input does not follow the correct format keyframe:'prompt'
.prompts
input is correctly formatted with a keyframe and a prompt separated by a colon.prompts
input.prompts
input.deforum_data
parameter is provided but does not contain the expected structure.deforum_data
parameter, if provided, contains a valid dictionary structure with the key prompts
.© Copyright 2024 RunComfy. All Rights Reserved.