Nodes/ComfyUI-BrainDead/BD Parts Builder 2 Plates (Qwen 2.1)
ComfyUI Node

BD Parts Builder 2 Plates (Qwen 2.1)

The featureless head plates, frame-true: bald (RGBA edit of the source; its alpha is the plate MATTE) -> mouthless/browless and eyeless, each ONE edit of the bald, every stage cut by the matte onto pure white before anything reads it. Every stage must register onto its input AND the source (coarse-to-fine affine ECC over the head minus what the stage removes): |scale-1| <= max_scale_err, centre move <= max_offset_px. A weak direct fit (ecc < 0.7, e.g. a laugh's cheeks relaxing) is proven through the chain. A failed stage retries with the next seed; if every attempt fails, the chain STOPS (later plates are white and plate_frame says ok=false, so Assemble builds nothing from a rejected plate). Plate frame: if the bald head fills less than reframe_below of the frame (a hat set the source's framing), the source is cropped to the bald head and the chain re-runs at full resolution. plate_frame (JSON) records the crop; plate_source / plate_head are the source in that frame. work_size 2048 runs the edits at 2048 (Qwen Image 2.1's max) instead.

By BizaNator·Created 8 months ago·Updated about 13 hours ago· 15
BD Parts Builder 2 Plates (Qwen 2.1)
  • image
  • model
  • clip
  • vae
  • parts
  • complete_parts
  • head_mask
  • bald
  • mouthless
  • eyeless
  • matte
  • plate_source
  • plate_head
  • plate_frame
  • report
  • socket_mask
  • feature_mask
◄bald_promptThis is an RGBA image with transparency. Make the character's head completely bald: remove the hair on the head, any hat or head covering, headband or bandana, glasses or sunglasses, headphones and earrings, the beard and the moustache, and show a smooth, round, complete bald scalp that continues the skin tone and the hard-edged low-poly facets of the forehead, with clean skin wherever the hair, beard or those items were. The eyebrows are not part of the hair: keep both eyebrows exactly as they are, whatever their colour. Keep the face, the eyes, the eyebrows, the lips, the nose and the ears exactly as they are, and keep the pose, the head size and position and the low-poly 3D render style exactly as in the image. The image has alpha channel and the background is transparent.►
◄mouthless_promptRemove the lips and everything inside the mouth from the character's face: the whole mouth area becomes plain skin that continues the surrounding skin tone and the hard-edged low-poly facets, with no lip colour, no teeth, no outline and no line, while the chin, the jaw and the cheeks stay exactly where they are. Remove the eyebrows the same way, so the brow ridges are plain skin. Keep the eyes open and exactly as they are. Keep the rest of the head, the ears, the pose, the head size and position, the lighting and the low-poly 3D render style exactly as in the image.►
◄eyeless_promptRemove the eyebrows, the eyes, the lips and everything inside the mouth from the character's face: the brow ridges become plain skin, each eye becomes a closed, smooth eyelid of plain skin with no eyelashes, no eye line and no eye colour, and the whole mouth area becomes plain skin with no lip colour, no teeth, no outline and no line - all of it continuing the surrounding skin tone and the hard-edged low-poly facets, while the chin, the jaw and the cheeks stay exactly where they are. Keep the rest of the head, the ears, the pose, the head size and position, the lighting and the low-poly 3D render style exactly as in the image.►
◄seed20260933►
◄steps40►
◄cfg1.0►
◄sampler_nameeuler►
◄schedulersimple►
◄attempts_per_stage2►
◄work_size1024►
◄reframe_below0.90►
◄reframe_fill0.94►
◄max_scale_err0.015►
◄max_offset_px3.0►
◄lip_zoneorganic►
◄eye_fillflat►
Category🧠BrainDead/Segmentation

Inputs (23)

NameTypeDefaultDescription
imageIMAGEThe same source as BD Parts Builder 2.
modelMODEL—
clipCLIP—
vaeVAE—
bald_promptSTRINGThis is an RGBA image with transparency. Make the character's head completely bald: remove the hair on the head, any hat or head covering, headband or bandana, glasses or sunglasses, headphones and earrings, the beard and the moustache, and show a smooth, round, complete bald scalp that continues the skin tone and the hard-edged low-poly facets of the forehead, with clean skin wherever the hair, beard or those items were. The eyebrows are not part of the hair: keep both eyebrows exactly as they are, whatever their colour. Keep the face, the eyes, the eyebrows, the lips, the nose and the ears exactly as they are, and keep the pose, the head size and position and the low-poly 3D render style exactly as in the image. The image has alpha channel and the background is transparent.—
mouthless_promptSTRINGRemove the lips and everything inside the mouth from the character's face: the whole mouth area becomes plain skin that continues the surrounding skin tone and the hard-edged low-poly facets, with no lip colour, no teeth, no outline and no line, while the chin, the jaw and the cheeks stay exactly where they are. Remove the eyebrows the same way, so the brow ridges are plain skin. Keep the eyes open and exactly as they are. Keep the rest of the head, the ears, the pose, the head size and position, the lighting and the low-poly 3D render style exactly as in the image.—
eyeless_promptSTRINGRemove the eyebrows, the eyes, the lips and everything inside the mouth from the character's face: the brow ridges become plain skin, each eye becomes a closed, smooth eyelid of plain skin with no eyelashes, no eye line and no eye colour, and the whole mouth area becomes plain skin with no lip colour, no teeth, no outline and no line - all of it continuing the surrounding skin tone and the hard-edged low-poly facets, while the chin, the jaw and the cheeks stay exactly where they are. Keep the rest of the head, the ears, the pose, the head size and position, the lighting and the low-poly 3D render style exactly as in the image.—
seedINT202609330–18446744073709550000Every edit uses this seed; a frame-proof retry uses seed+1, seed+2 ...
stepsINT401–200Qwen Image 2.1 model card: 40 for edits.
cfgFLOAT1.00–20—
sampler_nameCOMBOeuler44 options: euler, euler_cfg_pp, euler_ancestral, euler_ancestral_cfg_pp, heun, heunpp2, +38
schedulerCOMBOsimple9 options: simple, sgm_uniform, karras, exponential, ddim_uniform, beta, +3
attempts_per_stageINT21–8Seeds tried per stage (seed, seed+1, ...) before the chain stops.
work_sizeCOMBO1024Plate resolution. 2048 is Qwen Image 2.1's maximum (about 4x the time).
reframe_belowFLOAT0.900–1Re-frame when the bald head fills less than this of the frame. 0 = never.
reframe_fillFLOAT0.940.5–0.99—
max_scale_errFLOAT0.0150.001–0.2—
max_offset_pxFLOAT3.00.1–50Centre move limit, in 1024-px units.
partsoptPARTS_BUNDLEBD Parts Builder 2 parts - where each item is (frame proof).
complete_partsoptPARTS_BUNDLEBD Parts Builder 2 complete_parts (frame proof).
head_maskoptMASK—
lip_zoneoptCOMBOorganicLip shape in socket_mask / feature_mask. organic: the MediaPipe outer lip contour + 6 px, like the eyes and brows. contour: the exact lip outline, no margin. hull: its convex hull (no cupid's bow). plane: the box FaceMaker v10-v26 drew for its lip stamp.
eye_filloptCOMBOflatflat: each MediaPipe eye zone of the eyeless plate becomes one flat tone (the median of the skin around it) - the flat eye section the engine eye sits on, which FaceMaker v26 made in its removed 'Crop and Fill Eyes' step. none: keep the closed lids 2.1 draws.

Outputs (10)

NameTypeDescription
baldIMAGE—
mouthlessIMAGE—
eyelessIMAGE—
matteMASK—
plate_sourceIMAGE—
plate_headMASK—
plate_frameSTRING—
reportSTRING—
socket_maskMASKEye / brow / mouth exclusion mask (MediaPipe on the bald plate; lips per lip_zone), in the plate frame. Save it with the plates; FaceMaker subtracts it from the matte instead of detecting.
feature_maskIMAGERGB: R = mouth / lips, G = eyes, B = brows (plate frame).