CivArchive
    Hydra - Anything to Stable Cascade - v65-SDXL
    NSFW
    Preview 7034166
    Preview 7034165
    Preview 7034163
    Preview 7034164

    Article page: https://civarchive.com/articles/4230

    Hydra is a workflow series with a single goal, allowing any model to be used with Cascade. Although this is strictly impossible, we can approximate using SDXL Control Nets then pass images into Clip Vision for Cascade.

    Hydra-v43 (full sized)
    - separate prompt and image inputs for SDXL and Cascade
    - passes array of generated images to Cascade
    - SDXL used controlnet, Cascade used img2img+vision
    (faceswap optional, bypass with ctrl+B)

    Hydra-v54 (medium sized)
    - based on v43, Simplified for speed.
    - combined prompt & image input
    - SDXL uses ControlNets
    (reduced custom nodes)


    Hydra-v65 (standard sized)
    - based on v54, Simplified for speed.
    - combined prompt & image input
    - SDXL/Lora txt2img
    (reduced custom nodes)

    Hydra-v69
    - based on v65, uses SD2.1 models/Loras
    - SD2.1/Lora txt2img
    (reduced custom nodes)

    Hydra-v76
    - based on v65, uses SD1.5 models/Loras
    - SD1.5/Lora txt2img
    (reduced custom nodes)


    The lower numbered versions are more complex in this series. It started with the most control and then simplified and removed features to reach the basic versions.

    v43 offers the most control. using SDXL it generates 6 images, the final 3 will be sent to Vision. toggle bypassed nodes to use all 6. Cascade will then do img2img with the vision inputs, which gets us close to the output styles from older models. v54 is a lighter simpler version which eliminated Cascade Vision and relies on img2img + prompts instead, easier to use but less accurate. v65 drops control nets to allow people to use it without having to download a big collection of controlnet models.

    v76 & v88 are designed to allow any SD1.5 and SD2.1 models to take advantage of this pipeline into Stable Cascade. adjust the denoise on Stage C to control the strength of Cascade.

    light = 0.3
    mid = 0.5
    heavy = 0.7



    SDXL benefits from Controlnet and lora so you can create a spread of images to prime the Cascade generation. With careful prompting and a good input image, all you need to do is alter the denoise on the Stage C node.

    try sending an output into the Cascade to get even closer to an SDXL output, or mix prompts and images to experiment blending the same input image in cascade.

    This is a complicated workflow, while you can install any missing nodes and models, the video will explain a lot of detailed information about using the workflow. If you have problems, simpler versions will be released soon, aiming to use less custom nodes to achieve the same thing.



    Faster operation:


    Once you have generated the SDXL images, consider using the seed C control. if you only change the Cascade section, and do not change the SDXL section, it will only generate from that point and will not regenerate all those images again.



    built in hires:


    two stage ksamplers will fix some render problems

    did you read to the bottom?


    well then i'll let you in on a little secret, if you are proficient with comfyui, you will be able to easily use this workflow to generate a collection of images. These images are then pushed into the img2img process with Cascade's Clip Vision feature (like a low rent dreambooth dataset). It also works with any stable diffusion model. if you change the checkpoint, loras and controlnets to match SD1.5, SD2.1 or SDXL, they will all work fine, because images are bridging the gap to interface with Cascade.



    www.fivebelowfive.uk

    Description

    FAQ

    Comments (9)

    BoneyFeb 23, 2024· 1 reaction
    CivitAI

    Love your creativity and ingenuity. Genius. Used other workflows of yours successfully. With this one I'm getting output error "RuntimeError: mat1 and mat2 shapes cannot be multiplied (154x2048 and 768x320)" Only changes I made were deactivating the loras and using ckpt of RealtoonXLv6. Tried varying sizes of style reference photos. Thought 1024x1024 would work. I can get it to work if switch off CR Apply Multi-Control-Net. But that looks like it just turns it into a standard Stable Cascade output. Clearly I'm missing something. conflict between having all the control-nets selected? no idea.

    driftjohnson
    Author
    Feb 24, 2024

    ~ I put out a more detailed guide for the workflow here: https://www.youtube.com/watch?v=htQgbTqIiLQ
    maybe this will help, hit me up if it didn't reveal anything relevant!

    strong134Feb 24, 2024· 1 reaction
    CivitAI

    Really love your Workflows and video.

    I'm currently trying to incorporate part of your workflow to mine but I can't seem to find the node named "ImageCropByRatio" in the right click menu and sub menu.

    driftjohnson
    Author
    Feb 24, 2024

    thanks for letting me know, you can simply remove the node, all it does is make sure the input image is 1:1 crop. you can use any cropping node that does the same thing or use square aspect ratio images to continue.

    akdcpkApr 16, 2024· 1 reaction
    CivitAI

    Thank you for the workflows.

    aiaicaptainApr 29, 2024
    CivitAI

    No matter what I do I end up having following error in Ksampler (Stage C) [This is for your default workflow with only change that I am using unetloader instead of checkpoint]

    Error occurred when executing KSampler: Given groups=1, weight of size [1536, 16, 1, 1], expected input[2, 4, 18, 18] to have 16 channels, but got 4 channels instead

    driftjohnson
    Author
    Apr 30, 2024

    for this i suggest replacing the cascade section of the workflow for ArgusV18-img2img or ArgusV16-txt2img
    those used unetloader method afaik. Copy the code and reconnect, this is a good bet to get it working.

    aiaicaptainApr 30, 2024

    @driftjohnson I figured that it was because I was using stage A as VAE which should infact be effnet_encoder.safetensors. Thanks for responding. I will check ArgusV18 tho.

    driftjohnson
    Author
    May 1, 2024

    @aiaicaptain ah yes, it's backwards :D - C,B,A

    Workflows
    Stable Cascade

    Details

    Downloads
    199
    Platform
    CivitAI
    Platform Status
    Available
    Created
    2/24/2024
    Updated
    4/30/2026
    Deleted
    -

    Files

    hydraAnythingToStable_v65SDXL.zip

    Mirrors