Join My Newsletter
[sibwp_form id=2]
In this tutorial, I’ll show you how to create a seamless AI video, blending a dynamic background with your own AI-generated character. Whether you’re a beginner or have experience with AI video creation, this guide will help you achieve professional results.
Before we dive into the tutorial, I want to share my experience on how five aspects of the base video can affect the consistency of AI video.
When I search for videos on platforms like Instagram or Pexels.com, I look for shots with a lot of depth of field. I noticed that in my Steampunk cat video, a blurry background with a clear character made the AI video look much better.
Video details are another crucial aspect. In one of my videos, the floor had lots of details, causing the AI video to flicker more. However, in a video with an even floor, there was less flickering, and the video remained consistent.
While working on my Lego person video, I realized it’s essential to pick videos where the character’s arms or hands don’t cover their face. Excessive movement makes the AI video less consistent.
Using a black background or green screen also improves video consistency. You can use tools like Magic Mask in Resolve or the green screen feature in RunwayML to remove the background. When the AI has fewer details to process, it creates a more consistent video.
Lastly, simplifying your outfit and ensuring your face movements are clear to the AI help improve consistency, especially when transforming into a character that looks very different from your own face.
To create the dynamic background, I used LeiaPix. Here’s how:
Now, let’s create the Navi character using my free Deforum settings file.
In the Run Tab, I set the sampler to Euler A, the width to 576, the height to 1024, and the steps to 20. In the Keyframes Tab, I adjusted the CFG scale to 3.
After that, I added my prompt in the Prompts Tab and pasted my negative prompt as well.
Next, I moved the information to the ControlNet Settings. Here’s the setup:
Now, let’s blend the character with the background using my free Lightwrap tool. Here’s how:
For users with the free version of DaVinci Resolve, you can also use the green screen feature in RunwayML or the depth map extension in Stable Diffusion to remove the background.
To use the Lightwrap tool, delete the merge node and drag the background and foreground into the appropriate inputs. You can adjust the blur and background overlap settings for a more subtle effect.
To match the foreground character with the background, use the Color Tab in Resolve:
By following these steps, you can create high-quality, consistent AI videos using Stable Diffusion and LeiaPix. I hope you found this tutorial helpful, and if you want to learn more about AI video creation, be sure to check out the other tutorials on my YouTube channel.
