maagic6 / SDIMV

Standalone program for viewing metadata of Stable Diffusion generated images
GNU General Public License v3.0
17 stars 1 forks source link

Feature Request: Edit metadata #28

Open MNeMoNiCuZ opened 7 months ago

MNeMoNiCuZ commented 7 months ago

This program is already better at viewing the metadata than any other program I have tested.

The only "key" feature missing is a way to edit the metadata.

Ideally, also in a batch way for all loaded files. Meaning I would love to be able to batch-insert something into the metadata, or to batch search/replace a string (could be useful if I used a temporary LoRA model file-name, and I wanted to clean it up for release without having to re-generate the images).

maagic6 commented 7 months ago

I'd be able to implement editing of the raw metadata, but most likely not anything more than that for the time being (like editing certain fields for example) since I'd have to figure out how to merge them back into the original metadata which will be difficult considering many images have completely different tags and formatting.

MNeMoNiCuZ commented 7 months ago

Sounds good! This is the best tool for prompt editing that I have found so far: https://github.com/receyuki/stable-diffusion-prompt-reader

The program is great, but loads the image very slowly. SDIMV is very fast!

maagic6 commented 7 months ago

Thanks for the support! I've been trying to find a way to implement prompt editing but so far I've been unable to find a good approach. I've played around with the prompt tool you sent but it's very easy to end up with images with corrupted metadata since it allows direct editing of the metadata.

MNeMoNiCuZ commented 7 months ago

Oh? Interesting, I never encountered corruption. I better be more careful when editing then :D