From 787813ab980e49593fe80b225da7434e01ad4d97 Mon Sep 17 00:00:00 2001
From: Qianyi Zhao <49068354+Qing112@users.noreply.github.com>
Date: Tue, 5 Nov 2024 23:51:29 -0600
Subject: [PATCH] Update MultiControlnet.md
---
docs/source/creating/MultiControlnet.md | 52 ++++++++++---------------
1 file changed, 20 insertions(+), 32 deletions(-)
diff --git a/docs/source/creating/MultiControlnet.md b/docs/source/creating/MultiControlnet.md
index a366502..0ab5267 100644
--- a/docs/source/creating/MultiControlnet.md
+++ b/docs/source/creating/MultiControlnet.md
@@ -44,15 +44,13 @@ image_2 = pipe(
)
image_2.save("image_6.jpg")
```
-|
|
|
-|-|-|
-
+
ControlNet 对于结构的控制力度是可以调节的,例如在下面这里例子中,我们把小姐姐从夏天移动到冬天时,适当调低 ControlNet 的控制力度,模型就会根据画面内容作出调整,为小姐姐换上温暖的衣服。
@@ -92,13 +90,11 @@ image_2 = pipe(
image_2.save("image_8.jpg")
```
-|
|
|
-|-|-|
-
+
## Upscaler/Tile/Blur: 高清图像生成
@@ -138,13 +134,11 @@ image_2 = pipe(
image_2.save("image_2.jpg")
```
-|
|
|
-|-|-|
-
+
```python
model_manager = ModelManager(torch_dtype=torch.bfloat16, model_id_list=["FLUX.1-dev", "jasperai/Flux.1-dev-Controlnet-Upscaler"])
@@ -171,14 +165,11 @@ image_2 = pipe(
image_2.save("image_4.jpg")
```
-|
|
|
-|-|-|
-
-
+
## Inpaint: 局部重绘
@@ -219,14 +210,13 @@ image_2 = pipe(
image_2.save("image_10.jpg")
```
-|
|
|
|
-|-|-|-|
+
但是我们注意到,猫猫的头部动作发生了变化,如果我们想要保留原来的结构特征,可以使用 canny、depth、normal 模型,DiffSynth-Studio 为不同结构的 ControlNet 提供了无缝的兼容支持。配合一个 normal ControlNet,我们可以保证局部重绘时画面结构不变。
@@ -274,14 +264,12 @@ image_2 = pipe(
image_2.save("image_12.jpg")
```
-|
|
|
|
-|-|-|-|
-
+
## MultiControlNet+MultiDiffusion: 精细的高阶控制
@@ -298,7 +286,7 @@ DiffSynth-Studio 不仅支持多个不同结构的 ControlNet 同时生效,还
分两个区域进行控制:
|Prompt: an orange cat, highly detailed|Prompt: a girl wearing a red camisole|
-|-|-|
+|:-:|:-:|
|||
生成的结果: