AI Video Creation

Module 3: Cinematic Motion

3.3 Inpainting & Extending

Fixing visual glitches and lengthening your shots for professional pacing.

Introduction: Post-Generation Control

Even with the advanced I2V workflows from Lesson 3.2, AI video is rarely “perfect” on the first try. You might have a beautiful 5-second clip where the character’s hand suddenly grows a sixth finger, or perhaps the shot is perfect but it ends just as the emotion is peaking.

In traditional filmmaking, if a shot is wrong, you “reshoot.” In AI filmmaking, we use **Inpainting** and **Extending**. These tools allow you to surgically fix specific areas of a video or stretch a clip’s timeline while maintaining perfect consistency.

Phase 1: Video Inpainting (Surgical Fixes)

Inpainting (often called “Brush” or “Region to Video” in tools like Runway and Kling) lets you isolate a specific part of your video and tell the AI to regenerate only that area.

Common Inpainting Use Cases:

  • Fixing AI Artifacts: Removing extra limbs, melting faces, or flickering objects.
  • Swapping Wardrobe: Changing the color of a character’s shirt without changing the background.
  • Targeted Motion: If you want a character to stay still but only their eyes to blink, you can mask the eyes and prompt “blinking.”

Phase 2: Extending (The 10-Second Shot)

Most AI video models generate in 5 or 10-second bursts. However, cinematic pacing often requires longer takes. **Extending** uses the final frame of your first clip as the “Genesis Still” for the next 5 seconds.

Linear Extension

The AI continues the current motion. If a character is walking, they keep walking. (Phase 3.3.1)

Evolved Extension

You change the prompt for the extension. A character finishes walking and then looks up at the sky. (Phase 3.3.2)

The “Clean & Stretch” Workflow

1

Identify the “Glitch Frame”

Scrub through your generated clip. Find the exact moment an artifact appears. Use the Inpainting brush to highlight that area. Prompt with the original subject description and hit generate.

2

Set the Extension Anchor

Once your 5-second clip is clean, select **Extend Video.** Ensure the “End Frame” of Clip A is the “Start Frame” of Clip B.

3

Blend the Pacing

In your editing software (CapCut/Premiere), overlap the end of Clip A and the start of Clip B by 2-3 frames. This hides any slight “jump” that occurs during the AI transition.

🔥🔥 AI Director Pro-Tip: The “Loop” Trick 🔥🔥🔥
If you want a shot to feel infinite (like a background landscape), use the **Loop** feature found in Luma or Runway. This forces the AI to make the last frame match the first frame perfectly. This is essential for creating “Living Posters” or ambient background plates for your scenes.

Lesson Assignment

Your task is to take a “raw” generation and refine it using the tools learned today.

  • Generate a 5-second clip using the I2V workflow from 3.2.
  • Use **Inpainting** to change or fix one specific detail (e.g., change the color of an object or fix a facial glitch).
  • Use the **Extend** tool to turn that 5-second clip into a **10-second sequence** where a new action occurs in the second half.
  • Submit the final 10-second video file below.