nano-banana-mcp
v1.2.1MCP server for AI image generation, editing, and video generation powered by Google Gemini and Veo
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
configure_api_key
Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions.
| Parameter | Type | Description |
|---|---|---|
apiKey * | string | Your Google Gemini API key (get one at https://aistudio.google.com/apikey) |
configure_model
Set the default Gemini model for image generation and editing. Persists across sessions. Recommended: gemini-2.0-flash-preview-image-generation (default, free tier). Also available: imagen-3.0-generate-002 (best quality, requires billing), imagen-3.0-fast-generate-001 (fast, requires billing).
| Parameter | Type | Description |
|---|---|---|
model * | string | Gemini model ID to use (e.g. gemini-2.0-flash-preview-image-generation) |
generate_image
Generate a new image from a text description using Gemini AI. Returns the generated image and saves it to disk.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Detailed description of the image to generate |
model | string | Optional model override for this request (e.g. gemini-2.0-flash-preview-image-generation) |
edit_image
Edit an existing image based on text instructions. Provide the file path of the image to modify.
| Parameter | Type | Description |
|---|---|---|
imagePath * | string | Absolute file path to the image to edit |
prompt * | string | Instructions for how to edit the image |
model | string | Optional model override for this request (e.g. gemini-2.0-flash-preview-image-generation) |
referenceImages | array | Optional array of file paths to reference images for style or content guidance |
continue_editing
Continue editing the last generated or edited image. Automatically uses the most recent image from the session.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Instructions for the next edit |
model | string | Optional model override for this request |
referenceImages | array | Optional reference images for guidance |
generate_video
Generate a video from a text prompt using Gemini Veo. Supports text-to-video, image-to-video (first frame), and first+last frame interpolation. Video generation takes 1-6 minutes. Available models: veo-3.1-generate-preview (latest), veo-3-generate-preview, veo-2-generate-preview.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Detailed description of the video to generate. Include subject, action, style, camera movement, and atmosphere. |
aspectRatio | string | Aspect ratio of the video. Options: "16:9" (default, landscape), "9:16" (portrait). |
durationSeconds | number | Video duration in seconds. Options: 4, 6, 8 (default varies by model). |
imagePath | string | Optional: Absolute file path to an image to use as the first frame (image-to-video generation). |
lastFramePath | string | Optional: Absolute file path to an image to use as the last frame (first+last frame interpolation). Requires imagePath to be set. |
model | string | Veo model to use. Options: veo-3.1-generate-preview (default, latest), veo-3-generate-preview, veo-2-generate-preview. |
negativePrompt | string | Optional: Elements to avoid in the generated video. |
numberOfVideos | number | Number of video variants to generate (default: 1). |
resolution | string | Video resolution. Options: "720p" (default), "1080p", "4k". |
list_video_history
List recently generated videos with their prompts, models, and timestamps.
| Parameter | Type | Description |
|---|---|---|
count | number | Number of recent videos to show (default: 10, max: 50) |
get_status
Check the current configuration status, active model, and last image/video information.
list_history
List recently generated and edited images with their prompts and timestamps.
| Parameter | Type | Description |
|---|---|---|
count | number | Number of recent images to show (default: 10, max: 50) |