Sign In

Loop Upscale - Automated upscale workflow for different scenarios

208
2.9k
78
Type
Workflows
Stats
2,174
0
Reviews
Published
Nov 6, 2024
Base Model
Flux.1 D
Hash
AutoV2
C6FDEC9DC7
Comfy Workflow Badge
zyd232
The FLUX.1 [dev] Model is licensed by Black Forest Labs. Inc. under the FLUX.1 [dev] Non-Commercial License. Copyright Black Forest Labs. Inc.
IN NO EVENT SHALL BLACK FOREST LABS, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH USE OF THIS MODEL.

Buy me a coffee ☕

Workflow Explained (in Chinese):

Flux.1_v2.0: https://www.bilibili.com/video/BV19GDjYiErK/

Flux.1_v1.0: https://www.bilibili.com/video/BV16nSaYpE5A/

Features

This workflow adopts an iterative approach, automatically determining the necessary parameters and process based on the image size. It upscales by a factor of 2 each time, repeating the process until the target size is reached.

 

Solved Issues

Compared to common upscaling workflows, this workflow primarily addresses the following issues:

  1. When the original image size is too small, forcing an upscale results in significant deviations from the original.

  2. Different sizes of original images require specific parameter adjustments or even different upscaling processes to achieve optimal results.

  3. When using prompts to guide AI in Tiled upscaling, the AI may sometimes experience "hallucinations" generating unwanted elements.

 

Requirement

 

Tips

  1. Generally, you only need to adjust the "Target Size" in the "Input" group and select the image to upscale.

  2. The higher the "Similarity" value, the closer the result is to the original image; the lower the "Similarity" value, the more detailed the result, but with reduced resemblance to the original. Generally, when upscaling portraits, the "Similarity" value should be between 0.97 and 0.99 to preserve facial features. In other cases, you can try lower values, as 0.85 to 0.98 can still yield good results.

 

__________________________________________________________________

支持我的工作 ☕

工作流详解:

Flux.1_v2.0: https://www.bilibili.com/video/BV19GDjYiErK/

Flux.1_v1.0: https://www.bilibili.com/video/BV16nSaYpE5A/

特点

这个工作流采用了循环的办法,根据图片的尺寸,自动判断放大时所需的参数和流程,每次放大2倍,不断循环,直至目标尺寸。

 

解决的问题

对比目前常见的放大流程,这个工作流主要解决了以下问题:

  1. 原图尺寸太小时,若强行一次性放大,结果和原图的偏差较大。

  2. 对于不同尺寸的原图,都要做针对性的调参,甚至要用不同的放大流程,才能得到较好的结果。

  3. 使用提示词引导,并进行Tile分块放大时,AI有时候会产生“幻觉”,绘制出我们不想要的东西。

 

必需

 

提示

  1. 通常来说,你只需要在“Input”组中修改“Target Size”,并选择要放大的图片。

  2. “Similarity”值越大,结果和原图越接近;“Similarity”值越小,结果的细节越多、但是会降低和原图的相似性。通常来说,对人物进行放大时,“Similarity”值应为0.97-0.99,以保持人物的相貌。其他情况下,你可以尝试更低的值,0.85-0.98 都可以得到不错的结果。