-preview.
Output controls
Supported ratios:
Generation body
Editing body
inlineData for multiple references. Unified asynchronous editing
accepts 1–16 images, with a 20 MiB decoded limit per file and 64 MiB total.
Grounding, thinking, and other official fields remain governed by the current
Gemini protocol and the selected model’s support.
A fixed maximum source-image byte or pixel size is not currently published.
Total request-body, proxy, and upstream limits may differ; reduce the source
image after HTTP 413, and contact API support
before relying on a guaranteed production envelope.
Size and transport
The requested tier determines billing; compressed file bytes do not. Higher tiers can create larger Base64 responses, so align client and proxy limits with the actual delivery.Copy Flash examples
Run complete synchronous, asynchronous, editing, and parsing flows.
Check the current price
Use the dated YingTu-only table.