Stable diffusion prompt tutorial. NEW PROMPT BOOK released!

Sebastian Kamph
2 Nov 202230:07

TLDRThe video provides an in-depth tutorial on crafting effective prompts for generating images using Stable Diffusion models. It introduces the OpenArts prompt book, a resource that guides users on how to construct prompts to produce desired images. The host discusses the importance of specifying details such as the type of image, subject, lighting, environment, and perspective. The tutorial also covers the use of modifiers to alter the style or perspective of the image, the impact of the order of words in a prompt, and the use of specific terms like 'cinematic lighting' or 'vibrant colors' to refine the output. It touches on various aspects like choosing the right artist styles, using different lenses, and considering emotions and aesthetics. The video also offers practical tips on prompt engineering, such as using seeds for consistency and adjusting parameters like resolution and scale for better results. It concludes by encouraging viewers to experiment with prompts and iteratively refine their requests to the AI for more satisfactory outcomes.


  • 📚 The OpenArts prompt book is a valuable resource for learning how to craft prompts for AI-generated images.
  • 🔍 Start by asking questions to determine the desired characteristics of the image, such as subject, lighting, environment, and point of view.
  • 🎨 Include specific art styles or references, like '3D render' or 'Studio Ghibli', to guide the AI towards the desired aesthetic.
  • 📷 Modifiers like 'cinematic lighting' or 'bokeh' can change the style, format, or perspective of the generated image.
  • 🖼️ The order of words in the prompt can significantly influence the outcome, with earlier mentions often given more weight.
  • 🌟 Using 'magic words' like 'HDR', 'Ultra HD', or '64k' can lead to higher resolution and more detailed images.
  • 🎥 Lighting plays a crucial role in setting the mood; terms like 'god rays' or 'cinematic lighting' can be used to achieve specific effects.
  • 🖌️ Experiment with different art mediums in your prompts, such as 'watercolor', 'oil painting', or 'pencil drawing'.
  • 🧩 Mixing different artist styles can result in unique and creative outcomes, encouraging experimentation.
  • 🔄 Using the same seed with different prompts allows for iterative improvements on a generated image.
  • 🛠️ Remember to utilize conventional image editing tools for post-processing, such as face restoration or detail enhancement.

Q & A

  • What is the purpose of the 'prompt book' mentioned in the transcript?

    -The 'prompt book' is a resource that provides tips and tricks for creating prompts to generate images using AI models like Stable Diffusion. It is designed to help users understand how to write prompts effectively and get the desired results from the AI.

  • What is the significance of the order of text in a prompt?

    -The order of text in a prompt is significant because it can affect the weight given to different elements by the AI. Placing more important aspects earlier in the prompt can help the AI prioritize those elements in the generated image.

  • How can modifiers change the style, format, or perspective of an image generated by an AI?

    -Modifiers are specific words or phrases that can alter the style, format, or perspective of the generated image. They can include references to artistic styles, specific artists, lighting conditions, or other visual elements that influence the final output.

  • Why is lighting important when creating prompts for AI-generated images?

    -Lighting is important because it can greatly affect the mood and quality of the generated image. Different lighting conditions, such as cinematic lighting or ambient light, can create different effects and are thus crucial for achieving the desired look.

  • What is the role of 'scale' in the context of AI-generated images?

    -The 'scale' refers to the level of detail or resolution in the generated image. It is a parameter that users can adjust to control the level of detail in the output. Higher scale values can lead to more detailed images, but may also require more processing power and time.

  • How can the 'seed' parameter influence the AI-generated image?

    -The 'seed' parameter is used to introduce randomness into the image generation process. A non-random seed ensures that the same prompt will generate the same image each time, while a randomized seed leads to different outcomes with each generation.

  • What is the benefit of using 'image to image' variations in AI image generation?

    -Using 'image to image' variations allows users to refine and improve a generated image by using the output as a new input. This iterative process can help users achieve more accurate or desired results by making incremental adjustments.

  • Why is it recommended to keep the prompt within the 75-token limit?

    -The 75-token limit is often imposed by AI systems to ensure that the prompt is concise and focused. Longer prompts may be less effective because they can dilute the importance of individual words and make it harder for the AI to generate a coherent image.

  • How does the choice of artist influence the style of an AI-generated image?

    -Specifying an artist in the prompt can guide the AI to generate images in a style similar to that artist's work. This can be particularly useful for achieving a specific aesthetic or mood, but it's important to choose artists whose styles align with the desired outcome.

  • What is the 'Ultimate Guide tutorial' mentioned in the transcript?

    -The 'Ultimate Guide tutorial' is a comprehensive resource created by the speaker that covers all aspects of using AI for image generation. It provides in-depth guidance on prompt creation, parameter adjustments, and other techniques to optimize the image generation process.

  • Why might someone use the term 'prompt engineering' when discussing AI image generation?

    -The term 'prompt engineering' is used to describe the process of carefully crafting prompts to guide the AI in generating specific types of images. It emphasizes the strategic and technical aspects of creating effective prompts.



📚 Introduction to OpenArt Prompt Book

The video begins with the host expressing a desire for a guide to assist with writing prompts, humorously referring to it as a 'Secret Sauce.' The host then introduces the OpenArt prompt book, which serves as a resource for creating prompts. The host clarifies that the video is not sponsored and is based on personal interest. The focus is on exploring the OpenArt library and its tips for crafting prompts, including the importance of specifying details such as subject, lighting, environment, and point of view. Examples are provided to illustrate the impact of prompt wording and order on the generated images.


🖼️ Understanding Prompt Modifiers and Artistic Styles

The host delves into the concept of 'prompt engineering' and discusses the use of modifiers to alter the style, format, or perspective of an image. Various photography terms are introduced, such as close-up, long shots, and wide shots, along with the significance of lighting and environment. The importance of specifying the artistic style and the potential use of specific camera lenses are highlighted. The host also touches on the influence of different artistic mediums and the impact of including artists' names in prompts to achieve a desired style.


🌅 Exploring Lighting, Color, and Emotion in Prompts

The discussion moves to the role of lighting in creating mood and atmosphere, with examples of different lighting styles like cinematic and crepuscular. The host emphasizes the importance of color and the use of color splash techniques. Different art mediums are explored, such as chalk, oil painting, and watercolor, each with its unique characteristics. The inclusion of emotions in prompts, both positive and negative, is discussed, along with the aesthetic impact they have on the generated images.


🎨 Advanced Techniques and Magic Words for Prompts

Advanced techniques for crafting prompts are introduced, including mixing artist styles and using 'magic words' that can enhance image quality and detail. The host explains the significance of resolution and the default settings for AI models, the role of the classifier free guidance (CFG) scale in determining how closely the AI adheres to the prompt, and the importance of step counts in image generation. The concept of using seeds for image generation and the impact of different samplers on the output are also covered.


🔍 Tips for Effective Prompt Engineering

The host provides tips for using different CFG or scale values, emphasizing the balance between creativity and guided image generation. The importance of prompt token efficiency and the impact of prompt length and order on the generated images are discussed. The video also covers the use of conventional tools for image editing and the process of image-to-image variation for refining results. The host shares examples of successful prompt outcomes and encourages viewers to experiment with different prompt strategies.


🌟 OpenArt Showcase and Conclusion

The video concludes with a showcase of various images generated using the techniques discussed throughout the video. The host appreciates the viewer for reading through the prompt book and encourages them to learn more through the provided Ultimate Guide tutorial. Transparency is maintained by mentioning sponsored content from a previous video, and the host bids farewell, signaling the end of the informative session.



💡Stable Diffusion

Stable Diffusion is a term referring to a type of machine learning model used for generating images from textual descriptions. It is a prominent theme in the video as the host discusses how to create prompts for this AI to generate desired images. The video provides insights into how to effectively communicate with the AI through prompts to achieve the best results.

💡Prompt Engineering

Prompt engineering is the process of carefully crafting text prompts to guide AI image generation models like Stable Diffusion to produce specific types of images. It is central to the video's message, as the host shares tips on how to write effective prompts to get the most out of the AI's image generation capabilities.


In the context of the video, modifiers are specific words or phrases that can alter the style, format, or perspective of the generated image. They are important for adding variety and specificity to prompts, allowing for more control over the final image's appearance. The host gives examples of how different modifiers can change the outcome of an image generated by the AI.


Photography is mentioned in the video as a style or type of image that can be generated by the AI. The host discusses how to specify different photography styles within prompts, such as close-ups, long shots, or Polaroid images, to guide the AI towards creating images that resemble specific photography techniques.

💡Art Styles

Art styles refer to the various visual aesthetics and techniques used in creating art. The video emphasizes the importance of including art style references in prompts, such as '3D render' or 'Studio Ghibli,' to help the AI generate images that match those styles. This is crucial for users looking to generate images with a specific artistic flair.


Resolution in the video pertains to the pixel dimensions of the generated images. The host talks about the default resolution settings for the AI model and how higher resolution values like 8K or 64K can lead to more detailed images. It is a technical aspect of prompt engineering that affects the quality and detail of the output.


A seed in the context of the video is a value that determines the starting point for the AI's image generation process. Using a specific seed with a given prompt can produce consistent results, allowing users to make slight alterations to the prompt while maintaining a similar baseline image. The host explains how seeds can be used for iterative improvements to generated images.


A sampler in the video refers to the algorithm used by the AI to generate images from the prompts. Different samplers can affect the quality and the time it takes to produce an image. The host suggests specific samplers for beginners and discusses their impact on the image generation process.

💡Face Restoration

Face restoration is a technique used to correct or improve the facial features in generated images that may not appear as intended. The host mentions the use of tools like 'code former' for face restoration to fix issues like distorted facial features, which is an important step in post-processing the AI-generated images.

💡Image-to-Image Variation

Image-to-image variation is the process of using an existing generated image as a starting point to create a new, slightly altered image. The host discusses this technique as a way to refine and improve AI-generated images through iterative adjustments, emphasizing its utility in achieving the desired final result.


Aesthetics in the video refers to the sensory aspects and the feeling that a generated image conveys. The host talks about using terms related to aesthetics, such as 'psychedelic' or 'vaporwave,' in prompts to guide the AI towards creating images with specific color schemes and visual moods that evoke certain feelings or styles.


A new prompt book has been released to help with creating image prompts for stable diffusion models.

The prompt book serves as a manual for 'prompt engineering', guiding users on how to write effective prompts.

It's important to start by asking questions about the desired image, such as the subject, lighting, environment, and point of view.

The order of words in a prompt can significantly influence the AI's interpretation and the resulting image.

Modifiers can change the style, format, or perspective of the generated image, such as specifying a particular art style or camera lens.

Examples given include creating images with cinematic lighting, vibrant colors, and bokeh effects.

The prompt book provides tips on using specific art styles, like 3D render or Studio Ghibli, to influence the output.

Photography and artist styles can be combined for unique image outcomes, such as mixing horror artist styles with colorful paintings.

The book emphasizes the importance of specifying the time of day and environment for landscape prompts.

It's suggested to use specific artists' names in prompts for a more consistent and desired style, rather than random artists.

The use of 'magic words' like 'HDR Ultra HD' and '64k' can increase the resolution and detail of the generated images.

Different samplers have different durations and steps to reach a usable image, with recommendations for beginners.

CFG or scale values can be adjusted for different levels of creativity versus guidance in the image generation process.

Token efficiency is crucial as prompts are limited in length; shorter prompts carry more weight.

The video provides a comprehensive guide on using the prompt book for various types of image generation, including character creation and historic styles.

The power of seeds is demonstrated, showing how using the same seed with different prompts can yield similar base images.

The video concludes with an open art showcase, displaying diverse examples of images generated using the techniques from the prompt book.