Custom Workflow for Krita's AI Diffusion Plugin. Works directly from the visible canvas. Upscale, Enhance the image, Downscale to same size. Can be used as normal ComfyUI workflow with a bypass, just connect it like you need it. There 2 two groups that work in sequence, so you do not need to use the Krita (imbedded custom workflow) if you want to use a part of this idea in another comfy workflow. ComfyUI Manager recommended to get missing nodes, as they usually not part of the Local installation of Krita's Comfy backend.
Following additional nodes are used, (Upscaler), (JKNodes), (WASNodes), (EasyUse), (CustomScripts) for Math, [(RGthree) Downscale], and of course the Krita Required custom nodes.
What the benefit? Better details, included eye fix without enlarging the image. Also works great on already upscaled ones. At least i have better results as the build in Krita Upscaler feature (it noises a lot), without destroying already present details. At the standard values are discovered by experimentation, and seems to do for my taste. At least you do not need to sharpen afterwards.
For multiple runs it can over sharpen or darken the image, as the upscale works chunk by chunk, it recommended to adjust the settings or in post to counteract this. The default 'seam' parameters work fine for the most cases, but it can produce chunk shadows on larger upscales values. Larger Upscale values works better for indicate fine details, while higher steps smoothen details. Overall works best with 30-50% denoise, depends on the picture/prompts. The Result blend very good with the source, and can be masked for fine control.
Add a revision V2 with some changes, see changelog. V1 is still good for oneshot 'txt to img', V2 is better suited for 'img to img' as its softer in the defaults.
V3 has some needed changes; see changelog. Mirror and description of the Text to Img workflow can be found on Deviant Art. Happy Drifting.
Note: If you have problems with losing Color, saturation or brightness, use another VAE.
Description
Major Changes in V3:
Fixed Tile Logic (The "Tile Multiplier"):
Replaced the confusing "Canvas Divide" math with a new "Tile Multiplier" slider.
0.5 = Micro-Detail (High Texture)
1.0 = Optimal Standard (Balanced) (1024x base)
1.5+ = Smoothing/Noise Reduction
Includes a math snap to 32-pixel grids to prevent border errors and artifacts.
Improved User Interface:
Parameters are now strictly sorted and grouped (e.g., "1a. Prompt", "2a. Upscale") for a logical workflow.
Expose Force Tiled Decode, Force Uniform tiles, Tiled Mode
Added "Use Default VAE" toggle to easily switch between checkpoint VAEs and external high-quality VAEs (like SharpSpectrum).
Optimized Defaults:
Parameters defaults are "smoother" then previous versions;
Tuned defaults prioritize quality/time (Lower step counts, optimized Denoise strengths).
Half Tile Seam Fix is now default for invisible borders on detailed images.
Dependency Updates:
Important: Updated
Was Node (ns)compatibility. Please install the recommended fork as the original is retired.
Combined Text to IMG (with IMG to IMG) Workflow.
Added a "XL Base Workflow" with Highers fix for Comfy UI users that has the "KUD" Workflow integrated.

