nano-banana-mcp

v1.2.1
@seungmanchoi/nano-banana-mcp Checked 5 days ago Published 8 months ago

MCP 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.

ParameterTypeDescription
apiKey *stringYour 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).

ParameterTypeDescription
model *stringGemini 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.

ParameterTypeDescription
prompt *stringDetailed description of the image to generate
modelstringOptional 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.

ParameterTypeDescription
imagePath *stringAbsolute file path to the image to edit
prompt *stringInstructions for how to edit the image
modelstringOptional model override for this request (e.g. gemini-2.0-flash-preview-image-generation)
referenceImagesarrayOptional 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.

ParameterTypeDescription
prompt *stringInstructions for the next edit
modelstringOptional model override for this request
referenceImagesarrayOptional 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.

ParameterTypeDescription
prompt *stringDetailed description of the video to generate. Include subject, action, style, camera movement, and atmosphere.
aspectRatiostringAspect ratio of the video. Options: "16:9" (default, landscape), "9:16" (portrait).
durationSecondsnumberVideo duration in seconds. Options: 4, 6, 8 (default varies by model).
imagePathstringOptional: Absolute file path to an image to use as the first frame (image-to-video generation).
lastFramePathstringOptional: Absolute file path to an image to use as the last frame (first+last frame interpolation). Requires imagePath to be set.
modelstringVeo model to use. Options: veo-3.1-generate-preview (default, latest), veo-3-generate-preview, veo-2-generate-preview.
negativePromptstringOptional: Elements to avoid in the generated video.
numberOfVideosnumberNumber of video variants to generate (default: 1).
resolutionstringVideo resolution. Options: "720p" (default), "1080p", "4k".

list_video_history

List recently generated videos with their prompts, models, and timestamps.

ParameterTypeDescription
countnumberNumber 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.

ParameterTypeDescription
countnumberNumber of recent images to show (default: 10, max: 50)