CivArchive
    Preview 132264880
    Preview 132594438
    Preview 132594420
    Preview 132594424
    Preview 132594425
    Preview 132594426
    Preview 132594427
    Preview 132594449
    Preview 132594451
    Preview 132594471
    Preview 132263073

    PiD reformulates the latent-to-pixel decoder as a conditional pixel-space diffusion model, unifying decoding and upsampling into a single generative module. It denoises directly in high-resolution pixel space and produces a super-resolved image in one pass. This repository hosts the released decoder checkpoints, plus the encoder/decoder ("VAE") weights they depend on.

    WARNING: the distilled Flux Klein 4b and 9b workflows are experimental, they dont always provide the best results due to the distillation forcing too much detail in the pixel diffusion process. it can sometimes create artifacting as well. both BASE models for Klein handle PiD VERY well though!



    To install the ComfyUI-PiD custom node and utilize its automated model downloader, follow these steps specifically tailored for the ComfyUI Windows Portable environment.

    1. Custom Node Installation

    Do not just drag and drop files. For a portable installation, you must use Git to ensure the node's internal structure and submodules remain intact.

    1. Navigate to your ComfyUI_windows_portable root folder.

    2. Open a terminal (CMD) in this folder.

    3. Navigate to your custom_nodes directory:

      DOS

      cd ComfyUI\custom_nodes
      
    4. Clone the repository:

      DOS

      git clone https://github.com/Merserk/ComfyUI-PiD
      
    5. Return to the root folder:

      DOS

      cd ..\..
      
    6. Install the required dependencies using the embedded Python:

      DOS

      .\python_embeded\python.exe -m pip install -r .\ComfyUI\custom_nodes\ComfyUI-PiD\requirements.txt
      

    https://civarchive.com/models/2342907/rebels-z-image-base

    2. Using the Auto-Download Feature

    The PiD nodes are designed to pull models automatically upon the first execution of a prompt.

    1. Restart ComfyUI completely.

    2. Load a workflow that utilizes the PiD Decode or PiD Prepare nodes.

    3. Ensure the auto_download parameter is set to True in the node properties.

    4. Queue your prompt.

    5. Monitor the Terminal: Watch the CMD window. You will see HTTP requests appearing as the node validates and begins downloading the required weights from Hugging Face.

    3. Troubleshooting "Stalls"

    Because there is no progress bar, a silent CMD window can look like a stall. However, if the download actually hangs (no new INFO lines for 5+ minutes):

    1. Kill the Process: Close the CMD window completely to force the download attempt to terminate.

    2. Restart ComfyUI: Open the terminal and restart ComfyUI to clear the failed request from your GPU/Network cache.

    3. Disable Auto-Download: Before queuing again, go into the PiD Decode node settings and set auto_download to False.

    4. Verify/Retry: With auto_download set to False, the node will skip the network request and attempt to load existing files. If you suspect the download partially finished before stalling, check ComfyUI\custom_nodes\ComfyUI-PiD\vendor\PiD\checkpoints to see if a folder has been created. If it is empty or incomplete, remove that partial folder before trying the download again.

    Pro-Tip: If the auto-downloader consistently fails, it is usually due to network timeouts on large files. If this happens, you must perform a manual download once to place the .pth file into the vendor directory as described in the repository's documentation. Once the file exists locally, you can keep auto_download set to False permanently.

    Description

    PiD + Klein 9b BASE

    FAQ

    Comments (9)

    lonecatone23May 30, 2026· 4 reactions
    CivitAI

    Oh God, don't use these . They are vibecoded trash and teh gains can be done better just by using a better VAE model.

    Also, what's with using their stock workflows? These are literally their examples.

    realrebelai
    Author
    May 30, 2026

    what are you talking about? lmfao this is entirely a complete upgrade to any base model. its pixel space generation. its native to comfy now so idk what rock you live under.

    buddy not everybody is as versed as you or me, they need the extra help to find this stuff. im just being a good person and providing it. the workflow is standard because thats all it is. literally. if you wanna be a hater, thats fine. but just know my spaces are not for hate. youll have to do that by yourself from a distance because its not permitted anywhere my name is. have a good day and know next time, avoid the obvious mentally strained disrespect. learn to control yourself bud. your grown, act like it.

    lonecatone23May 30, 2026· 2 reactions

    @realrebelai I respect your work. I'm just telling you from test runs and looking at the code this is garbage.

    You put out good stuff. I'm legitimatly telling you this is garbnage.

    realrebelai
    Author
    May 30, 2026

    @lonecatone23 its not though lol im not sure if your transformers are outdated or what but its definately fine and works well. Im not sure how you can see my examples and confidently say this at all. Its gotta be a you thing bro, respectfully.

    lonecatone23May 30, 2026

    @realrebelai You're not using the native nodes...bro... That's not how PiD works.

    https://huggingface.co/Comfy-Org/PixelDiT/tree/main/diffusion_models

    realrebelai
    Author
    May 31, 2026· 1 reaction

    @lonecatone23 i didnt say I was using them. i said theyre native to comfy brother. you can download the nodes. your confused man. idk. im not gonna waste anymore time malding with you.

    AnimaXxMay 31, 2026

    I mean I have no experience with this. However, you can probably get a similar result with a two-pass workflow with a normal vae or even a faster and distilled flux 2 vae - https://huggingface.co/black-forest-labs/FLUX.2-small-decoder

    I respect both you guy's work and I know it's not easy to make. I just wish they have AsymFLUX.2 Klein 9B for the distilled version that would be cool.

    realrebelai
    Author
    May 31, 2026· 1 reaction

    @lonecatone23 so i actually ran the nodes through Opus 4.8 last night just to double check that i wasnt crazy and i think you should do the same because the code is 100% sound. Im not sure what happened for you but its actually a step up from the comfy version because it literally auto installs your checkpoint for you based on format and model choice. Of course you should expect some bad gens, its never going to be perfect. New seeds fix any issues i get

    lonecatone23May 31, 2026· 1 reaction

    @realrebelai He updated the repo a few days ago.

    I gave this a shot when the original came out. It bricked my RTX 5090 with 128gb Ram. I ran the code. It was bunk. Plus, the nodes are just vibecoded from a ksampler and vae decoder. Hey, if it works it works though. Not like I don't use off the wall stuff sometimes.

    Wasn't trying to start an arguement. Just legitimately giving you a heads up they were bad nodes.

    Peace, brother 🙏

    Workflows
    Flux.2 Klein 9B-base

    Details

    Downloads
    168
    Platform
    CivitAI
    Platform Status
    Available
    Created
    5/30/2026
    Updated
    6/11/2026
    Deleted
    -