Automatically add Civitai resource metadata to generated images #140
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds a new feature which makes any generated image automatically add resource metadata in the format of images generated with the Civitai on-site generator.
Since the official Civitai extension is a dead project, a new way to add metadata to images is needed.
And since this extension does everything that extension did but better, it made sense to add this feature as well.
I tried to implement it as concisely as possible, reusing as much of the existing codebase as I could.
It should be very simple to understand, robust, and easy to maintain. (Could probably be optimized.)
I also updated the readme to explain the feature. I'm not sure how to update the other languages.
And I added a checkbox to disable/enable the feature in the extension settings.
I have tested this on the latest version of forge. I cannot guarantee this will work in older versions.
Thanks to all contributors for making this wonderful extension! It makes using the web UI with a huge amount of different resources so simple and easy.