Newsletter

Uncovering the Amazing Feature of Loopback Input: A Game-Changer in Image Editing

Introducing the Remarkable Loopback Feature for Image Generation

The loopback (Loopback) input is a remarkable feature that has received little attention but is truly amazing once you start using it. This article aims to shed light on this feature and its benefits.

When utilizing tools like img2img or Inpaint to generate new images based on existing ones, we often encounter a common problem. The denoising strength is not always optimal, resulting in insufficient changes or undesired alterations. Finding the right balance between denoising strength can be time-consuming and labor-intensive. Often, users give up before achieving satisfactory results.

Fortunately, Loopback comes to the rescue, providing an efficient solution for those seeking a more convenient approach. In simple terms, Loopback utilizes the current result map as the source map for the subsequent round of generating the next map. This means that under functions like img2img and Sketch, the entire image continues to be generated. Under Inpaint and Inpaint Sketch, the original selection range serves as the basis for further image generation.

To access Loopback, navigate to the Script menu located at the bottom of the img2img tab. Once selected, a form will appear, offering additional settings:

1. Loops: Execute the Loopback function multiple times.
2. Final strength denoising: Set the final strength denoising value.
3. Denoising strength curve: Choose from three options: Linear, Aggressive, and Lazy. Each option represents a different strategy for adjusting the denoising strength from the first round to the last round.
4. Attach prompt asked in each iteration: Determine whether the text of image generation should be executed and if prompted words should be searched to generate a new image for the next round. The options are None, CLIP, and DeepBooru, each serving different purposes based on the type of images being used.

Initially, the unpredictability of AI output at high denoising strength made Loopback challenging to use, resulting in limited adoption. However, with the advent of the ControlNet Super plug-in, Loopback has become more user-friendly, revolutionizing the image editing process.

For instance, let’s consider a request to change the color of a character’s clothes. Often, AI may not precisely interpret our input but still produces results that we like overall. In such scenarios, Loopback can gradually modify the character’s clothes to match our desired specifications.

To achieve this, start by transferring the image to Inpaint and selecting the portion of the skirt that needs modification. Utilize a quick phrase, such as “(masterpiece, highest quality, best quality, official art, beautiful and aesthetic: 1.3), extreme detail, Hana, red short skirt, lora fantasy: Hana25: 0.4,” to emphasize the desired change to a red skirt.

In the setup sheet, ensure that the denoising strength is set to a high value of 0.8. ControlNet must be used to avoid unwanted outcomes. Within ControlNet, there is a choice between canny and normal modes. Using normal mode allows for changing the skirt’s decoration or accessories, while canny mode produces a new skirt more consistent with the original.

Now comes the crucial step. Select Loopback under the Script menu, set the rounds to 5 to 10, and increase the denoising strength to 0.9. Leave the other settings unchanged, and you can start running the map.

This process generates several images, as depicted in the accompanying picture. The character’s skirt color transforms from white to yellow and gradually progresses through different shades of red. From this collection of results, users can select their preferred photos.

Loopback can be used for more than just simple discoloration. It enables various transformations like clothing changes or seamlessly blending natural hands and feet with artificial ones. These labor-intensive manual tasks can now be accomplished effortlessly with Loopback, providing unique and diverse results.

Uncover the Advanced Fixed Diffusion – Hand Restoration feature, advancing the world of image editing. Another noteworthy feature is Advanced Fixed Diffusion – Wake up! Change Expression, serving as a valuable tool for modifying facial expressions. With such capabilities, users can transform their images by utilizing Loopback, simplifying the process and yielding impressive outcomes.

In conclusion, the Loopback feature revolutionizes image generation by providing a convenient, efficient, and effective solution. With its ability to gradually modify images and achieve desired results, Loopback is a game-changer in the field of AI image editing.

This article is going to introduce a feature that not many people mentioned, but I found it really amazing after using it – loopback (Loopback) input.

Loopback effect

When we use img2img, or Inpaint to generate a new image based on an existing image, we often encounter a problem:

The strength of denoising is too small, the range of changes is not large enough, and what you want to change cannot be changed. But if the Denoising strength is too big, the things you want to change may not be changed, but the things you don’t want to change will be changed.

The usual way to deal with this kind of problem is to use a low Denoising strength, and constantly send satisfactory results back to img2img or Inpaint to continue redrawing. But sometimes this process is very slow and labor intensive, often giving up before seeing satisfactory results.

At this time, Loopback is a great savior for lazy people. To put it simply, Loopback is to use the result map that was run this time as the source map for the next round to continue generating the next map.

Under the img2img and Sketch functions, the entire image continues to be generated, and under Inpaint and Inpaint Sketch, the original selection range is used to continue generating the image.

At the bottom of the img2img tab, in the Script menu, there is a Loopback option. Once selected, a form will open, providing several additional settings:

Loops: Execute the Loopback function multiple times. Final strength denoising: Final strength denoising. Denoising strength curve: Denoising strength strategy change from the first round to the last round, there are three options: Linear: Average change from start to finish. Aggressive: Close to Final denoising strength very quickly. Lazy: The final denoising strength will only be close to the last rounds. Attach the prompt asked in each iteration: After generating a new image each time, whether to execute the text of image generation, attach the prompted words searched to generate a new image for the next round. There are three options: None: do not implement graphic text. CLIP: Implement CLIP, let AI extract prompts from new images, and generate prompts in natural grammar format. Commonly used in photo images. DeepBooru: Implement DeepBooru, let AI extract prompt words from new pictures, and generate prompt words for word lists, which are often used in animation pictures.

Originally, because the output of AI was too unpredictable under the condition of high Denoising strength, the Loopback function was difficult to use, so few people used it. However, after the appearance of the ControlNet Super plug-in, Loopback became especially in some places Easy to use, the following is an example request: change the color of the clothes on the character.

In many cases, AI doesn’t necessarily listen to the exact words we input, but at the same time it produces results that we really like What should we do? For example, in the picture below, the AI ​​accidentally produced a very satisfactory picture, but the color of the clothes on the character is wrong. I specified a red skirt, but the AI ​​gave me a pure white skirt.

At this time, if you use 0.99 super-high strength Denoising strength to partially reshape the skirt, you will usually get a skirt with a color ranging from pink to dark red, but we can also use Loopback to change the character’s clothes gradually.

First transfer the image to Inpaint, select the part of the skirt, and use this quick phrase to emphasize that it needs to be changed to a red skirt:

(masterpiece, highest quality, best quality, official art, beautiful and aesthetic: 1.3), extreme detail, Hana, red short skirt, lora fantasy: Hana25: 0.4

On the setup sheet, the most important thing to note is that the Denoising strength is very high at 0.8. In this case, ControlNet must be used to control the screen, otherwise the resulting things will be very appalling.

In ControlNet, you can use canny or normal. Using normal can change the decoration or accessories of the skirt. If you use canny, it will produce a new skirt that is more consistent with the original skirt.

Next is the key point, select Loopback under Script, set the rounds to 5 to 10 rounds, and finally set the Denoising strength to a higher value of 0.9, and then keep the others as they are, so you can start running the map!

In this way, Loopback will generate several pictures: You can see from the picture at the beginning of the article that the color of the character’s skirt changes from white to yellow, and then to different shades of red. We can choose the photos we like from these results to use.

In addition to simple discoloration, there are also uses such as changing clothes, joining normal hands and feet from outside natural hands and feet, etc., all of which can be changed from manual methods to lazy methods with other results:

Advanced Fixed Diffusion – Hand Restoration

Advanced Fixed Diffusion — Wake up!change expression

#Advanced #Fixed #Diffusion #Loopback