forked from carson-katri/dream-textures
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add documentation on various features (carson-katri#252)
- Loading branch information
1 parent
e802bf6
commit f96197c
Showing
25 changed files
with
116 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,14 @@ | ||
# AI Upscaling | ||
Use the Stable Diffusion upscaler to increase images 4x in size while retaining detail. You can guide the upscaler with a text prompt. | ||
Real-ESRGAN is built-in to the addon to upscale any generated image 2-4x the original size. | ||
|
||
> Upscaling uses the model `stabilityai/stable-diffusion-4x-upscaler`. This model will automatically be downloaded when the operator is first run. | ||
> You must setup the Real-ESRGAN weights separately from the Stable Diffusion weights before upscaling. The *AI Upscaling* panel contains instructions for downloading them. | ||
Use the AI Upscaling panel to access this tool. | ||
|
||
1. Open the image to upscale in an *Image Editor* space | ||
1. Open the image to upscale an *Image Editor* space | ||
2. Expand the *AI Upscaling* panel, located in the *Dream* sidebar tab | ||
3. Type a prompt to subtly influence the generation. | ||
4. Optionally configure the tile size, blend, and other advanced options. | ||
|
||
 | ||
|
||
The upscaled image will be opened in the *Image Editor*. The image will be named `Source Image Name (Upscaled)`. | ||
|
||
## Tile Size | ||
Due to the large VRAM consumption of the `stabilityai/stable-diffusion-4x-upscaler` model, the input image is split into tiles with each tile being upscaled independently, then stitched back together. | ||
3. Choose a target size and click *Upscale* | ||
|
||
The default tile size is 128x128, which will result in an image of size 512x512. These 512x512 images are stitched back together to form the final image. | ||
> Some GPUs will require Full Precision to be enabled. | ||
You can increase or decrease the tile size depending on your GPU's capabilities. | ||
 | ||
|
||
The *Blend* parameter controls how much overlap is included in the tiles to help reduce visible seams. | ||
The upscaled image will be opened in the *Image Editor*. The image will be named `Source Image Name (Upscaled)`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Inpainting | ||
Use Stable Diffusion to fill in gaps in images, add new content, fix artifacting, make existing textures seamless, and more. | ||
|
||
1. Open an image in the Image Editor | ||
2. Select the *Paint* mode | ||
3. Use the *Mark Inpaint Area* brush to erase the alpha channel from the desired part of the image | ||
4. Check *Inpaint Open Image* | ||
5. Enter a prompt describing what you want and click *Generate* | ||
|
||
 | ||
|
||
## Making Textures Seamless | ||
Inpainting can also be used to make an existing texture seamless. | ||
|
||
1. Use the *Mark Inpaint Area* brush to remove the edges of the image | ||
2. Enter a prompt that describes the texture, and check *Seamless* | ||
3. Click *Generate* | ||
|
||
 | ||
|
||
## Adding New Content | ||
Note that adding new content with inpainting may require a bit of manual work at this time. Filling the area to inpaint with noise before attempting to generate something new in that spot can help prevent Stable Diffusion from just copying what was there before. There is no option to do this automatically at this time. |
Oops, something went wrong.