A script that searches for specific keywords, inpaints them, and then upscales them
Upscaling an image by a specific factor. Utilizes a tiled approach to scale with less memory
Inpainting with additional prompts after mask search with specific keywords. Add counts separated by semicolons
- Enable Inpaint Inner(or Outer) Mask Area(Use I2I Only)
- When using the inpaint inner option, the mask is created only inside the inpaint mask.
- When using the inpaint outer option, the mask is created only outside the inpaint mask.
- Input dino prompt
- Inpaint the dino prompt multiple times, separated by tabs.
- Additional options can be controlled.
- Each dino prompt can be calculated with AND, OR, XOR, NOR, and NAND gates.
- face OR (body NAND outfit) -> Create a body mask that does not overlap with the outfit. And composited with a face mask.
- Use parentheses sparingly. Parentheses operations consume more VRAM because they generate masks in advance.
- Option values of each dino prompt can be entered by separating them with colons.
- face:0:0.4:4 OR outfit:2:0.5:8
- Each option, in order, is prompt, detection level (0-2:default 0), box threshold (0-1:default 0.3), and dilation value (0-128:default 8).
- You can omit it if you wish. Replace with default value if omitted.
- Input positive prompt
- Inpaint the positive prompt multiple times, separated by semicolons.
- Input negative prompt
- Inpaint the negative prompt multiple times, separated by semicolons.
- Check the option to separate and inpaint the unconnected mask.
- When separating and inpainting, the number of inpaintings increases. But quality rises.
- Select a small area of pixels to remove from the inpainting area when inpainting by isolation.
- Generate!
- Download CUDA and cuDNN
- Install from the extensions tab with url
https://github.com/NeoGraph-K/sd-webui-ddsd
- Start Sd web UI
- It takes some time to install sam model and dino model
dustysys/ddetailer
AUTOMATIC1111/stable-diffusion-webui
facebookresearch/Segment Anything
IDEA-Research/GroundingDINO
IDEA-Research/Grounded-Segment-Anything
continue-revolution/sd-webui-segment-anything