Stable Diffusion Prompt Rules

When I first started using Stable Diffusion, I was completely overwhelmed. I had no idea how to write good prompts or what rules to follow. But over time, through lots of trial and error, I’ve learned some key things about crafting effective prompts. In this article, I want to share my hard-earned knowledge with you!

Writing Stable Diffusion prompts is tricky, but so rewarding when you finally nail it. With the right prompts, you can create incredible, photorealistic images. My goal here is to explain the prompt rules clearly so you can start making masterpieces right away. Let’s dive in!

The Anatomy of a Great Prompt

A good Stable Diffusion prompt has a few key components:


First, you need to specify the main subject of your image. This is usually a noun or noun phrase, like “an astronaut” or “a still life painting”. Be as specific as possible here.


After naming your subject, describe it in more detail. Use adjectives and adjective phrases to specify things like color, texture, style, etc.

For example, you could describe “an astronaut” as “a female astronaut wearing a sleek white spacesuit”.

Scene Details

Next, set the scene by describing the environment, background, lighting, etc. You can give the AI hints about composition using phrases like “centered in the frame” or “taking up most of the image”.

Style & Medium

Finally, indicate the artistic style and medium you want, like “Impressionist oil painting” or “3D rendered image”. Referencing a specific artist can also work well.

Helpful Prompt Writing Tips

Here are some additional tips for crafting better prompts:

Use Weighted Modifiers

You can emphasize certain words by adding modifiers like “((very old))” or “extremely detailed”. The more parentheses, the more weight that word will carry.

Try Negatives

Negative prompts like “no logos” are great for removing unwanted elements from generated images.

Limit Variation

Being ultra-specific with descriptors will limit variation between images. This can be helpful but reduces creativity.

Check Associations

Some words have unintended associations in the AI’s training data. Double check prompts to avoid issues.

Prompt Formula Examples

Let’s look at some prompt formula examples you can customize:

Detailed Portrait

A highly detailed portrait of a [subject], [description], [scene details]

For example:

A highly detailed portrait of an elderly woman, wrinkled skin and wise eyes, centered in the frame looking directly at the viewer 

Still Life Scene

An oil painting of a [subject] still life, [description], [scene details], [style]

For example:

An oil painting of a fruit still life, brightly colored oranges and apples, arranged elegantly on a table, Impressionist style

Helpful Resources

Here are some great sites for learning more about prompts:

I hope these tips help you create awesome AI artworks! Let me know if you have any other prompt questions.