SharkOptions Guide Cond
Attaching independent conditioning and CFG to a RES4LYF guide
- positive
- negative
- options
- options
If you've used RES4LYF's dual-guide workflows - composition guide, style guide, unsampling with a mask blending between them - you've probably wondered whether each guide has to share the same prompt and CFG as your main generation. It doesn't have to. SharkOptions_GuideCond_Beta is an options-builder node: it packages an independent positive/negative conditioning pair and its own CFG value into an OPTIONS bundle that a guide-aware sampler (RES4LYF's ClownsharKSampler, in particular) can pick up and apply specifically to a guide, separately from your main prompt.
This is a newer, "Beta"-tagged node - it postdates the pack's older documentation, which is a fair warning that behavior here is more likely to shift than the long-stable core samplers. Treat it as current but still settling.
How it fits into a guide-based workflow
RES4LYF's style-transfer and unsampling system works by feeding the sampler one or more "guides" - reference latents that steer composition or style - alongside your normal conditioning. Left alone, a guide typically inherits whatever CFG and prompt your main sampling pass is using. This node exists for when that's not what you want: maybe your composition guide should be steered by a completely different (or empty) prompt than your style guide, or you want CFG 1.0 on one guide and something higher on another. You build one of these per guide that needs independent settings, and chain it into the options pipeline your sampler reads.
The inputs and outputs that matter
positive/negative(CONDITIONING, optional) - the prompt pair for this specific guide. Leave either unconnected if you want that side to fall back to whatever the sampler's default behavior is (RES4LYF's main sampler node auto-generates null conditioning for an unconnected positive/negative, per its own documentation).cfg(default1, range -10000 to 10000) - the CFG value applied to this guide specifically, independent of your main sampling CFG. The default of1.0matches the common recommendation for guide/unsampling passes, where you often want CFG disabled (effectively off) rather than fighting the guide with classifier-free guidance.options(OPTIONS, optional) - chain in an existing options bundle from an upstream options node if you're stacking more than one setting onto the same guide; this node adds its conditioning/CFG on top rather than replacing what's already there.
Output: options - feed this into whatever node consumes guide options downstream (typically a guide input on ClownsharKSampler or one of RES4LYF's other sampler-options nodes).
How to install it
Ships with RES4LYF - no separate install. Via ComfyUI Manager: search "RES4LYF", install, restart. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/ClownsharkBatwing/RES4LYF/
cd RES4LYF
pip install -r requirements.txt
Common issues & troubleshooting
Nothing seems to change when you plug this in. Make sure the options output is actually connected to something that reads it - this node produces a bundle of settings, it doesn't apply anything on its own. If the downstream guide/sampler node isn't wired to receive it, it's a no-op.
You want per-region control, not just per-guide. If what you're actually after is different conditioning for a masked zone versus the rest of the image - RES4LYF's regional conditioning use case - you likely want SharkOptions_GuideConds_Beta instead, which handles masked/unmasked conditioning pairs directly rather than a single guide's settings.
Both positive and negative are left unconnected and you're not sure what happens. Based on how RES4LYF's main sampler documents this same pattern, an empty conditioning input typically resolves to auto-generated null conditioning rather than an error - but if you're relying on this for something CFG-sensitive, it's worth confirming visually rather than assuming, since this node's exact fallback behavior isn't yet documented in the pack's README.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| positiveopt | CONDITIONING | — | |
| negativeopt | CONDITIONING | — | |
| cfgopt | FLOAT | 1.00-10000–10000 | — |
| optionsopt | OPTIONS | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| options | OPTIONS | — |