Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates loading and configuring various models in Storydiffusion framework for easy management and switching between setups.
The Storydiffusion_Model_Loader
node is designed to facilitate the loading and configuration of various models used in the Storydiffusion framework. This node allows you to specify different types of models, checkpoints, and configurations, making it easier to manage and switch between different model setups. It supports loading Stable Diffusion models, Photomaker models, and LoRA (Low-Rank Adaptation) models, among others. By providing a streamlined interface for model loading, this node helps you focus on creating and experimenting with AI-generated art without worrying about the underlying technical complexities. The main goal of this node is to simplify the process of model management, enabling you to quickly set up and use different models for your creative projects.
This parameter specifies the type of Stable Diffusion model to be loaded. It accepts a list of model types defined in a YAML configuration. The choice of model type impacts the style and quality of the generated images.
This parameter allows you to select the checkpoint file for the model. It pulls from a list of available checkpoint files in the specified directory. The checkpoint file contains the pre-trained weights of the model, which are crucial for generating high-quality images.
This parameter lets you choose a Photomaker model from a list of available models. The Photomaker models are specialized for generating photorealistic images. You can select "none" if you do not wish to use a Photomaker model.
This parameter allows you to select a LoRA model from a list of available models. LoRA models are used for fine-tuning and adapting the base model to specific tasks or styles. You can select "none" if you do not wish to use a LoRA model.
This parameter controls the scaling factor for the LoRA model. It is a floating-point value that adjusts the influence of the LoRA model on the base model. The default value is 0.8, with a minimum of 0.1 and a maximum of 1.0.
This parameter specifies the scheduler to be used for the diffusion process. Different schedulers can impact the speed and quality of image generation. The available options are defined in a list.
This parameter allows you to specify trigger words that can influence the generated images. These words act as prompts that guide the model in generating specific styles or content. The default value is "best quality".
This parameter specifies the type of model to be used, such as "Photomaker" or "original". The choice of model type affects the overall behavior and capabilities of the node.
This parameter is an integer that serves as an identifier for the model configuration. It has a default value of 2, with a minimum of 1 and a maximum of 2.
This parameter controls the degree of self-attention at a 32x32 resolution. It is a floating-point value with a default of 0.5, a minimum of 0.0, and a maximum of 1.0.
This parameter controls the degree of self-attention at a 64x64 resolution. It is a floating-point value with a default of 0.5, a minimum of 0.0, and a maximum of 1.0.
This parameter specifies the height of the generated images. It is an integer value with a default of 768 pixels, a minimum of 256 pixels, and a maximum of 2048 pixels.
This parameter specifies the width of the generated images. It is an integer value with a default of 768 pixels, a minimum of 256 pixels, and a maximum of 2048 pixels.
This output parameter is the loaded model pipeline. It contains the configured model ready for generating images based on the specified parameters. The pipeline includes all necessary components like the UNet, VAE, and scheduler.
This output parameter provides information about the loaded model. It includes details such as the model type, checkpoint used, and any additional configurations applied. This information is useful for keeping track of the model setup and for debugging purposes.
lora_scale
values to fine-tune the influence of the LoRA model on the base model.trigger_words
to guide the model in generating images that match your desired style or content.sa32_degree
and sa64_degree
parameters to control the level of detail and self-attention in the generated images.ckpt_name
parameter is correctly set.sd_type
parameter is set to a valid model type as defined in the YAML configuration.lora
parameter is correctly set and that the lora_path
is valid.img_height
and img_width
parameters to values within the allowed range (256 to 2048 pixels).scheduler
parameter is set to a valid option and that the scheduler configuration is correct.© Copyright 2024 RunComfy. All Rights Reserved.