Fill in the gaps with reference-guided AI
Reference Based Inpainting API
Inpaint image regions using a reference image as guidance. Match style, texture, and context from your reference with one API call.
Start with $10 in free GPU credits on signup — no commitment


Trusted by teams shipping AI-powered products
Try it yourself

How it works
No pipeline to build, no models to configure.
Send image, mask, and reference
Provide the source image, a mask defining the area to fill, and a reference image to guide the output.
AI inpaints from reference
Runflow's pipeline fills the masked region using the reference image as a style and content guide, blending seamlessly with the surrounding context.
Get your result
Receive the inpainted image with reference-matched content. Typically under 5 seconds.
Inpaint with a reference image as guide
Unlike standard inpainting that guesses what to fill, reference-based inpainting uses a second image to guide the output. The result matches the style, texture, and context of your reference.
Seamless blending with surrounding context
The filled region blends naturally with the rest of the image. Lighting, shadows, and perspective are preserved so the edit is invisible.
Fashion and product workflows
Swap patterns, fix damaged regions, or extend product shots using a reference. Ideal for catalog consistency, virtual try-on pipelines, and creative asset generation.
Simple mask + reference input
Send the source image, a mask defining the inpaint region, and a reference image. The API handles the rest: no model training, no prompt engineering.
Reference-based inpainting for every workflow
From fashion catalogs to creative pipelines. Guide your inpainting with a reference instead of guessing.
Fashion & Apparel
Swap fabric patterns, fix garment defects, or extend clothing using reference swatches. Maintain catalog consistency across product variations.
Product Photography
Fix damaged or incomplete product shots by inpainting from a reference. Ensure every product image meets listing standards.
Creative & Advertising
Generate creative variations of campaign imagery using reference-guided fills. Maintain brand consistency while exploring new compositions.
Virtual Try-On Pipelines
Use reference garment images to fill clothing regions on model photos. Build virtual try-on experiences with accurate fabric rendering.
Working with Runflow changed how we build. Our developers can integrate a new AI feature by calling an endpoint, they don’t need machine learning expertise, infrastructure knowledge, or DevOps skills. We just focus on making the best product, and Runflow handles everything underneath.
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
Inpaint with a reference, not a guess. In one API call.
$0.55/image. Reference-guided inpainting that matches style, texture, and context, no prompt engineering. Start with $10 in free GPU credits on signup.
First-in-line access: onboarding slots limited this month
