Design 40,462 installs

image-outpainting

by agentspace-so/runcomfy-agent-skills

Image outpainting on RunComfy via the `runcomfy` CLI - extend a still beyond its original canvas, fill in what the camera didn't capture, change aspect ratio…

Skill content

Extend image canvas beyond original bounds, change aspect ratio, and fill in uncropped areas.

- Routes across four specialized edit models (Nano Banana 2, GPT Image 2, FLUX Kontext Pro, and brand endpoints) based on whether the outpaint is prompt-driven, reference-style matched, or brand-locked

- Nano Banana 2 Edit is the default, optimized for spatial-language prompts ("extend left and right by 30%") and aspect-ratio changes (square to 16:9, portrait to landscape)

- Supports up to 10 reference images via GPT Image 2 Edit for composite outpaints and layout repositioning during canvas extension

- Invoked via runcomfy run CLI with JSON input specifying prompt, image URLs, and optional aspect ratio; results download to a local directory

Image Outpainting

Extend a still beyond its original canvas - uncrop, change aspect ratio, fill in what the camera didn't capture. This skill routes across the identity-preserving edit endpoints in the RunComfy catalog, picking the right one for prose-driven extension, reference-style matching, or brand-locked continuation.

runcomfy.com · best-image-editing-models · CLI docs

Powered by the RunComfy CLI

# 1. Install (see runcomfy-cli skill for details)
npm i -g @runcomfy/cli      # or:  npx -y @runcomfy/cli --version

# 2. Sign in
runcomfy login              # or in CI: export RUNCOMFY_TOKEN=<token>