SEGSDetailer For Video (SEGS/pipe)
SEGSDetailerForAnimateDiffThis node enhances details by inpainting each region within the detected area bundle (SEGS) after enlarging them based on the guide size. This node is applied specifically to SEGS rather than the entire image. To apply it to the entire image, use the 'SEGS Paste' node. As a specialized detailer node for improving video details, such as in AnimateDiff, this node can handle cases where the masks contained in SEGS serve as batch masks spanning multiple frames.
Example
{
"class_type": "SEGSDetailerForAnimateDiff",
"inputs": {
"image_frames": [
"node_id",
0
],
"segs": [
"node_id",
0
],
"guide_size": 512,
"guide_size_for": true,
"max_size": 768,
"seed": 0,
"steps": 20,
"cfg": 8,
"sampler_name": "euler",
"scheduler": "simple",
"denoise": 0.5,
"basic_pipe": [
"node_id",
0
],
"refiner_ratio": 0.2
}
}This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.
Inputs
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
image_frames | IMAGE | required | - | - |
segs | SEGS | required | - | - |
guide_size | FLOAT | required | min: 64, max: 16384, step: 8 | 512 |
guide_size_for | BOOLEAN | required | - | true |
max_size | FLOAT | required | min: 64, max: 16384, step: 8 | 768 |
seed | INT | required | min: 0, max: 1.84e+19 | 0 |
steps | INT | required | min: 1, max: 10000 | 20 |
cfg | FLOAT | required | min: 0, max: 100 | 8 |
sampler_name | ENUM44 options
| required | - | - |
scheduler | ENUM17 options
| required | - | - |
denoise | FLOAT | required | min: 0.0001, max: 1, step: 0.01 | 0.5 |
basic_pipe? | BASIC_PIPE | required | - | - |
refiner_ratio | FLOAT | required | min: 0, max: 1 | 0.2 |
refiner_basic_pipe_opt | BASIC_PIPE | optional | - | - |
noise_mask_feather | INT | optional | min: 0, max: 100, step: 1 | 20 |
scheduler_func_opt | SCHEDULER_FUNC | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | segs | SEGS | No | ["{node_id}", 0] |
1 | cnet_images | IMAGE | Yes | ["{node_id}", 1] |
How to connect to these outputs
To connect another node's input to an output from this node, use the connection reference format:
["node_id", output_index]Where node_id is the ID of this SEGSDetailerForAnimateDiff node in your workflow, and output_index is the index from the table above.
Example
If this node has ID "5" in your workflow:
segs (SEGS):["5", 0]cnet_images (IMAGE):["5", 1]