toyxyz Profile picture
Nov 17 17 tweets 5 min read Twitter logo Read on Twitter
Let's take a simple tutorial about AnimateDiff openpose+inpainting workflow! #AnimateDiff #stablediffusion #AIイラスト #AI #ComfyUI
The workflow and sample video can be downloaded here. drive.google.com/drive/folders/…
The structure is very simple. I used Openpose to recognize the pose of the person and inpainting to replace the person with a new character image. Image
The overall workflow looks like this Image
I use the detector from the Impact pack to automatically generate a mask in the area where the person is located, and then use KJnodes' grow mask to expand the mask slightly. Image
1. open pose, 2. inpaint mask, 3. openpose controlnet mask(This prevents lumps from appearing around the character when using openpose) Image
Using an IP-adapter can improve consistency. However, if the weight is too high, it can affect poses and backgrounds. Image
I recommend resizing the video to 512 size. It's also a good idea to test using just 16 frames first before processing the entire video. Image
In addition to Openpose, you can use Depth or Canny to improve pose precision. However, if the weight is too high, the shape will be affected.
The next part is Facedetailer. Crop only the face from the image to enhance the detail and uncrop it. Image
Workflow. This time, I'm mainly using KJnode's Batch Crop&uncrop node. Image
You can use Crop_size_mult to adjust the area to be cropped. And choose the appropriate size to upscale to. Image
You can also use Detailer for AD, which is included with Impactpack. Image
ImpactPack is simple but not customizable, and KJnodes is the opposite. You can choose whatever you're comfortable with. Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with toyxyz

toyxyz Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @toyxyz3

Feb 17
#02_ First we need to render the background and character Openpose bones separately. We will use them for Depth2image and Pose2image respectively. I used Blender.
#03_ The reason for using the rendered depth rather than the automatically generated depth is that the sharper the boundary of the depth, the better the detail and sharpness of the image. Top: Rendered depth / Bottom: Auto-generated depth
Read 11 tweets
Feb 16
#01_ ControlNet Mocap2Image Workflow Quick Tutorial
#02_ The only image the Openpose model needs is an openpose skeleton. The use of images of real people is due to the Gradio UI, according to the developer's comments.
#03_ So I used Blender to create a simple character that looks like an Openpose skeleton. You can download it for free here. :toyxyz.gumroad.com/l/ciojz
Read 11 tweets
Feb 15
ControlNet Mocap2Image test #stablediffusion #AIイラスト #pose2image
Read 4 tweets
Oct 16, 2022
A simple tutorial on creating 2D animations using AI. Tool used: github.com/AUTOMATIC1111/…
1. Convert the original video into an image sequence. Image
2. Create the desired character illustration using Img2Img. Image
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(