Nano Banana 2 Official
nano_banana_2_officialCreate or modify images using text prompts. Specify image size, aspect ratio, and optional input images for edits.
Instructions
Generate or edit images via the Gemini compatible gateway. The active startup preset owns provider, model, timeout, retry, and field dispatch behavior. You may override preset and api_key per call; if preset is supplied, api_key is required in the same request. Without overrides, the configured preset and API key are used. Use image_size plus aspect_ratio from the shared catalog enums. Invalid size errors include the supported preset list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| mode | Yes | ||
| prompt | Yes | ||
| save_path | Yes | ||
| response_modalities | No | ||
| aspect_ratio | No | 1:1 | |
| image_size | No | 1K | |
| thinking_level | No | minimal | |
| include_thoughts | No | ||
| preset | No | ||
| api_key | No | ||
| input_images | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||