Change one part of an image, keep the rest
Say what to change and what should be there instead. The skill paints the region with the app’s red mask, checks it covers the right thing, and has Mango 3 edit only inside it.
Requires the Mage connector ↓Prefer clicking? Open the Inpaint app →Examples
One region changed
Only the masked area was regenerated. Everything outside it is the original photo.
How it works
How to use the Inpaint skill
Say what to change
Name the thing to change and what should be there instead, or share a mask of your own.
Check the mask
The skill paints the region red, looks at it, and tells you what it masked so you can correct it.
Get the edit
Mango 3 changes only the red area. If the join shows, the skill widens the mask and runs again.
Runs on
Setup
Set up Mage in your agent
Connect Mage
Add the Mage connector to Claude, ChatGPT, Claude Code, Grok, or Cursor, and sign in with your Mage account.
Open MCP setup →Add the skills
In Claude Code, Codex, Cursor, and other agents, add every Mage skill with one command, or install the Claude Code plugin.
npx skills add mage-space/skills/plugin marketplace add mage-space/skills/plugin install mage@mageAsk for it
Describe the job, or run /mage-inpaint.
Use Mage to remove the coffee cup from her hands in this photo and keep everything else: https://www.mage.space/skills/app-inputs/scene.jpg
FAQ
Frequently asked questions
Is it the same as the Inpaint app?
Yes. The skill sends the Inpaint app’s own prompt with the same models and defaults, so your agent gets the app’s results from a chat, and can run it on many images in one go.
Which agents can run it?
Agents that run commands and see images, like Claude Code, Codex, and Cursor, because the mask is painted with a short script. Without them, the skill offers Refine with the area named in words.
Can it change the whole composition?
No. Inpaint edits one region. For a new composition or angle, generate a new image or use the Angles skill.
Can I use a real person’s face?
Only with that person’s permission, and never to deceive, harass, or sexualize anyone. Harmful deepfakes are forbidden on Mage, and the skill states the rule with the price before it runs.
How much does it cost?
The skill is free and open source. Each generation it starts is paid in Gems from your Mage account at the model’s listed price, and your assistant quotes the total before it creates anything.
Try Inpaint in Claude
Change, remove, or add one thing in an image and leave every other pixel as it was.
More skills
Explore other skills
Photo Edits
Face Swap
Put one face and hairstyle on the person in another photo, with the pose, outfit, and scene kept.
Photo Edits
Character Swap
Replace the whole person in a photo with another character, keeping the scene and the pose.
Photo Edits
Outfit Swap
Dress the person in a photo in the clothes from another image, keeping who they are and where they stand.
Photo Edits
Refine
Fix eyes, fix hands, or add detail to an image without changing what is in it.
Photo Edits
Relight
New light for a photo: the direction, hardness, brightness, and color you choose, nothing else changed.
Photo Edits
Angles
See a photo from a new camera angle: the same subject, pose, and scene, shot by a second camera.







