ComfyUI: Upscale an existing image to 4K with PiD

Demo summary
The video demonstrates uploading a landscape photo into a ComfyUI workflow and using the PiD (Pixel Diffusion) model to upscale it to 4096 resolution in under 10 seconds.
Step-by-step
- Upload an image into the workflow
- Download the AE.safetensors VAE file and place it in the 'models/VAE' folder
- Press 'R' to refresh the model list and select the VAE from the dropdown
- Set the output width to 4096 and calculate the height to preserve the original aspect ratio
- Update the text prompt to describe the uploaded image
- Connect the diffusion model node to the sampler if it is disconnected
- Click Run
Watch out for
- The input image should ideally be 1024 pixels on its longest side for this specific model
- Red outlines around nodes indicate you must update to the latest version of ComfyUI
- The original workflow may have a missing connection between the diffusion model and the sampler that requires manual linking
Tips
- Use the AE.safetensors VAE file (used by Z-image) for best results
- Ensure the output dimensions are exactly 4x the input dimensions to maintain the 1K to 4K ratio
Highlights
“This should be super quick. It should be able to upscale this image in less than 10 seconds.”
All demos from “The BEST AI for 4K images. Free & fast”
6:420:59Configure Gemma 2B Text Encoder in ComfyUIThe creator shows how to load the Gemma 2B text encoder model into the ComfyUI workflow and select it from the node dropdown menu.ComfyUI· AI Image Generator
9:521:53Upscale an existing image to 4K with PiDCurrentThe video demonstrates uploading a landscape photo into a ComfyUI workflow and using the PiD (Pixel Diffusion) model to upscale it to 4096 resolution in under 10 seconds.ComfyUI· AI Image Upscaler
13:200:38Compare original vs upscaled image using RG3 nodesThe user adds an 'image compare' node by RG3 to the ComfyUI canvas to show a side-by-side slider comparison of the blurry original image versus the sharp PiD upscaled result.ComfyUI· AI Image Upscaler
14:274:08Generate and upscale images using Zee Image and PiDA demonstration of a combined workflow where Zee Image Turbo generates a 1K image of a red panda which is then automatically passed into the PiD upscaler for a 4K final output.ComfyUI· AI Image Upscaler
20:151:27Text-to-image generation with PiD DIT modelThe creator demonstrates the standalone PiD text-to-image workflow, generating an image of a leopard in a jungle directly from a prompt using the lightweight DIT model.ComfyUI· Text to Image- Watch “The BEST AI for 4K images. Free & fast” →
AI Image Upscaler
30:073:41Upscaling images using modelsDemonstrates upscaling a low-resolution 512x512 image using the 4X Ultra Sharp model to add clarity and detail.AI Search
36:021:32Using Preview Chooser for selective upscalingShows how to use the Image Chooser node to generate a batch of images and selectively progress only one specific image to the upscaler.AI Search
43:496:52Tiled upscaling with Ultimate SD UpscaleA detailed demo of the Ultimate SD Upscale node, showing how tiled upscaling generates significantly higher facial detail than standard upscaling.AI Search
2:432:38Generate and upscale images with Flux KontextThe creator demonstrates setting up a basic Flux Kontext workflow in ComfyUI, generating a character image, and then using a KSampler-based upscaler to increase resolution.pixaroma
9:521:53Upscale an existing image to 4K with PiDCurrentThe video demonstrates uploading a landscape photo into a ComfyUI workflow and using the PiD (Pixel Diffusion) model to upscale it to 4096 resolution in under 10 seconds.AI Search
13:200:38Compare original vs upscaled image using RG3 nodesThe user adds an 'image compare' node by RG3 to the ComfyUI canvas to show a side-by-side slider comparison of the blurry original image versus the sharp PiD upscaled result.AI Search
14:274:08Generate and upscale images using Zee Image and PiDA demonstration of a combined workflow where Zee Image Turbo generates a 1K image of a red panda which is then automatically passed into the PiD upscaler for a 4K final output.AI Search
1:491:28Simple non-AI image resizing in ComfyUIThe creator demonstrates a basic 'Upscale Image By' node that performs a standard resolution increase without AI, similar to Photoshop resizing, and uses an RG3 image comparer node to view the results.pixaroma
3:193:04Upscaling with Neural Network modelsThis clip shows how to use the 'Upscale Image (using Model)' node in ComfyUI with various PTH models like UltraSharp and 8x upscalers to sharpen and reconstruct details.pixaroma
6:233:22Tiled Diffusion upscaling with Zimage TurboThe creator walks through a complex workflow using Tiled Diffusion and the Zimage Turbo model to upscale images while managing VRAM by processing the image in smaller tiles.pixaroma
9:451:24Upscaling with Nunchaku Flux ManiaA demonstration of using a modified Flux.1 Dev model (Flux Mania) via Nunchaku nodes to perform a 2x upscale that enhances skin textures and fine details.pixaroma
11:103:10High-fidelity upscaling with SeedVR2The video shows the setup and execution of the SeedVR2 node pack, demonstrating how to select specific models and adjust resolution for sharp, consistent upscaling results.pixaroma
ComfyUI