pipeline-examples/outpainter

Create hybrid photos with text prompts using this outpainting tool

Public
22 runs

outpainter

A simple tool that automatically extends images beyond their original boundaries with AI-generated content based on your prompts.

https://replicate.com/pipeline-examples/outpainter

Features

  • Multiple outpainting modes: zoom out (1.5x or 2x), extend in any direction, or make square
  • Support for multiple AI image models
  • Automatic mask generation based on your chosen outpainting style
  • Customizable maximum output dimensions

Models

Under the hood it uses these models:

How it works

The outpainter takes your input image and creates a new canvas with transparent areas based on your chosen outpainting mode. It places your original image on this canvas and generates a mask that tells the AI model which areas to fill in. The tool automatically handles proper mask formatting for different models (like inverting masks for Ideogram models). You provide a text prompt to guide what the AI generates in the transparent areas, and the selected model fills in those regions to create a seamless extended image.