Nano Banana - Image Restoration
Restore or enhance existing images via the mcp_nanobanana_restore_image MCP tool.
Tool Call
Use mcp_nanobanana_restore_image with these parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt |
string | yes | — | Restoration/enhancement instructions |
file |
string | yes | — | Input image filename to restore |
filename |
string | no | — | Custom output filename |
resolution |
"1K" | "2K" | "4K" |
no | "1K" |
Output resolution |
parallel |
number | no | 2 | Parallel generation count (1–8) |
preview |
boolean | no | false | Open result in default viewer |
Workflow
- Identify the input image file from the user's request →
file. - Extract the restoration instructions →
prompt. - Map any resolution, filename, or preview preferences to the corresponding parameters.
- Call
mcp_nanobanana_restore_imagewith the assembled parameters. - Report the output file path to the user.
Examples
Remove scratches:
file: "old_family_photo.jpg"
prompt: "remove scratches and enhance clarity"
Color enhancement:
file: "faded_photo.png"
prompt: "enhance colors and repair torn edges"
preview: true
High-resolution restoration:
file: "vintage_portrait.jpg"
prompt: "restore facial details and fix discoloration"
resolution: "4K"
filename: "restored_portrait"