AI image social media size guide
Every platform has its own ideal image dimensions, and getting them wrong means blurry uploads, awkward crops, or rejected ads. This guide lists the current optimal sizes for Instagram, Twitter/X, LinkedIn, Facebook, Pinterest, TikTok, and YouTube, broken down by post type, and gives you a one-click prompt suffix that tells your AI image generator the right aspect ratio and dimensions.
How it works
Pick a platform and a post type, and the tool shows the recommended pixel dimensions and aspect ratio. Because diffusion models respect aspect ratio more reliably than exact pixel counts, the generated prompt suffix leads with the ratio (for example “9:16 vertical, 1080×1920”) so the model frames the composition correctly. You then upscale and crop to the exact spec, which is far cleaner than fixing proportions after the fact.
Tips for platform-perfect images
- Match the ratio at generation time. A 1:1 prompt for a square post saves you from cropping faces or text out of a wide image.
- Leave safe margins. Stories and Reels overlay UI on the top and bottom; keep critical content in the central area.
- Upscale, then crop. Generate at the nearest supported size, upscale, and crop last to land on the exact pixel dimensions.
- Mind the duration stamp. On YouTube thumbnails, avoid placing key elements in the bottom-right corner.