1000 Prompts in 1 Click - Dynamic Prompt Wildcards for Automatic 1111

Olivio Sarikas
1 May 202312:21

TLDRThis video tutorial demonstrates how to utilize AI for creating diverse prompts with the SD Dynamic Prompts extension in Stable Diffusion. It covers installing the extension, building keyword lists with Chat GPT, randomizing outputs, and using wildcard folders for text files. The video also introduces advanced techniques like combination generation, control over output with open pose and control net, and prompt magic for automatic variety in image generation, emphasizing the ease of use and the potential for discovering new creative ideas.

Takeaways

  • 🚀 Install the SD Dynamic Prompts extension for Stable Diffusion to enhance your AI-generated content variety.
  • 📝 Create a list of keywords using AI, such as Chat GPT, and save them in a text file, each on a new line.
  • 🔄 Place the keyword list in the SD Dynamic Prompts folder within the Automatic 1111 extensions directory.
  • 🔄 Ensure to restart Automatic 1111 after adding the keyword lists for the changes to take effect.
  • 🎨 Use the Dynamic Prompts area in the AI tool to insert your keyword lists into the prompt by referencing the text file names.
  • 🔢 Specify the number of items to choose from the keyword list by using the batch size option.
  • 📋 Alternatively, manually write the keyword lists within the prompt using angle brackets (< >).
  • 🎲 Utilize combination generation to create all possible combinations of the keywords listed within the brackets for more variety.
  • 🔒 Control the output by using control nets like Open Pose or In Paint to fix certain aspects like pose or hairstyle.
  • 🎨 Experiment with Prompt Magic to automatically add new prompt ideas to your existing prompt for further creative exploration.
  • 💬 All prompt and setting information is saved with the image, allowing you to recreate or modify the image in the future.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is how to use AI and the SD Dynamic prompts extension to create various prompt variations for generating images with Stable Diffusion.

  • What extension is being discussed in the video?

    -The extension discussed in the video is called SD Dynamic prompts.

  • How can you install the SD Dynamic prompts extension?

    -To install the SD Dynamic prompts extension, go to the extensions section in Stable Diffusion, click on 'Available', search for 'SD Dynamic prompts', click 'Install', and wait for the installation to finish. Then, apply updates and restart the UI.

  • What is the purpose of the text file with keywords?

    -The text file with keywords is used to store lists of terms that can be used as dynamic prompts in Stable Diffusion to generate images with varied characteristics, such as email haircuts or clothing styles.

  • How do you use the dynamic prompt lists in Stable Diffusion?

    -You use the dynamic prompt lists by writing your normal prompt and then inserting the underscore-underscore followed by the name of the text file (without the .txt extension) to choose from the list randomly or use the batch size to generate multiple images with different selections from the list.

  • What is the alternative to using a text file for dynamic prompts?

    -The alternative to using a text file is to manually write the list of terms inside the prompt, enclosed in angle brackets (< >), without spaces between the terms.

  • How can you control the output of the generated images?

    -You can control the output by using the 'Open Pose' feature, which generates a stick figure for the body, a point mask for the face, and tracks hand and finger positions, or by using the 'In Paint' feature to mask out areas you want to replace.

  • What is Prompt Magic in SD Dynamic prompts?

    -Prompt Magic is a feature that adds new prompt ideas to the end of your existing prompt based on the content you have already written, helping you discover new image ideas and looks.

  • How can you ensure that the image output remains consistent with certain elements?

    -You can ensure consistency by using the 'In Paint' feature to mask out the area you want to change, like hair color, while keeping the rest of the image, such as clothing style and background, the same.

  • How is prompt information saved in Stable Diffusion?

    -Prompt information, including the settings used to generate an image, is saved within the image's PNG info tab, which can be accessed to recall how an image was created.

  • What are some additional features of the SD Dynamic prompts extension?

    -Additional features of the SD Dynamic prompts extension include combination generation, which creates all possible combinations of words in brackets, and attention grabber, which uses weights to emphasize different parts of the prompt.

Outlines

00:00

🚀 Introducing SD Dynamic Prompts Extension

This paragraph introduces the SD Dynamic Prompts extension, a tool that enhances AI capabilities for creating diverse prompts. It explains the process of installing the extension on Stable Diffusion and emphasizes the ease of generating keyword lists with the help of AI, specifically mentioning the use of Chat GPT for generating lists. The paragraph also details how to save these lists as text files and integrate them into the extension for dynamic content generation.

05:03

🎨 Customizing Prompts with Lists and Combinations

The second paragraph delves into the customization of prompts using pre-made lists and combination generation. It describes how to manually input lists within angle brackets for direct use in prompts and how to control the number of selected terms from these lists. The paragraph further explains the use of batch size and combination generation settings to create a variety of outputs, offering examples of how different combinations of hair color and style can be achieved.

