[Feature Request]: Including Source Image in PNG Info
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
When I use Stable Diffusion I often have generations with far too similar composition and format. The solution is to use img2img. The problem with using img2img is that the metadata on each generation and its txt file does not include any indicator of the base image that was used to make it, so it's extremely difficult to replicate it later to iterate on.
This feature would include the file name of the base image when doing img2img generation.
Proposed workflow
- Go to img2img tab
- Choose source image
- Generate image from source image
- Copy Generation to PNG Info tab of WebUI
- See the file name of the source image so it can be replicated or iterated on later.
Additional information
No response
File names are so subject to change, though. The name of an image hardly represents the image itself. Could there be a solution that involves computing hashes for every source image and generated image? Saving copies somewhere safe? This could even allow for entire lineages of img2img2img results visualized as trees.
File names are so subject to change, though. The name of an image hardly represents the image itself. Could there be a solution that involves computing hashes for every source image and generated image? Saving copies somewhere safe? This could even allow for entire lineages of img2img2img results visualized as trees.
An image hash would be nice too, but at the very least I could archive any image I use in img2img with a file name that's indicative of what it was of. Right now, I have a folder of images to use in SD, but once you git .8 denoising, it's very likely you won't be able to figure out what image was used to make it. img2img is somewhat unusable right now if you at all need to come back and use it again.
https://github.com/gradio-app/gradio/issues/3158#issuecomment-1460766959
Duplicate of https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/350