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

Olivio Sarikas
1 May 202312:21

TLDRThis video tutorial introduces viewers to the SD Dynamic Prompts extension, which simplifies the creation of numerous prompt variations with a single click. The host demonstrates how to integrate this tool with Stable Diffusion for text-to-image and image-to-image applications. The process involves creating keyword lists using AI, such as Chat GPT, and then saving these in a text file format to be used within the extension. The video covers various methods to enhance the output's diversity and control, including randomization, combination generation, and using ControlNet for precise output manipulation. Additionally, the host explains how to utilize 'prompt magic' for automatic variety generation and emphasizes the importance of saving prompt information with the image for future reference. The tutorial is a comprehensive guide for users looking to streamline and diversify their creative outputs using AI.

Takeaways

  • 🔧 Use the SD Dynamic Prompts extension to create multiple variations of prompts with just one click.
  • 📝 Create a list of keywords using AI, such as Chat GPT, and save them as individual lines in a text file.
  • 📂 Organize your keyword lists in the Automatic 1111 folder structure for the extension to access them.
  • 🌟 Utilize the Dynamic Prompts area in the extension to input your normal prompt and insert wildcard lists for variations.
  • 🎨 Randomize the output by setting a batch size and allowing the AI to select from your keyword lists.
  • 📉 Control the output by using features like Open Pose and ControlNet 1.1 for more precise image generation.
  • 📈 Increase control over the output by fixing the seed for consistent results across multiple images.
  • 🖌️ Use the 'In-Pane' feature to make specific changes, such as hair color, without affecting the rest of the image.
  • 🔄 Generate a variety of images using the 'Prompt Magic' feature to add new ideas to your prompt automatically.
  • 🔍 Discover new creative ideas by experimenting with different methods and settings within the Dynamic Prompts extension.
  • 💾 Automatic 1111 saves the prompt and settings information within the image file for future reference.

Q & A

  • What is the name of the extension discussed in the video?

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

  • How can you install the SD Dynamic Prompts extension?

    -You can install the SD Dynamic Prompts extension by going to the extensions section in Stable Diffusion, clicking on 'available', using the 'load from' button, searching for 'SD Dynamic Prompts', clicking 'install', and waiting for the installation to finish.

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

    -The text file with keywords is used to create a list of variations that can be randomized and used in prompts within the AI system to generate different outputs.

  • How can you create a list of keywords using AI?

    -You can create a list of keywords using AI by asking a language model like Chat GPT to generate a list of specific items, such as 'female email haircuts', and then saving these into a text file with each keyword on a separate line.

  • What is a 'Wild Card list' in the context of the video?

    -A 'Wild Card list' refers to a text file containing a list of keywords or phrases that can be inserted into a prompt to generate variations of the output, such as different hair colors or clothing styles.

  • How do you use the 'Wild Card' feature in a prompt?

    -To use the 'Wild Card' feature in a prompt, you write your normal prompt and then where you want to include variations, you use the format '__double underscore__' followed by the name of the text file (without the '.txt' extension) and another '__double underscore__'.

  • What does setting the batch size to a number do in the context of the AI prompt?

    -Setting the batch size to a number tells the AI to generate that many different outputs based on the variations in the 'Wild Card list', providing a random selection from the list each time.

  • How can you manually insert a list of options into a prompt without using a text file?

    -You can manually insert a list of options into a prompt by using angle brackets ('<>') and separating each option with a straight line, allowing you to include multiple variations directly in the prompt.

  • What is 'combination generation' and how is it used?

    -Combination generation is a feature that allows the AI to create every possible combination of the terms within the angle brackets, generating a series of outputs that include all the different combinations.

  • How can you control the output to ensure consistency in certain aspects like clothing style?

    -To control the output and ensure consistency in certain aspects, you can use the in-painting feature in the AI system, which allows you to mask out the area you want to change, such as hair color, while keeping the rest of the image, including clothing style, the same.

  • What is 'prompt magic' and how does it help in generating more creative prompts?

    -Prompt magic is a feature that adds new prompt ideas to the end of your existing prompt based on what you have already written. It can help in discovering cool ideas and image looks that you might not have thought of by itself.

  • How can you view the prompt and settings information of an image created with the AI system?

    -You can view the prompt and settings information of an image by going to the 'PNG info' tab in the AI system, loading the image, and then viewing the details on the right side, which includes the prompts, settings, and model information used.

Outlines

00:00

🚀 Introduction to AI for Prompt Variations

This paragraph introduces the viewer to a method of creating numerous prompt variations using an AI extension called 'SD Dynamic prompts'. The speaker guides the audience through the process of installing the extension on Stable Diffusion and using it to create keyword lists. The audience is encouraged to follow a tutorial for in-depth instructions. The paragraph also explains how to input these keywords into a text file, place them in the appropriate folder for the extension, and use wildcards in prompts to generate variations. The speaker emphasizes the importance of restarting the AI software after adding new lists and demonstrates how to use the extension to create random variations in image outputs, such as hair color and style.

