image-outpainting

Route image outpainting tasks across multiple endpoints via the RunComfy CLI.

5|2|Updated May 18, 2026
One-click install
npx skills add https://github.com/doany-ai/skills --skill image-outpainting-doany-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image-outpainting
Source: https://github.com/doany-ai/skills/tree/main/image-outpainting
Command: npx skills add https://github.com/doany-ai/skills --skill image-outpainting-doany-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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 (square to 16:9, portrait to landscape) while preserving the original content. Routes across Nano Banana 2 Edit (default, spatial-language driven), GPT Image 2 Edit (multi-ref with reference-style matching), FLUX Kontext Pro (single-shot maximum-preservation), and the brand edit endpoints (Seedream / Dreamina / Qwen / FLUX 2). Picks the right route based on whether the outpaint is prose-driven, reference-driven, or brand-locked. Triggers on "outpaint", "outpainting", "extend image canvas", "expand the image", "fill in around the photo", "uncrop", "change aspect ratio", "extend frame", "wide-screen from square", or any explicit ask to add canvas around an existing still.

Core Features & Use Cases

  • Routed to appropriate edit endpoints: Nano Banana 2 Edit, GPT Image 2 Edit, FLUX Kontext Pro, and brand-specific endpoints to preserve style.
  • CLI-based workflow: install RunComfy CLI, authenticate, and run outpaint with JSON input.
  • Guidance and tips: model selection, prompting tips, and common patterns for different output shapes.

Quick Start

Use the image-outpainting skill to extend a still beyond its original canvas.

Frequently Asked Questions about image-outpainting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extend an image canvas and change the aspect ratio from square to widescreen?

To extend an image canvas and change the aspect ratio, the skill routes outpainting tasks across multiple endpoints like Nano Banana 2 Edit or FLUX Kontext Pro, expanding the frame while preserving the original content.

What is the best way to outpaint a photo while matching a specific reference style?

For reference-style matching during outpainting, the skill routes the task to GPT Image 2 Edit, which uses multi-reference inputs to ensure the expanded canvas boundaries match the desired visual style.

Can I use RunComfy CLI to expand a portrait image into a landscape format?

Yes, you can use the RunComfy CLI to expand a portrait image into a landscape format by providing input prompts and image URLs, allowing boundary continuity and aspect ratio changes while preserving the original still.

Which model endpoint should I use for maximum preservation when extending an image frame?

For maximum preservation of original content when extending an image frame, the skill selects FLUX Kontext Pro, which handles single-shot outpainting tasks while strictly maintaining the integrity of the initial still.

When should I use brand-specific edit endpoints for image outpainting instead of the default?

Brand-specific edit endpoints, such as Seedream or Dreamina, are used for brand-locked continuations when the outpainting task requires strict adherence to specific brand styles rather than prose-driven or reference-driven expansions.

What do I need to set up before running an outpainting task on RunComfy?

Before running an outpainting task, you need to install the RunComfy CLI, authenticate your account, and prepare JSON inputs containing your prompts and optional image URLs to route the expansion correctly.