AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
142.96k stars 26.95k forks source link

[Feature Request]: Display a description and sample image for a model if available #4996

Closed candre23 closed 1 year ago

candre23 commented 1 year ago

Is there an existing issue for this?

What would your feature do ?

In short: Check the model directory for a .txt file and an image (.jpg or .png) file with the same name as each model. If such files exist, display the contents of the text file and thumbnail of the image (click for full size) so the user knows what to expect from that model.

At length: As there are hundreds of models already, with more being generated and merged all the time, it can be difficult to know what sort of content any given model is suited for. It's nearly impossible for new users to keep them straight - especially with many having less-than-descriptive file names.

To address this issue, the online AI image generator Artbot has recently added a feature where it displays a short text description and provides a sample image for the models it supports:

AbIEoO8

I believe this webUI could benefit from a similar function. Simply check the model folder for .txt and .jpg and, if present, display the text and image whenever that model is selected. This text could contain a brief description of what sort of images were used to train it, what prompts to use, etc. The image could be a collage of typical output for the intended type of art. For example, if you had the classicAnim-v1.ckpt model, and you included these files in the model directory,

classicAnim-v1

classicAnim-v1.txt

It would display the info like so: mockup

Obviously it's impossible for this project to keep track of and provide metadata for all the models out there, but simply providing an easy way to display such information in the webui would encourage model makers to include such metadata when publishing models. At worst, users could create these files for themselves.

Proposed workflow

Metadata would be displayed automatically next to any model selection dropdown.

Additional information

No response

Lalimec commented 1 year ago

nice idea indeed

catboxanon commented 1 year ago

UI has been reworked a lot since this was opened and there's a model viewer and info editor for it now. Open a new issue if there's anything to add.