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:
- ideogram-ai/ideogram-v2: High-quality image generation model with great outpainting capabilities
- ideogram-ai/ideogram-v2-turbo: Faster version of Ideogram v2
- black-forest-labs/flux-fill-pro: Specialized inpainting model
- black-forest-labs/flux-fill-dev: Development version of Flux Fill
- stability-ai/sdxl: Stable Diffusion XL for versatile image generation
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.