forked from NikoDemon80/ComfyUI-H3-Motion-Context
-
Notifications
You must be signed in to change notification settings - Fork 27
Masked Editing
Ethanfel edited this page Aug 18, 2026
·
2 revisions
| Goal | Start from |
|---|---|
| Inpaint, remove, replace, or outpaint a region | Masked Video Inpaint |
| Continue a clip with protected picture and sound | Masked AV Extension — Single Clip |
| Continue several reviewed scenes | Masked AV Extension — Chain + Reference Image |
| Preserve both endpoints and generate the gap | Two-Clip Masked AV Bridge |
- Loop Source AV Target selects and encodes the current source interval.
- Loop Mask Slice broadcasts one mask or selects the matching tracked-mask frames, including the repeated continuation overlap.
- Grid Preview shows the effective H3 generation region.
- Apply Target Mask attaches the spatial and audio denoise masks to the real joint H3 target.
- The normal loop handles sampling, checkpoints, review, resume, and assembly.
-
white = generateis the conventional inpainting view. -
white = preserveis useful when the supplied artwork describes protected content.
Use the same convention on Grid Preview and Apply Target Mask.
H3 reads effective 32×32 source-pixel cells. Exact conversion follows the
video VAE's causal 1,4,4,4,4 source-frame groups and its 2×2 latent-token
cells. A tracked mask must contain the exact raw scene span; a one-frame mask
is broadcast. Legacy trilinear conversion remains available only for comparing
older renders.
Ordinary AV extension creates its own temporal prefix mask and does not need a user-supplied spatial mask.
See the complete masked-editing guide for audio modes, tracked timelines, outpaint preparation, mask composition, and bridge target construction.