Gemini Nano Banana 2.1(Nano Banana 2.1)
/v1beta/models/gemini-nano-banana-2.1:generateContentGenerate or edit images with Nano Banana 2.1 through the native Google Gemini protocol. SandBase preserves the provider request and response payload instead of converting it to Chat Completions.
Request body
Send a native Gemini GenerateContent body. Provider-defined fields are passed through for this model.
Gemini Content objects containing the prompt and optional input images.
Requested output modalities. Include IMAGE; include TEXT when you also want a text part.
Output aspect ratio, for example 1:1, 16:9, 9:16, 21:9, 4:1 or 1:8.
Output resolution: 1K, 2K or 4K. Nano Banana 2.1 has no 0.5K tier.