advanced
model-merging
Model Merge Subtract

Model Merge Subtract

comfyUI节点-ModelMergeSubtract|融合模型(相减)

Documentation

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

This node is designed for advanced model merging operations, specifically to subtract the parameters of one model from another based on a specified multiplier. It enables the customization of model behaviors by adjusting the influence of one model's parameters over another, facilitating the creation of new, hybrid models.

Input types

ParameterComfy dtypeDescription
model1MODELThe base model from which parameters will be subtracted.
model2MODELThe model whose parameters will be subtracted from the base model.
multiplierFLOATA floating-point value that scales the subtraction effect on the base model's parameters.

Output types

ParameterComfy dtypeDescription
modelMODELThe resulting model after subtracting the parameters of one model from another, scaled by the multiplier.