Skip to content

Commit fbc95ce

Browse files
committed
feat(inpaint): mirror lquesada API + add Wan 2.2 Animate-aware extras
- InpaintCropProMEC: full lquesada InpaintCropImproved input set (downscale/upscale algo, preresize, mask preprocessing pipeline, extend_for_outpainting, context_from_mask_extend_factor, output_resize_to_target_size, device_mode) - InpaintStitchProMEC: 2-input stitcher (stitcher + inpainted_image) with simple m*inp+(1-m)*canvas alpha composite (lquesada-compatible) - Wan 2.2 Animate extras (arXiv:2509.14055): * wan_align_multiple (VAE patchify alignment, default 16) * wan_temporal_smooth_frames (mask coherence along time) * wan_stable_crop (single union bbox across frames) * wan_mask_polarity (regenerate_subject vs preserve_subject) - Multi-algorithm resize helpers (nearest/bilinear/bicubic/area in torch, lanczos/box/hamming via cv2 fallback) - Edge-replicate canvas extension for outpainting - New STITCHER dict schema replaces STITCH_DATA
1 parent 7e2e1d0 commit fbc95ce

1 file changed

Lines changed: 610 additions & 264 deletions

File tree

0 commit comments

Comments
 (0)