Skip to content

FEAT: Animate between two prompts using CLIP interpolation followed by latent space interpolation #153

Description

@morganavr

Playground:
https://replicate.com/andreasjansson/stable-diffusion-animation

Source code:
https://github.com/andreasjansson/cog-stable-diffusion/tree/animate

@andreasjansson GitHub user created a feature that works this way:

First a number of latents are generated by stable diffusion over an interpolation in CLIP space. Then the latents are interpolated and decoded into images and combined to a GIF.

I think this feature can be more powerful if it allows interpolation between two images that user already generated previously and saved their full info for recreation (prompt + parameters + seed).

Use case would be that user generates tons of images without this plugin. Then he picks two images that he likes the most and using this feature he could interpolate between them. For it to work full prompt info is required to get access to those 2 images.

Also I'd love the option for all intermediate images to be saved as separate files (possibly in separate folder for easier organization) - I am not really interested in one GIF file but to use this feature as a way to get interesting variations between two images.

On SD Discord at #community-research an author (andreas) mentioned a limitation of this feature:

i did some experiments with animating SD, interpolating in CLIP space: https://replicate.com/andreasjansson/stable-diffusion-animation. curious if anyone has ideas on how to make it less jumpy between frames!

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions