Crafting effective prompts is key to generating high-quality images with AI models like Stable Diffusion. A good prompt provides clear instructions to guide the model, while a vague prompt can yield unexpected results.
This article will provide AI prompt examples and techniques to help you get started with Stable Diffusion.
What Makes a Good Prompt
An effective Stable Diffusion prompt should:
- Be clear and specific: Provide detailed descriptions of the subject, scene, style etc. to generate accurate images.
- Be concise: Use just enough detail without overspecifying. Too much text confuses the AI.
- Use styles and artists for inspiration.
- Leverage associative words to link concepts.
- Include useful negative prompts.
Prompt Examples
Here are some example prompts highlighting key techniques:
Specifying Details
A fluffy white rabbit with long droopy ears, sitting in a sunny meadow filled with yellow flowers, eating a bright red carrot
This prompt provides specific details about the rabbit, setting, and other elements.
Styles & Artists
A still life painting by Caravaggio depicting a bowl of lush red apples with leaves set against a black background
Referencing a style guides the AI to mimic a look.
Associative Words
An astronaut floating weightlessly in space with planets and galaxies in the starry background
Words like “astronaut”, “space”, “planets” are linked in the AI’s understanding.
Negative Prompts
A close up portrait of a cute baby elephant, floppy ears, playing in the mud, detailed face, by Ian Hubert and Artgerm, digital art
Negative prompt: ugly, poorly drawn, bad anatomy
Negative prompts exclude unwanted elements from being generated.
Advanced Prompting Techniques
With practice, you can further refine prompts to control the AI output.
Adding Storytelling Elements
Prompt chains tell a story across generations:
Frame 1: A landscape view of a medieval castle on a cliff next to the ocean during a thunderstorm
Frame 2: Zooming into a tower window revealing a mage reading an ancient spell book
Frame 3: The mage conjures a glowing portal that unleashes a red dragon
Guiding with Weights
Give aspects different emphasis with weights:
(0.5) wide angle view, (1.0) close up portrait, (2.0) highly detailed face
Higher weights push the AI to focus on those details.
Directing Aspect Ratio
Fix aspect ratio to match usage:
A vector illustration of a cute corgi puppy, square canvas, 4:3 aspect ratio
Improving Consistency
Maintain coherence across generations with the same prompts:
A studio portrait of a female astronaut named Commander Shelley Diaz.
Another studio portrait of Commander Shelley Diaz smiling while holding a moon rock.
Prompt Inspiration
Stuck on ideas? Browse these sites for thousands of prompts:
They let you filter and search prompts by popularity, keywords, model used etc. Great for sparking creativity!
Conclusion
- Effective prompts require practice, but following key principles helps
- Specify details, styles, negative prompts to control generations
- Use advanced techniques like chaining, weights for precision
- Leverage online prompt databases when needing inspiration
With a structured prompting approach, you can reliably create stunning AI art with Stable Diffusion.