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.
Per image — outpainting / canvas expand
Output
Example
Example output from Outpaint (Expand)
Pricing
Criteria
Per image — outpainting / canvas expand
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 Flux-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, multiplies through Flux fill, 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 }
```
Frequently asked questions
Related models
Background Color
runflow/background-color
Replace the background of a portrait or product shot with a flat color. Pick any...
Skin Fix
runflow/skin-fix
Cleanup pass for portrait photography. Smoothes skin texture, fixes blemishes, p...
Object Removal
runflow/object-removal
Remove an object from a photo by providing a black-and-white mask of the area to...
GPT Image 2 Edit
openai/gpt-image-2/edit
GPT Image 2.0, OpenAI's latest image model, is capable of making fine-grained, d...
Start generating with Outpaint (Expand)
Get API access in minutes. No GPU setup, no infrastructure to manage.
