Visit ComfyUI Online for ready-to-use ComfyUI environment
Blend AI models with specified ratios for versatile model creation and customization.
The ModelMergeBlocks
node is designed to facilitate the merging of two AI models by blending their respective components based on specified ratios. This node is particularly useful for AI artists who want to combine the strengths of different models to create a more versatile and powerful model. By adjusting the blending ratios, you can fine-tune the influence of each model on the final merged output, allowing for a high degree of customization and control over the resulting model's behavior and performance. The primary function of this node is to clone the first model and then integrate key patches from the second model, adjusting the blend ratios as specified by the user.
This parameter represents the first model to be merged. It serves as the base model that will be cloned and modified. The type of this parameter is MODEL
.
This parameter represents the second model to be merged. Key patches from this model will be integrated into the first model. The type of this parameter is MODEL
.
This parameter controls the blending ratio for the input
components of the models. It determines how much influence the input
components of model2
will have on the final merged model. The value ranges from 0.0 to 1.0, with a default value of 1.0 and a step size of 0.01.
This parameter controls the blending ratio for the middle
components of the models. It determines how much influence the middle
components of model2
will have on the final merged model. The value ranges from 0.0 to 1.0, with a default value of 1.0 and a step size of 0.01.
This parameter controls the blending ratio for the out
components of the models. It determines how much influence the out
components of model2
will have on the final merged model. The value ranges from 0.0 to 1.0, with a default value of 1.0 and a step size of 0.01.
The output parameter is the merged model, which is a combination of model1
and model2
based on the specified blending ratios. This merged model retains the structure of model1
but incorporates key patches from model2
as per the blending ratios provided. The type of this parameter is MODEL
.
input
, middle
, and out
to achieve the desired balance between the two models.diffusion_model.
.MODEL
.model1
and model2
are of the correct type MODEL
before attempting to merge them.© Copyright 2024 RunComfy. All Rights Reserved.