From 48fba98704d522e23dafbf527da1fac97ee7af7a Mon Sep 17 00:00:00 2001 From: princepride Date: Tue, 24 Nov 2026 01:04:41 +0000 Subject: [PATCH 1/2] [feat] canvas: character replacement as a node workflow (mask, depth, composite, FastH3 structure control) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Builds person/costume replacement from canvas nodes instead of one opaque tool: source video ─ 视频抠像 (SAM 3, new 遮罩 output) ──────────┐ └ 深度动作捕捉 (Video Depth Anything) ─ 遮罩合成 ─┐ reference image ─────────────────────────────────── FastH3 视频节点 (结构控制) - video-matting gains background=mask: white tracked objects on black. - video-mask-composite (遮罩合成, local): keeps the first video inside the white area of the second, black elsewhere; optionally stretches the masked brightness to 50..255 so a person's depth uses the full control range. Its results draw provenance edges from both the content and the mask node. - FastH3 video nodes gain videoMode=control (结构控制) with reference role control: the one connected video is sent as control_reference with control_type=depth (Fun ControlNet), images stay Ref2VA references, and the output follows the control video: longest 17n+5 frames it covers, nearest H3 768P/480P bucket, long_video_mode=full beyond one window, 4-30 s. The control clip is not a