AUTOMATIC1111 / stable-diffusion-webui

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

[Feature Request]: export prompt/settings/modelinfo as json metadata into the image output path #10169

Closed Satttoshi closed 1 year ago

Satttoshi commented 1 year ago

Metadata export into the image output path

Value proposition

As a user I want to have my prompt/settings metadata exported together with the output image So I can check how I generated my image

In the image output folder or sub-folder should be JSON files, which have the complete input data of the webui. This would help alot overviewing and evaluating settings, to improve future settings and get better results!

Proposed workflow

  1. Go to txt2img / img2img
  2. Create & set checkbox include metadata
  3. export whole page settings (prompts/samplingmethods/settings/models) in a json file to image output path

Additional information

No response

pixelass commented 1 year ago

the data is already stored within the image (EXIF). Just drop your image into the "png info" Here's an example using controlnet Screenshot 2023-05-07 at 16 28 30

hyperrealism, portrait of a (half human:1.4) half robot face, head, cyborg, android, computer chips, shiny metal, highly detailed skin, absurdly realistic skin, absurdly realistic, crystal ruby, crystal eye, absurdly realistic human eye, crystal skin, absurdres, masterpiece, extreme colors, (rainbow:1.3), rainbow colors, (vibrant colors:1.1), bright colors, half (cyborg:1.2), (robotic face:1.2), (human:1.2) face, (two-face:1.2), real, unreal, unity, octane, award winning photography, expert photographer, (porcelain:1.1) skin, reflective, reflection, led lighting, microchips, glass, (glass skull:1.2), absurdly (humanlike skin:1.4), [european|african|asian|oriental,light,dark] skin, intricate eyes, absurdly intricate detail, digital shaman, symbiotic, (shamanic spirit:1.1), AI, artificial intelligence, analog style, cyberpunk, biopunk, future, futuristic, psychedelic, dreamlike, (genderless, non-binary:1.4), bald head, shaved head. hairless, absurdly realistic eyebrows, realistic detailed eyelashes, absurdly realistic humanlike eyes, robotic eye, robotic lens, absurdly humanlike lips, robotic mouthpiece, face-shield, led display, matrix code, matrix, intricate robot-like features, dramatic lighting, backlighting, led, laser sight, laser, beams, dark background, glamerous, wild colors, absurdly colorful, extremely many colors Negative prompt: worst quality, bad quality, poorly drawn face, poorly drawn eyes, low contrast, cartoon, comic, oil painting, bad artist, sketch, alien, monster, hair, scars, cut, ridges, blemishes, skin irritation, mole, birthmark, pimple, zit, monochrome, greyscale, lowres, undetailed, poorly drawn, deformed, chibi, burn, burn mark, burn scar, body, neck, torso, clothes, turtleneck, uniform, tank top, dressed, bikini, bra, Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 2158330779, Size: 512x512, Model hash: 1ec3b477c0, Model: Undertone_v1, ControlNet Enabled: True, ControlNet Module: canny, ControlNet Model: control_sd15_canny [fef5e48e], ControlNet Weight: 1.4, ControlNet Guidance Start: 0, ControlNet Guidance End: 1

Satttoshi commented 1 year ago

😅