🖼️

AI 出圖尺寸 & 長寬比計算機

選長寬比 + 目標長邊,算出對齊 64 倍數的正確寬高(Midjourney / SD / SDXL 適用)。
:
1024 × 1024
建議寬 × 高
1.05
百萬像素 (MP)
常見模型原生尺寸(此比例)
模型W × HMP
※ SD1.5 基準 512、SDXL 基準 1024;數值已依比例對齊 64 倍數,實際依模型/介面為準。
🖊️
XPPen 繪圖板AI 出圖後想修圖、手繪?入門繪圖板
含 Amazon 聯盟連結,透過連結購買我們可能獲得回饋,不影響你的價格。As an Amazon Associate we earn from qualifying purchases.
FAQ · 常見問題
為什麼要對齊 64 倍數? / Why snap to multiples of 64?

Stable Diffusion / SDXL 對 64 倍數的尺寸支援最佳,可避免破圖。SD/SDXL work best with dimensions that are multiples of 64.

支援哪些長寬比? / Which aspect ratios?

內建 1:1、16:9、9:16、4:3、3:2、21:9 等,也可自訂任意比例。Includes 1:1, 16:9, 9:16, 4:3, 3:2, 21:9 and custom ratios.

免費嗎? / Is it free?

免費,本機運算。Free and runs locally.

更多免費工具 · More tools
🖥️ LLM VRAM🧮 Token 成本🖼️ 出圖尺寸📝 Prompt 庫🍅 番茄鐘🛠️ JSON·Regex

About this AI image size calculator

Get the right resolution and aspect ratio for AI image generators like Midjourney, Stable Diffusion and SDXL. It suggests dimensions aligned to the multiples these models expect, helping you avoid stretched or low-quality results.

How to use

  1. Choose your target aspect ratio (e.g. 16:9, 1:1, 9:16).
  2. Read the recommended pixel dimensions.
  3. Paste them into your AI tool's settings.

Why use it

Using off-spec dimensions can cause artifacts, cropping or wasted compute. Starting from model-friendly sizes gives cleaner generations and predictable framing for social, print or web.

FAQ

Why do dimensions need to be multiples of 64?

Diffusion models work in latent blocks; sizes aligned to 8 or 64 avoid padding artifacts.

What size is best for SDXL?

SDXL is trained around 1024x1024; the calculator suggests matching ratios at suitable resolutions.

Does it upload anything?

No — it's a pure calculator that runs in your browser.

☕ 請我喝咖啡 Ko-fi