Skip to main content
Runflow

Outpaint (Expand)

Expand the canvas of an image with AI-generated content that matches the existing scene. Specify percent expand on each side — required so the customer is intentional.

By Runflow

Pricing: $0.55 per request

Overview

**Outpaint (Expand)** grows the canvas of an image with AI-generated content

that matches the existing scene. Specify how many percent to expand on each

of the four edges; the pipeline runs a context-aware fill plus multi-stage upscaling and

returns a coherent result up to 4096px on the long side.

How it works

Provide an image URL and four expand-percent values (0–80 each). The pipeline

generates plausible scene continuations, applies the context-aware pass, then

applies a tea-cached upscaler pass for sharpness.

Common use cases

  • Aspect-ratio adaptation — turn 4:3 into 16:9 without cropping the subject
  • Scene extension — add headroom or footroom for typography
  • Reposition for layouts — extend the canvas instead of cropping

API call shape

```json

POST /v1/models/runflow/outpaint/runs

{ "image_url": "https://…/photo.jpg",

"expand_top": 30, "expand_bottom": 20,

"expand_left": 20, "expand_right": 20 }

```

Examples

  • 10-couple-half-frame
  • 01-portrait-tight-headshot
  • 02-product-watch-tight
  • 04-portrait-shoulder-cut
  • 05-food-bowl-zoom
  • 06-cityscape-asymm-crop
  • 07-portrait-square-platform
  • 08-bird-perch-tight

Frequently asked questions

What is Outpaint (Expand)?
A first-party Runflow workflow that grows the canvas of an image with AI-generated continuation matching the existing scene. Specify percent-expand for each of the four edges.
How much does Outpaint cost on Runflow?
Simple fixed pricing: $0.55 per image. Higher than basic edits because outpainting is multi-stage (Flux fill + upscaling).
What is the maximum output resolution?
Up to 4096px on the long side after upscaling.
Can I expand only some edges?
Yes. Set per-side values to 0 for edges you don't want to grow. All four values are required.
How long does an outpaint take?
90–180 seconds depending on image size and expand magnitude.
Can I use the outputs commercially?
Yes. Commercial license retained.

Related models

  • Multi Angles, Re-render the same subject from a different camera angle. Pick a horizontal view, a vertical angle, and a shot distance: the model rotates the camera around the subject and re-renders the scene from that pose.
  • Logo Inpaint, Place a logo onto a target image, with optional mask to constrain placement. When the mask is omitted, the workflow picks a placement automatically.
  • Background Replace, Swap the background of any product photo for a new scene defined by a reference image and a short prompt. The model preserves the foreground subject while matching camera angle and lighting to the new background.
  • Reference Inpaint, Inpaint a region of a target photo using a reference image as the visual guide. Provide the target, a black-and-white mask of the area to fill, and a reference image. The model paints the masked region with content matching the reference.

Discoverable surfaces

Run Outpaint (Expand) in production

We build the integration, host the model on our GPUs, and score every output before it ships.

Production-ready solutions

View all