ComfyUI Node
⚗ 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)
- image
- vae
- mask
- upscale_model
- latent
- image
- mask
- denoise
- report
◄modeimprove (light retouch)►
◄strength-1.00►
◄megapixels3.00►
◄mask_grow12►
◄mask_feather24►
Category⚗ AlchemicaMente/image
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| image | 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 | — | |
| mode | COMBO | improve (light retouch) | 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 |
| strength | FLOAT | -1.00-1–1 | -1 = from the mode. Otherwise the denoise you want (0.1 almost nothing ... 1.0 a new image) |
| megapixels | 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 |
| mask_grow | INT | 120–128 | Pixels added around the painted zone (so the edge is redrawn too) |
| mask_feather | INT | 240–128 | Soft edge in pixels: the new zone blends into the photo without a seam |
| maskopt | MASK | The MASK output of Load Image (painted zone). Empty = the whole photo | |
| upscale_modelopt | 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) |
| image | IMAGE | The photo at the working size: to ⚗ Photo · compose 'originale' |
| mask | 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 |