Outpainting Techniques

A technique for extending an image beyond its original borders, generating new content that seamlessly continues the existing scene.

Outpainting expands images by generating new content around the edges that matches the original.

How Outpainting Works

  1. Place original image on a larger canvas
  2. Empty areas are treated like an inpainting mask
  3. Model generates content to fill the expansion
  4. New content matches the existing image style

Use Cases

  • Aspect ratio conversion: Turn portrait to landscape
  • Scene expansion: Show more environment
  • Composition adjustment: Add breathing room
  • Uncropping: Reveal more of cut-off subjects

Methods

Canvas Expansion

  1. Create larger canvas with original centered
  2. Use inpainting to fill empty areas
  3. Work in sections for best results

Dedicated Tools

  • DALL-E: Built-in outpainting feature
  • Midjourney: Pan and zoom commands
  • SD: Various extensions and workflows

Tips

  • Work in small increments (extend 25-50% at a time)
  • Describe what should appear in the extension
  • Match the lighting direction
  • Check for perspective consistency
  • Multiple passes often needed
  • Keep some overlap with original for context