Nodes/ComfyUI-H3-LongTake/H3 LongTake FaceRefine (small faces)
ComfyUI Node

H3 LongTake FaceRefine (small faces)

Regenerates small faces clip by clip with ComfyUI-H3-FaceRefine and writes <project>/fr; assemble with H3 LongTake Stitch. Skips the clips whose face is already large.

By mark9009·Created 28 days ago·Updated 3 days ago· 28
H3 LongTake FaceRefine (small faces)
  • model
  • clip
  • vae
  • face_image
  • last_clip
  • project_dir
  • report
◄project_namelongtake►
◄description►
◄denoise0.25►
◄steps4►
◄seed0►
◄max_face_px150►
◄modecontinue►
◄project_dir—►
◄large_face_multiplier0.35►
◄smooth_window11►
◄crop_factor2.5►
◄feather24►
◄chunk_crf10►
◄seam_blend_frames8►
CategoryH3 LongTake

Inputs (18)

NameTypeDefaultDescription
modelMODELH3 ref2va with the Turbo (8-step v1.0 recommended): the ref2va is needed because the face goes in as <Picture 1>, even if the project was made with the fl2va.
clipCLIP—
vaeVAE—
face_imageIMAGEA close-up of the face, not the whole photo.
project_nameSTRINGlongtakeAn already rendered project. The result goes to <project>/fr (in the Stitch: project_name = 'name/fr').
descriptionSTRINGThe subject's look (hair, outfit): helps not to change person.
denoiseFLOAT0.250.05–10.25-0.35. With H3's shift 12, 0.25 already rewrites the face; above it the head drifts against the body.
stepsINT41–50—
seedINT00–18446744073709550000—
max_face_pxINT1500–2000Clips whose median face is taller than this (px) are copied without FaceRefine. 0 = refine every clip.
modeCOMBOcontinuecontinue: skips the clips already done.
project_diroptSTRINGConnect project_dir from the Render/I2V/Refine.
large_face_multiplieroptFLOAT0.350–1Fraction of the denoise on large faces (the author's default).
smooth_windowoptINT111–201Box smoothing: lower if the camera moves.
crop_factoroptFLOAT2.51.5–4—
featheroptINT240–128—
chunk_crfoptINT100–30—
seam_blend_framesoptINT80–48At the inner joins the refined clip fades to the original over these frames, so the face does not pop when going from a copied (or separately refined) clip to a refined one. 0 = off.

Outputs (3)

NameTypeDescription
last_clipIMAGE—
project_dirSTRING—
reportSTRING—