mirror of
https://github.com/hanzoui/workflow-templates-broken-zap-2026-06-08.git
synced 2026-10-30 20:44:35 +00:00
1.1 KiB
1.1 KiB
LatentApplyOperationCFG
Category: latent/advanced/operations
Description
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The LatentApplyOperationCFG node applies a latent operation to modify the conditioning guidance process in a model. It works by intercepting the conditioning outputs during the classifier-free guidance (CFG) sampling process and applying the specified operation to the latent representations before they are used for generation.
Inputs
| Parameter | Type | Default | Description |
|---|---|---|---|
| model | Model | ā | |
| operation | LatentOperation | ā |
Outputs
| Output | Type |
|---|---|
| ), | |
| ], | |
| ) |
@classmethod
def execute(cls, model, operation) -> io.NodeOutput:
m = model.clone()
def pre_cfg_function(args | Model |
Source: comfy_extras/nodes_latent.py
Used in 3 template(s)