frameflow-mcp

v0.3.1
@saeedsakib/frameflow-mcp Checked 4 days ago Published 19 days ago

MCP server for Google's Nano Banana, Gemini Omni, Gemini TTS and Lyria models with a Gemini API key

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_models

List the model ids each tool accepts, what each is good for, and the default used when model is omitted. Only needed to compare or override models; every tool already works without choosing one.

generate_image

Create or edit an image from a prompt, optionally guided by existing images. If the user refers to ANY existing image (logo, brand mark, product photo, character, style sample, or an image to change) pass its file path in reference_image_paths; describing a logo in words is not enough. To change an image, pass it as the only reference and describe just the change. With several references, say in the prompt what each one is in order, e.g. 'Image 1 is the logo, reproduce it exactly. Image 2 is the product.' Writes a JPEG to output_path and returns the path.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *string
aspect_ratiostring
image_sizestringLite supports only 1K. Default 1K.
modelstringOmit to use gemini-nano-banana-2.1. Override only for a reason: gemini-3.1-flash-image (fast general-purpose images); gemini-3-pro-image (exact logos, text-heavy or complex compositions); gemini-3.1-f…
reference_image_pathsarrayLocal image files the model must see: logos, brand marks, product photos, characters, style samples, or an existing image to modify. Pass these whenever the user refers to an existing image; describin…

generate_video

Start a text-to-video job with native audio, from a prompt alone. If existing images or logos must appear use generate_video_from_references; to animate a specific still use animate_image. Mention sounds or dialogue in the prompt if wanted. Returns a job_id immediately; poll with get_job.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *string
aspect_ratiostring
duration_secondsinteger3 to 10 seconds.
modelstringOmit to use gemini-omni-1.1-flash.
resolutionstringDefault 720p; 1080p and 4k are upscaled.

animate_image

Start an image-to-video job: the given local image becomes the first frame and the prompt describes the motion. For images that should merely appear in or guide the video (logos, products, style) use generate_video_from_references. Returns a job_id; poll with get_job.

ParameterTypeDescription
image_path *stringLocal image used as the first frame.
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *string
aspect_ratiostring
duration_secondsinteger3 to 10 seconds.
modelstringOmit to use gemini-omni-1.1-flash.
resolutionstringDefault 720p; 1080p and 4k are upscaled.

generate_video_from_references

Start a video job when existing images must appear in the video: logos, products, characters or style samples via reference_image_paths (up to 3), and/or an exact first_frame_path and last_frame_path. Say in the prompt what each reference is. Returns a job_id; poll with get_job.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *string
aspect_ratiostring
duration_secondsinteger3 to 10 seconds.
first_frame_pathstringLocal image the video must start on.
last_frame_pathstringLocal image the video must end on.
modelstringOmit to use gemini-omni-1.1-flash.
reference_image_pathsarrayLocal images that must appear in or guide the video: logos, products, characters, style samples.
resolutionstringDefault 720p; 1080p and 4k are upscaled.

extend_video

Start a job that makes an existing local video (10 s or shorter) longer by up to 10 seconds, guided by the prompt. Inputs longer than 10 seconds are rejected, so an extended clip cannot be extended again. Returns a job_id; poll with get_job.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *string
video_path *stringLocal video, at most 10 seconds.
aspect_ratiostring
duration_secondsinteger3 to 10 seconds.
modelstringOmit to use gemini-omni-1.1-flash.
resolutionstringDefault 720p; 1080p and 4k are upscaled.

edit_video

Start a job that changes an existing local video (10 s or shorter) according to the prompt, e.g. style, weather or objects. Describe only the change. Returns a job_id; poll with get_job.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *string
video_path *stringLocal video, at most 10 seconds.
aspect_ratiostring
duration_secondsinteger3 to 10 seconds.
modelstringOmit to use gemini-omni-1.1-flash.
resolutionstringDefault 720p; 1080p and 4k are upscaled.

generate_speech

Turn text into spoken audio (WAV): voiceovers, narration, dialogue, podcast lines, any 'read this aloud'. Single speaker: text + voice (+ style). Dialogue: turns + voices with at most 2 prebuilt voices. Custom voices from create_voice work for a single speaker only; for a dialogue with a custom voice, generate each turn separately and tell the user the files need joining. Synchronous; returns the written path.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
modelstringOmit to use gemini-3.8-flash-tts. Override only for a reason: gemini-3.8-flash-lite-tts (bulk or cheap narration).
stylestringDelivery direction, e.g. 'cheerful and fast', 'whispering', 'calm newsreader'.
textstringWhat to say, for a single speaker. Use turns instead for a dialogue.
turnsarrayDialogue between at most 2 speakers, in order. Needs voices.
voicestringA prebuilt voice name or a custom voice_... id. Kore and Puck are safe defaults; call list_voices for the full catalog or the user's own voices.
voicesobjectSpeaker name to prebuilt voice name, e.g. { "Joe": "Puck", "Jane": "Kore" }. Custom voices are single-speaker only.

generate_music

Start a music job: songs with vocals, instrumentals, jingles, loops, background tracks. The prompt drives everything: genre, mood, tempo, instruments, structure, length, and lyrics inline with [Verse]/[Chorus]/[Bridge] tags or 'instrumental only'. Lyria 3.5 (default) makes full songs; lyria-3-clip-preview always makes a 30 s clip. Returns a job_id; poll with get_job. Lyrics used come back in the job's text.

ParameterTypeDescription
output_path *stringAbsolute or ~ path to write the result to: .jpg for images, .mp4 for video, .wav for speech and music (.mp3 with format mp3). Parent directories are created. The extension is corrected to the returned…
prompt *stringGenre, mood, tempo, instruments, structure and length. Put lyrics inline with [Verse], [Chorus], [Bridge] tags, or say 'instrumental only'.
formatstringDefault wav.
modelstringOmit to use lyria-3.5. Override only for a reason: lyria-3-clip-preview (always a 30-second clip: jingles, loops, stings).
reference_image_pathsarrayOptional images to set the mood, e.g. album art or a scene.

create_voice

Create a reusable custom voice for generate_speech ('design a voice', 'a voice like…', 'clone my voice'). Design: name + a description of the voice in words. Replication: name + sample_path (the owner speaking) + consent_path (the same person reading Google's consent statement), both WAV. Never replicate a voice without the owner's consent recording; Google refuses it. Returns a voice_... id to pass as voice.

ParameterTypeDescription
name *stringDisplay name for the new voice.
consent_pathstringVoice replication: a WAV of the same person reading Google's consent statement.
descriptionstringVoice design: describe age, gender, timbre, accent, pacing and personality in words.
sample_pathstringVoice replication: a clean 10-30 s WAV of the voice owner speaking.

list_voices

List voices for generate_speech: the user's custom voices (voice_... ids and expiry) followed by the prebuilt catalog. Call when the user wants a specific kind of voice or one they created earlier.

get_job

Check a video or music job. Returns status running, done (with the written path, and lyrics text for music) or failed. Poll every 10-20 seconds; jobs take 1-5 minutes.

ParameterTypeDescription
job_id *string