Instagram wants 1:1 or 4:5. YouTube wants 16:9. Twitter cards want 2:1. Here's every aspect ratio every platform expects, and how to generate the right one with AI.
You generate a stunning AI image at 1024×1024 (1:1 square). You post it on Twitter and it gets cropped to a weird rectangle with the subject's head half cut off. You post it on your blog and it's too narrow for the hero section. You try to use it as a YouTube thumbnail and the black bars on the sides look amateur.
The image itself is great. The aspect ratio is wrong — and every platform punishes you differently for getting it wrong. Here's the complete guide to generating AI images at the right dimensions for every platform.
Instagram Feed: 1:1 (1080×1080) — the safe default. 4:5 (1080×1350) — the maximum vertical ratio before Instagram crops. This is the preferred ratio for most creators because it takes up more screen space. Never use 16:9 horizontal on Instagram feed — it looks tiny. Instagram Stories/Reels: 9:16 (1080×1920) — full screen vertical.
Twitter/X: 16:9 (1200×675) for single images. 1:1 (1200×1200) also works. Twitter's in-feed preview crops everything to 16:9, so 1:1 images get cropped left and right. Twitter cards (link previews): 2:1 (1200×600) — this is the standard for link preview images.
LinkedIn: 1.91:1 (1200×627) — standard link share image. 1:1 (1080×1080) works for feed posts. LinkedIn's feed crop varies by device, so keep important content centered.
Facebook: 1.91:1 (1200×630) for link shares. 1:1 or 4:5 for feed posts. Facebook aggressively compresses images, so generate at higher resolution and let their compression do the damage.
YouTube Thumbnail: 16:9 (1280×720) — the only aspect ratio that works. Anything else gets letterboxed with black bars. Text should be large (viewers see thumbnails at postage-stamp size on mobile).
Pinterest: 2:3 (1000×1500) — the standard Pin ratio. Vertical images dominate Pinterest; horizontal images are basically invisible.
Most AI image generators default to 1:1 (square) or let you specify a ratio. Key settings: 1:1 (1024×1024) — Instagram, Twitter, LinkedIn posts; 4:5 (1080×1350) — Instagram portrait, Facebook feed; 16:9 (1280×720 or 1920×1080) — YouTube thumbnails, Twitter images, blog hero images; 9:16 (1080×1920) — Stories, Reels, TikTok; 2:1 (1200×600) — Twitter cards, LinkedIn link shares; 2:3 (1000×1500) — Pinterest, portrait blog images.
Important: generate at the highest resolution your AI tool supports for each ratio. You can always downscale. You can't upscale without quality loss. And always check the output — AI generators sometimes stretch or compress the image to fit the requested ratio instead of generating natively at that ratio. The result is a subtly distorted image that looks wrong but takes a moment to identify why.
1:1 (Square): Center your subject. Symmetry works well. Don't put important details near the edges — some platforms (Twitter) crop square images to 16:9 in preview.
16:9 (Landscape): Use the rule of thirds — place your subject at the left or right third line, not center. The wide format gives you negative space for text overlays.
9:16 (Vertical): Place your subject in the upper third (eyes naturally go there first on vertical screens). Leave the bottom third relatively clear for UI elements, captions, and interaction buttons.
4:5 (Portrait): The sweet spot for feed posts — taller than square, not as extreme as 9:16. Subject in the upper-middle, breathing room at the bottom.
For generating images at any aspect ratio, use our AI image generator with custom ratio settings. For upscaling to platform resolution requirements, our image upscaler increases size without quality loss. And for extracting subjects to place on platform-optimized backgrounds, our background remover handles cutouts.
AI Image Generator
Turn text into stunning AI images with SDXL. No watermark, instant download in JPG, PNG, and WebP. Choose from 3 quality levels, 3 aspect ratios, and 1-4 output images per generation. Supports reference images for style guidance. Create photorealistic images, digital art, and illustrations from simple text prompts.
Image Upscaler
Increase image resolution up to 4x with Real-ESRGAN AI upscaling. Dedicated Photo and Anime modes for different image types. Choose 2x or 4x upscaling factor. Enhances old photos, AI-generated images, and low-res pictures to HD quality without losing detail. Perfect for printing and digital displays.
Background Remover
Remove image backgrounds instantly with one click.