โ† Open Source

stable-diffusion-webui-promptgen.

Python
Momentum
+0stars in 24 hours0.0%
544
Stars
97
Forks
+0
This week
1
Contributors
Created 2023-01-18 ยท Updated 2026-11-21 ยท #22338 today
Top developers
README

Prompt generator

An extension for webui that lets you generate prompts.

Getting more models online

You can add models from huggingface to the selection of models in setting. The setting field is Hugginface model names for promptgen, separated by comma, and its default value is just:

AUTOMATIC/promptgen-lexart, AUTOMATIC/promptgen-majinai-safe, AUTOMATIC/promptgen-majinai-unsafe

Those are GPT2 finetunes I did on various datasets:

To add more models, add more items to the setting, for example like this:

AUTOMATIC/promptgen-lexart, AUTOMATIC/promptgen-majinai-safe, AUTOMATIC/promptgen-majinai-unsafe, succinctly/text2image-prompt-generator, microsoft/Promptist

Reloading UI is required to apply this setting.

Getting more models offline

Put your models into the models directort inside the extension. For example, my model can be made fully offline by placing fines from https://huggingface.co/AUTOMATIC/promptgen-lexart/tree/main into those directories:


 ๐Ÿ“ webui root directory
 โ”—โ”โ” ๐Ÿ“ extensions
     โ”—โ”โ” ๐Ÿ“ stable-diffusion-webui-promptgen
         โ”—โ”โ” ๐Ÿ“ models                            
             โ”—โ”โ” ๐Ÿ“ promptgen-lexart              <----- any name can be used
                 โ”ฃโ”โ” ๐Ÿ“„ config.json               <----- each model has its own set of required files;
                 โ”ฃโ”โ” ๐Ÿ“„ merges.txt                       mine requires all those
                 โ”ฃโ”โ” ๐Ÿ“„ pytorch_model.bin
                 โ”ฃโ”โ” ๐Ÿ“„ tokenizer_config.json
                 โ”—โ”โ” ๐Ÿ“„ vocab.json

Reloading UI is required to see new models.

Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store