diff --git a/Custom-Scripts.md b/Custom-Scripts.md index 720198a..e4e8602 100644 --- a/Custom-Scripts.md +++ b/Custom-Scripts.md @@ -17,35 +17,38 @@ Will output 4 prompts: `a corgi wearing goggles`, `a corgi wearing a hat`, `a ca When using a `batch count` > 1, each prompt variation will be generated for each seed. `batch size` is ignored. -## Wildcards -This, and the more feature-rich `dynamic prompts` script have been turned into [extensions.](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Extensions) - -## Unprompted -https://github.com/ThereforeGames/unprompted - -a highly modular addon for [AUTOMATIC1111's Stable Diffusion Web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) that allows you to include various shortcodes in your prompts. You can pull text from files, set up your own variables, process text through conditional functions, and so much more - it's like wildcards on steroids. - -While the intended usecase is Stable Diffusion, this engine is also flexible enough to serve as an all-purpose text generator. - ## txt2img2img -https://github.com/ThereforeGames/txt2img2img/blob/main/scripts/txt2img2img.py +https://github.com/ThereforeGames/txt2img2img -Greatly improve the editability of any character/subject while retaining their likeness. +Greatly improve the editability of any character/subject while retaining their likeness. The main motivation for this script is improving the editability of embeddings created through [Textual Inversion](https://textual-inversion.github.io/). -Full description in original repo: https://github.com/ThereforeGames/txt2img2img (be careful with cloning as it has a bit of venv checked in) +(be careful with cloning as it has a bit of venv checked in) + +
Example: (Click to expand:) + +
## txt2mask https://github.com/ThereforeGames/txt2mask Allows you to specify an inpainting mask with text, as opposed to the brush. -## Mask drawing UI -https://github.com/dfaker/stable-diffusion-webui-cv2-external-masking-script/blob/main/external_masking.py +
Example: (Click to expand:) + +
-Provides a local popup window powered by CV2 that allows addition of a mask before processing. [Readme](https://github.com/dfaker/stable-diffusion-webui-cv2-external-masking-script). +## Mask drawing UI +https://github.com/dfaker/stable-diffusion-webui-cv2-external-masking-script + +Provides a local popup window powered by CV2 that allows addition of a mask before processing. + +
Example: (Click to expand:) + +
## Img2img Video https://github.com/memes-forever/Stable-diffusion-webui-video + Using img2img, generates pictures one after another. ## Seed Travel @@ -81,9 +84,7 @@ It supports nested definitions so you can do this as well: `Crystal containing elemental {{fire:5|ice}|earth}` ## Animator -https://github.com/Animator-Anon/Animator/blob/main/animation.py - -Animation Script - https://github.com/Animator-Anon/Animator +https://github.com/Animator-Anon/Animator A basic img2img script that will dump frames and build a video file. Suitable for creating interesting zoom in warping movies, but not too much else at this time. @@ -109,6 +110,17 @@ https://github.com/GeorgLegato/Txt2Vectorgraphics Create custom, scaleable icons from your prompts as SVG or PDF. +
Example: (Click to expand:) + +| prompt |PNG |SVG | +| :-------- | :-----------------: | :---------------------: | +| Happy Einstein | | | +| Mountainbike Downhill | | | +coffe mug in shape of a heart | | | +| Headphones | | | + +
+ ## Shift Attention https://github.com/yownas/shift-attention @@ -153,11 +165,21 @@ https://github.com/EugeoSynthesisThirtyTwo/prompt-interpolation-script-for-sd-we With this script, you can interpolate between two prompts (using the "AND" keyword), generate as many images as you want. You can also generate a gif with the result. Works for both txt2img and img2img. +
Example: (Click to expand:) + +![gif](https://user-images.githubusercontent.com/24735555/195470874-afc3dfdc-7b35-4b23-9c34-5888a4100ac1.gif) + +
+ ## Asymmetric Tiling https://github.com/tjm35/asymmetric-tiling-sd-webui/ Control horizontal/vertical seamless tiling independently of each other. +
Example: (Click to expand:) + +
+ ## Force Symmetry https://gist.github.com/1ort/2fe6214cf1abe4c07087aac8d91d0d8a @@ -165,21 +187,37 @@ see https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/2441 applies symmetry to the image every n steps and sends the result further to img2img. +
Example: (Click to expand:) + +
+ ## txt2palette https://github.com/1ort/txt2palette Generate palettes by text description. This script takes the generated images and converts them into color palettes. +
Example: (Click to expand:) + +
+ + ## StylePile https://github.com/some9000/StylePile An easy way to mix and match elements to prompts that affect the style of the result. +
Example: (Click to expand:) + +
## XYZ Plot Script https://github.com/xrpgame/xyz_plot_script Generates an .html file to interactively browse the imageset. Use the scroll wheel or arrow keys to move in the Z dimension. +
Example: (Click to expand:) + +
+ ## Booru tag autocompletion https://github.com/DominikDoom/a1111-sd-webui-tagcomplete @@ -192,36 +230,76 @@ https://github.com/dfaker/embedding-to-png-script Converts existing embeddings to the shareable image versions. +
Example: (Click to expand:) + +
+ ## Alpha Canvas https://github.com/TKoestlerx/sdexperiments Outpaint a region. Infinite outpainting concept, used the two existing outpainting scripts from the AUTOMATIC1111 repo as a basis. -## AI-WEBUI-scripts-Random +
Example: (Click to expand:) + +
+ +## Random grid https://github.com/lilly1987/AI-WEBUI-scripts-Random -- Random Steps and CFG -- Random Grid -- Random Loop +Randomly enter xy grid values. + +
Example: (Click to expand:) + +Basic logic is same as x/y plot, only internally, x type is fixed as step, and type y is fixed as cfg. +Generates x values as many as the number of step counts (10) within the range of step1|2 values (10-30) +Generates x values as many as the number of cfg counts (10) within the range of cfg1|2 values (6-15) +Even if you put the 1|2 range cap upside down, it will automatically change it. +In the case of the cfg value, it is treated as an int type and the decimal value is not read. +
+ + + +## Random +https://github.com/lilly1987/AI-WEBUI-scripts-Random + +Repeat a simple number of times without a grid. + +
Example: (Click to expand:) + +
## Stable Diffusion Aesthetic Scorer https://github.com/grexzen/SD-Chad +Rates your images. + ## img2tiles https://github.com/arcanite24/img2tiles generate tiles from a base image. Based on SD upscale script. +
Example: (Click to expand:) + +
+ ## SD-latent-mirroring https://github.com/dfaker/SD-latent-mirroring Applies mirroring and flips to the latent images to produce anything from subtle balanced compositions to perfect reflections +
Example: (Click to expand:) + +
+ ## Depth Maps https://github.com/thygate/stable-diffusion-webui-depthmap-script This script is an addon for [AUTOMATIC1111's Stable Diffusion Web UI](https://github.com/AUTOMATIC1111/stable-diffusion-webui) that creates `depthmaps` from the generated images. The result can be viewed on 3D or holographic devices like VR headsets or [lookingglass](https://lookingglassfactory.com/) display, used in Render- or Game- Engines on a plane with a displacement modifier, and maybe even 3D printed. +
Example: (Click to expand:) + +
+ ## Saving steps of the sampling process This script will save steps of the sampling process to a directory.