ComfyUI Node
Dilate Mask Linear Infinite | Akatz
# Dilate Mask Linear Infinite - mask: Input mask or mask batch - dilation_schedule: Schedule for mask dilations in the format: (start_frame, dilation_speed, (r, g, b)),... - quality_factor: Quality factor for dilation (recommend between 0.25 and 0.15 for good balance between quality and speed) - use_percentage: Boolean to specify if the start_frame is in percentage of the total frames - should_composite_subject: Boolean to composite the subject mask over the final result - subject_mask_color: Color for the subject mask in the format "R, G, B" - initial_background_color: Color for the initial background in the format "R, G, B"
Dilate Mask Linear Infinite | Akatz
- mask
- IMAGE
◄dilation_schedule(0, 30, (0, 255, 0)),►
◄quality_factor0.25►
◄timing_modeFrame►
◄should_composite_subjectfalse►
◄subject_mask_color255, 0, 0►
◄initial_background_color0, 0, 0►
Category💜Akatz Nodes/Mask
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | — | |
| dilation_schedule | STRING | (0, 30, (0, 255, 0)), | — |
| quality_factor | FLOAT | 0.250–1 | — |
| timing_mode | COMBO | Frame | 2 options: Frame, Percent |
| should_composite_subject | BOOLEAN | false | — |
| subject_mask_color | STRING | 255, 0, 0 | — |
| initial_background_color | STRING | 0, 0, 0 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |