merge_models
Merge two stable diffusion checkpoints into a new model by selecting a method (linear, slerp, additive, subtract) and adjusting alpha blend strength.
Instructions
Merge two model checkpoints. Submits the job and waits for completion.
Args:
model_type: Model architecture — "sd15" or "sdxl"
base_model: Base model checkpoint filename
target_model: Target model checkpoint filename
output_name: Output checkpoint filename for the merged model
method: Merge method — "linear", "slerp", "additive", or "subtract"
alpha: Merge strength (0.0-1.0)
preserve_metadata: Whether to preserve model metadata
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| method | No | linear | |
| base_model | Yes | ||
| model_type | Yes | ||
| output_name | Yes | ||
| target_model | Yes | ||
| preserve_metadata | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |