Skip to content
Node packVerifiedExternal
Open source

RES4LYF

Maintainer@ClownsharkBatwingCgrade

Package profile

Status
Verified
Publisher
@ClownsharkBatwing
Source
GitHub
Stars
1.3K

README

SUPERIOR SAMPLING WITH RES4LYF: THE POWER OF BONGMATH

RES_3M vs. Uni-PC (WAN). Typically only 20 steps are needed with RES samplers. Far more are needed with Uni-PC and other common samplers, and they never reach the same level of quality.

res_3m_vs_unipc_1 res_3m_vs_unipc_2

INSTALLATION

If you are using a venv, you will need to first run from within your ComfyUI folder (that contains your "venv" folder):

Linux:

source venv/bin/activate

Windows:

venv\Scripts\activate

Then, "cd" into your "custom_nodes" folder and run the following commands:

git clone https://github.com/ClownsharkBatwing/RES4LYF/

cd RES4LYF

If you are using a venv, run these commands:

pip install -r requirements.txt

Alternatively, if you are using the portable version of ComfyUI you will need to replace "pip" with the path to your embedded pip executable. For example, on Windows:

X:\path\to\your\comfy_portable_folder\python_embedded\Scripts\pip.exe install -r requirements.txt

IMPORTANT UPDATE INFO

The previous versions will remain available but with "Legacy" prepended to their names.

If you wish to use the sampler menu shown below, you will need to install https://github.com/rgthree/rgthree-comfy (which I highly recommend you have regardless).

image

If these menus do not show up after restarting ComfyUI and refreshing the page (hit F5, not just "r") verify that these menus are enabled in the rgthree settings (click the gear in the bottom left of ComfyUI, select rgthree, and ensure "Auto Nest Subdirectories" is checked):

image

NEW VERSION DOCUMENTATION

I have prepared a detailed explanation of many of the concepts of sampling with exmaples in this workflow. There's also many tips, explanations of parameters, and all of the most important nodes are laid out for you to see. Some new workflow-enhancing tricks like "chainsamplers" are demonstrated, and regional AND temporal prompting are explained (supporting Flux, HiDream, SD3.5, AuraFlow, and WAN - you can even change the conditioning on a frame-by-frame basis!).

[example_workflows/intro to clownsampling.json ](https://github.com/ClownsharkBatwing/RES4LYF/blob/main/example_workflows/intro%20to%20clownsampling.json)

intro to clownsampling

STYLE TRANSFER

Supported models: HiDream, Flux, Chroma, AuraFlow, SD1.5, SDXL, SD3.5, Stable Cascade, LTXV, and WAN. Also supported: Stable Cascade (and UltraPixel) which has an excellent understanding of style (https://github.com/ClownsharkBatwing/UltraCascade).

Currently, best results are with HiDream or Chroma, or Flux with a style lora (Flux Dev is very lacking with style knowledge). Include some mention of the style you wish to use in the prompt. (Try with the guide off to confirm the prompt is not doing the heavy lifting!)

image

For example, the prompt for the below was simply "a gritty illustration of a japanese woman with traditional hair in traditional clothes". Mostly you just need to make clear whether it's supposed to be a photo or an illustration, etc. so that the conditioning isn't fighting the style guide (every model has its inherent biases).

image

COMPOSITION GUIDE; OUTPUT; STYLE GUIDE

style example

![image](https://github.com/use

Nodes in this pack

100 nodes
  • AdvancedNoise
  • Base64ToConditioning
  • BongSampler
  • CLIPTextEncodeFluxUnguided
  • ClownGuide_AdaIN_MMDiT_Beta
  • ClownGuide_AttnInj_MMDiT_Beta
  • ClownGuide_Beta
  • ClownGuide_FrequencySeparation
  • ClownGuide_Mean_Beta
  • ClownGuide_SelfRefine
  • ClownGuide_Style_Beta
  • ClownGuide_Style_EdgeWidth
  • ClownGuide_Style_TileSize
  • ClownGuide_StyleNorm_Advanced_HiDream
  • ClownGuides_Beta
  • ClownGuides_Sync
  • ClownGuides_Sync_Advanced
  • ClownGuides_VideoAudioMask
  • ClownGuidesAB_Beta
  • ClownInpaint
  • ClownInpaintSimple
  • ClownModelLoader
  • ClownOptions_Automation_Beta
  • ClownOptions_Combine
  • ClownOptions_Cycles_Beta
  • ClownOptions_DetailBoost_Beta
  • ClownOptions_ExtraOptions_Beta
  • ClownOptions_FlowGuide
  • ClownOptions_FrameWeights
  • ClownOptions_ImplicitSteps_Beta
  • ClownOptions_LatentNormalize
  • ClownOptions_Momentum_Beta
  • ClownOptions_SDE_Beta
  • ClownOptions_SDE_Mask_Beta
  • ClownOptions_SDE_Noise
  • ClownOptions_SigmaScaling_Beta
  • ClownOptions_StepSize_Beta
  • ClownOptions_SwapSampler_Beta
  • ClownOptions_Tile_Advanced_Beta
  • ClownOptions_Tile_Beta
  • ClownpileModelWanVideo
  • ClownRegionalConditioning
  • ClownRegionalConditioning_AB
  • ClownRegionalConditioning_ABC
  • ClownRegionalConditioning2
  • ClownRegionalConditioning3
  • ClownRegionalConditionings
  • ClownSampler
  • ClownSampler_Beta
  • ClownSamplerAdvanced
  • ClownSamplerAdvanced_Beta
  • ClownSamplerSelector_Beta
  • ClownScheduler
  • ClownsharkChainsampler_Beta
  • ClownsharKSampler
  • ClownsharKSampler_Beta
  • ClownsharKSamplerAutomation
  • ClownsharKSamplerAutomation_Advanced
  • ClownsharKSamplerGuide
  • ClownsharKSamplerGuides
  • ClownsharKSamplerOptions
  • ClownStyle_Attn_MMDiT
  • ClownStyle_Attn_UNet
  • ClownStyle_Block_MMDiT
  • ClownStyle_Block_UNet
  • ClownStyle_Boost
  • ClownStyle_MMDiT
  • ClownStyle_ResBlock_UNet
  • ClownStyle_SpatialBlock_UNet
  • ClownStyle_TransformerBlock_UNet
  • ClownStyle_UNet
  • Conditioning Recast FP64
  • ConditioningAdd
  • ConditioningAverageScheduler
  • ConditioningBatch4
  • ConditioningBatch8
  • ConditioningDownsample (T5)
  • ConditioningMultiply
  • ConditioningOrthoCollin
  • ConditioningToBase64
  • ConditioningTruncate
  • ConditioningZeroAndTruncate
  • Constant Scheduler
  • CrossAttn_EraseReplace_HiDream
  • EmptyLatentImage64
  • EmptyLatentImageCustom
  • Film Grain
  • FluxGuidanceDisable
  • FluxLoader
  • FluxOrthoCFGPatcher
  • Frame Select
  • Frame Select Latent
  • Frame Select Latent Raw
  • Frames Concat
  • Frames Concat Latent
  • Frames Concat Latent Raw
  • Frames Concat Masks
  • Frames Latent ReverseOrder
  • Frames Masks Uninterpolate
  • Frames Masks ZeroOut

Related resources

40 connections
Used byZ-Image Split-Sigma Workflow: ZiB to ZiT — v4.0Used byANIMA Pro Grade SFW/NSFW W/ Controlnet, Regional Prompt, & Realism enhancer — V4.0 Enhancer versionUsed byChroma-ZIT-Upscaler-Detailer — v1.0Used byChroma WF Done Properly — 🦈UltraUsed byKrea 2 Pro Grade w/ Image Edit, Style Transfer, Controlnet, Multi-reference, SAM3 Detailers, & Low VRAM options — v1.1 added rebalanceUsed byZ_Image_turbo - Face detailer - Upscaler - Workflow — V1.0 Without ReactorUsed byLonecat's Illustrious/Pony/SDXL WIldcard Workflow — v2.0 Professional GradeUsed byJina Clip v2 AdapterUsed byFlux 2 Klein Workflow - t2i / i2i — v1.0Used byWAN 2.2 IMAGE GENERATION + HIGHRESFIX — v4.0 The upscalerUsed byJibs double Turbo ZIB to ZIT Workflow — v1.0Used by(Bfs+Klein Edition) Ltx-2 Video Face Swap V1 — v1.0Used byKrea 2 - Realism Transfer Workflow — Automatic — v2.0 (manual)Used byWan Text 2 Image + Seed VR Upscale — v1.0Used byKrea 2 Workflow v1.4 | Clean, Modular & Beginner-Friendly (with SeedVR2 Upscaler) — v1.4.3 — v1.4.5Used byMinimax-LowVRAM — INITIA — IDEALIAUsed byKrea2 Turbo Workflow + Upscale + Reference + Editing + Uncensored — v1.6Used byKrea2 Turbo Workflow + Upscale + Reference + Editing + Uncensored — v1.2Used byWan 2.2 I2V: HD/FHD resolution, but much faster — v1.0Used byRepair & Enhance Details-Flux 2 klein — v1.0Used byJibMixWan T2I effective workflow — v1.2Used byZ-Image Split-Sigma Workflow: ZiB to ZiT — v4.6Used byIdeogram-v4-workflow + Json Prompts — v2.0Used byKrea 2 Pro Grade w/ Image Edit, Style Transfer, Controlnet, Multi-reference, SAM3 Detailers, & Low VRAM options — V3.1 tweaksUsed by🦄Pony V7 Advanced Workflow — ⬆️🖼️Used byPost Processing IMG/VIDEO Any — v1.02Used byZiT Studio — v1.1Used byIllustrious/ Pony/ SDXL SFW & NSFW Pro Grade Workflow (Low and high VRAM) — V2.0 Pro UpgradesUsed byIdeogram Fast and Quality [IFAQ] T2I by ArtGourieff — v1.1Used byKrea 2 Pro Grade w/ Image Edit, Style Transfer, Controlnet, Multi-reference, SAM3 Detailers, & Low VRAM options — v3.2 Krea 2T enhancer addUsed byMrpopo's Flux.2 Klein 9B anime workflow — v1.0Used byIllustrious/ Pony/ SDXL Pro Grade Workflow (Low or High VRAM) — V16.0 sampler upgradeUsed byImage Restoration MS. Mage Flow [RealESRGAN/SeedVR2/RMBG] — v1.0Used byRes4Lyf V2V Repaint — v1.0Used byCyberRealistic Z-Image Turbo - ComfyUI Workflow — v5.0Used byQwen-Image WF — Hi-ResUsed byIdeogram Fast and Quality [IFAQ] T2I by ArtGourieff — v1.0Used byKlein I2I Fast Workflow - masked & unmasked w/ color match — v1.0Used byANIMA Pro Grade SFW/NSFW W/ Controlnet, Regional Prompt, & Realism enhancer — V3.0.1 Anima 2 AddUsed byComfyUI Qwen Edit Workflow for Head Swap no LoRAs needed! — v1.0

Sources

3 sources
GitHubSource
github.com/ClownsharkBatwing/RES4LYF

Verified Oct 18

GitHubSourceVersion 56e44755d866c87ff9cb4b6608c8e42155db6ecc
github.com/ClownsharkBatwing/RES4LYF

Verified Oct 4

Source excerpts

1 excerpt

Source context: Repo ClownsharkBatwing/RES4LYF