• TARGETED
  • STYLISTIC
  • REFINED
  • HUMAN

How to edit and modify images with your AI

Connect Stability AI to your agent to perform targeted edits. You can swap objects or change the entire look of a photo with a few words.

Ask AI about this page

Short answer

How can I change parts of an image using my AI?

Your agent uses masking to isolate specific areas for replacement or image-to-image to overhaul the entire visual style. You get precise control over what changes and what stays the same.

The results you get

What you can create

The AI handles the pixel work based on your text instructions.

TARGETED

Object replacement

The AI uses masking to swap one item for another. You get a new version where only the selected area changes.

STYLISTIC

Style transfers

The AI applies new artistic textures to your photo. The original composition remains, but the medium changes.

REFINED

Iterative tweaks

You can feed a modified image back to the agent to refine details. This lets you dial in the exact look you want.

HUMAN

Final selection

The AI generates the raw edits. You decide which versions work and which need more adjustment.

The workflow

What your AI does when the image arrives.

Your agent interprets your request to decide which tool to trigger.

  1. Isolate areas

    The agent identifies which parts of the image need to change based on your description.

    masking
  2. Transform pixels

    The AI blends your new prompt with the existing image data to create the edit.

    image_to_imagemasking
  3. Render changes

    The agent produces a new image file that reflects the requested style or object swap.

    image_to_image
  4. Apply styles

    The AI can re-process the image to shift its aesthetic entirely.

    image_to_image

Try it

Copy these to start.

Paste these into your chat to begin editing.

Starting points

These are opening lines. Replace the bracketed text with your specific objects or styles.

Stability AI Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_uQMkWs7uk1lhgNyrPl74Duqqa16wDIRa3TEHUazR/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Stability AI capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "stability-ai-alternative-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_uQMkWs7uk1lhgNyrPl74Duqqa16wDIRa3TEHUazR/mcp"
    }
  }
}
Copy into chat04
  • Use masking to change the [red car] in this photo to a [blue motorcycle].

  • Use image_to_image to turn this photo into a [watercolor painting].

  • Apply masking to this image to replace the [dog] with a [golden retriever].

  • Use image_to_image to give this landscape a [cyberpunk neon] look.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Stability AI once, then ask.

One connection gives your agent access to these tools. Your login stays encrypted on our side.

Connect Stability AI to your AI

FAQ

How the editing works

  • 01

    Can the AI add new objects to my photo?

    Yes, you use masking to define the area where you want the new object to appear.

  • 02

    Will the AI change the whole image if I only want to fix one thing?

    No, using masking ensures the AI only modifies the specific area you target.

  • 03

    Can the AI upscale my images to a higher resolution?

    No, the available tools are for modification and style changes, not for upscaling.

  • 04

    Can the AI delete people from my photos?

    Yes, you can mask the person and prompt the AI to fill that space with the background.

  • 05

    Does the AI handle the final color grading?

    No, the AI performs the requested edits, but you are responsible for the final creative decisions.

  • More questions about Stability AI? The Connector page answers them. See everything the Stability AI Connector can do

Connect Stability AI to Claude, Cursor, ChatGPT & more