Generated reference · ComfyUI workflow · Avatar & identity

Cosmetic Layer Generator

Generate avatar cosmetic accessories, clothing, and decorations as separate layers

Avatar & identity13nodesGPU A5000out image~35sv1.0.0

On this page
13Graph nodes
11Node classes
19Inputs
3Models

Tags: cosmeticaccessorylayercustomizationoverlay

Inputs (19)#

The typed parameter surface callers bind when they request this workflow. Enum options and numeric bounds are the values the workflow document declares.

cosmetic_typeenumdefault jewelry
Type of cosmetic item to generate
options: headwearjewelryclothingwingsaura_effecttattoohair_accessoryheld_itembackground_element
headwear_styleenumdefault halo
Style of headwear (if selected)
options: crownhaloflower_crownturbanhoodheadbandthird_eye_gemantlershorns_divine
jewelry_styleenumdefault mala_beads
Style of jewelry (if selected)
options: mala_beadscrystal_pendantchakra_necklaceearringsarmletsringsnose_ringforehead_chain
clothing_styleenumdefault shawl
Style of clothing piece (if selected)
options: capeshawlsashbeltglovessleevescollarvest
wings_styleenumdefault angel_feather
Style of wings (if selected)
options: angel_featherbutterflyenergy_wingsfairydragongeometriclight_wings
materialenumdefault gold
Primary material appearance
options: goldsilvercrystalfabricenergynatureetherealgemstone
color_schemeenumdefault white_gold
Color scheme for the cosmetic
options: chakra_specificwhite_goldcosmic_purplenature_greenocean_bluefire_redrainbowmonochrome
chakra_targetenumdefault heart
Target chakra for chakra_specific color
options: rootsacralsolar_plexusheartthroatthird_eyecrownall
glow_effectbooleandefault true
Add glowing/luminescent effect
transparencyenumdefault solid
Transparency level
options: solidtranslucentetherealenergy_only
seedintegerdefault -1
Random seed
widthintegerdefault 512
Output width
heightintegerdefault 512
Output height
stepsintegerdefault 30
Sampling steps
cfg_scalefloatdefault 7.5
CFG scale
hires_fixbooleandefault true
Two-pass detail refinement: 1.5x latent upscale + low-denoise second sampling pass
freeubooleandefault true
FreeU v2 backbone re-weighting (family-tuned b1/b2/s1/s2)
checkpointenumdefault dreamshaper_8
SD1.5 checkpoint: DreamShaper 8 finetune (default, baked VAE) or base 1.5
options: dreamshaper_8sd15_base
face_detailbooleandefault true
Impact FaceDetailer detect-and-inpaint refinement pass on detected faces

ComfyUI node graph (13)#

The executable ComfyUI prompt graph: 13 nodes across 11 distinct node classes, wired by 23 data dependencies. Nodes tinted green come from a custom node pack this workflow declares; the rest are ComfyUI core / baked-community classes.

flowchart TD n0["1: CheckpointLoaderSimple"] n1["2: CLIPTextEncode"] n2["3: CLIPTextEncode"] n3["4: EmptyLatentImage"] n4["5: KSampler"] n5["6: VAEDecode"] n6["7: RemoveBackground"] n7["8: SaveImage"] n8["freeu: FreeU_V2"] n9["hires_upscale: LatentUpscaleBy"] n10["hires_sampler: KSampler"] n11["face_bbox: UltralyticsDetectorProvider"] n12["face_detailer: FaceDetailer"] n0 -->|clip| n1 n0 -->|clip| n2 n8 -->|model| n4 n1 -->|positive| n4 n2 -->|negative| n4 n3 -->|latent_image| n4 n10 -->|samples| n5 n0 -->|vae| n5 n12 -->|image| n6 n6 -->|images| n7 n0 -->|model| n8 n4 -->|samples| n9 n8 -->|model| n10 n1 -->|positive| n10 n2 -->|negative| n10 n9 -->|latent_image| n10 n5 -->|image| n12 n8 -->|model| n12 n0 -->|clip| n12 n0 -->|vae| n12 n1 -->|positive| n12 n2 -->|negative| n12 n11 -->|bbox_detector| n12 classDef custom fill:#12b886,stroke:#0b6b4f,color:#04110c; class n6,n11,n12 custom;
Data-flow DAG — scroll to zoom, drag to pan.

Nodes (13)#