10:03

🔧 Advanced Control Over Output with In-Paint and Prompt Magic

This paragraph focuses on advanced techniques for controlling the output, including the use of In-Paint for targeted changes and Prompt Magic for automatic variety. It outlines the process of using In-Paint to mask and replace specific elements like hair color while maintaining the rest of the image's consistency. Additionally, it introduces Prompt Magic, which suggests new prompt ideas based on the existing prompt, and other methods like 'I feel lucky' and 'Attention Grabber' to further diversify the output.

Mindmap

Keywords

💡SD Dynamic Prompts

SD Dynamic Prompts is an extension for Stable Diffusion that allows users to create variations of prompts with just one click. It is a tool that helps in generating diverse outputs by randomizing keywords and stabilizing the output. In the video, the presenter guides the audience on how to install and use this extension to enhance their AI-generated content creation process.

💡Keyword Lists

Keyword Lists are collections of specific terms or phrases that are used as inputs for AI to generate content. In the context of the video, these lists are crucial for creating varied outputs, such as different hairstyles or clothing styles, by feeding them into the AI system. The video instructs viewers on how to compile these lists and utilize them effectively with the SD Dynamic Prompts extension.

💡Randomization

Randomization in this context refers to the process of selecting keywords from a list at random to create unique AI-generated outputs. The video emphasizes the importance of randomization in achieving a diverse range of results, such as different hair colors and clothing styles, from a single base prompt.

💡Stabilizing Output

Stabilizing Output means maintaining consistency in the quality or characteristics of the AI-generated content. In the video, the presenter discusses techniques to stabilize the output, ensuring that the generated images meet certain standards or adhere to specific parameters set by the user.

💡Control Net 1.1

Control Net 1.1 is a feature in Stable Diffusion that allows users to have more control over the output by using reference images. It generates a stick figure for the body, a point mask for the face, and tracks hand and finger positions, providing high control over the final image's composition.

💡In Paint

In Paint refers to a feature within the Stable Diffusion platform where users can refine and modify AI-generated images. It allows for tasks such as masking out certain areas to be replaced or altered, without affecting the rest of the image.

💡Prompt Magic

Prompt Magic is a feature of the SD Dynamic Prompts extension that automatically adds new prompt ideas to the end of a user's existing prompt. This helps in creating a more diverse range of outputs by suggesting additional elements or styles that fit with the initial prompt.

💡Combination Generation

Combination Generation is a process where the AI system creates all possible combinations of the keywords or variables provided by the user. This feature is used to explore a wide variety of output options based on the given input, allowing for a comprehensive exploration of the content possibilities.

💡Seed

In the context of AI-generated content, a Seed is a value that determines the randomness of the output. Fixing the seed means that the same seed value will produce the same output every time, ensuring consistency across different images generated with the same seed.

💡Negative Prompts

Negative Prompts are phrases or keywords that are used to instruct the AI to avoid including certain elements in the generated content. They are a way to guide the AI to create outputs that exclude specific characteristics or features.

Highlights

The video teaches how to use AI to create keyword lists and randomize them for automatic output stabilization.

The extension 'SD Dynamic Prompts' is used for this purpose, with a shoutout to Don Bumby for assistance.

The process begins by installing the 'SD Dynamic Prompts' extension from the Stable Diffusion extensions list.

After installation, check for updates and restart the UI for the changes to take effect.

A new area called 'Dynamic Prompts' appears in the text-to-image section after installation.

The tutorial suggests building a list of keywords using Chat GPT and saving them in a text file, with each keyword on a separate line.

Keywords can be multi-word phrases, allowing for detailed descriptions like locations.

The text file of keywords is placed in the 'SD Dynamic Prompts' folder within the Automatic 1111 extensions directory.

Restarting Automatic 1111 is crucial after adding new text lists for them to be recognized.

The video provides a link to a tutorial for detailed instructions on using the extension.

The method of incorporating the keyword lists into prompts is demonstrated, using an example of hair color and haircut types.

A batch size can be set to determine how many variations of the prompt are generated.

The video shows how the same seat can produce different outputs due to the randomized prompt elements.

Another way to use the extension is by writing the lists directly into the prompt using angle brackets.

Combination generation allows for all possible combinations of the words in the brackets to be used in the prompts.

The maximum number of generations can be limited with a slider to control the output quantity.

The video also discusses methods for controlling the output, such as using open pose or control net 1.1 for higher control over the image composition.

In Paint, a user can mask out areas to replace, like changing hair color without affecting the clothing style.

The extension offers 'Prompt Magic' for automatically adding new prompt ideas based on the existing prompt.

All prompt information and settings are saved with the image, allowing users to recall how an image was created.