Skip to content

This script is to test your prompts with the AUTOMATIC1111 webui

Notifications You must be signed in to change notification settings

df2df/test_my_prompt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

Made as a script for the AUTOMATIC1111/stable-diffusion-webui repository.

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 generate as many images as there are words in your prompt (you can select the separator of course).

image

A most exquisite menu

💥Note : the separator must be the same as the one you use. The default is ", " including the space. So make sure that each and every description in your prompt is separated the same way or they will be tested together. 💥

Installation

Copy the .py file in your /scripts folder or the folder of this repo in your extension folder.

Examples

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.

grid-0020-2554476-Euler a-24-12-81761151-20221107152306 See how sad things are with no banana

Of course you can do it with more parameters.

"big titties goth gf, dress, swimsuit, beach, sunset, cloudy weather, iso100"

neg : "ugly, lowres, black and white, grascale, low quality, missing limbs, hands, painting, anime, 3d render, (wide angle:1.2), (naked:0.8)"

grid-0012-2847822-Euler a-32-7 5-ac3abe1d-20221106213735 It seems obvious that "dress" and "sunset" have a negative effect on that prompt.

You can also test your negative prompt :

grid-0013-2847822 0-Euler a-32-7 5-ac3abe1d-20221106213903

Another example :

grid-0023-3893916328 0-Euler a-32-7 5-ac3abe1d-20221106223202

Something very curious : removing "AUTOMATIC1111" simply removes the Gigachad from the picture. grid-0002-4184123397 0-Euler a-42-12 5-ac3abe1d-20221107150635 This may or may not have been edited.

About

This script is to test your prompts with the AUTOMATIC1111 webui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%