search
HomeTechnology peripheralsAIThe author of ControlNet has another hit! The whole process of generating a painting from a picture, earning 1.4k stars in two days

It is also a Tusheng video, but PaintsUndo has taken a different route.

ControlNet author Lvmin Zhang is back to work again! This time I aim at the field of painting.

The new project PaintsUndo has received 1.4k stars (still rising crazily) shortly after it was launched.

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

Project address: https://github.com/lllyasviel/Paints-UNDO

Through this project, the user inputs a static image, and PaintsUndo can automatically help you generate a video of the entire painting process, starting from the line There are traces to follow from draft to finished product.

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

During the drawing process, the line changes are amazing. The final video result is very similar to the original image:

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

Let’s take a look at a complete painting process. PaintsUndo first uses simple lines to outline the main body of the character, then draws the background, applies color, and finally fine-tunes it to resemble the original image. ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

PaintsUndo is not limited to a single image style. For different types of images, it will also generate corresponding painting process videos.

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

The corgi wearing a hood looks gently into the distance:

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

Users can also input a single image and output multiple videos:

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

However, PaintsUndo also has shortcomings, such as There are difficulties with complex compositions, and the author says the project is still being refined.

ControlNet作者又出爆款!一张图生成绘画全过程,两天狂揽1.4k Star

The reason why PaintsUndo is so powerful is that it is supported by a series of models that take an image as input and then output a drawing sequence of the image. The model reproduces a variety of human behaviors, including but not limited to sketching, inking, shading, shading, transforming, flipping left and right, color curve adjustments, changing the visibility of a layer, and even changing the overall idea during the drawing process.

The local deployment process is very simple and can be completed with a few lines of code:

git clone https://github.com/lllyasviel/Paints-UNDO.gitcd Paints-UNDOconda create -n paints_undo python=3.10conda activate paints_undopip install xformerspip install -r requirements.txtpython gradio_app.py

Model introduction

The project author used 24GB VRAM on Nvidia 4090 and 3090TI for inference testing. The authors estimate that with extreme optimizations (including weight offloading and attention slicing) the theoretical minimum VRAM requirement is around 10-12.5 GB. PaintsUndo expects to process an image in about 5 to 10 minutes, depending on the settings, typically resulting in a 25-second video at a resolution of 320x512, 512x320, 384x448, or 448x384.

Currently, the project has released two models: single-frame model paints_undo_single_frame and multi-frame model paints_undo_multi_frame.

The single-frame model uses the modified architecture of SD1.5, taking an image and an operation step as input and outputting an image. Assuming that a piece of art usually requires 1000 manual operations to create (for example, one stroke is one operation), then the operation step size is an integer between 0-999. The number 0 is the final finished artwork and the number 999 is the first stroke painted on a pure white canvas.

The multi-frame model is based on the VideoCrafter series of models, but does not use the original Crafter's lvdm, and all training/inference code is implemented completely from scratch. The project authors made many modifications to the topology of the neural network, and after extensive training, the neural network behaves very differently from the original Crafter.

The overall architecture of the multi-frame model is similar to Crafter, including 5 components: 3D-UNet, VAE, CLIP, CLIP-Vision, and Image Projection.

The multi-frame model takes two images as input and outputs 16 intermediate frames between the two input images. Multi-frame models have more consistent results than single-frame models, but are also much slower, less "creative" and limited to 16 frames.

PaintsUndo uses single-frame and multi-frame models together by default. First, a single-frame model will be used to infer about 5-7 times to obtain 5-7 "key frames", and then a multi-frame model will be used to "interpolate" these key frames, and finally a relatively long video will be generated.

Reference link: https://lllyasviel.github.io/pages/paints_undo/

The above is the detailed content of The author of ControlNet has another hit! The whole process of generating a painting from a picture, earning 1.4k stars in two days. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Let's Dance: Structured Movement To Fine-Tune Our Human Neural NetsLet's Dance: Structured Movement To Fine-Tune Our Human Neural NetsApr 27, 2025 am 11:09 AM

Scientists have extensively studied human and simpler neural networks (like those in C. elegans) to understand their functionality. However, a crucial question arises: how do we adapt our own neural networks to work effectively alongside novel AI s

New Google Leak Reveals Subscription Changes For Gemini AINew Google Leak Reveals Subscription Changes For Gemini AIApr 27, 2025 am 11:08 AM

Google's Gemini Advanced: New Subscription Tiers on the Horizon Currently, accessing Gemini Advanced requires a $19.99/month Google One AI Premium plan. However, an Android Authority report hints at upcoming changes. Code within the latest Google P

How Data Analytics Acceleration Is Solving AI's Hidden BottleneckHow Data Analytics Acceleration Is Solving AI's Hidden BottleneckApr 27, 2025 am 11:07 AM

Despite the hype surrounding advanced AI capabilities, a significant challenge lurks within enterprise AI deployments: data processing bottlenecks. While CEOs celebrate AI advancements, engineers grapple with slow query times, overloaded pipelines, a

MarkItDown MCP Can Convert Any Document into Markdowns!MarkItDown MCP Can Convert Any Document into Markdowns!Apr 27, 2025 am 09:47 AM

Handling documents is no longer just about opening files in your AI projects, it’s about transforming chaos into clarity. Docs such as PDFs, PowerPoints, and Word flood our workflows in every shape and size. Retrieving structured

How to Use Google ADK for Building Agents? - Analytics VidhyaHow to Use Google ADK for Building Agents? - Analytics VidhyaApr 27, 2025 am 09:42 AM

Harness the power of Google's Agent Development Kit (ADK) to create intelligent agents with real-world capabilities! This tutorial guides you through building conversational agents using ADK, supporting various language models like Gemini and GPT. W

Use of SLM over LLM for Effective Problem Solving - Analytics VidhyaUse of SLM over LLM for Effective Problem Solving - Analytics VidhyaApr 27, 2025 am 09:27 AM

summary: Small Language Model (SLM) is designed for efficiency. They are better than the Large Language Model (LLM) in resource-deficient, real-time and privacy-sensitive environments. Best for focus-based tasks, especially where domain specificity, controllability, and interpretability are more important than general knowledge or creativity. SLMs are not a replacement for LLMs, but they are ideal when precision, speed and cost-effectiveness are critical. Technology helps us achieve more with fewer resources. It has always been a promoter, not a driver. From the steam engine era to the Internet bubble era, the power of technology lies in the extent to which it helps us solve problems. Artificial intelligence (AI) and more recently generative AI are no exception

How to Use Google Gemini Models for Computer Vision Tasks? - Analytics VidhyaHow to Use Google Gemini Models for Computer Vision Tasks? - Analytics VidhyaApr 27, 2025 am 09:26 AM

Harness the Power of Google Gemini for Computer Vision: A Comprehensive Guide Google Gemini, a leading AI chatbot, extends its capabilities beyond conversation to encompass powerful computer vision functionalities. This guide details how to utilize

Gemini 2.0 Flash vs o4-mini: Can Google Do Better Than OpenAI?Gemini 2.0 Flash vs o4-mini: Can Google Do Better Than OpenAI?Apr 27, 2025 am 09:20 AM

The AI landscape of 2025 is electrifying with the arrival of Google's Gemini 2.0 Flash and OpenAI's o4-mini. These cutting-edge models, launched weeks apart, boast comparable advanced features and impressive benchmark scores. This in-depth compariso

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software