---
title: "chilled_re_generic: 炼成你自己 ChilloutMix 模型"
date: 2023-03-11T19:08:52.000Z
author: Z.SHINCHVEN
tags: [Stable Diffusion, Stable Diffusion Web UI, Stable Diffusion Web UI Colab, chilloutmix]
canonical: https://atlassc.net/2023/03/11/chilled-re-generic-cn
---
由[TASUKU2023](https://twitter.com/TASUKU2023)创建的`chilloutmix`模型因生成亚洲女性的像逼真而美观而备受欢迎。

该模型本身并非免费商用。幸运的是，通过其[配方](https://twitter.com/orange_mixer_y/status/1632319367181656064)，您可以创建自己的模型以避免许可问题。

实际上，`chilloutmix`模型是从几个其他模型合并而来的。

本文将向您展示如何借助[Stable Diffusion Web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui)帮助合并自己的`chilloutmix`模型。

如果您没有强大的电脑，也可以使用[Stable Diffusion Web UI Colab](https://github.com/camenduru/stable-diffusion-webui-colab)进行操作。

## 准备

要合并您自己的“chilloutmix”模型，您需要以下模型：
- [LOFI](https://civitai.com/models/9052/lofi)
- [Colorful](https://civitai.com/models/7279/colorful)
- [Muse V1](https://civitai.com/models/13564/musev1)
- [basil_mix](https://huggingface.co/nuigurumi/basil_mix)

为了生成具有复杂细节的高质量图像，`basil_mix`文档建议使用[VAE](https://huggingface.co/stabilityai/sd-vae-ft-mse-original)来训练模型。我们可以用它来烘焙我们的模型。

以下是在 `Colab` 中下载这些模型的脚本：

```ipynb
# Download stable diffusion models
%cd /content/stable-diffusion-webui/models/Stable-diffusion/
!wget https://civitai.com/api/download/models/14840 -O lofi_V2pre.safetensors
!wget https://civitai.com/api/download/models/7279 -O colorful_v21.safetensors
!wget https://huggingface.co/nuigurumi/basil_mix/blob/main/Basil_mix_fixed.safetensors -O basil_mix_fixed.safetensors
!wget https://civitai.com/api/download/models/15980 -O museV1_v1.safetensors

# Download VAE model
!mkdir -p /content/stable-diffusion-webui/models/VAE
%cd /content/stable-diffusion-webui/models/VAE
!wget https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors -O vae-ft-mse-840000-ema-pruned.safetensors
```

## 在稳定扩散Web UI中使用模型合并器

启动您的 `Stable Diffusion Web UI` 并转到 `Checkpoint Merger` 选项卡。

### Step 1: Merge LOFI and Colorful

- Primary model: Lofi 
- Secondary model: Colorful
- CustomName: LofiColorfulMix
- Multiplier: 0.5
- Interpolation method: Weighted sum
- Checkpoint format: safetensors
- Bake in VAE: vae-ft-mse-840000-ema-pruned.safetensors

### Step 2: Merge Basil

- Primary model: Basil\_mix\_fixed 
- Secondary model: LofiColorfulMix
- CustomName: BasilLofiColorfulMix
- Multiplier: 0.7
- Interpolation method: Weighted sum
- Checkpoint format: safetensors
- Bake in VAE: vae-ft-mse-840000-ema-pruned.safetensors

### Step 3: Merge Muse V1

- Primary model: museV1_v1
- Secondary model: BasilLofiColorfulMix
- CustomName: chilled_re-generic
- Multiplier: 0.6
- Interpolation method: Weighted sum
- Checkpoint format: safetensors
- Bake in VAE: vae-ft-mse-840000-ema-pruned.safetensors

### Succuss 🎉

现在您已经合并了自己的`chilled_re-generic`模型。

## Reference

- [Dummy guide to merge your own ChilledOutMix Re_generic version!](https://twitter.com/orange_mixer_y/status/1632319367181656064)
- [Loading VAE models](https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/3311)
