Unlimited background variations at production scale
Replace Background API
Swap backgrounds in any image. Place products, people, or fashion shots in any environment with adapted lighting and shadows — one API call.
Start with $10 in free GPU credits on signup — no commitment


BetterPic uses Runflow’s Replace Background API to generate studio, casual, and outdoor background variations for AI headshots at scale.
Try it yourself

How it works
No pipeline to build, no models to configure.
Send image + new background
Pull a source image and a background image (or preset). The subject is the foreground; the background defines the new scene.
AI composites the result
Runflow's pipeline extracts the subject, refines edges, and composites it onto the new background with adapted lighting, shadows, and color temperature.
Get your result
Receive the composited image with natural-looking background replacement. Re-run with different backgrounds to generate variations — each call is $0.48/image.
Swap to any scene, with a single call
Send a source image and a background — studio, lifestyle, outdoor, branded, or custom. The API handles subject extraction, edge refinement, and compositing so the result looks like the subject was photographed in the new environment, not pasted in.
Lighting, shadows, and color adapt automatically
The composited subject adapts to the lighting conditions of the new background. Shadow direction, intensity, and color temperature adjust so the result is naturally integrated — no hard cut-outs, no lighting mismatches.
Built for B2B workloads at scale
Generate hundreds of background variations per subject in a single batch job. Whether you're an AI headshot platform generating studio/casual/outdoor options per user, or a catalog team producing regional campaign variants, the API is built for production volume.
One photo, unlimited environments
Skip reshoots, virtual staging vendors, and manual compositing pipelines. Generate campaign imagery across markets, seasons, and platforms from a single source photo — at $0.48/image.
Replace background for every visual workflow
From AI headshots to ad creative. Swap backgrounds naturally at production scale.
AI Headshot Platforms
Swap studio, outdoor, and casual backgrounds per AI-generated headshot. Offer users multiple scene variations per generation at zero incremental cost. Think: BetterPic, HeadshotPro, Aragon.
Ecommerce Product Shots
Place products in lifestyle settings for enhanced listing imagery. Generate A+ content and campaign variations without physical staging. Think: Amazon A+, Shopify Plus, BigCommerce stores.
Fashion & Apparel Catalogs
Put on-model shots in studio or lifestyle backgrounds. Generate lookbook variations and seasonal refreshes without reshoots. Think: Zara, H&M, ASOS, Uniqlo.
Ad Creative & Campaign Teams
Generate campaign imagery with market-specific backgrounds. One product hero, localized for every region and platform. Think: Meta Ads, Google Shopping, TikTok Ads.
Real Estate & Virtual Staging
Replace skies, change seasons, or stage empty rooms with furnished backgrounds. Magazine-ready listing photos at scale. Think: Zillow, Airbnb, Compass, Redfin.
Creator Tools & Social Platforms
Power background-swap features for creator products. Let users drop themselves into any environment with one API call. Think: Canva, Later, Buffer, Unfold.
Replace Background is a favorite among our B2B customers. Companies use it everywhere — AI headshot platforms swapping in studio backgrounds, catalog teams generating lifestyle variations, ad platforms localizing creative for different markets. It's the kind of feature that just works, at any scale.
Simple, per-image pricing
One price per swap. No GPU fees, no infrastructure to manage.
Fixed pricing for replace background.
One API call per background swap. Generate unlimited variations from a single source — no setup fees, no surcharges.
Build vs. buy
Your data stays yours
Images are processed in isolated environments with automatic cleanup. Zero data retention by default.
SOC 2 Type II compliant.
Frequently asked questions
Generate unlimited background variations at production scale.
One API call. $0.48/image. Place any subject in any environment. Start with $10 in free GPU credits on signup.
First-in-line access: onboarding slots limited this month

