Sign In
Prompt Generator API

No idea what to ask the computer to draw ? Try this Prompt Generator !

Hi !

As I'm gonna be away from my computer for a few weeks and won't be able to generate images at home, I developed an API that should be usable with online generation services, to try and replicate my workflow, where I create a very large amount of images with wildcards and x/y/z plots, that I can browse afterwards to select the better ones to refine.

This will give you random prompts for each request, and there are a lot of endpoints. (Including Nsfw ones)
Hook them to any online generation service and you'll get new images forever.
You can see this API kind of like wildcards in Automatic1111 : some endpoints will give you a full prompt, while other will return only parts of a prompt (character, place, attire, and so on...)
I tried to put some useful parameters that you can play with, such as `?style=photo` for photorealistic models, or `usebreak=true`, which lets you specify if you want to use the BREAK keyword or not (See the provided documentation for more details)
There is one particular endpoint, however, that works differently, it will return one of the 83k prompts from this post.


Here it is : https://rapidapi.com/EvilYep/api/text-to-image-prompt-generator-for-diffusion-models

Feel free to try and give feedback ! (Especially which "wildcard"/endpoint I should add or revise, and should I include prompts that include references to LoRAs, embeddings and so on...)

I had to put some price to afford the hosting costs, since Heroku closed their free tier plan (I use Render as an alternative, which charges me according to the number of requests made and the memory usage, which I predict will be huge, since it draws from a large number of huge .txt files), but I put a freemium plan so you can try it and get many images per month for free.
I'll be happy to lower the price according to the popularity this API get. The more the people use it, the more I'll be able to lower it's price. For now I will be my only customer ^^

I'll upload below some examples of images created with prompts from this API so you can see what it can give you
(none of these images were edited in any way, nor were their prompts "refined" yet, no Hires Fix nor ADetailer, nothing, just a positive prompt from this API and a generic negative one. I just generated a lot of images and kept the first 10 that were OK. I can then choose to do a little more work on them.. not a very time-effective workflow, I admit, but one with which I can keep working on other stuff, and which gives me good surprises when it generates combinations I wouldn't have thought of)

coffee machine BREAK , Dramatic Shadows, by Isabel Muñoz, Nikon FE Camera BREAK Exceptional Magnum, vivid vibrant colors, intricate detail, bokeh, official art, 8k wallpaper, ultra high res

European Bee-Eater BREAK , Noon, Sci-Fi Moonlight, high speed liquid photography, Nikon Z6 II Mirrorless Camera BREAK Inspiring Tour de Force, vivid vibrant colors, intricate detail, bokeh, official art, 8k wallpaper, ultra high res

stimulating Greenlandic woman, hazel eyes, pageboy, light blonde hair, wearing Bell sleeve top, cutoff jeans, Heels, slouching, , Night, Glowing Runes, golden hour, by john howe, masterpiece, best quality, vivid colors, sharp focus, bokeh, official art, wallpaper, ultra high res

A place taken by a flood with everyday objects floating and cars submerged in the water, , Enigma Ray, by Adélaïde Labille-Guiard, HD, sophisticated detail

giraffe BREAK , Dusk, Neon Hues, neo-expressionism BREAK Clear Visuals, masterpiece, best quality

Satanic leaf-tailed gecko, in forest BREAK , Dusk, Intimate Lighting, devilpunk BREAK Out-of-the-box, HD, masterpiece, best quality, detailed, cinematic lighting

pleasing sri lankan woman, jade eyes, braided hairstyle, black hair, wearing landscaper outfit, Pretending to be a statue, in hippie chic interior BREAK , Noon, Subdued Lighting, skullpunk, Kodak PIXPRO AZ241 16.15MP Digital Camera BREAK HD, masterpiece, best quality, absurdres, sophisticated detail, bokeh, 8k wallpaper


Leviathan, in Paro Valley, Bhutan BREAK , art brut, by Sumit Gupta, Olympus XA2 Camera BREAK Shallow Depth, masterpiece, absurdres, vibrant colors, sharp focus, 8k, wallpaper

man, hazel eyes, Slicked-back hair, chocolate hair, Petite Goatee, wearing V-Neck Sweater, Tapered Pants, , Shadow Play, art brut, by todd lockwood, High Depth of Field, best quality, absurdres, vibrant colors, intricate detail, sharp focus

Burmese, in crosswalk, , Gelled Lighting, american romanticism, by Cézanne, Bokeh Lights, HD, masterpiece, realistic lighting

6

Comments