This prompt generator can help spark your creativity and inspire you to create unique and captivating images.
Whether you're a beginner or an experienced Promptographer, this tool can provide you with endless possibilities to explore and experiment with.
Now let your imagination run wild and see where it takes you as you embark on your journey into the world of image generation.
This tool is an external prompt generator
Unzip the folder in order to prevent any break with categories.json,
double click on sd-PA7_PromptGenerator_Beta to run it
GitHublink for python version
https://gist.github.com/Tcheko243/a67fb25ab1e972c7146dcea442e413e6
Version compatibility:
Sd-1.5
Sdxl
let's spirit of PA7 give to the masterpiece
<<<PS: I'm not here to harm others, I'm just trying to make my contribution on this site.>>>
Description
Update on UI and some minor changes
If you get some problem with ImageTK and Image just type the command below in your terminal to install pillow library.
pip install pillow
FAQ
Comments (5)
Cool stuff!
Using the python version from Civitai I got an error:
ImportError: cannot import name 'ImageTk' from 'PIL'
(from line 5)
Using the one from github worked. From a quick eyeball glance it lacks that import line compared to your Civitai version. Only problem was the window was just a bit small, the last drop-down list was partly visible as was the right side buttons. I changed the "windows geometry" (lines 45,46,47) into 1060x740, which fit nice on my system
window.geometry("1060x740") window.minsize(1060,740) window.maxsize(1060,740)
Not really sure what that import line is supposed to import or do. As I don't really know Python :)
Using Linux Mint 21.3.
Nice script btw (thanks!). I'm guessing it's pretty easy to extend the json files with other categories and it'll keep adding drop-down lists in the GUI?
To solve this problem install pillow library command is:
pip install pillow
Yes you can extend categories in the json and it'll keep adding drop-down list, I'm working on scrollable version of the UI
Am I able to add options to categories? When I edit the categories.json and simply add one option to a category the python file no longer opens.
Tell me which option you've added so that I can easily guide you.

