Skip to content

How to batch sending PNG Info to txt2img #7852

Answered by Z-nonymous
Z-nonymous asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, it was actually faster to write my own mapping conversion than looking up if one exists.

So I was able to create a custom script that:

  • Will take a file input or textbox (like with prompt_from_file) containing the list of paths to the images you want to re-create.
  • will regenerate the files with the current model using the same parameters (including hires if it was used)

I've also added a checkbox to reuse same model as well, but I need to test if that actually works.

I didn't implement face restoration as it seems stable-diffusion_webui doesn't store that information in the image.

Maybe I'll share my script after testing the checkbox feature if some are interested.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@johneliot1978
Comment options

@Z-nonymous
Comment options

@johneliot1978
Comment options

@johneliot1978
Comment options

@Z-nonymous
Comment options

Answer selected by Z-nonymous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants