Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AIBooru AI metadata #3505

Closed
taskhawk opened this issue Jan 7, 2023 · 1 comment
Closed

Add AIBooru AI metadata #3505

taskhawk opened this issue Jan 7, 2023 · 1 comment

Comments

@taskhawk
Copy link

taskhawk commented Jan 7, 2023

Currently there are posts that include AI metadata associated with the generated image, but that info is not available when saving the metadata with a postprocessor. Could it be added?

The AI metadata appears below the images if available. Examples:

https://aibooru.online/posts/13958
https://aibooru.online/posts/13959
https://aibooru.online/posts/13964

@mikf
Copy link
Owner

mikf commented Jan 13, 2023

With the changes from c87bd1a, you can set metadata to "ai_metadata" to get this data:

$ gallery-dl -j -o metadata=ai_metadata https://aibooru.online/posts/13964
...
      "ai_metadata": {
        "cfg_scale": 7.0,
        "created_at": "2023-01-07T01:39:59.092-05:00",
        "id": 8555,
        "model_hash": "6569e224",
        "negative_prompt": "lowres, ((bad_anatomy)), ((bad_hands)), text, missing_finger, extra_digits, fewer_digits, blurry, ((mutated hands and fingers)), (poorly drawn face), ((mutation)), ((deformed_face)), (ugly), ((bad_proportions)), ((extra_limbs)), extra_face, (double_head), (extra_head), ((extra_feet)), monster, logo, cropped, worst_quality, low_quality, normal_quality, jpeg, humpbacked, long_body, long_neck, ((jpeg artifacts)), (((large_breasts, gigantic_breasts))) (((loli, teenager))), censored, mosaic",
        "post_id": 13964,
        "prompt": "(masterpiece, best quality, highres, 4k), (dress_shirt:1.5), dutch_angle, cowboy_shot, mature_female, headphones, naughty_face, curvy, bob_cut, , 2girls, side_ponytail, in a field of colorful flowers, partially_unbuttoned:1.4, glossy_lips, lipstick, from_side, blush, floating_hair, yuri, rose",
        "sampler": "Euler a",
        "seed": 3461375888,
        "steps": 20,
        "updated_at": "2023-01-07T01:39:59.092-05:00"
      },

@mikf mikf closed this as completed Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants