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.
⚗ 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)
| Name | Type | Default | Description |
|---|---|---|---|
| foto | IMAGE | The photo to work on. To change only one zone, paint it: right click on the Load Image node -> Open in MaskEditor | |
| vae | VAE | — | |
| modo | COMBO | migliora (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 |
| forza | FLOAT | -1.00-1–1 | -1 = from the mode. Otherwise the denoise you want (0.1 almost nothing ... 1.0 a new image) |
| megapixel | FLOAT | 3.000–8 | Working 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_maschera | INT | 120–128 | Pixels added around the painted zone (so the edge is redrawn too) |
| sfuma_maschera | INT | 240–128 | Soft edge in pixels: the new zone blends into the photo without a seam |
| mascheraopt | MASK | The MASK output of Load Image (painted zone). Empty = the whole photo | |
| modello_upscaleopt | UPSCALE_MODEL | Optional: used only when megapixel > the photo's size, before Krea re-draws the detail |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| latent | LATENT | To ⚗ AlchemicaKrea latent_image (it carries the mask: only that zone is re-drawn) |
| foto | IMAGE | The photo at the working size: to ⚗ Photo · compose 'originale' |
| maschera | MASK | The feathered mask (all white if none): to ⚗ Photo · compose |
| denoise | FLOAT | To ⚗ AlchemicaKrea denoise (convert the widget to an input) |
| report | STRING | What was done |