nateraw / stable-diffusion-videos

Create 🔥 videos with Stable Diffusion by exploring the latent space and morphing between text prompts
Apache License 2.0
4.4k stars 421 forks source link

Add `frame_filename_ext` to control saving/resuming from .png or .jpg #47

Closed nateraw closed 1 year ago

nateraw commented 1 year ago

This PR adds a patch on top of #44 to allow you to save/resume from whatever file extension you'd like. We default to .png, but if you have a .jpg run you'd like to resume, you can supply this param.

For example...to resume a jpg run, you could do:

walk(
    output_dir='dreams',
    name='20220921-050440',
    resume=True,
    batch_size=4,
    frame_filename_ext='.jpg'
)
nateraw commented 1 year ago

@codefaux - this should work for you