start_end, end_at examples
@@ -0,0 +1,47 @@
|
||||
## Start At and End At parameters usage
|
||||
|
||||
### start_at
|
||||
|
||||
Let's start with a ELLA outpaint [workflow](example/BrushNet_with_ELLA.json) and switch off Blend Inpaint node:
|
||||
|
||||

|
||||
|
||||
For this example I use "wargaming shop showcase" prompt, `dpmpp_2m` deterministic sampler and `karras` scheduler with 15 steps. This is the result:
|
||||
|
||||

|
||||
|
||||
The `start_at` BrushNet node parameter allows us to delay BrushNet inference for some steps, so the base model will do all the job. Let's see what the result will be without BrushNet. For this I set up `start_at` parameter to 20 - it should be more then `steps` in KSampler node:
|
||||
|
||||

|
||||
|
||||
So, if we apply BrushNet from the beginning (`start_at` equals 0), the resulting scene will be heavily influenced by BrushNet image. The more we increase this parameter, the more scene will be based on prompt. Let's compare:
|
||||
|
||||
| `start_at` = 1 | `start_at` = 2 | `start_at` = 3 |
|
||||
|:--------------:|:--------------:|:--------------:|
|
||||
|  |  |  |
|
||||
| `start_at` = 4 | `start_at` = 5 | `start_at` = 6 |
|
||||
|  |  |  |
|
||||
| `start_at` = 7 | `start_at` = 8 | `start_at` = 9 |
|
||||
|  |  |  |
|
||||
|
||||
Look how the floor is aligned with toy's base - at some step it looses consistency. The results will depend on type of sampler and number of KSampler steps, of course.
|
||||
|
||||
### end_at
|
||||
|
||||
The `end_at` parameter switches off BrushNet at the last steps. If you use deterministic sampler it will only influences details on last steps, but stochastic samplers can change the whole scene. For a description of samplers see, for example, Matteo Spinelli's [video on ComfyUI basics](https://youtu.be/_C7kR2TFIX0?t=516).
|
||||
|
||||
Here I use basic BrushNet inpaint [example](example/BrushNet_basic.json), with "intricate teapot" prompt, `dpmpp_2m` deterministic sampler and `karras` scheduler with 15 steps:
|
||||
|
||||

|
||||
|
||||
There are almost no changes when we set 'end_at' paramter to 10, but starting from it:
|
||||
|
||||
| `start_at` = 10 | `start_at` = 9 | `start_at` = 8 |
|
||||
|:--------------:|:--------------:|:--------------:|
|
||||
|  |  |  |
|
||||
| `start_at` = 7 | `start_at` = 6 | `start_at` = 5 |
|
||||
|  |  |  |
|
||||
| `start_at` = 4 | `start_at` = 3 | `start_at` = 2 |
|
||||
|  |  |  |
|
||||
|
||||
You can see how the scene was completely redrawn.
|
||||
@@ -71,6 +71,8 @@ Below is an example for the intended workflow. The [workflow](example/BrushNet_b
|
||||
- `start_at`, defaults to 0: step at which the BrushNet starts applying.
|
||||
- `end_at`, defaults to 10000: step at which the BrushNet stops applying.
|
||||
|
||||
[Here](PARAMS.md) are examples of use these two last parameters.
|
||||
|
||||
#### PowerPaint
|
||||
|
||||
- `CLIP`: PowerPaint CLIP that should be passed from PowerPaintCLIPLoader node.
|
||||
|
||||
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 555 KiB |
|
After Width: | Height: | Size: 526 KiB |
|
After Width: | Height: | Size: 521 KiB |
|
After Width: | Height: | Size: 1.6 MiB |
|
After Width: | Height: | Size: 452 KiB |
|
After Width: | Height: | Size: 452 KiB |
|
After Width: | Height: | Size: 450 KiB |
|
After Width: | Height: | Size: 446 KiB |
|
After Width: | Height: | Size: 445 KiB |
|
After Width: | Height: | Size: 442 KiB |
|
After Width: | Height: | Size: 439 KiB |
|
After Width: | Height: | Size: 440 KiB |
|
After Width: | Height: | Size: 410 KiB |
|
After Width: | Height: | Size: 420 KiB |
|
After Width: | Height: | Size: 515 KiB |
|
After Width: | Height: | Size: 442 KiB |
|
After Width: | Height: | Size: 452 KiB |
|
After Width: | Height: | Size: 456 KiB |
|
After Width: | Height: | Size: 466 KiB |
|
After Width: | Height: | Size: 534 KiB |
|
After Width: | Height: | Size: 532 KiB |