OpenArt Tutorial 5 - Fix Bad Fingers With Magic Brush/Inpainting

OpenArt AI
17 Sept 202303:00

TLDRIn this OpenArt Tutorial, the presenter introduces the Magic Brush tool, which is used to correct flaws in AI-generated images, such as extra fingers or legs. The tool allows users to manually paint over the areas they want the AI to fix, along with providing prompts to guide the AI. The tutorial demonstrates the process by showing an example of a woman with an extra finger. The presenter advises adding negative prompts to enhance photorealism. After several iterations, the results are not perfect but are considered satisfactory. The Magic Brush is particularly useful for making targeted corrections while keeping the rest of the image unchanged. The tutorial concludes with a side-by-side comparison of the original flawed image and the corrected version, highlighting the utility of the Magic Brush tool.


  • 🎨 Use the Magic Brush tool to fix flaws in AI-generated images, such as extra fingers or legs.
  • 🖌️ Edit the image by painting over the area you want the AI to correct.
  • 📝 Add a descriptive prompt to guide the AI, for example, 'woman doing yoga indoors'.
  • 🚫 Include negative prompts to avoid unwanted elements, like 'General people photorealistic'.
  • 🔄 Perform multiple iterations to refine the image and get closer to the desired result.
  • 👀 Compare the original flawed image with the edited one to assess the improvements.
  • 📈 Patience is key as it may take several attempts to achieve a satisfactory result with AI tools.
  • 💡 Inpainting can be used to make more precise corrections by painting only the specific area you want to fix.
  • ➗ Decreasing the area of changes can sometimes lead to better results.
  • 💻 Save your work at various stages to keep track of the progress and decide which version is best.
  • ✅ Accept that AI tools may not always produce perfect results, but they can be useful for making significant improvements.

Q & A

  • What is the main topic of the tutorial?

    -The main topic of the tutorial is teaching how to fix flawed AI images, such as extra fingers or legs, using a tool called Magic Brush.

  • Why is the Magic Brush tool useful?

    -The Magic Brush tool is useful because it allows users to correct imperfections in AI-generated images without having to generate a new image entirely.

  • What is the first step in using the Magic Brush to fix an image?

    -The first step is to paint the part of the image that you want the AI to fix and also add a prompt that describes the desired outcome.

  • What is the role of negative prompts in the image fixing process?

    -Negative prompts help to refine the AI's output by specifying what should not be included in the final image, which can lead to more photorealistic results.

  • How many iterations did the speaker perform to achieve a satisfactory result?

    -The speaker performed multiple iterations, although the exact number is not specified, to achieve a satisfactory result.

  • What is the speaker's opinion on the results after using the Magic Brush?

    -The speaker finds the results to be not too bad and considers the Magic Brush tool to be a good option for fixing minor flaws in AI-generated images.

  • What is the purpose of the inpainting part of the process?

    -The inpainting part is used to decrease the area of changes and focus on specific details, like the fingertips in the example, to achieve a more accurate correction.

  • Why does the speaker recommend saving multiple versions of the image?

    -Saving multiple versions allows for comparison and selection of the best result, as the process may not yield perfect outcomes on the first try.

  • What is the final step the speaker takes after using the Magic Brush?

    -The final step is to compare the corrected image with the original flawed image side by side to evaluate the effectiveness of the tool.

  • How does the Magic Brush tool help with maintaining the rest of the image while fixing flaws?

    -The Magic Brush allows for targeted corrections, meaning that only the specified areas are altered, leaving the rest of the image unchanged.

  • What is the general advice given for using AI tools like the Magic Brush?

    -The general advice is to be patient and prepared to make multiple attempts, as getting things right with AI tools often requires trial and error.



🎨 Introduction to Magic Brush Tool

This paragraph introduces the Magic Brush tool, which is designed to fix flaws in AI-generated images, such as extra fingers or legs. The speaker explains that instead of regenerating an entirely new image, this tool allows for the correction of specific parts. The process involves painting over the area that needs fixing and providing prompts to guide the AI in generating a more realistic image. Negative prompts are also recommended to enhance photorealism.



💡OpenArt Tutorial

An OpenArt Tutorial refers to a series of instructional videos focused on creating or manipulating digital art, often using artificial intelligence (AI). In this context, it is a guide for viewers to learn about AI image generation and editing tools, specifically addressing common issues like fixing flawed images.

💡AI Images

AI Images are visual representations generated by artificial intelligence algorithms. They can range from simple patterns to complex, photorealistic scenes. In the video, AI images are used to demonstrate how to correct common imperfections such as extra fingers or legs in a generated image.

💡Flawed Images

Flawed images refer to AI-generated pictures that contain errors or unwanted elements, such as extra limbs or digits. The video script discusses a common issue where AI might create an image with an incorrect number of fingers, which is the flaw the tutorial aims to address.

💡Magic Brush

The Magic Brush is a tool within the AI image editing software that allows users to manually edit parts of an AI-generated image. It is used to 'paint' over areas that need correction, guiding the AI to generate a revised, error-free image.


Inpainting is a technique used in image editing where missing or damaged parts of an image are filled in or restored. In the context of the video, it refers to the process of using the Magic Brush to selectively edit specific parts of an image to improve its quality.


In AI image generation, a prompt is a text description that guides the AI in creating an image. It can include specific details about the scene, objects, or desired outcome. The video script mentions adding a prompt to help the AI understand what the user wants to create or fix.

💡Negative Prompts

Negative prompts are instructions given to an AI to exclude certain elements or characteristics from the generated image. They are used to refine the output and achieve a more desired result. In the script, negative prompts are recommended to enhance photorealism.


Photorealistic refers to images that closely resemble photographs, exhibiting a high level of detail and realism. The video emphasizes the goal of creating photorealistic images by using both positive and negative prompts in conjunction with the Magic Brush tool.


Iterations in the context of AI image generation refer to the process of repeatedly generating and refining an image until the desired outcome is achieved. The script describes the need for multiple iterations to correct flaws in the AI-generated images.

💡Error Correction

Error correction is the process of identifying and fixing mistakes in AI-generated content. The video focuses on using the Magic Brush and inpainting techniques to correct common errors such as extra fingers in an image.

💡2X Face

A '2X Face' likely refers to a close-up or detailed view of a face, possibly at twice the normal size. In the video, it is used to compare the before and after results of the image correction process, highlighting the effectiveness of the techniques taught.


Introduction to a powerful tool for fixing flawed AI-generated images.

Common issues in AI images include extra fingers or legs.

The Magic Brush tool allows for image correction without re-generation.

Demonstration of editing an image with an extra finger.

The importance of painting the area you want AI to fix.

Adding prompts like 'woman doing yoga indoors' enhances image context.

Recommendation to include negative prompts for photorealism.

Process of generating multiple images for the best result.

Saving interim results for comparison.

Challenges of achieving perfect results with AI tools.

Iterative approach to inpaint the fingertip for more precise corrections.

Acceptance of the tool's limitations and the learning curve.

Saving the final corrected image.

Use of 2X face comparison to show before and after.

Observation of the corrected image still having minor imperfections.

The utility of inpainting for targeted corrections while keeping the rest intact.

Final advice on the practical use of the Magic Brush tool for image editing.