As AI image generators like Stable Diffusion continue to advance, crafting the perfect prompt has become an art form. The prompts you write act as the DNA of your generated images, controlling every aspect from style, composition, and subject matter.
After generating over 10,000 images myself, I’ve learned what makes an effective prompt. In this article, I’ll share my top prompt engineering tips with example prompts for common use cases.
Example prompt:
A mystical forest scene with gnarled trees and rays of light beaming through the canopy. Intricate vine and leaf textures. Treasure chest overflowing with gold and jewels nestled in tree roots. Epic lighting. Matte painting trending on Artstation.
Common Prompt Structures
Here are some prompt formulas I often use as starting points:
Subject, Style/Medium, Details
This structure first defines the subject, then the artistic style or medium, and finally any extra descriptive details.
Example:
An owl wearing a suit of armor, digital art, highly detailed intricate patterns on the armor plates
Style Transfer
This mimics the style of a famous artist or art movement.
Example:
The Mona Lisa in the style of Van Gogh, oil paint strokes
Text Prompts
You can generate just text, perfect for branding projects.
Example:
A technology company logo with the name "Astra", futuristic vibrant color scheme
Helpful Prompt Modifiers
Here are some of my go-to prompt modifiers for enhancing images:
Detail
intricately detailed
highly detailed textures
photorealistic details
Style
trending on ArtStation
matte painting
cinematic lighting
Quality
8k resolution
unreal engine
octane render
Tip: Chain multiple modifiers together for compound effects!
Prompt Websites
Here are some great sites for prompt inspiration:
- PromptHero – User submitted and rated prompts
- PromptMania – Prompt generator with categories
- PromptArts – Curated prompt gallery
Conclusion
The key to mastering Stable Diffusion is learning how to write effective prompts. Start by studying examples, understand common structures, use modifiers, and leverage prompt sites. With practice, you’ll be able to bring any idea to life!
Now go create your magnum opus 🙂