AI 图片输入适配

将图片转换为 AI 模型支持的输入格式

自动识别图片真实格式,并在浏览器本地完成转换。

拖入一张图片

支持 PNG、JPEG、WebP、HEIC、HEIF 及可转换的位图格式

图片仅在当前浏览器中处理

图片检查

上传后自动检查真实格式、文件大小和模型兼容性。

解析图片真实格式 浏览器本地转换 校验输出文件
Verified profile

Nano Banana 2.1 input requirements

The converter only enforces requirements documented for Gemini image inputs. Unknown limits remain unknown.

ModelNano Banana 2.1
Model IDgemini-nano-banana-2.1
Supported inputPNG, JPEG, WebP, HEIC, HEIF
Inline request20 MB total request
Input dimensionsNot specified by Google
Input aspect ratioNot specified by Google
Three local steps

From file to compatible input

01

Inspect the real file

Read the file signature and decode the image instead of trusting its extension.

02

Apply only needed changes

Keep compatible originals untouched, or convert and compress when required.

03

Verify and download

Check the generated Blob again so its content, MIME type, and extension agree.

FAQ

Useful details before converting

Why is the safe target 14 MB when Google says 20 MB?

Google documents a 20 MB limit for the complete inline request, not just the original file. Base64 encoding increases the payload and the prompt also needs space, so this tool uses 14 MB as a conservative optimization target.

Will a compatible image be re-encoded?

No. Automatic mode returns the original file when its real format is supported and it is already within the safe inline size.

Does Nano Banana 2.1 require a specific aspect ratio?

Google does not document a hard input aspect-ratio requirement for this workflow, so the converter does not crop your image.