Knowledge Base
  • Dreamerland
  • workflow
    • Hires. fix
      • Hires. fix with different model
    • Optical illusion
    • Inpainting
      • BrushNet
      • Inpaint not masked
    • Regional Prompt (color mask)
      • Regional Prompt with Reference Image
    • Regional Prompt (prompt mode)
    • Outpainting
    • Image prompt
      • Consistent face
      • Consistent anime character
      • Style
    • Doodle
      • Inpaint with doodle
      • Area inpaint with doodle
    • Motion brush
    • Relighting
    • Live Portrait
    • Face Swap
    • 3D Parallax effect
    • In-context transfer
  • Video
    • Image to Video
    • Hunyuan Video
      • Image to Video
    • Wan2.1 Video
      • Pose reference
      • Video to Video
        • Reference Image
        • Key frames
      • Inpaint
        • Free mode
        • Points and Negative points
  • Basic terms
    • Sampling method
    • Guidance scale
    • Negative embeddings
    • CLIP skip
  • FAQ
    • Dreamerland Web app
    • Prompt syntax () and []
    • Bad quality image or deformed image
    • High res. fix vs tiled upscale
    • How to enable sensitive content
    • Wildcards
Powered by GitBook
On this page
  1. Video
  2. Wan2.1 Video
  3. Inpaint

Points and Negative points

Last updated 6 days ago

Video masking differs from image masking because it requires tracking the target object across all frames to ensure accurate inpainting. Rather than manually drawing a mask, you simply specify the object you want to track by adding points, and the system handles the rest.

We want to change the Tony's shirt to spider-man suit in the below video.

We’ll mark positive and negative points to mask his shirt. Positive points indicate the areas you want to select, while negative points define regions to exclude. By placing a few points on his shirt, we can generate an mask like this.

After placing a few points on his shirt, the system masks Tony's entire body. However, since we want to preserve his face, we’ll add negative points to exclude it from the mask. We can get an mask like this.

Now, we enter prompt "a man wears spider man suit" and hit a Start button.