Automatic Aspect Ratio Adjuster

Upload an image, choose your target aspect ratio, and let the AI adjust it while preserving important content.

Target Aspect Ratio

How it works

  1. SAM (Segment Anything Model) identifies important content in your image
  2. The algorithm calculates how to adjust the aspect ratio while preserving this content
  3. Stable Diffusion fills in the new areas with AI-generated content that matches the original image

Tips

  • For best results, provide a descriptive prompt that matches the scene
  • Try different aspect ratios to see what works best
  • The model works best with clear, well-lit images