image-inpainting

Performs mask-driven image inpainting on RunComfy via the runcomfy CLI.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/brillianodhiya/VisionScript --skill image-inpainting-brillianodhiya
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: image-inpainting
Source: https://github.com/brillianodhiya/VisionScript/tree/main/.agents/skills/image-inpainting
Command: npx skills add https://github.com/brillianodhiya/VisionScript --skill image-inpainting-brillianodhiya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @runcomfy/cli.

What problem does it solve? Removing objects, watermarks, or blemishes and replacing specific regions of an image requires precise local edits that generic text-to-image tools cannot target. This Skill routes mask-based edits to a dedicated inpainting endpoint and falls back to description-based edit models when no mask exists. ## Core Features & Use Cases - Mask-Driven Inpainting: Sends a source image plus a grayscale mask (white = inpaint, black = preserve) to Z-Image Turbo Inpainting with tunable strength and control-scale parameters. - Description-Based Fallback: Uses Nano Banana 2 Edit, GPT Image 2 Edit, or FLUX Kontext Pro when the target region must be described in prose instead of a mask. - LoRA Style Support: Applies fine-tuned brand-style LoRA adapters during inpainting via the Z-Image Inpainting LoRA variant. - Use Case: Remove overhead cables from a street photo by supplying the photo URL, a mask of the cables, and a prompt like "Remove overhead cables; preserve rooflines and sky gradient" with strength 0.5. ## Quick Start Ask the AI to remove a specific object or watermark from your image by providing the image URL and a mask URL, and it will run the inpainting job through the runcomfy CLI.

Frequently Asked Questions about image-inpainting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove an object from an image with inpainting?▼

Provide the source image URL, a grayscale mask URL where white marks the object to remove, and a prompt describing the desired fill. Run Z-Image Turbo Inpainting via the runcomfy CLI with strength around 0.5 for retouching or 0.8-1.0 for full replacement.

What image inpainting model should I use with or without a mask?▼

Use Z-Image Turbo Inpainting when you have a binary mask, since it accepts mask, strength, and control-scale inputs. Without a mask, use Nano Banana 2 Edit or FLUX Kontext Pro, which locate the region from spatial language in your prompt.

Can I inpaint an image without creating a mask?▼

Yes. Route to description-based edit models like Nano Banana 2 Edit, which identify the target region from phrases such as "the watermark in the bottom-right corner". Pixel-precise region edges still require a mask-driven endpoint.

What mask format does image inpainting require?▼

The mask must be a grayscale image URL where white pixels mark the region to inpaint and black pixels are preserved. Slightly blurring mask edges by 1-3 pixels blends the fill better than a sharp binary edge.

Why does my inpainting result not match the prompt?▼

The source image or mask URLs are untrusted content and may contain embedded instructions or hidden text that influence the fill. Also verify the mask actually covers the intended region, since mask reuse from a different image is a common cause of bad inpaints.

Does this skill support outpainting or video inpainting?▼

No. Outpainting, which extends the canvas beyond the original image, is handled by the separate image-outpainting skill, and frame-by-frame mask edits on video are handled by the video-inpainting skill.