How to Use Negative Prompts in Midjourney

Tokenized AI by Christian Heidorn
18 Dec 202222:07

TLDRIn this tutorial, Christian Heidorn from Tokenized AI demonstrates how to use negative prompts in Midjourney to remove unwanted objects or concepts from generated images. He explains that negative prompting is a subtractive process compared to the additive nature of regular prompts. Heidorn clarifies that Midjourney cannot edit images like in-painting tools but offers the 'no' parameter and negative image text weights as alternatives. Through examples, he shows the limitations, such as the inability to remove core concepts from a scene. Heidorn also illustrates how to use text weights to construct scenes and emphasizes the importance of trial and error in achieving the desired outcome. The tutorial concludes with a reminder that negative prompting is not a perfect science and may require experimentation.

Takeaways

  • πŸ“š Negative prompting is a technique used to remove objects or concepts from generated images.
  • βž• Positive prompts add content, while negative prompts subtract or remove elements from a scene.
  • 🚫 Midjourney does not support in-painting or direct image editing, unlike some other tools.
  • πŸ” Negative prompts work best with less complex scenes and are not effective for removing core concepts.
  • πŸ“ˆ Using the 'no' parameter or negative text weights can help refine the image generation process.
  • πŸ”„ Remix mode in Midjourney allows working off an existing image to make specific changes.
  • πŸ•΅οΈβ€β™‚οΈ Negative prompting is not always precise and might require trial and error to achieve desired results.
  • 🌐 The effectiveness of negative prompts decreases with the complexity of the scene or image.
  • 🎨 Text weights can be used to control the prominence of elements within an image, including using negative values to de-emphasize or remove them.
  • 🌟 Combining positive and negative text weights can help construct intricate and detailed scenes.
  • ❄️ An example of a successful negative prompt includes generating a winter landscape without snow or trees, emphasizing a buffalo herd.

Q & A

  • What is the main topic of the video?

    -The main topic of the video is how to use negative prompts in Midjourney to remove objects and concepts from generated images.

  • What is negative prompting?

    -Negative prompting is the process of removing something from your prompt, which allows you to eliminate elements from a specific scene or image that you've created or described.

  • How does negative prompting differ from the regular additive process of writing prompts?

    -While writing prompts is additive, adding content and transformation to generate an image, negative prompting is subtractive, allowing you to remove elements from the image.

  • What limitations does Midjourney have regarding image editing?

    -Midjourney does not allow specific image editing like in-painting, which is supported by tools like Dali 2 or stable diffusion. This limitation is mainly due to the interface it uses, which is Discord.

  • How does the 'no' parameter work in negative prompting?

    -The 'no' parameter is used to specify an object or concept that you want to remove from the generated image. It's a part of the subtractive process in negative prompting.

  • What is the alternative method to the 'no' parameter for negative prompting?

    -The alternative method to the 'no' parameter is using negative image text weights. This involves assigning a negative weight to a word or concept in the prompt to remove it from the generated image.

  • Why might negative prompting not work as expected with complex or very defined concepts?

    -Negative prompting might not work well with complex or very defined concepts because the core elements of the concept are difficult to remove without altering the fundamental understanding of the scene or image.

  • How can text weights be used to achieve a similar result as the 'no' parameter?

    -Text weights can be used by assigning a negative value to a word or concept in the prompt, which tells Midjourney to reduce the prominence of that element or remove it from the generated image.

  • What is the significance of using both positive and negative text weights?

    -Using both positive and negative text weights allows for greater control over the generated image, enabling the user to emphasize certain elements while removing or de-emphasizing others.

  • Why does the video suggest that negative prompting is not a perfect science?

    -Negative prompting is not a perfect science because it involves trial and error. The results can vary, and users may need to experiment with different prompts and weights to achieve the desired outcome.

  • What is the potential future feature for Midjourney that the video mentions?

    -The video mentions the potential future implementation of an in-painting feature in Midjourney, which would allow for more precise editing and removal of elements from images.

  • How can the viewer support the content creator and stay updated with new videos?

    -Viewers can support the content creator by liking the video, subscribing to the channel, and activating notifications to stay updated with new video releases.

Outlines

00:00

🎨 Introduction to Negative Prompting

Christian Heidorn from Tokenized AI introduces the concept of negative prompting in the context of AI image generation with Mid Journey. He explains that negative prompting is a subtractive process that allows users to remove objects or concepts from their generated images, contrasting with the additive process of standard prompting. He clarifies that Mid Journey does not support in-painting like some other tools do, and that negative prompts are more effective for simpler scenes rather than complex ones. Two methods for negative prompting are discussed: using the 'no' parameter and negative image text weights.

05:00

πŸ•―οΈ Removing Candles from a Birthday Cake

The video demonstrates the use of the 'no' parameter to remove candles from an image of a birthday cake. After activating remix mode, the 'no candles' parameter is added to the prompt, and the AI generates a cake without candles while maintaining the original composition. It is noted that the 'no' parameter struggles with removing core concepts that are intrinsically linked to the main subject, as demonstrated by an unsuccessful attempt to remove eyes from a close-up image of a woman.

10:01

🌼 Abstracting Nature's Meadow Scene

