Giter Club home page Giter Club logo

temporalkit's Introduction

TemporalKit

An all in one solution for adding Temporal Stability to a Stable Diffusion Render via an automatic1111 extension

You must install FFMPEG to path before running this

You can find a demonstration run through with a single batch here:

https://twitter.com/CiaraRowles1/status/1645923461343363072

And a batch demonstration here:

https://mobile.twitter.com/CiaraRowles1/status/1646458056803250178

Ebsynth tutorial:

https://twitter.com/CiaraRowles1/status/1648462374125576192

NOTE: EBSYNTH DOES NOT REGISTER THE KEYFRAMES IF YOU USE ABOVE 20,

Ebsynth split frames tutorial:

https://www.youtube.com/watch?v=z3YNHiuvxyg&ab_channel=CiaraRowles

Example results you can get:

consistenanimation.mp4

The values in the extension are as follows

FPS: This is the fps the video is extracted and produced at.

batch_Size: this is the number of frames between each keyframe, so for example if you had an fps of 30, and a batch size of 10, it would make 3 keyframes a second and estimate the rest.

per side: this is the square root of the number of frames per plate, so for example a per side value of 2 would make 4 plates, 3, 9 plates, 4 16 plates.

Resolution: the size of each plate, it is strongly reccomended you set this to a multiple of your per side variable

batch settings: only open this drop down if you want to generate a folder of plates.

Max Frames: when generating a folder of plates, this gets how many frames at the above fps you want to get, and then divides them into plates in groups of (per side * per side * batch size)

Border Frames: every batch generated plate will contain this many frames from the next plate and blend between them.

Batch Folder: If you're generating a batch of plates, just specify a empty folder and on clicking run, it will populate it with the relevant folders and files, all you need to do is go to img2img batch processing in original sd, enter the newly create input folder as the input, the newly created output folder as the output, generate, move back to the temporal-kit Batch-Warp Tab, put in the whole folder directory and click read and it will set everything up.

Output Resolution (in the batch warp tab): the maximum resolution on any side of the output video.

FAQ:

Q: my video has smearing

A: use a higher fps and/or lower batchnumber, the closer together the keyframes the less artifacts.

#TODO

  • set up diffusion based upscaling for the plates output
  • get the img2img button working with batch processing.
  • add a check to see if the output folder was added.
  • fix that weird shutdown error it gives after running
  • hook up to the api.
  • flowmaps from game engine export\import support

Thanks to RAFT for the optical flow system.

temporalkit's People

Contributors

ciarastrawberry avatar camenduru avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.