Stable Diffusion is a powerful AI image generation model that creates images from text prompts. Getting the prompt right is key to generating high-quality images that match what you imagined.
This article will provide an overview of Stable Diffusion prompts, including:
What is the default prompt?
Prompt structure and formatting
Negative prompts
Weighting prompts
Example prompts
We’ll also look at some best practices and resources for crafting better prompts.
What is the Default Stable Diffusion Prompt?
When you first start using Stable Diffusion, there is no default prompt set. The prompt field will be blank every time you go to generate an image.
However, many Stable Diffusion interfaces give you the option to set a default prompt that will automatically populate the prompt field. This saves you time instead of having to retype commonly used prompts or elements every time.
Some common things people include in their default prompt:
- Negative prompts to exclude unwanted elements
- Desired art style (e.g. oil painting, anime, etc.)
- Commonly used keywords or themes
Setting a default prompt is entirely optional. Leaving the field blank and typing a new prompt each time is perfectly fine too.
Saving Default Prompts
To save a default prompt in the Automatic1111 WebUI, go to the Settings tab and add your prompt under txt2img/Negative prompt
.
Other interfaces may save default prompts in configuration files or profiles. Check the documentation for your Stable Diffusion program for details on setting defaults.
Structure of Stable Diffusion Prompts
A typical Stable Diffusion prompt has a few key elements:
Subject and style
This describes the main subject matter and artistic style you want generated. For example:
A majestic wolf howling at the moon, digital art
Descriptors and details
Additional descriptive words and details to refine what you want created. For example:
A majestic wolf with grey and white fur howling at a full moon in a forest clearing, digital art
Modifiers
Terms like “cinematic lighting” or “intricate details” used to influence aesthetic elements.
Negative prompt
Words and phrases to exclude from the generated image. Typically start with -
. For example:
-poorly drawn, -bad anatomy
Formatting Stable Diffusion Prompts
Here are some formatting tips for properly structuring Stable Diffusion prompts:
- Separate prompt elements with commas
- Use clear language and details
- Place negative prompts at the end after
-
- Use weighting modifiers sparingly (e.g.
(*1.2)
) - Check prompt length limits for your model
- Use markdown formatting for readability
Weighting Elements of Your Prompt
You can use special syntax to control how much the AI prioritizes certain parts of your prompt:
(subject)1.2
– Increases weight/importance(subject)0.7
– Decreases weight/importance
This helps steer the AI if it starts ignoring key parts of your prompt.
Example Stable Diffusion Prompts
Here are some example prompts for generating images in various styles:
Realistic portrait
A beautiful young woman with long blonde hair, realistic portrait lighting, intricate details
Fantasy landscape
An epic fantasy landscape with tall mountains, magical glowing ruins, highly detailed, trending on artstation HQ
Anime character
A cute anime girl with pink hair and blue eyes, intricate modern anime style, soft lighting, 4k wallpaper
There are endless possibilities for crafting prompts. Start simple and get creative with describing your desired images!
Resources for Stable Diffusion Prompts
Here are some useful sites to find prompts and get inspiration:
- PromptHero – Searchable database of prompts
- Lexica – Browse AI-generated images and prompts
- Stable Diffusion Subreddit – Active community discussing prompts
Take advantage of these resources to level up your prompt skills!
Conclusion
Crafting effective Stable Diffusion prompts is crucial for generating your imagined images. Use proper formatting, weighting modifiers, negative prompts, and descriptive details in your prompts. Check out prompt inspiration sites and keep practicing to continually improve results.