Skip to main content
Runflow
Live
Ad CreativeProduct Imagery

One source image, every format

Outpainting API

Extend images beyond their original borders. Convert aspect ratios, adapt across platforms, and create wider compositions from any source image with one API call.

Start with $10 in free GPU credits on signup — no commitment

Outpainting (Expand) demo - after
Outpainting (Expand) demo - before
Before
After
Rated 5/5 by early access developers

BetterPic uses Runflow’s Outpainting API to deliver AI headshots across every aspect ratio — profile square, LinkedIn banner, widescreen hero — from a single generation.

Try it yourself

Input
Input preview
Your request will cost $0.55
Output
Example output
Example output
<5s
Average processing time
$0.55
Per image, fixed pricing
4096px
Max output resolution
Any direction
Expand top, bottom, left, right

How it works

No pipeline to build, no models to configure.

1

Send image + expansion params

Pull your source image and specify expansion — directional (e.g. '200px top, 300px right') or target aspect ratio (square, 16:9, 9:16, custom).

2

AI extends the scene seamlessly

Runflow's pipeline generates context-aware content that continues the scene — matching lighting, perspective, texture, and style beyond the original borders.

3

Get your expanded image

Receive the expanded image in under 5 seconds. Re-run with different params to generate multiple formats from one source — each call is $0.55/image.

Expand images in any direction

Extend an image beyond its original borders — top, bottom, left, right, or all sides. Specify exact pixel amounts per direction, or pass a target aspect ratio and let the API calculate the expansion. The AI generates context-aware content that seamlessly continues the scene.

Expand any direction or all sides at once
Directional params or target aspect ratio both supported
Seamless continuation — no visible seams or artifacts

Aspect ratio conversion, without cropping

Convert portrait to landscape, square to widescreen, widescreen to tall — any source ratio to any target ratio. Your subject stays centered and the AI fills the extended regions with appropriate content for the new canvas.

Portrait → landscape, square → widescreen, any custom ratio
Subject stays centered — no jarring crops
Content adapts naturally to the new canvas

Adapt one source across every platform

One hero shot becomes a square Instagram post, a widescreen display banner, and a tall Stories format. Multi-format campaigns from a single image — ship faster, spend less on assets.

One source image → every platform format
Meta, Google, TikTok, LinkedIn, Twitter — all formats supported
Consistent brand across every surface, zero reshooting

Built for production scale

Process thousands of images per job with different expansion parameters per image. Perfect for multi-format campaign rollouts, catalog adaptation, aspect-ratio normalization, and post-processing AI-generated content across formats.

Batch processing with async webhook delivery
Different expansion params per image in a single job
JPEG, PNG, and WebP input/output up to 4096x4096px

Outpainting for every content format

From ad campaigns to editorial spreads. One image, every platform and canvas.

Ad Agencies & Campaign Teams

Adapt hero shots across every ad format — square for Instagram, widescreen for display, tall for Stories. One source, every placement. Think: Meta Ads, Google Shopping, TikTok Ads.

Ecommerce Brands & DTC

Expand tight product shots into hero banners and lifestyle frames. Create Amazon A+ content, Shopify homepage heroes, and PDP imagery from a single catalog photo. Think: Shopify Plus, Amazon A+, BigCommerce.

Social Media & Creator Tools

Power aspect-ratio conversion features in your creator product. Let users ship once, publish everywhere — portrait for Stories, landscape for feed, square for profile. Think: Canva, Later, Buffer, Unfold.

Real Estate & Architecture

Expand interior and exterior shots to show more of the space. Turn a standard shot into an immersive wide-angle view for listings and marketing. Think: Zillow, Airbnb, Compass, Redfin.

Publishing & Editorial

Adapt editorial imagery to full-page spreads, hero banners, or any format without cropping subjects. One photoshoot, every layout. Think: magazines, content sites, brand editorial teams.

AI Image Platforms

Post-process AI-generated outputs to any target aspect ratio. Deliver headshots, avatars, or generated art across every surface your users care about. Think: BetterPic, HeadshotPro, AI avatar platforms.

Outpainting is how we deliver one headshot across every format our users need. A portrait shot works for a profile photo, but LinkedIn banners and website heroes need landscape or widescreen — we extend the backdrop through Outpainting so the subject stays centered and the scene looks intentional. One generation, multiple delivered formats, no jarring crops.
Thibaut Hennau
Thibaut Hennau
CEO, BetterPic

Simple, per-image pricing

One price per expansion. No GPU fees, no infrastructure to manage.

$0.55/image

Fixed pricing for outpainting.

One API call per expansion. Re-run with different params to generate multiple formats from one source — no setup fees, no surcharges.

$10 in free GPU credits on signup
Directional expansion or target aspect ratio
Seamless scene continuation with matched lighting
Up to 4096x4096px output resolution
Batch processing with async webhooks
Under 5 seconds processing time
Get API access

Build vs. buy

Build your own
Weeks to ship
Generative model + aspect-ratio math + edge blending + batching
Runflow API
$0.55/image
One API call, production-ready, under 5 seconds
Processing large volumes?Contact for volume pricing

Your data stays yours

Images are processed in isolated environments with automatic cleanup. Zero data retention by default.

SOC 2 Type II
ISO 27001· In progress (Q3 2026)
GDPR

SOC 2 Type II compliant.

AES-256 encryptionIsolated processingEU data residency available
Visit Trust Center

Frequently asked questions

One source image. Every format your platform needs.

One API call. $0.55/image. Extend any scene to any aspect ratio. Start with $10 in free GPU credits on signup.

First-in-line access: onboarding slots limited this month