stable diffusion img2img walkthrough : paint an bussin watercolor in minutes (no cap) Krita + Koi

koiboi
7 Sept 202207:33

TLDRThis tutorial showcases how to transform basic sketches into detailed watercolor paintings using Krita and the Koi plugin. The video guides viewers through setting up a canvas, using the plugin, and refining their images with various parameters. It demonstrates creating a lighthouse scene, adjusting sketch strength, and generating multiple iterations for the best results, all within minutes.

Takeaways

  • 🎨 **Image to Image Transformation**: The process involves taking a simple sketch and transforming it into a detailed, coherent image using AI.
  • 🖥️ **Krita Software**: Krita is a free, open-source software used for creating the base canvas and sketching the desired image.
  • 🔌 **Koi Plugin**: The Koi plugin is essential for the image-to-image process and needs to be installed for the AI to generate the final artwork.
  • 📏 **Canvas Size**: A 512 by 512 pixel canvas is recommended as it is the size preferred by the neural network for processing.
  • 🖌️ **Initial Sketch**: Start with a basic sketch covering the entire canvas to avoid any undesired black areas in the final image.
  • 🌊 **Background Color**: Painting the background first is crucial as it sets the tone for the image and prevents the AI from misinterpreting unfilled areas.
  • 🏞️ **Subject and Style**: Define the subject of the painting and the style, such as a watercolor painting of a lighthouse by a specific artist, to guide the AI's output.
  • 🔄 **Variations**: Request multiple variations to explore different outcomes from the AI, which can be useful for selecting the best result.
  • 🔁 **Iterations**: Increase the number of steps in the AI's processing to refine the image and decrease the sketch strength to give the AI more creative freedom.
  • 🔍 **Upscaling**: Use an upscaler to improve the resolution and reduce blurriness in the final image for better quality.
  • 📈 **Progression**: Observing the progression from a simple sketch to a detailed painting highlights the power of AI in enhancing artistic creations.

Q & A

  • What is the main purpose of the 'image to image' process discussed in the transcript?

    -The main purpose of the 'image to image' process is to transform a simple or poorly drawn image into a more coherent and visually appealing artwork using AI technology.

  • Which software is recommended for this image to image process?

    -The software recommended for this process is Krita, which is a free and easily installable program on any computer.

  • Why is it important to cover the entire canvas with color before using the AI?

    -Covering the entire canvas with color is important because any uncolored pixels will be interpreted as black by the AI, which can lead to unwanted results in the final image.

  • What is the role of the KOI plugin in this process?

    -The KOI plugin is used to enhance the initial sketch by the user, allowing the AI to create a more refined and visually appealing image based on the user's drawing.

  • What are the dimensions recommended for creating a new canvas in Krita for this process?

    -The recommended canvas size is 512 by 512 pixels, as this is the size that the neural network prefers.

  • How does the 'sketch strength' parameter affect the AI's output?

    -The 'sketch strength' parameter determines how much attention the AI pays to the user's original drawing and how much freedom it has to modify it, with lower values giving the AI more freedom.

  • What is the significance of the 'base seed' in the AI generation process?

    -The 'base seed' is used to ensure that the same parameters and settings can reproduce the same result, allowing for consistency if the user wants to recreate a specific image.

  • Why might one choose to increase the number of 'steps' in the AI generation process?

    -Increasing the number of 'steps' allows the AI more attempts to refine the image, potentially leading to a higher quality or more detailed final output.

  • What is the benefit of generating multiple variations of an image?

    -Generating multiple variations allows the user to compare different outcomes and choose the one that best fits their vision or aesthetic preferences.

  • How can the final AI-generated image be improved in terms of clarity?

    -The final AI-generated image can be improved in clarity by using an upscaler, which increases the resolution and can reduce blurriness.

  • What is the practical advice given for what to do while waiting for the AI to process the image?

    -The advice given is to have some activity to do while waiting, such as changing clothes, as the AI processing time can be utilized for other tasks.

Outlines

00:00

🎨 Transforming Amateur Art with AI

The script introduces a technique called 'image to image,' which leverages AI to transform simple drawings into polished, professional-looking images. The narrator discusses the use of Krita, a free software, and the KOI plugin to enhance a basic sketch of a lighthouse into a detailed artwork. The process involves creating a new canvas, painting a blue background to avoid misinterpretation by the AI, and using specific qualifiers to guide the AI's output. The narrator also shares tips on using the 'dream' function in the AI to generate multiple variations of the image, adjusting parameters like 'steps' and 'sketch strength' to refine the results.

05:02

🖌️ Refining AI-Generated Art with Iterations

In the second paragraph, the script elaborates on refining the AI-generated art by adjusting parameters and iterating the process. The narrator decides to decrease the 'sketch strength' to 0.09 to allow the AI more freedom in creating unique compositions. The aim is to achieve more expressive and detailed results. The script also mentions the importance of viewing the AI-generated images from a distance to appreciate their aesthetic value better. The narrator suggests using an upscaler to improve the clarity of the images. Lastly, the script encourages viewers to experiment with different settings and to find creative ways to spend the time while the AI processes their images.

Mindmap

Keywords

Stable Diffusion

Stable Diffusion refers to a machine learning model used to generate images from text or other images. In the video, it is used to enhance basic artwork by turning rough sketches into more refined and aesthetically pleasing images.

Krita

Krita is a free, open-source digital painting program. In the video, it is the tool used to create initial sketches or drawings, which are then refined using the Stable Diffusion model.

Koi plugin

The Koi plugin is an additional tool for Krita that integrates AI features, like Stable Diffusion. In the video, the Koi plugin allows the user to turn simple sketches into high-quality images by running them through an AI model.

Canvas size

Canvas size refers to the dimensions of the digital workspace in Krita. The recommended size in the video is 512x512 pixels, which is the preferred input size for the AI model being used.

Sketch strength

Sketch strength is a parameter in the AI model that determines how much influence the initial sketch has on the final output. In the video, lower sketch strength allows the AI more creative freedom, while higher values keep the final image closer to the original drawing.

Seed

A seed is a number used to generate reproducible outputs in machine learning models. In the video, the seed is adjusted to ensure the AI produces consistent results when the same parameters are used multiple times.

Variations

Variations refer to the different outputs the AI can generate from a single sketch. In the video, the user requests multiple versions of the same image to explore different artistic possibilities.

Steps

Steps refer to the number of iterations the AI goes through to refine an image. In the video, increasing the steps from 80 to 120 results in a higher quality, more detailed image.

Watercolor style

Watercolor style is a painting technique that the user in the video tries to emulate using the AI. The user specifies 'watercolor painting of a lighthouse' to guide the AI in producing a softer, more fluid artistic result.

Google Colab

Google Colab is a cloud-based service for running machine learning models. In the video, the user runs the image generation process through Google Colab, using it as a backend for processing their images.

Highlights

Image to image technique transforms poor art skills into coherent art.

Using Krita, a free and easy-to-install tool for digital painting.

Canvas size should be 512x512 to match neural network input.

Install the Koi plugin for enhanced features and AI integration.

Blue background prevents black areas from confusing the AI model.

Describe the subject to guide AI—like 'watercolor lighthouse on a sunny day'.

Select a famous artist's style to shape the AI's artistic output.

Generate multiple variations to compare and refine the artwork.

Tweak steps and sketch strength to control AI's creative freedom.

Lower sketch strength allows AI more freedom for artistic interpretation.

Generate new results and compare them with different seed values.

AI produces more detailed and less blurry results with more steps.

Running images through an upscaler improves clarity.

Increased freedom in AI settings can result in more creative results.

From a distance, even blurry images can look impressive.