Scripts Prompt - linwownil/stable-diffusion-webui GitHub Wiki

Prompt Scripts

Improved prompt matrix

https://github.com/ArrowM/auto1111-improved-prompt-matrix

This script is advanced-prompt-matrix modified to support batch count. Grids are not created.

Usage:

Use < > to create a group of alternate texts. Separate text options with |. Multiple groups and multiple options can be used. For example:

An input of a <corgi|cat> wearing <goggles|a hat>
Will output 4 prompts: a corgi wearing goggles, a corgi wearing a hat, a cat wearing goggles, a cat wearing a hat

When using a batch count > 1, each prompt variation will be generated for each seed. batch size is ignored.

Parameter Sequencer

https://github.com/rewbs/sd-parseq

Generate videos with tight control and flexible interpolation over many Stable Diffusion parameters (such as seed, scale, prompt weights, denoising strength...), as well as input processing parameter (such as zoom, pan, 3D rotation...)

Loopback and Superimpose

https://github.com/DiceOwl/StableDiffusionStuff

https://github.com/DiceOwl/StableDiffusionStuff/blob/main/loopback_superimpose.py

Mixes output of img2img with original input image at strength alpha. The result is fed into img2img again (at loop>=2), and this procedure repeats. Tends to sharpen the image, improve consistency, reduce creativity and reduce fine detail.

Interpolate

https://github.com/DiceOwl/StableDiffusionStuff

https://github.com/DiceOwl/StableDiffusionStuff/blob/main/interpolate.py

An img2img script to produce in-between images. Allows two input images for interpolation. More features shown in the readme.

Run n times

https://gist.github.com/camenduru/9ec5f8141db9902e375967e93250860f

Run n times with random seed.

Advanced Loopback

https://github.com/Extraltodeus/advanced-loopback-for-sd-webui

Dynamic zoom loopback with parameters variations and prompt switching amongst other features!

prompt-morph

https://github.com/feffy380/prompt-morph

Generate morph sequences with Stable Diffusion. Interpolate between two or more prompts and create an image at each step.

Uses the new AND keyword and can optionally export the sequence as a video.

prompt interpolation

https://github.com/EugeoSynthesisThirtyTwo/prompt-interpolation-script-for-sd-webui

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

Asymmetric Tiling

https://github.com/tjm35/asymmetric-tiling-sd-webui/

Control horizontal/vertical seamless tiling independently of each other.

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:)

Expanded-XY-grid

https://github.com/0xALIVEBEEF/Expanded-XY-grid

Custom script for AUTOMATIC1111's stable-diffusion-webui that adds more features to the standard xy grid:

  • Multitool: Allows multiple parameters in one axis, theoretically allows unlimited parameters to be adjusted in one xy grid

  • Customizable prompt matrix

  • Group files in a directory

  • S/R Placeholder - replace a placeholder value (the first value in the list of parameters) with desired values.

  • Add PNGinfo to grid image

Example: (Click to expand:)

Example images: Prompt: "darth vader riding a bicycle, modifier"; X: Multitool: "Prompt S/R: bicycle, motorcycle | CFG scale: 7.5, 10 | Prompt S/R Placeholder: modifier, 4k, artstation"; Y: Multitool: "Sampler: Euler, Euler a | Steps: 20, 50"

Embedding to PNG

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.

Example: (Click to expand:)

Random grid

https://github.com/lilly1987/AI-WEBUI-scripts-Random

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:)

Test my prompt

https://github.com/Extraltodeus/test_my_prompt

Have you ever used a very long prompt full of words that you are not sure have any actual impact on your image? Did you lose the courage to try to remove them one by one to test if their effects are worthy of your pwescious GPU?

WELL now you don't need any courage as this script has been MADE FOR YOU!

It generates as many images as there are words in your prompt (you can select the separator of course).

Example: (Click to expand:)

Here the prompt is simply : "banana, on fire, snow" and so as you can see it has generated each image without each description in it.

You can also test your negative prompt.

Scripts by FartyPants

https://github.com/FartyPants/sd_web_ui_scripts

Hallucinate

  • swaps negative and positive prompts

Mr. Negativity

  • more advanced script that swaps negative and positive tokens depending on Mr. negativity rage

Post-Face-Restore-Again

https://github.com/butaixianran/Stable-Diffusion-Webui-Post-Face-Restore-Again

Run face restore twice in one go, from extras tab.

⚠️ **GitHub.com Fallback** ⚠️