• LAYOUT
  • CONTENT
  • EDITING
  • ASSETS

How to expand image boundaries with your AI

Connect Photoroom to your AI client to grow the canvas of any photo. Your agent handles the heavy lifting of generating new pixels to match your original image.

Ask AI about this page

Short answer

How can I expand the edges of a photo using AI?

You give your AI an image and tell it how much more space you need around the edges. The AI uses uncropping to fill in the new areas so they look like a natural part of the original shot. You'll get a wider or taller version of your photo that fits your new layout.

The results of uncropping

Where your images land

This is what happens once your AI processes the image.

LAYOUT

New aspect ratios

The AI expands the canvas to fit vertical stories or wide banners. You get a file that matches your specific design requirements.

CONTENT

Seamless edge filling

The uncropping tool generates new visual data that blends with your original photo. The new edges look like they were always part of the shot.

EDITING

Human refinement

You take the expanded image into your preferred editor to tweak details. The AI provides the foundation, but you handle the final artistic touches.

ASSETS

Ready to use files

The finished, expanded images are ready for your design projects. You can immediately drop them into social posts or website headers.

The workflow

What your AI does when the image arrives.

Your agent takes your request and executes the expansion through Photoroom.

  1. Analyze the source

    Your AI looks at the original photo to understand the lighting, textures, and subject matter.

    expand_and_uncrop
  2. Define the new bounds

    The agent calculates how much extra space is needed based on your instructions for the new layout.

    expand_and_uncrop
  3. Generate new pixels

    The tool fills the empty space by predicting what should exist beyond the current frame.

    expand_and_uncrop
  4. Deliver the expanded file

    The AI provides the final image with the new boundaries applied and ready for download.

    expand_and_uncrop

Try it

Copy these to start.

Use these prompts to trigger the uncropping process.

Starting points

Replace the bracketed text with your specific image details or desired dimensions.

Photoroom Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_QlsZvq5mn28Z2Z7sv7qImqOePXFkJgYUSxhuFhqX/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 — Photoroom capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "photoroom-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_QlsZvq5mn28Z2Z7sv7qImqOePXFkJgYUSxhuFhqX/mcp"
    }
  }
}
Copy into chat04
  • Expand the edges of this photo to make it a vertical 9:16 image for a phone wallpaper.

  • Uncrop this landscape photo so I have more room on the left and right for text.

  • Use the expand tool on this image to add more sky to the top of the frame.

  • Make this photo wider so it fits a website hero banner without cropping out the subject.

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

Start here

Connect Photoroom once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start asking your AI to edit images.

Connect Photoroom to your AI

FAQ

How this task behaves

  • 01

    Can the AI change the colors of my original photo?

    No. The uncropping tool only adds new content to the edges; it does not modify the existing pixels of your original image.

  • 02

    Will the AI delete parts of my image to make it fit?

    No. This tool is for expanding boundaries, not for cropping or deleting existing content.

  • 03

    How does the AI know what to add to the edges?

    The AI analyzes the context, lighting, and patterns in your original photo to generate matching content for the new areas.

  • 04

    Can I tell the AI exactly how many pixels to add?

    Yes, you can specify exact dimensions or aspect ratios in your prompt.

  • 05

    Does the AI handle the final graphic design?

    No. The AI expands the image, but you are responsible for adding text, logos, or other design elements yourself.

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

Connect Photoroom to Claude, Cursor, ChatGPT & more