DEDUPED Hot AI repos, turned into use cases Get the Monday 5

How to expand a photo's canvas with generated scenery with Gimp Openfill

Use Generative Expand to grow the canvas and fill new borders to match the scene.

  • Content
  • Intermediate
  • 45 minutes
  • From the README
  • Any agent

Who it is forA social media manager who needs a landscape crop from a portrait photo.

The problemChanging aspect ratio usually means cropping important content.

The outcomeA wider image with generated edges that match the original.

What you need first

  • GIMP 3 (tested on 3.2.6)
  • A local ComfyUI install
  • A graphics card (tested on an 8 GB laptop GPU) or Apple silicon

Steps

  1. On macOS or Linux set up ComfyUI in a venv and run sh install.sh --comfy-dir ~/ComfyUI
  2. Open the image and enlarge the canvas
  3. Run Generative Expand
  4. Export at the new size

Prompt for your agent

Expand <image> to <aspect ratio> with OpenFill's Generative Expand in GIMP and export it. Check the seams for visible artifacts.

Caveat. It has been tested end to end on Windows, Fedora Linux with a Flatpak GIMP, and an Apple M3 Mac.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for beckettharriman/gimp-openfill and "Expand a photo's canvas with generated scenery"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer