If you are new, don't jump into this yet. Get your feet wet prompting images first and you will have a much easier time understanding what's going on.
Greetings anons! This guide is for AI artists who want to emulate animation styles such as anime, cartoons, stop-motion or rotoscope. There are many ways of approaching animation and I want it to be easy for anyone to get into!
This is a living document, I plan on exploring other animation techniques and refining current methods. I hope you anons are willing to glean some info on different processes so everyone can put out cool animations in their own unique styles.
Thank you all for being so supportive and I hope those that are eager to make animations have the time of their lives! I really hope this guide helps spur your imagination. Show us your dreams!
Traditional styles of animation use lower frame-rates. Depending on what kind of animation you want to do, you should have one or multiple selections of fps in mind for different scenes. Below is a chart with the appropriate fps for animation styles:
|fps in post
|Rotoscope (kind of all over the place, use whatever fits)
You can consult the performance chart to calculate the amount of time it will take to generate an animation sequence.
Framerate Calculator here if you need it:
Below is a table of aspect ratios for the height and width options in the Stable Diffusion Webui:
An aspect ratio calculator for quick reference as well.
If you are new to up-scaling, a helpful anon put this together for you:
This also contains useful info for cleaning frames too. Thank you anon!
More in depth information here
Install ffmpeg: https://ffmpeg.org/download.html
ffmpeg needs to be installed. If its not on your PATH, you may need to manually specify the executable location.
For VP9 webm, ffmpeg must be compiled with libvpx-vp9
For VP8 webm, ffmpeg must be compiled with libvpx
For H.265 mp4, ffmpeg must be compiled with libh265
For H.264 mp4, ffmpeg must be compiled with libh264
~from the Loopback Wave Script Anon's rentry~
As much as I would like to have a fleshed out section for ffmpeg, there are plenty of resources for learning commands. Below are links that provide a GUI for learning them.
|A simple, easy to use input for making webms. (Thank you to the anon that put this together! Greatly appreciated!
|A node based GUI used to make ffmpeg filters
|Official documentation for commands and features.
|ffmpeg cheat sheet
|Script anon's ffmpeg cheat sheet. Should have everything you need.
|Prompt interpolation Guide
|A guide on using prompt interpolation to generate traditional style animations in Automatic1111's Stable Diffusion Webui.
|Seed Travel Script
|Some anons had some luck getting coherent animations but requires a lot of "seed fishing". My experimentation only really gave me one result I kind of liked but that doesn't bring this script off the table. If you have two clips you really want to use with each other and they don't share the same seed (and every other setting is the same ), you can seed travel to the desired seed then fill the frames between clips. Other scripts include seed travel in their repertoire.
|Loopback Wave Guide
|Prompt interpolation, seed travel and an oscillating denoise all rolled into one. This guide if for using and understanding the Loopback wave script.
A great primer for techniques in Deforum + Parseq.
|A guide to applying Automatic1111's Stable Diffusion Webui to videos with batch img2img, Ebsynth, ControlNet, Video Loopback and multi-frame-rendering (in time). This section is still going through edits but has plenty of resources to get you started.
|The most widely used animation extension by far. People ask me all the time if I am using it for my animations but I think starting out it's better to learn with simple scripts and apply that knowledge to Deforum. Very good with Img2Img animations. This can also be really useful for pulling off 3D to 2D anime and rotoscoping in general.
Basic overview added will continue to polish and put up more examples in time. I really want to provide camera presets and masks in the future to help out the community.
|Fantastic for plotting animation timings! Sync your animations with music using functions. What I like about this script is the GUI. timeline to track multiple interpolations with wave functions! Love that it's a separate gradio page so you aren't scrolling up and down all the time. Is currently implemented in Deforum (Under Init Tab at the very bottom, also has a link to the web app) but I plan on covering it separately because it uses different functions (see the GitHub documentation). If you have digital music production experience, you will have an easy time picking this up.
haven't attempted this myself yet. Another helpful anon disclosed instructions. See below.
Extremely effective for coherency from examples I've seen but seems really time consuming. The Krita and Photoshop plugins would alleviate a lot of the pain from inpainting in the webui and frame interpolation will cut down on the number of frames you actually need.
So far we have these instructions:
Start with a single vector image.
use any variety of prompts you wish (keep variance per output very low (50-75%).
Using img2img, slowly evolve the type of details you are trying to work on (face, arms, clothing, etc.)
Do this by generating an image based on your current "frame" until you satisfy output to build upon.
You then use that output as your next frame and build from there, gradually adding and removing prompts.
Repeat X times then make a movie.
Example from the same anon:
Another interesting thought I had about the ControlNet Extension for A1111. You should be able to use the Openpose skeleton for small adjustments each frame to get to the desired keypose. Haven't tried this yet but I'll see about testing it sooner rather than later.
|Frame interpolation to save time processing extra frames to reach your target fps. Mixed results depending on the video you are trying to interpolate. Illustration styles that use thick outlines and/or fast movements tend to flicker a lot while slow, fluid movements tend to do well.
|Really cool and free video editing software and can overlay/animate vector art over the video. You can make your own vector art in the webui using this script. Some creative anons might be able to make something stylish with this!
|Camera script to record movements in blender and import them into Deforum.
|Ebsynth Utility for A1111
|Concatenate frames for smoother motion and style transfer.
|High Resolution Depth Maps for Stable Diffusion WebUI (works with 1.x models). Handy for making masks to use in animations.
|Automate Deforum Keyframe Animations with Waveforms
|All-In-One-Deflicker is a general postprocessing framework that can remove different types of flicker from various videos, including videos from video capturing, processing, and generation.
|Multi-frame video editing
|Script for blending controlnet frames and loopback Improves coherancy but has some issues with colour correct.
|Loopback script applied to videos
|batch img2img on .gif inputs. Supports InstructPix2Pix.
|VToonify: Controllable High-Resolution Portrait Video Style Transfer (HuggingFace demo available).
|enables video transitions with incredible smoothness between prompts, computed within seconds.
|Generating talking head videos through a face image and a piece of speech audio
|Loopback and Superimpose
|Mixes output of img2img with original input image at strength alpha. The result is fed into img2img again (at loop>=2), and this procedure repeats. First image is result of img2img with no looping.
|An animation focused workflow frontend for Stable Diffusion webui. Requires back-end implementation found here
|Prompt Travel through latent space
|Collaborative Neural Rendering using Anime Character Sheets
|Animating Pictures with Eulerian Motion Fields
|Animated using the generated motion through a deep warping technique: pixels are encoded as deep features, those features are warped via Eulerian motion, and the resulting warped feature maps are decoded as images.
|temporal awareness from original frames
|use original frames from a rotoscope to normalize flickering.
|Zero shot, text based video editing
|Restyle input videos with excellent temporal coherency.
|Differential frame interpolation analyzes the stability of the original video, and processes the generated video with that information.
|Txt2Vid Model on Modelscope
|Fist open source txt2vid model is available! Required 16GB of VRAM to run. To run locally, use this script. A HuggingFace Demo is available.
|Txt2Vid Model on HuggingFace
|same as above but hosted on HuggingFace.
|Reference Based SC CN Animation
|This script allows to automate video stylization task using StableDiffusion and ControlNet. There is also reference image trick implemented to make animation more stable.
|Animated portraits from one image.
|txt2vid Extension for A1111
|Auto1111 extension consisting of implementation of ModelScope text2video using only Auto1111 webui dependencies. 8GB VRAM minimum required.
|An all in one solution for adding Temporal Stability to a Stable Diffusion Render via an automatic1111 extension
I'm going to have to separate animation concepts since the rentrys are getting kinda long. I've been messing around with different formats and I will be doing a refactor as soon as I'm happy with how everything is organized. Sorry for the dead air for the past two months! A lot of real life stuff had gotten in the way and it's going to be a real sprint