# IteraCompute · gemini/gemini-nano-banana-2.1 Model ID: gemini/gemini-nano-banana-2.1 Base URL (OpenAI SDK): https://api.iteracompute.com/v1 Authentication: Authorization: Bearer ITERACOMPUTE_API_KEY Content-Type: application/json Use only the customer endpoints below. Request and response formats differ by protocol. An endpoint declaration does not certify every capability. ## Images · Generation POST https://api.iteracompute.com/v1/images/generations Input: prompt; Gemini: contents / generationConfig Output budget: n (1–4); model-specific size and quality Read result: data[].b64_json; usage SSE completion: image_generation.completed Docs: https://iteracompute.com/docs.html#images-api ## Parameters Configuration and parameter acceptance do not establish semantic capability. Do not invent undisclosed defaults. Parameter revision: 1b7cb9c6eb26f5e2d8a02d03f6349b28b09ca8e1fc7afb60f79e69cd883556dd Capability tools: disabled Capability reasoning: configured enabled (see verification scope) Capability vision: configured enabled (see verification scope) Capability streaming: configured enabled (see verification scope) Capability json_mode: disabled Capability image_generation: configured enabled (see verification scope) Capability image_editing: configured enabled (see verification scope) - prompt: string; accepted; min=unknown; max=unknown; default=Undisclosed. Image instruction, 1–4000 UTF-8 bytes. - n: integer; accepted; min=1; max=4; default=Undisclosed. Number of completions; many routes accept only 1. - size: enum; accepted; values=["1024x1024"]; default=Undisclosed. Image dimensions; pixel and aspect limits also apply. - response_format: enum; accepted; values=["b64_json"]; default=Undisclosed. Text: Chat output format. Images: b64_json only; not text JSON mode. - stream: boolean; accepted; min=unknown; max=unknown; default=Undisclosed. Enable SSE streaming; completion markers depend on the protocol. - contents: array; accepted; min=unknown; max=unknown; default=Undisclosed. Gemini native messages with text and inlineData reference images. - systemInstruction: object; accepted; min=unknown; max=unknown; default=Undisclosed. Gemini image system instruction; text parts only. - generationConfig: object; accepted; min=unknown; max=unknown; default=Undisclosed. Gemini image configuration: output token budget, image size/aspect and thinking. See model limits. - safetySettings: array; accepted; min=unknown; max=unknown; default=Undisclosed. Gemini native image safety category settings. ## Images example · JSON body ```json { "model": "gemini/gemini-nano-banana-2.1", "prompt": "A blue square on a white background", "n": 1, "size": "1024x1024", "response_format": "b64_json", "generationConfig": { "maxOutputTokens": 8192, "thinkingConfig": { "thinkingLevel": "MINIMAL" }, "imageConfig": { "imageSize": "1K", "aspectRatio": "1:1" } } } ``` ## References Model catalog: https://iteracompute.com/models/ Current prices and billing: https://iteracompute.com/pricing/ Documentation index: https://iteracompute.com/llms.txt Unknown prices are not zero. Account and subscription limits also apply. Never include a real API key in an LLM prompt or client-side code.