batch_merge_models
Merge a base model with multiple target models in one batch operation, choosing merge methods and alpha strength, and wait for completion.
Instructions
Merge a base model with multiple target models in batch. Waits for completion.
Args:
model_type: Model architecture — "sd15" or "sdxl"
base_model: Base model checkpoint filename
target_models: List of target model checkpoint filenames
method: Merge method — "linear", "slerp", "additive", or "subtract"
alpha: Merge strength (0.0-1.0)
output_subdir: Output subdirectory name for merged models
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_subdir | No | batch_merged | |
| target_models | Yes | ||
| preserve_metadata | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |