Stable Diffusion Demo

Joe Conway
23 May 202322:09

TLDRThe video script offers a beginner's guide to using stable diffusion AI software for image generation. It covers creating images from text prompts, using the 'text to image' tab, and refining results with 'image to image'. The creator also discusses utilizing negative prompts, basic configuration settings, and the concept of 'Styles' for reusing prompt combinations. Additionally, the video introduces 'Prompt Hero', a website for finding useful prompts. The demonstration includes generating a series of images based on Angelina Jolie as Lara Croft, adjusting settings for better results, and experimenting with different prompts and styles to achieve desired outcomes.


  • 🌟 The video is a tutorial on using stable diffusion AI software for generating images from text prompts and existing images.
  • πŸ“ The presenter has been using the software for a few weeks and aims to share insights for beginners.
  • πŸ–ΌοΈ The process begins with the 'text to image' feature, where users input positive and negative prompts to guide the image generation.
  • πŸ“Œ Negative prompts help to exclude undesired elements from the generated images.
  • πŸ”§ Basic configuration settings can be adjusted based on user preferences, but the presenter sticks to default values for this demonstration.
  • 🎨 The 'Styles' feature allows users to save and reuse prompt configurations for future use.
  • 🌐 The 'prompt hero' website is a resource for finding useful prompts to generate images.
  • πŸ”„ The 'image to image' feature enables users to refine their image generation by starting with an existing image and adjusting prompts.
  • πŸ”„ The seed number is a unique identifier for each generated image, which can be used to recreate similar images.
  • πŸ”„ The denoising strength is an additional configuration option in 'image to image' mode, allowing users to control the influence of the base image on the generated result.
  • πŸ€– AI software like stable diffusion is a learning process, and users can experiment with different settings and prompts to achieve desired outcomes.

Q & A

  • What is the main focus of the video?

    -The main focus of the video is to demonstrate the process of creating images using the Stable Diffusion AI software, specifically through text-to-image and image-to-image features.

  • Which model does the presenter choose for the text-to-image demonstration?

    -The presenter chooses the Realistic Vision 2.0 model for the text-to-image demonstration.

  • What are the two types of prompts used in the software?

    -The two types of prompts used in the software are positive prompts, which describe the desired elements in the generated image, and negative prompts, which specify what should not appear in the image.

  • How does the presenter find inspiration for prompts?

    -The presenter finds inspiration for prompts by visiting the Prompt Hero website, which provides a collection of prompts created by other users.

  • What is the purpose of the 'Styles' feature in Stable Diffusion?

    -The 'Styles' feature allows users to save and recall combinations of positive and negative prompts for future use, making it easier to generate images with similar characteristics.

  • What is the significance of the 'seed number' in image generation?

    -The 'seed number' is a unique identifier for each generated image. Using a specific seed number can help recreate a similar image to one previously generated.

  • How does the presenter adjust the image size in the software?

    -The presenter adjusts the image size by changing the default value from 512x512 to a portrait-sized image (768x512).

  • What is the role of 'CFG scale' and 'denoising strength' in the image generation process?

    -The 'CFG scale' impacts how much the AI listens to the prompts, while 'denoising strength' affects how much the generated image should resemble the input image. Both provide flexibility in controlling the output.

  • What happens when the presenter adds their own image to the image-to-image generation process?

    -When the presenter adds their own image, the AI tries to incorporate elements from that image, such as pose and background, into the generated images based on the prompts.

  • How does the presenter evaluate the generated images?

    -The presenter evaluates the generated images by scrolling through them, comparing them to the original prompt and seed image, and selecting the ones that best match the desired outcome.

  • What is the main takeaway from the video?

    -The main takeaway is that Stable Diffusion can be used to generate images based on text prompts and existing images, with various settings and features to refine and customize the output.



πŸŽ₯ Introduction to Stable Diffusion AI Software

The speaker introduces the Stable Diffusion AI software and shares their experience using it for a few weeks. They aim to guide beginners through creating images from text prompts, utilizing the text to image tab for image generation. They also mention the plan to discuss negative prompts, basic configuration settings, and the use of styles to enhance prompts. The speaker intends to demonstrate the process using the Prompt Hero website for inspiration and to generate images based on provided prompts.


πŸ–ŒοΈ Configuring Text-to-Image Settings

The speaker delves into the specifics of configuring the text-to-image settings in Stable Diffusion. They discuss selecting the appropriate model, entering positive and negative prompts to guide the AI in generating the desired image, and adjusting basic configuration settings. The speaker emphasizes sticking to default values where possible but also highlights the importance of changing certain settings to achieve the desired outcome. They also introduce the concept of styles, which can be saved and reused for future prompts, and demonstrate how to save a style based on the prompts used for an Angelina Jolie image.


πŸ–ΌοΈ Generating Images and Exploring Image-to-Image

The speaker demonstrates the process of generating images using the Stable Diffusion AI software. They explain how to use the seed number from a previously generated image to create a similar image and discuss the importance of using the correct model. The speaker then transitions to image-to-image generation, where they use a selected image from the text-to-image phase as a base and adjust the settings accordingly. They also discuss the additional configuration option of denoising strength, which affects how closely the generated image resembles the input image.


🌟 Influence of Input Images on Generated Outcomes

The speaker explores how the input image influences the output in image-to-image generation. They replace the previously used seed image with a random image of themselves and discuss the changes observed in the generated images. The AI attempts to incorporate elements from the new input image, such as pose and background, into the generated images based on the Angelina Jolie prompt. The speaker notes that while the AI takes cues from the input image, it still primarily focuses on fulfilling the written prompt, resulting in varied outcomes.


πŸ“ Recap and Final Thoughts on Stable Diffusion

The speaker concludes the video by recapping the key points covered in the tutorial. They summarize the process of generating images through text-to-image and image-to-image methods, the use of styles for enhancing prompts, and the influence of input images on the generated outcomes. The speaker expresses satisfaction with the results obtained and encourages viewers to explore different ways of adjusting their images for better results. They end the video by thanking the viewers for their time and expressing hope that they found the tutorial useful.



πŸ’‘Stable Diffusion AI Software

Stable Diffusion AI Software is an artificial intelligence program designed to generate images from textual descriptions or other images. In the context of the video, the user is exploring the capabilities of this software to create visual content by inputting prompts and using various features such as text-to-image and image-to-image functionalities.

πŸ’‘Text to Image

Text to Image refers to the process of converting textual descriptions into visual images using AI software. In the video, the user demonstrates how to input prompts, which are descriptive phrases or sentences, to generate images that match the given descriptions, such as creating an image of a dog sitting under a tree or a man running on a mountain road.

πŸ’‘Image to Image

Image to Image is a feature within AI image-generating software that allows users to transform one image into another by applying new prompts and styles. This process involves using an existing image as a base and generating new images that incorporate elements from both the original image and the textual prompts.


Prompts are textual inputs or descriptions that guide the AI software in generating specific images. They provide the context and details that the AI uses to create visual content that aligns with the user's intentions.

πŸ’‘Negative Prompts

Negative prompts are specific instructions included in the AI software to exclude certain elements or features from the generated images. They help refine the output by preventing unwanted characteristics from appearing in the final visual.


Styles in AI image-generating software refer to a collection of saved prompts and configurations that can be reused or modified for future image generation. They allow users to maintain consistency and quickly apply a set of visual characteristics to new images.

πŸ’‘Prompt Hero

Prompt Hero is a website that provides a collection of prompts and images created by subscribers to inspire and assist users in generating their own images with AI software. It serves as a resource for finding ideas and examples of effective prompts.

πŸ’‘Sampling Steps

Sampling steps are a configuration setting within AI image-generating software that determine the number of iterations the AI performs to refine and improve the generated image. Increasing the sampling steps can lead to more detailed and refined outputs.

πŸ’‘CFG Scale

CFG Scale, or Control Flow Graph Scale, is a parameter in AI image-generating software that adjusts the influence of the prompts on the generated image. A higher CFG scale means the AI pays more attention to the prompts, while a lower scale allows for more creative freedom in the output.

πŸ’‘Seed Number

A seed number in AI-generated image software is a unique identifier for a specific image generation instance. It ensures that the same set of prompts and configurations can be used to generate a similar but not identical image, introducing an element of randomness while maintaining some consistency.

πŸ’‘Denoising Strength

Denoising Strength is a configuration setting in AI image-generating software that affects the level of detail and noise reduction in the generated images. Higher denoising strength results in cleaner, more polished images, while lower strength allows for more detail retention and potential noise.


Introduction to stable diffusion AI software and its capabilities.

Demonstration of creating images from text prompts using the text to image tab.

Explanation of how to use negative prompts to exclude unwanted elements from the generated images.

Overview of basic configuration settings and their default values in stable diffusion.

Discussion on the use of Styles to save and recall prompt details for future use.

Introduction to the prompt hero website as a resource for generating useful prompts.

Walkthrough of selecting and applying prompts from the prompt hero website to stable diffusion.

Process of generating images using the realistic Vision 2.0 model.

Adjusting image settings such as size, sampling steps, and batch count for better results.

Explanation of seed numbers and their role in generating unique images.

Transition from text to image generation to image to image generation.

Use of denoising strength as an additional configuration option in image to image generation.

Experiment of generating images by combining prompts with a random input image.

Observation of how the AI adapts the pose and elements from the input image to the prompts.

Conclusion on the versatility and potential of stable diffusion AI software for image generation.