Image recycler - reuse your generated images
Reuse your old generated images contains workflow data (exif on jpg, and pnginfo on png), and recycle not just the prompt, but the model and sampler settings.
Reads A1111 meta data from .jpg and .png formats, and handle ComfyUI's .jpg and .png images as well. It decodes the model's real system path from A1111 exif, and also the valid sampler/scheduler names too, so it can be re-used under comfy. Lot of switches available to decide which meta data you want to read from the image or you want to use the workflow setting instead. You can connect your original workflow settings to the input of recycler node if you want to use switches of several settings.
The attached workflow contains only the metadata reader, original workflow settings not connected, so the switches cannot handle data between original workflow and image info. This example workflow handle only the image info.
For the workflow Primere Nodepack required.
Download the nodepack from here: https://github.com/CosmicLaca/ComfyUI_Primere_Nodes/
or use ComfyUI manager -> Install custom nodes. You can download Manager from here: https://github.com/ltdrdata/ComfyUI-Manager
The example workflow is the part of Primere nodepack, so you can open when installed from the Workflow folder: https://github.com/CosmicLaca/ComfyUI_Primere_Nodes/blob/master/Workflow/civitai-image-recycler.json
Because the code changes frequently, the workflow needs to be updated and open with code changes. Therefore, the nodes and workflows updated from git is always the working version. Please follow the code changes with weekly git pull.
The source image of example workflow:
The result of workflow:
Some development / test images: