stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Feature Request]: Add "send to txt2img" button on txt2img tab

Open Jonseed opened this issue 2 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

Adding a "send to txt2img" button on the txt2img tab (like the one that is on the PNG Info tab) would allow you to choose a seed/prompt from a batch to do more work on, whether that is variations, or upscaling with hires fix, or tweaking prompt, etc. Currently you have to copy and paste the seed, and if using dynamic/wildcard prompts, the unique prompt, in order to work more on a particular image from a batch. "Send to txt2img" would load all the unique gen parameters from any image just generated.

Proposed workflow

  1. Go to txt2img
  2. Generate a batch of images
  3. Click on an image from the batch
  4. Click "send to txt2img" to load all the parameters from that particular image into the txt2img settings

Additional information

No response

Jonseed avatar Nov 12 '22 16:11 Jonseed

There is a tip, you should be able to get the seed on the current image displayed with the recycle button (reuse seed). that is one less thing to set.

Only wildcards would be a bother to you now.

For efficient workflow, you also need to adjust the batch size to 1. img2img would have its own setting.

You can also drag and drop your image into the promptbox and click read generation parameters, which will give correct prompt and seed.

ClashSAN avatar Nov 14 '22 04:11 ClashSAN

Between the recycle button ("reuse seed") and the fact that wildcards ARE derived from the image seed so they should generate the same, this seems handled. Is there anything I'm missing?

rubberbaron avatar Aug 10 '23 09:08 rubberbaron

I think this is referring to when batches are created. They want the seed from a certain image in a batch and to then set the batch count/size to 1. Currently you do have to do this yourself as described so it is a bit inconvenient.

catboxanon avatar Aug 10 '23 09:08 catboxanon

I take back what I said above -- it actually does account for the seed for the image selected. The batch size remains the same but I think you'd start getting the opposite request if that were changed to 1 when reusing a seed. I'm going to go ahead and close this. If the intent is for the batch count/size to be reset that should be it's own issue.

catboxanon avatar Aug 10 '23 09:08 catboxanon