Skip to content

Model Merge Simple

comfyUI节点- ModelMergeSimple|融合模型

Documentation

  • Class name: ModelMergeSimple
  • Category: advanced/model_merging
  • Output node: False

The ModelMergeSimple node is designed for merging two models by blending their parameters based on a specified ratio. This node facilitates the creation of hybrid models that combine the strengths or characteristics of both input models.

The ratio parameter determines the blending ratio between the two models. When this value is 1, the output model is 100% model1, and when this value is 0, the output model is 100% model2.

Input types

ParameterComfy dtypeDescription
model1MODELThe first model to be merged. It serves as the base model onto which patches from the second model are applied.
model2MODELThe second model whose patches are applied onto the first model, influenced by the specified ratio.
ratioFLOATWhen this value is 1, the output model is 100% model1, and when this value is 0, the output model is 100% model2.

Output types

ParameterComfy dtypeDescription
modelMODELThe resulting merged model, incorporating elements from both input models according to the specified ratio.

Model Merge Simple Workflow Example

For a workflow example of this node, refer to: Model Merging Workflow Example

Load the following image into ComfyUI, you can view the complete workflow, and adjust the ratio value to view different fusion effects.

Example