Visit ComfyUI Online for ready-to-use ComfyUI environment
Initialize and configure image processing pipeline parameters for Fooocus framework.
The Fooocus Loader node is designed to initialize and configure the pipeline for various image processing tasks within the Fooocus framework. It serves as the foundational setup node that prepares the necessary parameters and settings for subsequent nodes to function correctly. By defining key attributes such as resolution, prompts, and optional configurations, the Fooocus Loader ensures that the pipeline is tailored to your specific needs, enabling efficient and effective image generation and manipulation. This node is essential for setting up the environment and parameters that other nodes in the Fooocus suite will utilize, making it a critical component for achieving desired artistic outcomes.
The resolution
parameter specifies the dimensions of the output image. It can be set to predefined values or customized by specifying the width and height in the format "width x height". If set to "自定义 x 自定义", custom dimensions must be provided through empty_latent_width
and empty_latent_height
. This parameter directly impacts the size and detail of the generated image.
This parameter defines the width of the latent space when a custom resolution is used. It is only required if resolution
is set to "自定义 x 自定义". The width determines the horizontal dimension of the image in the latent space, affecting the overall aspect ratio and detail.
Similar to empty_latent_width
, this parameter specifies the height of the latent space for custom resolutions. It is necessary when resolution
is "自定义 x 自定义". The height influences the vertical dimension of the image in the latent space, contributing to the aspect ratio and detail.
The positive
parameter is used to input the positive prompt, which guides the image generation process towards desired features and elements. This prompt helps in emphasizing specific aspects or styles in the generated image.
The negative
parameter allows you to input the negative prompt, which helps in avoiding unwanted features or elements in the generated image. This prompt is useful for steering the image generation away from certain characteristics.
This parameter accepts a list of optional LoRA (Low-Rank Adaptation) models that can be stacked to influence the image generation process. These models can provide additional stylistic or functional adjustments to the output.
The ui
output parameter provides a dictionary containing the positive
and negative
prompts. This output is useful for verifying the prompts used in the pipeline and ensuring they are correctly set.
The result
output parameter returns a tuple containing the configured pipeline dictionary. This dictionary includes all the parameters and settings defined in the Fooocus Loader, which will be used by subsequent nodes in the pipeline to generate and manipulate images.
resolution
parameter is correctly set to match your desired output dimensions. If using custom dimensions, provide accurate values for empty_latent_width
and empty_latent_height
.positive
and negative
prompts effectively to guide the image generation process towards desired features and away from unwanted elements.optional_lora_stack
to apply additional stylistic or functional adjustments to the generated images, enhancing the final output.resolution
parameter is not in the correct format "width x height".resolution
is specified in the correct format, or provide valid values for empty_latent_width
and empty_latent_height
if using custom dimensions.© Copyright 2024 RunComfy. All Rights Reserved.