Skip to content

Image Metadata Extractor does not work for some outputs #3

@schoenid

Description

@schoenid

Tried it with some images done with A1111 WebUI of type:

  • SD1.5
  • SDXL
  • FLUX

Prompts, Size and Metadata output is working.

Not working is:

  • cfg_scale
  • steps
  • clip_skip
  • model_name

Example:
As the metadata further below states, data for cfg_scale, steps and model_name are available, but the output stays empty or zero (null).
image

raw_metadata:

PromptInfo(generator=AUTOMATIC1111, prompts={Prompt(value='hamburger with melted cheese splashing on top of it,highly stylized,4k,unreal engine 5 render,food art,food photography,realistic render,smoke,mist,dramatic lighting,cinematic lighting,rule of thirds,depth of field,cinematic bloom,art by fodm4st3r,<lora:Food Master SD15:1>,', prompt_id=None, parameters={})}, negative_prompts={Prompt(value='AuroraNegative,smoke,mist,', prompt_id=None, parameters={})}, samplers=[Sampler(name='Euler a', parameters={'cfg_scale': '7', 'seed': '3948214769', 'steps': '30'}, sampler_id=None, model=Model(model_id=None, name='SD15 Art Universe', model_hash='67d531eeb4', parameters={}), prompts=[Prompt(value='hamburger with melted cheese splashing on top of it,highly stylized,4k,unreal engine 5 render,food art,food photography,realistic render,smoke,mist,dramatic lighting,cinematic lighting,rule of thirds,depth of field,cinematic bloom,art by fodm4st3r,<lora:Food Master SD15:1>,', prompt_id=None, parameters={})], negative_prompts=[Prompt(value='AuroraNegative,smoke,mist,', prompt_id=None, parameters={})])], models={Model(model_id=None, name='SD15 Art Universe', model_hash='67d531eeb4', parameters={})}, metadata={'face_restoration': 'CodeFormer', 'size': '400x600', 'denoising_strength': '0.35', 'clip_skip': '2', 'style_selector_enabled': 'True', 'style_selector_randomize': 'False', 'style_selector_style': 'base', 'hires_upscale': '1.75', 'hires_steps': '12', 'hires_upscaler': '4xUltrasharp_4xUltrasharpV10', 'version': 'v1.6.0'}, parameters={...})

metadata:

Samplers:
Euler a

Cfg_Scale: 7

Seed: 3948214769

Steps: 30

Prompts:
hamburger with melted cheese splashing on top of it,highly stylized,4k,unreal engine 5 render,food art,food photography,realistic render,smoke,mist,dramatic lighting,cinematic lighting,rule of thirds,depth of field,cinematic bloom,art by fodm4st3r,<lora:Food Master SD15:1>,

Negative Prompts:
AuroraNegative,smoke,mist,

Additional Metadata:
face_restoration: CodeFormer
size: 400x600
denoising_strength: 0.35
clip_skip: 2
style_selector_enabled: True
style_selector_randomize: False
style_selector_style: base
hires_upscale: 1.75
hires_steps: 12
hires_upscaler: 4xUltrasharp_4xUltrasharpV10
version: v1.6.0

Parameters:

parameters: hamburger with melted cheese splashing on top of it,highly stylized,4k,unreal engine 5 render,food art,food photography,realistic render,smoke,mist,dramatic lighting,cinematic lighting,rule of thirds,depth of field,cinematic bloom,art by fodm4st3r,<lora:Food Master SD15:1>,
Negative prompt: AuroraNegative,smoke,mist,
Steps: 30, Sampler: Euler a, CFG scale: 7, Seed: 3948214769, Face restoration: CodeFormer, Size: 400x600, Model hash: 67d531eeb4, Model: SD15 Art Universe, Denoising strength: 0.35, Clip skip: 2, Style Selector Enabled: True, Style Selector Randomize: False, Style Selector Style: base, Hires upscale: 1.75, Hires steps: 12, Hires upscaler: 4xUltrasharp_4xUltrasharpV10, Lora hashes: "Food Master SD15: 2b4b48d9c3c8", Version: v1.6.0

No errors or messages in the console:

got prompt
Prompt executed in 0.02 seconds

Image:
image

ComfyUI: 26520c7c98
Manager: V2.51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions