Is there has some tool which help extract png-info and convert to python dict #12604
zacard-orc
started this conversation in
General
Replies: 1 comment
-
Here's how it's currently done. stable-diffusion-webui/modules/generation_parameters_copypaste.py Lines 210 to 307 in 68f336b |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there has some tool which help extract png-info and convert to python dict?
png-info =>
model photoshoot,1girl,expressionless,beautiful young woman,28 yo,villa,palm trees,outdoor,pool,dress,random hair color,slim waist,sporty,ginger hair,dreamy face,detailed,8k,natural colors,clothed,(ultra wide angle:1.5),victorias secret,hollywood,face the lens,
masterpiece,extremely detailed CG unity 8k wallpaper,best quality,Amazing,finely detail,solo,cinematic lighting,close-up,outdoors,detailed background,beautiful detailed eyes,bright pupils,full body,dynamic pose,dynamic angle,12 noon,
Negative prompt: bad art,ugly,messed up face,poorly drawn hands,bad hands,professional photo shoot,makeup,photoshop,doll,plastic_doll,anime,cartoon,filter,airbrush,3d max,infant,featureless,colourless,impassive,shaders,asian,cut off,amputee,fat,nude,naked,indoor,glasses,an open mouth,
badhandv4,
Steps: 40, Sampler: DPM++ SDE Karras, CFG scale: 12, Seed: 3944440566, Size: 1200x1600, Model hash: e4a30e4607, Model: majicmixRealistic_v6, Denoising strength: 0.3, Version: v1.3.2
Template: model photoshoot,1girl,expressionless,beautiful young woman,28 yo,villa,palm trees,outdoor,pool,dress,random hair color,slim waist,sporty,ginger hair,dreamy face,detailed,8k,natural colors,clothed,(ultra wide angle:1.5),victorias secret,hollywood,face the lens,
masterpiece,extremely detailed CG unity 8k wallpaper,best quality,Amazing,finely detail,solo,cinematic lighting,close-up,outdoors,detailed background,beautiful detailed eyes,bright pupils,full body,dynamic pose,dynamic angle,12 noon,
Negative Template: bad art,ugly,messed up face,poorly drawn hands,bad hands,professional photo shoot,makeup,photoshop,doll,plastic_doll,anime,cartoon,filter,airbrush,3d max,infant,featureless,colourless,impassive,shaders,asian,cut off,amputee,fat,nude,naked,indoor,glasses,an open mouth,
badhandv4,
=> want to convert into
{
"aaa":"xxxx",
"bbb":"xxxx",
"ccc":"xxxx",
...
"zzzz":"xxxx",
}
Beta Was this translation helpful? Give feedback.
All reactions