Support StableSwarmUI Image Metadata

Simple request: support/recognize image metadata when an image was created in StableSwarmUI and uploaded to civitai, in the same way eg Auto WebUI metadata is recognized. See also original user request @ https://github.com/Stability-AI/StableSwarmUI/issues/164

StableSwarmUI saves image metadata in a simple JSON-based format otherwise equivalent to Auto WebUI (same exif keys).
See code example, generic multi-UI-compatible parser here: https://github.com/Stability-AI/StableSwarmUI/blob/0cccc3ab9f939b1a827ef53e28bc1b2bfef9d199/src/wwwroot/js/genpage/main.js#L1102-L1243

Specific example of Swarm's JSON:
{

"sui_image_params": {

"prompt": "a cat",

"seed": 188307176,

"steps": 20,

"cfgscale": 7,

"aspectratio": "1:1",

"width": 1024,

"height": 1024,

"initimagecreativity": 0.6,

"model": "OfficialStableDiffusion/sd_xl_base_1.0.safetensors",

"negativeprompt": "",

"swarm_version": "0.5.9.0",

"date": "2023-11-16",

"generation_time": "0.00 (prep) and 6.91 (gen) seconds"

}

}

Please authenticate to join the conversation.

Upvoters
Status

Implemented

Board

πŸ’‘ Feature Request

Date

Over 1 year ago

Author

mcmonkey

Subscribe to post

Get notified by email when there are changes.