AI Image Size & Aspect Ratio Calculator
Pick an aspect ratio and a long edge to get pixel dimensions, then see which image models support that ratio and what a generation costs on HiAPI.
Pixel dimensions
- Width
- 1024
- Height
- 576
- Megapixels
- 0.59
Size: 1024×576
Exact ratio at this size.
Supported ratios, sizes and prices by model
Ratios and sizes come from each model's current input options. Matching a ratio does not guarantee that a model accepts the calculated pixel dimensions; check its size limits in the docs. Prices show the current range across published options, not a quote for the calculated size.
| Model | Aspect ratios | Sizes | Price per image | Model docs |
|---|---|---|---|---|
| FLUX.2 [klein] 4B Text to ImageBlack Forest Labs | 1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 21:9, 9:21 | 0.25 MP, 0.5 MP, 1 MP, 2 MP, 4 MP | $0.0004 – $0.0057 | Model docs |
| FLUX.1 [schnell]Black Forest Labs | 1:1, 4:3, 3:4, 16:9, 9:16 | — | $0.005 | Model docs |
| GPT Image 2 @extOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21 | 1K, 2K, 4K | $0.007 – $0.760 | Model docs |
| Z-ImageAlibaba | 1:1, 4:3, 3:4, 16:9, 9:16 | — | $0.008 | Model docs |
| FLUX.2 [klein] 9B Text to ImageBlack Forest Labs | 1:1, 4:3, 3:4, 16:9, 9:16 | — | $0.0086 | Model docs |
| Recraft V4.1 FlashRecraft | — | square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9 | $0.010 | Model docs |
| Nano Banana 2.1Google | 1:1, 2:3, 3:2, 1:4, 4:1, 3:4, 4:3, 4:5, 5:4, 1:8, 8:1, 9:16, 16:9, 21:9 | 1K, 2K, 4K | $0.011 – $0.029 | Model docs |
| Muse Image Text-to-ImageMeta | 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21 | — | $0.015 | Model docs |
| gpt-image-2.5-flare@proOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16 | — | $0.0172 – $0.7143 | Model docs |
| gpt-image-2.5-sunburst@proOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16 | — | $0.0172 – $0.7143 | Model docs |
| Nano Banana 2Google | 1:1, 1:4, 1:8, 2:3, 3:2, 3:4, 4:1, 4:3, 4:5, 5:4, 8:1, 9:16, 16:9, 21:9 | 1K, 2K, 4K | $0.018 – $0.043 | Model docs |
| Qwen Image 2.1 TurboAlibaba | 1:1, 16:9, 9:16, 4:3, 3:4 | — | $0.020 | Model docs |
| Nano BananaGoogle | 1:1, 16:9, 9:16, 3:4, 4:3, 3:2, 2:3, 5:4, 4:5, 21:9 | — | $0.021 | Model docs |
| Krea 2 Medium TurboKrea | 1:1, 4:3, 3:2, 16:9, 2.35:1, 4:5, 2:3, 9:16 | — | $0.0215 | Model docs |
| gpt-image-2.5-flare/text-to-imageOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 27:16, 16:27, 9:8, 8:9 | 1K, 2K, 4K | $0.025 – $0.060 | Model docs |
| gpt-image-2.5-sunburst/text-to-imageOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 27:16, 16:27, 9:8, 8:9 | 1K, 2K, 4K | $0.025 – $0.060 | Model docs |
| Nano Banana ProGoogle | 1:1, 16:9, 9:16, 3:4, 4:3, 3:2, 2:3, 5:4, 4:5, 21:9 | 1K, 2K, 4K | $0.0285 – $0.050 | Model docs |
| GPT Image 2OpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21 | 1K, 2K, 4K | $0.030 – $0.060 | Model docs |
| Grok ImagineGrok | 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2 | 1k, 2k | $0.030 | Model docs |
| Imagen 4 FastGoogle | 1:1, 16:9, 9:16, 3:4, 4:3 | — | $0.030 | Model docs |
| Nano Banana 2 LiteGoogle | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9, 1:4, 4:1, 1:8, 8:1 | — | $0.033 | Model docs |
| Wan 2.7 Image StandardAlibaba | 1:1, 16:9, 4:3, 21:9, 3:4, 9:16, 8:1, 1:8 | 1K, 2K | $0.0345 | Model docs |
| Seedream 5.0 LiteByteDance | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 | 2K, 4K | $0.035 | Model docs |
| Qwen Image 3.0Alibaba | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9 | 1K, 2K | $0.0358 | Model docs |
| Krea 3Krea | — | square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9 | $0.036 | Model docs |
| FLUX.2 [pro] Text to ImageBlack Forest Labs | 1:1, 16:9, 3:2, 2:3, 4:5, 5:4, 9:16, 3:4, 4:3 | 0.5 MP, 1 MP, 2 MP, 4 MP | $0.0375 – $0.125 | Model docs |
| FLUX 3 ImageBlack Forest Labs | 21:9, 2:1, 16:9, 3:2, 7:5, 4:3, 5:4, 1:1, 4:5, 3:4, 5:7, 2:3, 9:16, 1:2, 9:21 | 768, 1K, 1.5K, 2K, 4K | $0.041 – $0.607 | Model docs |
| Qwen Image 2.0Alibaba | — | 2688*1536, 2368*1728, 2048*2048, 1728*2368, 1536*2688 | $0.0422 | Model docs |
| Ideogram 4.5Ideogram | — | square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9 | $0.043 – $0.3145 | Model docs |
| Seedream 4.5 Text to ImageByteDance | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 | 2K, 4K | $0.045 | Model docs |
| Qwen Image 3.0 ProAlibaba | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9 | 1K, 2K | $0.0497 – $0.0993 | Model docs |
| FLUX1.1 [pro]Black Forest Labs | 1:1, 16:9, 3:2, 2:3, 4:5, 5:4, 9:16, 3:4, 4:3 | — | $0.050 | Model docs |
| Ideogram V4Ideogram | 1:1, 16:9, 4:3, 9:16, 3:4 | — | $0.050 – $0.170 | Model docs |
| Qwen Image 2.1 ProAlibaba | 1:1, 16:9, 9:16, 4:3, 3:4 | — | $0.050 | Model docs |
| Recraft V4.1Recraft | — | square_hd, square, portrait_4_3, portrait_16_9, landscape_4_3, landscape_16_9 | $0.050 | Model docs |
| Seedream 5.0 ProByteDance | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 | 1K, 2K | $0.050 – $0.100 | Model docs |
| Grok Imagine Image 2.0Grok | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20 | 1k, 2k | $0.052 | Model docs |
| FIBO Gen 1.5Bria | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 | — | $0.0575 | Model docs |
| Imagen 4Google | 1:1, 16:9, 9:16, 3:4, 4:3 | — | $0.060 | Model docs |
| Grok Imagine QualityGrok | 2:1, 20:9, 19.5:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:19.5, 9:20, 1:2 | 1k, 2k | $0.070 – $0.100 | Model docs |
| FLUX.1 Kontext [max]Black Forest Labs | 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | — | $0.0715 | Model docs |
| Wan 2.7 Image ProAlibaba | 1:1, 16:9, 4:3, 21:9, 3:4, 9:16, 8:1, 1:8 | 1K, 2K, 4K | $0.080 | Model docs |
| Imagen 4 UltraGoogle | 1:1, 16:9, 9:16, 3:4, 4:3 | — | $0.090 | Model docs |
| Qwen Image 2.0 ProAlibaba | — | 2688*1536, 2368*1728, 2048*2048, 1728*2368, 1536*2688 | $0.107 | Model docs |
| FLUX.2 [klein] 4B Image to ImageBlack Forest Labs | 1:1, 16:9, 9:16, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 21:9, 9:21 | 0.25 MP, 0.5 MP, 1 MP, 2 MP, 4 MP | $0.0061 – $0.0114 | Model docs |
| Ideogram 4.5 EditIdeogram | — | auto, square, square_hd, portrait_4_3, landscape_4_3, portrait_16_9, landscape_16_9 | $0.0115 – $0.3145 | Model docs |
| Muse Image Image-to-ImageMeta | 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9, 9:21 | — | $0.015 | Model docs |
| gpt-image-2.5-flare/image-to-imageOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 27:16, 16:27, 9:8, 8:9 | 1K, 2K, 4K | $0.025 – $0.060 | Model docs |
| gpt-image-2.5-sunburst/image-to-imageOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 16:9, 9:16, 21:9, 27:16, 16:27, 9:8, 8:9 | 1K, 2K, 4K | $0.025 – $0.060 | Model docs |
| GPT Image 2 Image-to-ImageOpenAI | 1:1, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 16:9, 9:16, 2:1, 1:2, 3:1, 1:3, 21:9, 9:21 | 1K, 2K, 4K | $0.030 – $0.060 | Model docs |
| FLUX.2 [klein] 9B Image to ImageBlack Forest Labs | 1:1, 4:3, 3:4, 16:9, 9:16 | — | $0.0314 | Model docs |
| FLUX.2 [pro] Image to ImageBlack Forest Labs | 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3 | 1K, 2K | $0.035 – $0.050 | Model docs |
| Seedream 5.0 LiteByteDance | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 | 2K, 4K | $0.035 | Model docs |
| Seedream 4.5 Image to ImageByteDance | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 | 2K, 4K | $0.045 | Model docs |
| FIBO Edit 1.5Bria | 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9 | — | $0.0575 | Model docs |
| Seedream 5.0 ProByteDance | 1:1, 4:3, 3:4, 16:9, 9:16, 2:3, 3:2, 21:9 | 1K, 2K | $0.060 – $0.100 | Model docs |
| Grok Imagine Image 2.0Grok | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20 | 1k, 2k | $0.065 | Model docs |
Prices are a planning reference; the final charge follows the request and your account group.
Use these sizes through the API
- 01Create a free account
Sign up with email, Google or GitHub. It takes about a minute.
Sign up - 02Create an API key
Generate a key in the dashboard, then pass the size or ratio in your request.
Get an API key
How to choose an image size
01Pick the aspect ratio
Match the ratio to where the image will be used: 1:1 for avatars, 16:9 for video thumbnails and banners, 9:16 for stories and phone wallpapers.
02Set the long edge
Larger images show more detail but cost more and take longer. Start at 1024 px and go up only when you need print or high-DPI quality.
03Check model support
Not every model accepts every ratio or size. The table shows what each model's current options allow, with a link to its docs.
AI image size calculator FAQ
How do I convert an aspect ratio to pixels?
Fix the long edge, then compute the short edge as long edge × the smaller ratio side ÷ the larger side. For 16:9 at 1024 px, the height is 1024 × 9 ÷ 16 = 576 px.
Why are dimensions rounded to multiples of 16?
Many image models require width and height divisible by 8 or 16. The calculator rounds to 16 and shows how far the rounded size drifts from your ratio.
Does a bigger size cost more?
Often yes. Many models price by resolution or quality tier, so the table shows a price range per model. Open the model page for the exact price of each option.
Which sizes does each model support?
The table is built from each model's current input options on HiAPI, so it stays in line with what the API accepts. Some models take named sizes such as 1K or 2K instead of pixels.
Is anything uploaded when I use this tool?
No. The calculation runs in your browser. Only the model list and prices are loaded from HiAPI.