Visit ComfyUI Online for ready-to-use ComfyUI environment
Specify prompts for specific areas within frames at different keyframes for detailed control in AI art projects.
The DeforumAreaPromptNode is designed to allow you to specify prompts for specific areas within a frame at different keyframes. This node is particularly useful for creating complex animations where different parts of the image need to be influenced by different prompts over time. By defining prompts for specific areas, you can achieve more detailed and localized control over the generated content, enhancing the creative possibilities for your AI art projects. The node ensures that these area-specific prompts are integrated seamlessly into the overall deforum data, making it easier to manage and edit your prompts as needed.
This parameter specifies the keyframe at which the area prompt should be applied. It determines the exact frame in the animation timeline where the prompt will take effect. The value should be an integer, with a minimum of 0 and a maximum of 8192, and the default value is 0.
This parameter defines the mode of the area prompt. It can take one of the following options: "default", "percentage", or "strength". Each mode affects how the prompt influences the specified area, allowing for different types of control over the generated content.
This parameter is the text prompt that will be applied to the specified area. It is a string that can be multiline, allowing for detailed and complex prompts. The default value is an empty string, but it can be customized to fit the specific needs of your project.
This parameter specifies the width of the area where the prompt will be applied. It is an integer value with a minimum of 64 and a maximum defined by the maximum resolution of your project. The default value is 64, and it should be adjusted based on the size of the area you want to influence.
This parameter specifies the height of the area where the prompt will be applied. Similar to the width parameter, it is an integer value with a minimum of 64 and a maximum defined by the maximum resolution of your project. The default value is 64, and it should be adjusted based on the size of the area you want to influence.
This parameter defines the x-coordinate of the top-left corner of the area where the prompt will be applied. It is an integer value with a minimum of 0 and a maximum defined by the maximum resolution of your project. The default value is 0, and it should be adjusted to position the area correctly within the frame.
This parameter defines the y-coordinate of the top-left corner of the area where the prompt will be applied. It is an integer value with a minimum of 0 and a maximum defined by the maximum resolution of your project. The default value is 0, and it should be adjusted to position the area correctly within the frame.
This parameter specifies the strength of the prompt's influence on the specified area. It is a float value with a minimum of 0.0 and a maximum of 10.0, with a default value of 1.0. Adjusting this value allows you to control how strongly the prompt affects the area, providing finer control over the generated content.
This optional parameter allows you to pass existing deforum data to the node. It is useful for integrating the area prompt into an existing set of prompts and data, ensuring seamless management and editing of your prompts.
The output parameter is a dictionary containing the updated deforum data with the specified area prompts integrated. This data structure includes all the prompts and their associated keyframes and areas, making it easy to manage and edit your prompts as needed. The output ensures that the area-specific prompts are correctly applied and can be used in subsequent nodes or processes.
© Copyright 2024 RunComfy. All Rights Reserved.