1CheckpointLoaderSimplecore
ckpt_name = {{checkpoint_files[checkpoint]}} tmpl
outputs: MODELCLIPVAE
2CLIPTextEncodecore
text = {{constructed_prompt}} tmplclip = ◂ node 1 · out[1]
outputs: CONDITIONING
3CLIPTextEncodecore
text = human face, body, person, ugly, low quality, blurry, text, watermark, complex background, multiple itemsclip = ◂ node 1 · out[1]
outputs: CONDITIONING
4EmptyLatentImagecore
width = {{width}} tmplheight = {{height}} tmplbatch_size = 1
outputs: LATENT
5KSamplercore
model = ◂ node freeu · out[0]positive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]latent_image = ◂ node 4 · out[0]seed = {{seed}} tmplsteps = {{steps}} tmplcfg = {{cfg_scale}} tmplsampler_name = dpmpp_2m_sdescheduler = karrasdenoise = 1.0
outputs: LATENT
6VAEDecodecore
samples = ◂ node hires_sampler · out[0]vae = ◂ node 1 · out[2]
outputs: IMAGE
7RemoveBackgroundcustom pack
image = ◂ node face_detailer · out[0]
outputs: IMAGE
8SaveImagecore
images = ◂ node 7 · out[0]filename_prefix = cosmetic_layer
freeuFreeU_V2core
model = ◂ node 1 · out[0]b1 = 1.3b2 = 1.4s1 = 0.9s2 = 0.2
outputs: MODEL
hires_upscaleLatentUpscaleBycore
samples = ◂ node 5 · out[0]upscale_method = bislerpscale_by = 1.5
outputs: LATENT
hires_samplerKSamplercore
model = ◂ node freeu · out[0]positive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]latent_image = ◂ node hires_upscale · out[0]seed = {{seed}} tmplsteps = 14cfg = {{cfg_scale}} tmplsampler_name = dpmpp_2mscheduler = karrasdenoise = 0.45
outputs: LATENT
face_bboxUltralyticsDetectorProvidercustom pack
model_name = bbox/face_yolov8m.pt
outputs: BBOX_DETECTORSEGM_DETECTOR
face_detailerFaceDetailercustom pack
image = ◂ node 6 · out[0]model = ◂ node freeu · out[0]clip = ◂ node 1 · out[1]vae = ◂ node 1 · out[2]guide_size = 512.0guide_size_for = truemax_size = 1024.0seed = {{seed}} tmplsteps = 20cfg = 7.0sampler_name = dpmpp_2mscheduler = karraspositive = ◂ node 2 · out[0]negative = ◂ node 3 · out[0]denoise = 0.5feather = 5noise_mask = trueforce_inpaint = truebbox_threshold = 0.5bbox_dilation = 10bbox_crop_factor = 3.0sam_detection_hint = center-1sam_dilation = 0sam_threshold = 0.93sam_bbox_expansion = 0sam_mask_hint_threshold = 0.7sam_mask_hint_use_negative = Falsedrop_size = 10bbox_detector = ◂ node face_bbox · out[0]wildcard = cycle = 1
outputs: imagecropped_refinedcropped_enhanced_alphamaskdetailer_pipecnet_images

Prompt construction#

template
isolated {cosmetic_type} cosmetic item, {type_specific_prompt}, {material_prompt}, {color_prompt}, transparent background for compositing, single item centered, clean edges, {transparency} appearance{glow_clause}, game asset quality, digital art, highly detailed, professional quality

Variables (6)#

cosmetic_type
{{cosmetic_type}} tmpl
type_specific_prompt
{{headwear_prompts[headwear_style] if cosmetic_type == 'headwear' else (jewelry_prompts[jewelry_style] if cosmetic_type == 'jewelry' else (clothing_prompts[clothing_style] if cosmetic_type == 'clothing' else (wings_prompts[wings_style] if cosmetic_type == 'wings' else '')))}} tmpl
material_prompt
{{material_prompts[material]}} tmpl
color_prompt
{{chakra_colors[chakra_target] if color_scheme == 'chakra_specific' else color_prompts[color_scheme]}} tmpl
transparency
{{transparency}} tmpl
glow_clause
{{', glowing luminescent effect, light emission, radiant' if glow_effect else ''}} tmpl

Parameter banks (7)#

The prompt / configuration lookup tables this workflow keys into from its inputs — the vocabulary that turns a style / palette / preset selection into graph parameters.

headwear_prompts (9)#

crown
ornate spiritual crown, royal headpiece, gemstone studded, divine authority
halo
glowing circular halo, saint nimbus, divine light ring, golden disc
flower_crown
floral flower crown, natural blossoms, living garland, nature blessing
turban
wrapped turban headwear, spiritual covering, sacred cloth, wisdom symbol
hood
mystical hooded cowl, shadowed face, mystery shroud, sage covering
headband
decorated headband, forehead ornament, brow decoration, simple elegance
third_eye_gem
third eye gemstone, forehead jewel, bindi crystal, awareness symbol
antlers
divine antlers, deer spirit, nature crown, forest connection, shamanic
horns_divine
divine graceful horns, celestial being, cosmic power symbol, otherworldly

