GitHub

ToonCrafter: Generative Cartoon Interpolation

What is the project about?

ToonCrafter is a framework for generating smooth and coherent cartoon-style video interpolations between two input cartoon images or sketches. It leverages pre-trained image-to-video diffusion models to achieve this.

What problem does it solve?

It addresses the challenge of creating in-between frames for cartoon animations, a traditionally labor-intensive process. It automates the generation of intermediate frames, making cartoon animation more accessible. It also allows to colorize sketches.

What are the features of the project?

  • Cartoon Image Interpolation: Generates video frames between two given cartoon images.
  • Sparse Sketch Guidance: Allows users to provide sparse sketch guidance to influence the generated motion and content.
  • Cartoon Sketch Interpolation: Can interpolate between two cartoon sketches.
  • Reference-based Sketch Colorization: Colorizes input sketches based on a provided reference image.
  • Community Support: ComfyUI, Colab, Windows.

What are the technologies used in the project?

  • Diffusion Models (image-to-video diffusion priors).
  • Python.
  • Anaconda (for environment management).
  • Gradio (for creating a demo application).
  • Hugging Face (Model Checkpoint).

What are the benefits of the project?

  • Automation: Automates the tedious process of creating in-between frames for cartoon animation.
  • Accessibility: Makes cartoon animation more accessible to a wider range of users.
  • Creative Control: Offers control over the generated animation through sketch guidance.
  • Efficiency: Reduces the time and effort required for cartoon animation.
  • Research: Open-source for research.

What are the use cases of the project?

  • Cartoon Animation: Creating smooth transitions and in-between frames for cartoon animations.
  • Sketch Animation: Bringing static sketches to life by generating animated sequences.
  • Artistic Expression: Providing a new tool for artists to explore and create cartoon-style content.
  • Content Creation: Generating cartoon-style videos for various applications, such as social media or entertainment.
  • Reference-Based Colorization: Colorizing black and white sketches.
ToonCrafter screenshot