Eric Krea2 Settings from Image
Re-run yesterday's exact image — settings, LoRAs, and all
- image
- mask
- settings
- loader
- ultra
- lora
Somewhere along the way you'll generate something great and then not be able to reproduce it. This node exists to make that failure mode embarrassing instead of permanent. Eric Krea2 Settings from Image reads the embedded generation recipe out of a PNG that was saved with a KREA2_SETTINGS chunk and hands it back to you as structured outputs - image, mask, the full recipe, and the per-section strings.
It's the read half of the pack's reproducibility story. The write half is this: when you save an image from a workflow that used Merge Settings (which folds the loader, Ultra, LoRA, and prompt recipe strings into one bundle), the recipe gets embedded in the PNG's text chunks. Later, drag that same PNG in here and the node decodes the picture and extracts the recipe. The connection is that you can reproduce an image from its own file - no guessing, no "I think I used 0.7 on the LoRA that time."
Inputs are almost nothing. image is a file picker (any PNG saved with the embedded recipe - the picture is decoded too, so you can preview what you're about to resurrect). metadata_key is optional: the exact PNG text-chunk key holding the recipe. Leave it blank and the node auto-scans every chunk for the KREA2_SETTINGS marker, which is the right default unless you've got multiple recipe chunks in one file.
Outputs are the payoff:
- image - the decoded picture.
- mask - a MASK output too, which is a nice touch for edit workflows (it's a stock ComfyUI output type, so it feeds masking nodes).
- settings - the full recipe blob as a string.
- loader / ultra / lora - the recipe split into its per-section strings, so you can feed each one back into the relevant node's preset system (the ★ save buttons and the section presets are built for exactly this round-trip).
The workflow the README shows is the honest endgame: Merge Settings → a metadata-aware save → later, Settings from Image → feed the per-section strings back into a fresh graph, and your recipe is reconstructed without a single manually-retyped value. For anything you do more than once - a style you're iterating, a character LoRA stack you keep coming back to - that's a real workflow upgrade, not a gimmick.
What it won't do: recover settings from images that were never saved with the recipe (plain exports from other tools carry no chunk), and it can't fix the model's own prompt-adherence drift - the recipe gets you the same settings, and the model is the model. But for its actual job - "what did I run to make this" - it's instant, and it's the node that makes the pack's whole preset-and-recipe system feel coherent instead of scattered.
How to install
Part of EricRollei/Krea2_ComfyUI_Advanced. ComfyUI Manager → search "Krea2_ComfyUI_Advanced", or:
cd ComfyUI/custom_nodes
git clone https://github.com/EricRollei/Krea2_ComfyUI_Advanced
Restart. It's a metadata reader, so it needs no models of its own - the pack-wide diffusers setup only matters for the generation nodes downstream.
Common issues
- "No recipe found" - the PNG was saved without a KREA2_SETTINGS chunk. Only images saved by workflows that used Merge Settings (or the pack's own save nodes) carry it. Re-saving won't add it.
- Recipe reads but looks wrong - check whether the file has multiple recipe chunks; set
metadata_keyto the exact chunk key if so. - Reproduced image doesn't match the original exactly - settings get you the recipe; if the seed wasn't saved or the model drifted, output will differ. That's physics, not a bug.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| image | COMBO | A PNG saved with an embedded KREA2_SETTINGS recipe. The recipe is read from the PNG's text chunks; the picture is decoded too. | |
| metadata_keyopt | STRING | Optional: the exact PNG text-chunk key holding the recipe. Leave blank to auto-scan every chunk for the KREA2_SETTINGS marker. |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| settings | STRING | — |
| loader | STRING | — |
| ultra | STRING | — |
| lora | STRING | — |