05:03

📚 Advanced Prompting Techniques

The second paragraph delves into more advanced prompting techniques using the AI extension. It explains how to manually write lists within the prompt itself using angle brackets and how to select multiple terms from these lists by specifying a number and using double dollar signs. The paragraph also covers the concept of 'combination generation', which allows for the creation of all possible combinations of terms within brackets. The speaker discusses methods for controlling the output, such as using 'open pose' and 'control net 1.1' for high control over image composition and pose. Additionally, the paragraph introduces 'in paint' for changing specific elements like hair color while keeping other elements consistent.

10:03

🎨 Exploring Prompt Magic and Output Control

The final paragraph focuses on using 'prompt magic' to automatically generate additional prompt ideas based on the user's input. It discusses the option to apply these new ideas to the end of the prompt and to experiment with different methods available in the extension. The paragraph also touches on the 'I feel lucky' feature, which loads prompts from lexicon art, and the 'attention grabber', which emphasizes different parts of the prompt. The speaker highlights that all prompt information is saved with the image, allowing users to recall how an image was created. The paragraph concludes with a reminder that the AI software saves all settings and prompts within the image file, and an encouragement for viewers to like the video and engage with the channel.

Mindmap

Keywords

💡AI

Artificial Intelligence (AI) refers to the simulation of human intelligence in machines that are programmed to think like humans and mimic their actions. In the video, AI is used to create keyword lists for prompts, which is central to generating varied outputs in the automatic 1111 system.

💡SD Dynamic Prompts

SD Dynamic Prompts is an extension mentioned in the video that allows users to create multiple prompt variations with just one click. It is a tool that enhances the functionality of the automatic 1111 system, enabling users to generate a wide array of content efficiently.

💡Automatic 1111

Automatic 1111 is a system or software that is used in the context of the video to generate images based on text prompts. It is where the extension SD Dynamic Prompts is utilized to create diverse image outputs by randomizing keywords within the prompts.

💡Keyword Lists

Keyword Lists are collections of specific words or phrases used to generate prompts for the AI system. In the video, these lists are created with the help of AI and are essential for the creation of varied and randomized prompts within the automatic 1111 system.

💡Wildcards

Wildcards, in the context of the video, refer to the placeholders used in prompts where different keywords from a list can be inserted. They are denoted by '___' in the prompts and are used to introduce variability in the generated images by the automatic 1111 system.

💡Batch Size

Batch Size is the number of images generated in one go by the automatic 1111 system. In the video, adjusting the batch size allows for the generation of multiple variations of an image based on the randomized keywords in the prompt.

💡ControlNet 1.1

ControlNet 1.1 is a feature or tool within the automatic 1111 system that provides a level of control over the generated images. It is used to stabilize the output by ensuring consistent elements across the generated images, as shown when the presenter uses it to fix the hair color while keeping the clothing style unchanged.

💡In-Paint

In-Paint is a feature within the automatic 1111 system that allows users to make specific changes to generated images, such as changing the hair color while keeping the hairstyle consistent. It is used to refine the output by targeting particular areas of the image for modification.

💡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. It helps in discovering new and creative image looks by suggesting additional keywords based on the initial prompt provided by the user.

💡Combination Generation

Combination Generation is a process mentioned in the video where all possible combinations of keywords within brackets are used to generate a series of images. This feature of the automatic 1111 system is useful for exploring a wide range of variations based on the keywords provided.

💡Negative Prompts

Negative Prompts are terms or phrases that are used to indicate what should be avoided or not included in the generated images. In the video, the presenter mentions 'don't apply to negative prompts' in the context of Prompt Magic, which suggests that certain prompt enhancements should not be used with negative prompts.

Highlights

The video demonstrates how to use AI to create keyword lists and randomize these keywords for use in automatic 1111.

SD Dynamic prompts extension is introduced for creating variations with just one click.

The extension is installed through the extensions menu in automatic 1111.

Dynamic prompts can be found in the text to image and image to image sections after installation.

Keywords are organized into text files, with each keyword on a separate line.

Text files with keywords are saved in the SD Dynamic prompts folder within the automatic 1111 extensions folder.

Wildcards can be used in prompts to select from a list of keywords, indicated by '__' before and after the filename.

Batch size can be set to generate multiple variations of an image based on the wildcard lists.

The video shows how to manually write lists within the prompt using angle brackets for inline keyword selection.

Combination generation allows for creating all possible combinations of keywords within brackets.

ControlNet 1.1 is used for high control over the output, including pose and composition.

In-Pane editing allows changing specific elements like hair color without affecting the rest of the image.

Prompt magic adds new prompt ideas to the end of the user's prompt, enhancing variety.

The 'I feel lucky' option loads prompts from lexicon art that fit the user's creation intent.

Attention grabber emphasizes different parts of the prompt using adjustable weights.

Automatic 1111 saves prompt information and settings within the image file for easy recall.

The PNG info tab in automatic 1111 displays all prompts and settings used to create an image.