continue-revolution / sd-webui-animatediff

AnimateDiff for AUTOMATIC1111 Stable Diffusion WebUI
Other
3.11k stars 258 forks source link

[Feature]: Treat batch as single image (one gif per batch image) #427

Open marcsyp opened 9 months ago

marcsyp commented 9 months ago

Expected behavior

Hi there -- I have been experimenting with creating gifs from single images with low controlnet weights to create subtle motion based on a simgle image. I have gotten some good results and wanted to apply that to a batch of images.

The problem is that all of the batch functionality (whether in txt2img/img2img ControlNet or in img2img batch) assumes that the batch is being provided for individual frames of the animation. I understand why this is desirable in many cases but I propose that there is a checkmark option in ADiff to "Treat batches as single images", which would create 1 animation for each image in the batch.

continue-revolution commented 9 months ago

unfortunately, this is very difficult, and with low priority. for the time being, please change batch number instead.

marcsyp commented 9 months ago

I'm sorry, i read the documentation and experimented a little bit, but I don't understand what you mean by "change batch number" -- can you explain?

continue-revolution commented 9 months ago

Look at your webui and “batch number” is just above “batch size”

marcsyp commented 9 months ago

You mean "Batch Count"? This is great for creating multiple animations from a single source image but doesn't really help with creating one animation for each of a batch of images, AFAICT. I suppose it will have to wait -- thank you for making a really incredible plugin -- it's a lot of fun.