Best setting for common sizes
For each size: the setting to ask for, what Nano Banana 2.1 gives you, and what to do to reach the exact size.
| For | Set | You get | Then |
|---|---|---|---|
| 9:16 video 1080 × 1920 |
aspect_ratio: "9:16", image_size: "2K" |
1536 × 2752 | Scale to 1080 × 1935 (×0.703), then trim 7 px from the top and 8 px from the bottom |
| 4:5 post 1080 × 1350 |
aspect_ratio: "4:5", image_size: "2K" |
1856 × 2304 | Scale to 1088 × 1350 (×0.586), then trim 4 px from the left and right |
| Full HD 1920 × 1080 |
aspect_ratio: "16:9", image_size: "2K" |
2752 × 1536 | Scale to 1935 × 1080 (×0.703), then trim 7 px from the left and 8 px from the right |
| 720p 1280 × 720 |
aspect_ratio: "16:9", image_size: "1K" |
1376 × 768 | Scale to 1290 × 720 (×0.938), then trim 5 px from the left and right |
| Square 1080 × 1080 |
aspect_ratio: "1:1", image_size: "2K" |
2048 × 2048 | Scale to 1080 × 1080 (×0.527) |
| Instagram 1080 × 1440 |
aspect_ratio: "3:4", image_size: "2K" |
1792 × 2400 | Scale to 1080 × 1446 (×0.603), then trim 3 px from the top and bottom |
| Pinterest 1000 × 1500 |
aspect_ratio: "2:3", image_size: "2K" |
1696 × 2528 | Scale to 1006 × 1500 (×0.593), then trim 3 px from the left and right |
| YouTube 3840 × 2160 |
aspect_ratio: "16:9", image_size: "4K" |
5504 × 3072 | Scale to 3870 × 2160 (×0.703), then trim 15 px from the left and right |
| LinkedIn 1512 × 256 |
aspect_ratio: "8:1", image_size: "1K" |
3072 × 384 | Scale to 2048 × 256 (×0.667), then trim 268 px from the left and right |
In the apps
- Gemini app: The Gemini app has no size setting; Google’s own examples put the shape in the prompt (“…with 2:3 aspect ratio”). For an exact shape, add a blank image the shape you want and ask for your picture on it.
Good to know
- In the API it’s gemini-nano-banana-2.1, generally available since October 6, 2026. Write the size with a capital K, as in 2K: lowercase is rejected.
- If you don’t set a shape, the model matches the size of an image you add, or otherwise makes a square.
Sources
Every size on this page comes from Google’s own documentation.
Checked against Nano Banana image generation (Gemini API docs), Release notes (Gemini API docs) and Nano Banana 2: Gemini AI image generator & photo editor (Google).
Other image models
- GPT Image 2.6: any size in multiples of 16, up to 3,840 px a side, from 3:1 to 1:3.
- Midjourney V8.2: any shape up to 14:1 or 1:14.
- FLUX 3 Image: any size in multiples of 16, up to 6,256 px a side, from 8:1 to 1:8.
- FLUX.2: any size in multiples of 16, up to 4.2 MP.
- Stable Diffusion XL: 9 set sizes.
- Stable Image API (SD 3.5, Ultra): 9 shapes at 1 MP.
- Ideogram 4.6: any size in multiples of 32, up to 8,192 px a side, from 6:1 to 1:6.
- Adobe Firefly (web app): 4 shapes.
More tools
- AI image & video sizes: every model’s best setting for any size, side by side.
- Social media image & video sizes: the sizes to aim for on each social platform.
- Image & video checker: check the exact size and aspect ratio of what a model made.