Christian illustrates the use of negative prompting with a more abstract concept, 'Nature's Meadow,' and attempts to remove flowers from the scene. He explains that the concept of a meadow can be flexible, allowing for the removal of certain elements like flowers. By using remix mode and specifying 'no flowers,' the AI successfully generates a meadow scene without flowers, maintaining the composition of the chosen image. The concept is further expanded to include animals from the animal kingdom, resulting in a scene with animals but no birds or flowers.

15:02

❄️ Crafting a Rocky Mountain Winter Landscape

The video explores the use of text weights as an alternative to the 'no' parameter for negative prompting. It is shown that assigning a weight of -0.5 to certain elements, such as 'flowers' or 'birds,' is equivalent to using the 'no' parameter. An example is given where a rocky mountain landscape in winter is generated with an emphasized buffalo herd, but without trees or snow. This demonstrates the potential for crafting detailed scenes through careful use of text weights and negative prompting.

20:02

πŸ” Conclusion and Final Thoughts

Christian concludes by emphasizing that negative prompting is not an exact science and involves a process of trial and error. He suggests that for simple removals, using the 'no' parameter might be more efficient, but for more complex scenes, text weights offer greater control. He acknowledges that while negative prompting in Mid Journey is not as precise as in-painting features in other tools, it remains a valuable method for refining AI-generated images. The video ends with a call to like and subscribe for more content on AI software navigation.

Mindmap

Keywords

πŸ’‘Negative Prompting

Negative prompting is a technique used in AI image generation where specific elements or concepts are intentionally removed from the generated image by including 'no' before the unwanted element in the prompt. In the video, it is used to illustrate how to subtract elements from an image, such as removing a teddy bear from a children's room or candles from a birthday cake.

πŸ’‘Midjourney

Midjourney refers to the AI tool being discussed in the video that generates images based on textual prompts. It is used as an example to demonstrate how negative prompting works within its interface, which is based on Discord and does not support in-painting or direct image editing.

πŸ’‘Remix Mode

Remix mode is a feature within Midjourney that allows users to modify an existing image by adding or changing elements. In the script, the host uses remix mode to demonstrate how to remove candles from a birthday cake by adding 'no candles' to the prompt.

πŸ’‘Text Weights

Text weights are numerical values assigned to words or concepts in a prompt to control their importance or emphasis in the generated image. The video explains that using 'no' before a word is equivalent to giving it a negative text weight, which tells the AI to reduce or eliminate that element from the image.

πŸ’‘In-Painting

In-painting is a feature in some AI image generation tools that allows for the editing of specific parts of an image, such as removing or adding objects. The video mentions that while Midjourney does not support in-painting, other tools like Dali 2 or Stable Diffusion do.

πŸ’‘Composition

Composition refers to the arrangement of elements within an image. The video discusses how using negative prompting in remix mode can affect the composition, as the AI tool tries to maintain the original layout while removing specified elements.

πŸ’‘Abstract Prompts

Abstract prompts are less detailed and more open to interpretation, which can lead to more varied and creative results when generating images. The video uses 'Nature's Meadow' as an example of an abstract prompt that allows for the removal of elements like flowers and birds to create a different scene.

πŸ’‘Parameter

In the context of the video, a parameter refers to a specific element or instruction within the prompt that the AI tool uses to generate the image. The 'no' parameter is a type of negative parameter used to exclude certain elements from the image.

πŸ’‘Tokenized AI

Tokenized AI is the company mentioned in the video, run by Christian Heidorn, which provides tutorials and guidance on navigating AI software. The video is a tutorial from this company, focusing on the use of negative prompting in Midjourney.

πŸ’‘Discord

Discord is the platform on which Midjourney operates. The video points out that the limitations of Discord's interface contribute to Midjourney's inability to support in-painting or direct image editing features.

πŸ’‘Natural Looking Realistic Scenes

This phrase refers to the goal of creating images that appear natural and realistic. The video discusses how adding complexity with negative prompts can lead to more abstract and less natural-looking results, as seen when removing elements like flowers and birds from a meadow scene.

Highlights

Negative prompting is a process of removing elements from your image prompts in Midjourney.

Negative prompting is subtractive, unlike the additive process of regular prompts.

Midjourney cannot edit images in an editor or perform in-painting like Dali 2 or stable diffusion.

Negative prompts in Midjourney involve removing concepts from the message sent to the AI.

The effectiveness of negative prompting decreases with more complex scenes.

Two methods of negative prompting in Midjourney are using the 'no' parameter and negative image text weights.

The 'no' parameter is equivalent to applying a negative text weight to a concept.

Negative prompting can fail when trying to remove core parts of a concept, such as 'cake' from 'birthday cake'.

Remix mode in Midjourney allows for modifying existing images by adding or removing elements.

Adding complexity to prompts with negative prompting can lead to more abstract and less realistic images.

Text weights can be used to emphasize or de-emphasize elements in a generated scene.

Negative prompting through text weights allows for fine-tuning the composition of generated images.

The process of negative prompting involves trial and error to achieve the desired outcome.

Negative prompting is not suitable for in-painting or detailed image editing within Midjourney.

The video provides a step-by-step guide on how to use negative prompting in Midjourney.

Christian Heidorn from Tokenized AI demonstrates the use of both positive and negative text weights.

The video concludes with the potential future implementation of in-painting features in Midjourney.