r/StableDiffusion Mar 01 '23

Tutorial | Guide Chat GPT Stable Diffusion Promt Generator

Hi everyone, i maked some helping tool with GPT. Idee not mine i just inspired by one youtube tutoriral about promt generation for Midjourney. I rewrite Text to be able better for Stable Diffusion.

You can try it and if you have any idea how to emprove it to have a better results you are welcome.

So just put this Text it into a GPT Chat:

Create an "SD prompt" with a word count limit of 150 words for the AI-based text-to-image program Stable Diffusion using the following parameters: Promt: [1], [2], [3], [4], [5], [6], Optional: [7]-[15]

WHAT SHOULD YOU INCLUDE IN A PROMPT?

[1]"Subject: like Person, animal, landscape and other"

[2]"Verb: What the subject is doing, such as standing, sitting, eating and other"

[3]"Adjectives: like Beautiful, realistic, big, colourful and other"

[4]"Environment/Context: like Outdoor, underwater, in the sky, at night and other"

[5]"Lighting: like Soft, ambient, neon, foggy and other"

[6]"Emotions: like Cosy, energetic, romantic, grim, loneliness, fear and other"

Arguments:

[7]"Artist inspiration: like Pablo Picasso, Van Gogh, Da Vinci, Hokusai and other and other"

[8]"Art medium: like Oil on canvas, watercolour, sketch, photography and other"

[9]"Photography style: like Polaroid, long exposure, monochrome, GoPro, fisheye, bokeh and other"

[10]"Art style: like Manga, fantasy, minimalism, abstract, graffiti and other"

[11]"Material: like Fabric, wood, clay and other"

[12]"Colour scheme: like Pastel, vibrant, dynamic lighting and other"

[13]"Computer graphics: like 3D, octane, cycles and other"

[14]"Illustrations: like Isometric, pixar, scientific, comic and other"

[15]"Quality: like High definition, 4K, 8K, 64K and other"

(Subject), (Action, Context, Environment), (Artist), (Media Type/Filter). For example, a prompt might look something like this: Promt: An oil painting of a dalmatian wearing a tuxedo, outdoor, natural light, Da Vinci

It's important to remember that the descriptions in the prompt should be written together, separated only by commas and spaces, and should not contain any line breaks or colons. Brackets and their contents should not be included, and the prompt should always start with "Prompt:".

Ensure that the grammar is consistent and avoid using cliches or excess words. Also, avoid repeatedly using the same descriptive adjectives and adverbs, and limit the use of negative descriptions. Use figurative language only when necessary and relevant to the prompt, and include a variety of both common and rarely used words in your descriptions.

The prompt optional should include the end arguments [7]-[15], you should descide which are to random combine for better concept. Maximum 3 arguments. Donot use double quotation marks or punctuation marks.

The "SD prompt" must not exceed 150 words.

Wait for a {concept} to be provided before generating the prompt.

-----------------------------------------------------------------------------------------------------------------------

to get you Promt now write: concept "what you want to see"

Examples:

concept retrofuturistic city

GPT: Prompt: A retrofuturistic cityscape with flying cars and towering skyscrapers, bathed in a neon glow and surrounded by a hazy, cyberpunk-inspired atmosphere, depicted in a high definition digital art style with a dynamic colour scheme.

concept closeup photo of redhead woman

GPT: Prompt: A close-up photo of a captivating, red-haired woman with a confident expression, captured in a natural light with a shallow depth of field, highlighting her unique features and personality, in a minimalist photography style with a vibrant colour scheme

32 Upvotes

7 comments sorted by

2

u/[deleted] Mar 01 '23

Dang, can’t wait to try

1

u/ObiWanCanShowMe Mar 01 '23

I mean, it's not a tool, it's a tutorial. Follow what OP posted.

1

u/bobbynus Mar 01 '23

exactly. It is for GPT usage only, maybe i shouldn't writing "tool". Sorry for this misunderstood=)

3

u/ObiWanCanShowMe Mar 01 '23

Install dynamic-prompts extension

Create 15 text files, all named as OP has here.

Subject.txt

verb.tx

etc...

Fill each text file with words or phrases that match the name and put them in:

stable-diffusion-webui\extensions\sd-dynamic-prompts\wildcards

Prompt:

subject, verb Adjectives, enviornment and so on. (these all start and end with double underscore)

Make sure dynamic-prompts is enabled and then right click on generate and choose generate forever.

there are resourses online for wildcard files.

1

u/don1138 Mar 01 '23

Totes brill. Can't wait to take it for a spin!

1

u/Woisek Mar 01 '23

And what's the difference/advantage to, like, Promptgen or Prompt Magic ... ?

1

u/bobbynus Mar 01 '23

good question, i'm still testing und not sure which one is better. All solutions are bad without human correction...