AV ComfyUI Manual
53 / 64
Files
53
MERGE + RETURN

Two levels of composite and return into FLUX

The prepared person is first pasted into the scene by mask. A separate inpaint/detail branch can then process mask components, after which selector 459 chooses the PPL result for the main pipeline.

CONFIRMEDCut, paste, inpaint and return links are present in graph data
COMPOSITING

Two routes converge at selector 459

MODE 1FLUX person
477 Color → 449 Cut → 429 Paste → 672
459PPL Switchcurrent: image1
MODE 2Input / 3D inpaint
503/504 Cut → 494–496 Inpaint → 509 → 685
459Selected PPL
573Detail transferblend 0.09
67VAE Encode
57Main FLUX
53Decode
730LQ Saveactive output
01 · FIRST COMPOSITE

Cut 449 → Paste 429

ColorMatch 477 and mask 430 converge in Cut By Mask 449. Paste By Mask 429 inserts the cutout into reference / main image 779 with placement mask 451 and keep_ratio_fit mode. Its output is node 672.

NodeOperationKey input / output
449Cut By Mask477 + 430 → cutout
429Paste By Mask451 + 449 + 779 → 672
480Image Comparer MASK / PPL451 vs selected PPL output 459
02 · INPAINT / DETAIL

Mask components are processed independently

Mask components 499/502 create regions for cut 503/504. Inpaint conditioning 494, sampler 495 and decode 496 generate a processed fragment. Combine Masks 510 and Paste By Mask 509 return it to the scene.

SubchainNodesResult
Region split499 → 502Independent mask regions
Cut503 / 504Person crop + local scene region
Inpaint494 → 495 → 496Processed latent / image
Return paste510 → 509Fragment returned to the main image
03 · MAIN RETURN

Where PPL becomes part of the shared scene again

Selector 459 chooses the PPL composite and sends it to easy imageDetailTransfer 573. Blend comes from control 720 = 0.09; local widget 573 stores 1. VAEEncode 67 then starts the shared FLUX stage 57 → 53.

CONFIRMED

Route reaches final

459 → 573 → 67 → 57 → 53 → active LQ save 730. The optional HQ chain exists but is stored in bypass.

CONFIRMED

Direct LQ evidence point

Decode 53 is saved by node 730 before later overlay/output steps.

NOT CONFIRMED

Visual survival

If the HQ / overlay chain is enabled, later processing may alter people; in the current saved state that chain is bypassed.