Nodes/ComfyUI-AlchemicaSampler/⚗ Alchemica · Photo · prepare (improve / upscale / mask) [1.0, use Alchemica Photo Prepare (improve / upscale / mask)]
ComfyUI Node

⚗ Alchemica · Photo · prepare (improve / upscale / mask) [1.0, use Alchemica Photo Prepare (improve / upscale / mask)]

Prepares a photo for ⚗ AlchemicaKrea: improve, rebuild, change, upscale, or change only a painted zone.

By Nessuno76·Created 18 days ago·Updated about 22 hours ago· 2
⚗ Alchemica · Photo · prepare (improve / upscale / mask) [1.0, use Alchemica Photo Prepare (improve / upscale / mask)]
  • foto
  • vae
  • maschera
  • modello_upscale
  • latent
  • foto
  • maschera
  • denoise
  • report
◄modomigliora (ritocco leggero)►
◄forza-1.00►
◄megapixel3.00►
◄allarga_maschera12►
◄sfuma_maschera24►
Category⚗ AlchemicaMente/legacy (1.0)

Inputs (9)

NameTypeDefaultDescription
fotoIMAGEThe photo to work on. To change only one zone, paint it: right click on the Load Image node -> Open in MaskEditor
vaeVAE—
modoCOMBOmigliora (ritocco leggero)migliora 0.22 = same photo, cleaner · ricostruisci 0.40 = new detail, same subject · cambia 0.60 = applies the prompt, same pose · trasforma 0.80 = the photo is only a base
forzaFLOAT-1.00-1–1-1 = from the mode. Otherwise the denoise you want (0.1 almost nothing ... 1.0 a new image)
megapixelFLOAT3.000–8Working size. 3 MP recommended: re-drawing a photo at its own size makes it SOFTER (measured), upscaling first and re-drawing makes it sharper. 0 = the photo's own size
allarga_mascheraINT120–128Pixels added around the painted zone (so the edge is redrawn too)
sfuma_mascheraINT240–128Soft edge in pixels: the new zone blends into the photo without a seam
mascheraoptMASKThe MASK output of Load Image (painted zone). Empty = the whole photo
modello_upscaleoptUPSCALE_MODELOptional: used only when megapixel > the photo's size, before Krea re-draws the detail

Outputs (5)

NameTypeDescription
latentLATENTTo ⚗ AlchemicaKrea latent_image (it carries the mask: only that zone is re-drawn)
fotoIMAGEThe photo at the working size: to ⚗ Photo · compose 'originale'
mascheraMASKThe feathered mask (all white if none): to ⚗ Photo · compose
denoiseFLOATTo ⚗ AlchemicaKrea denoise (convert the widget to an input)
reportSTRINGWhat was done