jewelry_prompts (8)#

mala_beads
sacred mala prayer beads, 108 bead necklace, meditation rosary, mantra counter
crystal_pendant
crystal pendant necklace, gemstone hanging, healing stone, energy focus
chakra_necklace
chakra stone necklace, seven stones, rainbow alignment, energy balance
earrings
spiritual earrings, sacred symbols, dangling ornaments, ear decoration
armlets
decorative armlets, upper arm bands, warrior adornment, strength symbol
rings
sacred finger rings, multiple rings, spiritual symbols, hand decoration
nose_ring
delicate nose ring, nostril piercing, cultural tradition, subtle decoration
forehead_chain
forehead chain jewelry, tikka headpiece, brow decoration, bridal style

clothing_prompts (8)#

cape
flowing spiritual cape, draped fabric, dramatic back, hero covering
shawl
soft shawl wrap, shoulder covering, comfort draping, gentle protection
sash
decorative sash belt, waist wrapping, rank symbol, color accent
belt
ornate belt, waist decoration, cinching detail, accessory piece
gloves
elegant spiritual gloves, hand covering, ceremonial, refined detail
sleeves
separate decorative sleeves, arm covering, flowing fabric, dance movement
collar
decorative collar piece, neck frame, formal accent, statement piece
vest
spiritual vest overlay, torso covering, layered look, additional detail

wings_prompts (7)#

angel_feather
white feathered angel wings, bird wings, divine messenger, heavenly flight
butterfly
iridescent butterfly wings, transformation symbol, metamorphosis, delicate beauty
energy_wings
pure energy wings, light construct, no feathers, glowing outline
fairy
delicate fairy wings, gossamer thin, sparkling dust, magical flight
dragon
majestic dragon wings, leathery membrane, powerful span, mythic creature
geometric
sacred geometry wings, mathematical patterns, platonic shapes, cosmic design
light_wings
wings made of light rays, sun beams, divine radiance, illuminated

material_prompts (8)#

gold
polished gold material, precious metal, warm shine, valuable
silver
gleaming silver material, moonlight metal, cool shine, lunar
crystal
clear crystal material, faceted gem, light refracting, precious stone
fabric
rich fabric material, silk or velvet, soft texture, flowing
energy
pure energy material, light construct, immaterial, glowing substance
nature
natural organic material, leaves wood flowers, earth-grown, living
ethereal
ethereal immaterial, ghostly translucent, spirit substance, otherworldly
gemstone
precious gemstone material, ruby emerald sapphire, jewel quality, valuable

chakra_colors (8)#

root
deep red root chakra color, muladhara
sacral
orange sacral chakra color, svadhisthana
solar_plexus
yellow solar plexus color, manipura
heart
green or pink heart chakra color, anahata
throat
blue throat chakra color, vishuddha
third_eye
indigo third eye color, ajna
crown
violet or white crown chakra color, sahasrara
all
rainbow all chakra colors, full spectrum

color_prompts (7)#

white_gold
white and gold colors, pure and precious, divine combination
cosmic_purple
cosmic purple violet, mystical deep colors, spiritual depth
nature_green
nature green colors, forest emerald, earth connection
ocean_blue
ocean blue colors, water element, deep sea, flowing
fire_red
fire red orange colors, flame element, passion energy
rainbow
full rainbow spectrum, all colors, prismatic, complete
monochrome
single color monochrome, elegant simplicity, tonal variation

Models & dependencies#

Custom node packs (3)#

The non-core ComfyUI node classes this graph requires; the RunPod worker image the workflow runs on must bake or install a pack that provides every one of them.

FaceDetailerRemoveBackgroundUltralyticsDetectorProvider

Checkpoint aliases (2)#

dreamshaper_8
DreamShaper_8_pruned.safetensors
sd15_base
v1-5-pruned-emaonly.safetensors

Models required (3)#

DreamShaper_8_pruned.safetensors
bbox/face_yolov8m.pt
v1-5-pruned-emaonly.safetensors

Output contract#

What a successful run of this workflow returns.

type
image
format
png
channels
4
transparency
true

Taxonomy & routing#

How the control plane classifies this workflow — from the committed workflow-taxonomy-registry.json. It drives the consistency / control surface the agentic director can exercise over the workflow.

assetFamily
social-avatar-banner-identity-pack
outputPackageProfile
image-single-profile
controlModalities
camera-lockdepth-constraintidentity-adapteridentity-lockipadapter-facelatent-reusemodel-lockpalette-lockpose-constraintprompt-template-lockreference-ensemblesampler-scheduler-lockscene-lockseed-lockstyle-anchorstyle-lock +2 more
consistencyDimensions
identitywardrobecolor-script
notes
Auto-mapped from avatar defaults