Set Image Model
set_modelChoose the Gemini image model that powers image generation and editing to balance quality, speed, and cost.
Instructions
Switch the Gemini image model used by generate_image and edit_image. Options: 'nano-banana-pro' (highest quality, ~$0.09/img), 'nano-banana-2' (newest Flash, 4K capable, ~$0.05/img), 'nano-banana' (original Flash, fastest, ~$0.04/img). You can also pass a raw Gemini model ID directly.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "set_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model name: 'nano-banana-pro', 'nano-banana-2', 'nano-banana', or a raw Gemini model ID like 'gemini-3-pro-image-preview' |