About Vertex AI Creative Studio
Vertex AI Creative Studio is an MCP server published by GoogleCloudPlatform in the Cloud category: genMedia Creative Studio is a generative media user experience highlighting the use of Gemini, Gemini Omni, Veo, Gemini Image 🍌, Gemini TTS, Chirp 3, Lyria and other generative media APIs on Google Cloud. Conduid read 30 tools from its source: chirp_tts, ffmpeg_adjust_volume, ffmpeg_combine_audio_and_video, ffmpeg_concatenate_media_files, ffmpeg_convert_audio_wav_to_mp3, ffmpeg_extract_frame and 24 more. No package is published for it, so it installs from a source checkout.
The repository has 1.2K stars and 375 forks, is licensed Apache-2.0, and its last commit was on 28 Nov 2026. The latest release is v3.25.1 (24 Nov 2026): Changelog 81a1390ec294ad239c0fade591a306391def7a88 chore(main): release mcp 3.25.1 (#2199) 962f83285572df53068b14f76df085ae56401669 fix(mcp): set MIME type for Gemini GC… It follows mcp-v3.25.1 (24 Nov 2026), and the 5 most recent releases go back to v3.24.0 (5 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include chirp, gemini-tts, google-cloud, imagen, lyria and nano-banana.
Install
git clone https://github.com/GoogleCloudPlatform/genmedia-creative-studioTools (30)
chirp_ttsSynthesizes speech from text using Google Cloud TTS with Chirp3-HD voices. Returns audio data and optionally saves it locally.| Parameter | Type | Description |
|---|---|---|
| output_directory | string | Optional. If provided, specifies a local directory to save the generated audio file to. Filenames will be generated automatically using the prefix. If not provided, audio data is returned in the response. |
| output_filename | string | Optional. Client-predictable base name for the saved audio file. The extension is forced to the true audio media type (.wav). Used as-is for a single file (e.g. 'greeting.wav'); multiple artifacts are suffixed '_1', '_2', ... before the extension. Takes precedence over the deprecated output_filename_prefix. An existing file of the same name is overwritten. |
| output_filename_prefix | string | Optional (deprecated; use output_filename). A prefix for the output WAV filename if saving locally. A voice name, timestamp and .wav extension will be appended. |
| pronunciation_encoding | string | Optional. The phonetic encoding used for the 'pronunciations' array. Can be 'ipa' or 'xsampa'. Defaults to 'ipa'. |
| pronunciations | array | Optional. An array of custom pronunciations. Each item should be a string in the format 'phrase:phonetic_representation' (e.g., 'tomato:təˈmeɪtoʊ'). All items must use the same encoding specified by 'pronunciation_encoding'. |
| text * | string | The text to synthesize into speech. |
| voice_name | string |
ffmpeg_adjust_volumeAdjusts the volume of an audio file by a specified dB amount.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output audio file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_audio_uri * | string | URI of the input audio file (local path or gs://). |
| output_directory | string | Optional. Local directory to save the output audio file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output audio file. |
| output_filename | string | Optional. Desired name for the output audio file. The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output audio file to. |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output audio file. |
| volume_db_change * | number | Volume change in dB (e.g., -10 for -10dB, 5 for +5dB). |
ffmpeg_combine_audio_and_videoCombines separate audio and video files into a single video file.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output video file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_audio_uri * | string | URI of the input audio file (local path or gs://). |
| input_audio_volume_db_change | number | Optional. Volume change in dB for the input audio track (e.g., +5). |
| input_video_uri * | string | URI of the input video file (local path or gs://). |
| input_video_volume_db_change | number | Optional. Volume change in dB for the input video's audio track (e.g., -10). |
| output_directory | string | Optional. Local directory to save the output video file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output video file (e.g., 'combined.mp4'). |
| output_filename | string | Optional. Desired name for the output file (e.g., 'combined.mp4'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output video file to. |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output video file. |
ffmpeg_concatenate_media_filesConcatenates multiple media files. If output is WAV, inputs must be PCM WAV; otherwise, inputs are standardized to MP4/AAC before concatenation.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_media_uris * | array | Array of URIs for the input media files (local paths or gs://). |
| output_directory | string | Optional. Local directory to save the output file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output file (e.g., 'concatenated.mp4'). Extension determines behavior for audio concatenation. |
| output_filename | string | Optional. Desired name for the output file (e.g., 'concatenated.mp4'). The client-provided extension is honored and selects the output format (and determines behavior for audio concatenation). Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output file to. |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output file. |
ffmpeg_convert_audio_wav_to_mp3Converts a WAV audio file to MP3 format using FFMpeg.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output MP3 file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_audio_uri * | string | URI of the input WAV audio file (local path or gs://). |
| output_directory | string | Optional. Local directory to save the output MP3 file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output MP3 file (e.g., 'converted.mp3'). If omitted, a unique name is generated. |
| output_filename | string | Optional. Desired name for the output file (e.g., 'converted.mp3'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output MP3 file to. |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output MP3 file. |
ffmpeg_extract_frameExtracts a single still frame from a video as a PNG or JPEG image. Use mode=last_frame (default) to capture the exact final frame of the clip, or mode=at_timestamp to capture the frame at a specific time offset. The output is a single image file (local path and/or GCS URI), directly usable as a reference-image input for downstream conditioning (e.g. chaining video segments by conditioning the next segment on the last frame of the previous one). PNG (default) is lossless and best for conditioning; JPEG is available via output_format or the output_filename extension. Fails if the input has no video stream.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_media_uri * | string | URI of the input video file (local path or gs://). Must contain a video stream. |
| mode | string | Optional. 'last_frame' (default) extracts the exact final frame; 'at_timestamp' extracts the frame at 'timestamp' seconds. |
| output_directory | string | Optional. Local directory to save the output file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output file (e.g., 'frame.png'). |
| output_filename | string | Optional. Desired name for the output file (e.g., 'frame.png'). The client-provided extension is honored, selects the output format, and overrides output_format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated using output_format. An existing file of the same name is overwritten. |
| output_format | string | Optional. Output image format: 'png' (default, lossless) or 'jpg'. An extension in output_filename overrides this. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output file to (uses GENMEDIA_BUCKET if set and this is empty). |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output file. |
| timestamp | number | Conditional. Time offset in seconds from the start of the video (e.g., 1.5). Required when mode=at_timestamp; must be >= 0 and less than the input's duration. Ignored when mode=last_frame. |
ffmpeg_get_media_infoGets media information (streams, format, etc.) from a media file using ffprobe. Returns JSON output.| Parameter | Type | Description |
|---|---|---|
| input_media_uri * | string | URI of the input media file (local path or gs://). |
ffmpeg_layer_audio_filesLayers multiple audio files together (mixing).| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_audio_uris * | array | Array of URIs for the input audio files to layer (local paths or gs://). |
| output_directory | string | Optional. Local directory to save the output file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output mixed audio file (e.g., 'layered_audio.mp3'). |
| output_filename | string | Optional. Desired name for the output file (e.g., 'layered_audio.mp3'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output file to. |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output file. |
ffmpeg_normalize_loudnessNormalizes the perceived loudness of an audio file (or the audio track of a video file) to a target level using EBU R128 loudness normalization. This uses the accurate two-pass method: a first pass measures the input's actual integrated loudness, true peak, loudness range and threshold, and a second pass applies a linear correction toward the target using those measurements. This is more accurate than a single-pass normalize and avoids over- or under-correction. Useful for levelling recordings or generated speech so that quiet inputs are brought up and loud inputs are brought down to a consistent playback loudness. Defaults target -16 LUFS integrated loudness, -1.5 dBTP true peak and 11 LU loudness range, which suit streaming and web playback; all three can be overridden. When the input is a video its video stream is copied unchanged and only the audio is normalized. Fails if the input has no audio stream.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_media_uri * | string | URI of the input audio or video file (local path or gs://). Must contain an audio stream. |
| output_directory | string | Optional. Local directory to save the output file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output file (e.g., 'normalized.wav'). |
| output_filename | string | Optional. Desired name for the output file (e.g., 'normalized.wav'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated and the input's extension is preserved. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output file to (uses GENMEDIA_BUCKET if set and this is empty). |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output file. |
| target_loudness | number | Optional. Target integrated loudness in LUFS (EBU R128 'I'). Defaults to -16 (common for streaming/web/podcast). Use -23 for EBU R128 broadcast delivery. Valid range: -70 to -5. |
| target_loudness_range | number | Optional. Target loudness range in LU (loudnorm 'LRA'). Defaults to 11. Valid range: 1 to 50. |
| target_true_peak | number | Optional. Maximum true peak in dBTP (loudnorm 'TP'). Defaults to -1.5. Valid range: -9 to 0. |
ffmpeg_overlay_image_on_videoOverlays an image onto a video at specified coordinates.| Parameter | Type | Description |
|---|---|---|
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output video file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_image_uri * | string | URI of the input image file (local path or gs://). |
| input_video_uri * | string | URI of the input video file (local path or gs://). |
| output_directory | string | Optional. Local directory to save the output video file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output video file (e.g., 'overlayed_video.mp4'). |
| output_filename | string | Optional. Desired name for the output file (e.g., 'overlayed_video.mp4'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output video file to. |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output video file. |
| x_coordinate | number | X coordinate for the overlay (top-left). |
| y_coordinate | number | Y coordinate for the overlay (top-left). |
ffmpeg_resize_reframeResizes and reframes an image OR a video to a target geometry. A single image is treated as a one-frame stream, so the same tool handles both. Specify the target either as an explicit width and/or height in pixels, or as an aspect-ratio shorthand ('16:9', '9:16', '1:1'); the aspect_ratio can be combined with a single width or height (the other side is computed), or used alone (the input's width is kept). Providing both width and height sets the exact frame and ignores aspect_ratio. When the source and target aspect ratios differ, the mismatch is reconciled by 'reframe_mode': 'pad' (default) scales the whole picture to fit and fills the remainder with bars (letterbox/pillarbox), preserving all content; 'crop' scales to fill the frame edge-to-edge and trims the overflow. Pad is the default because it never discards picture content. Target dimensions are automatically rounded to even numbers, which many video codecs require. Works on local paths and gs:// URIs and preserves any audio stream unchanged.| Parameter | Type | Description |
|---|---|---|
| aspect_ratio | string | Optional. Target aspect ratio shorthand in W:H form (e.g. '16:9', '9:16', '1:1'). Used with a single width or height to size the frame, or alone to reframe at the input's width. Ignored when both width and height are given. |
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output file to. Takes precedence over the deprecated output_gcs_bucket. |
| height | number | Optional. Target height in pixels (must be positive). Combine with 'width' for an exact frame, with 'aspect_ratio' to compute the width, or alone for a proportional resize that keeps the input's aspect ratio. |
| input_media_uri * | string | URI of the input image or video file (local path or gs://). Must contain a visual (image or video) stream. |
| output_directory | string | Optional. Local directory to save the output file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output file. |
| output_filename | string | Optional. Desired name for the output file (e.g., 'reframed.mp4' or 'thumb.png'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated and the input's extension is preserved. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output file to (uses GENMEDIA_BUCKET if set and this is empty). |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output file. |
| pad_color | string | Optional. Fill colour for the bars added in 'pad' mode (e.g. 'black', 'white', '#000000', '0xFFFFFF'). Defaults to black. Ignored in 'crop' mode. |
| reframe_mode | string | Optional. How to handle an aspect-ratio mismatch: 'pad' (default) keeps the whole frame and adds bars; 'crop' fills the frame and cuts off the excess. |
| width | number | Optional. Target width in pixels (must be positive). Combine with 'height' for an exact frame, with 'aspect_ratio' to compute the height, or alone for a proportional resize that keeps the input's aspect ratio. |
ffmpeg_trim_mediaTrims (cuts) a single segment from an audio or video file, keeping only the portion between a start time and an end time (or for a given duration). Works for both audio and video inputs. By default the segment is extracted with a fast, lossless stream copy (no re-encode). Because a stream copy can only begin on a keyframe, the actual cut may start at the nearest keyframe at or before the requested start time, so it may not be exactly frame-accurate. Set re_encode=true for a frame-accurate cut at the exact start time; this re-encodes the segment, which is slower and slightly lossy. If a stream copy is not possible for the chosen output container, the tool automatically falls back to a re-encode.| Parameter | Type | Description |
|---|---|---|
| duration | number | Optional. Length of the segment to keep, in seconds (e.g., 10). Provide either 'duration' or 'end_time'. If both are given, 'duration' takes precedence. |
| end_time | number | Optional. End time of the segment to keep, in seconds from the beginning of the file. Must be greater than 'start_time'. Used only when 'duration' is not provided. |
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_media_uri * | string | URI of the input audio or video file (local path or gs://). |
| output_directory | string | Optional. Local directory to save the output file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output file (e.g., 'clip.mp4'). |
| output_filename | string | Optional. Desired name for the output file (e.g., 'clip.mp4'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated and the input's extension is preserved. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output file to (uses GENMEDIA_BUCKET if set and this is empty). |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output file. |
| re_encode | boolean | Optional. When true, re-encodes the segment for a frame-accurate cut at the exact start time instead of the default fast, lossless stream copy. Defaults to false. |
| start_time * | number | Start time of the segment to keep, in seconds from the beginning of the file (e.g., 5 or 12.5). Must be within the file's duration. |
ffmpeg_video_to_gifCreates a GIF from an input video using a two-pass FFMpeg process (palette generation and palette use).| Parameter | Type | Description |
|---|---|---|
| fps | number | Frames per second for the output GIF (e.g., 10, 15, 25). |
| gcs_bucket_uri | string | Optional. GCS bucket or URI prefix to upload the output GIF file to. Takes precedence over the deprecated output_gcs_bucket. |
| input_video_uri * | string | URI of the input video file (local path or gs://). |
| output_directory | string | Optional. Local directory to save the output GIF file. Takes precedence over the deprecated output_local_dir. |
| output_file_name | string | Optional (deprecated; use output_filename). Desired name for the output GIF file (e.g., 'animation.gif'). If omitted, a unique name is generated. |
| output_filename | string | Optional. Desired name for the output file (e.g., 'animation.gif'). The client-provided extension is honored and selects the output format. Takes precedence over the deprecated output_file_name. If omitted, a unique name is generated. An existing file of the same name is overwritten. |
| output_gcs_bucket | string | Optional (deprecated; use gcs_bucket_uri). GCS bucket to upload the output GIF file to (uses GENMEDIA_BUCKET if set and this is empty). |
| output_local_dir | string | Optional (deprecated; use output_directory). Local directory to save the output GIF file. |
| scale_width_factor | number | Factor to scale the input video's width by (e.g., 0.33 for 33%). Height is scaled automatically to maintain aspect ratio. Use 1.0 for original width. |
gemini_audio_ttsSynthesizes speech with Gemini TTS. Behavior depends on model_name. Gemini 3.8 (gemini-3.8-flash-lite-tts default, gemini-3.8-flash-tts for acting nuance and multi-speaker): text is read VERBATIM (put no instructions, headings, speaker names or 'Take 1' markers in it); prompt is a SHORT turn-level style (e.g. 'whispered, nervous'); inline vocal events use angle-bracket tags such as <sigh>, <laugh>, <gasp>, <short pause>, <long pause>; two-speaker dialogue via turns + speakers. Gemini <=3.1 (gemini-3.1-flash-tts-preview, gemini-2.5-*): served by the Cloud Text-to-Speech API; prompt may hold longer natural-language direction; inline tags use square brackets such as [sigh], [short pause]. The result text includes prompt advisories when the input uses patterns that misbehave on the selected model.| Parameter | Type | Description |
|---|---|---|
| audio_encoding | string | The format of the audio byte stream. Supported values: LINEAR16 (WAV), MP3, OGG_OPUS, MULAW, ALAW, PCM, M4A. Gemini 3.8 supports only LINEAR16, PCM, MULAW (8 kHz) and ALAW (8 kHz); convert WAV with the avtool server for other formats. |
| language_code | string | Optional BCP-47 language code. <=3.1 models default to en-US. Gemini 3.8 detects the language automatically; set this only to force a language. |
| model | string | The model to use. Takes precedence over the deprecated 'model_name' parameter. gemini-3.8-flash-lite-tts: fast, cost-efficient, recommended replacement for gemini-3.1-flash-tts-preview. gemini-3.8-flash-tts: highest fidelity, acting nuance, dialects, multi-speaker. Older models use the Cloud Text-to-Speech API. |
| model_name | string | Optional (deprecated; use model). The model to use. gemini-3.8-flash-lite-tts: fast, cost-efficient, recommended replacement for gemini-3.1-flash-tts-preview. gemini-3.8-flash-tts: highest fidelity, acting nuance, dialects, multi-speaker. Older models use the Cloud Text-to-Speech API. |
| output_directory | string | Optional. If provided, specifies a local directory to save the generated audio file to. If not provided, audio data is returned in the response. |
| output_filename | string | Optional. Client-predictable base name for the saved audio file. The extension is forced to the true audio media type of the selected audio_encoding (e.g. .wav, .mp3, .ogg). Used as-is for a single file (e.g. 'speech.wav'); multiple artifacts are suffixed '_1', '_2', ... before the extension. Takes precedence over the deprecated output_filename_prefix. An existing file of the same name is overwritten. |
| output_filename_prefix | string | Optional (deprecated; use output_filename). A prefix for the output audio filename if saving locally. A voice name, timestamp and extension will be appended. |
| prompt | string | Delivery direction. Gemini 3.8: a short turn-level style sent as speechMetadata.style (emotion, pace, prosody, e.g. 'warm and enthusiastic', 'speaking rapidly'); put permanent traits like accent, age or gender in the voice instead. <=3.1: natural-language style instructions (Cloud TTS prompt field). |
| speakers | array | Optional, Gemini 3.8 only. Exactly 2 speakers for turns, each mapping a speaker name to a voice. |
| text | string | The transcript to synthesize. Required unless turns is provided. Up to 800 characters for <=3.1 models, 4,000 for Gemini 3.8. |
| turns | array | Optional, Gemini 3.8 only. Two-speaker dialogue: one entry per turn. Requires speakers with exactly 2 entries. Overrides text. |
| voice_name | string | The voice. Any model: one of the 30 prebuilt voices (see list_gemini_voices). Gemini 3.8 only: also an Extended Voice Library ID (e.g. 'en-au-podcaster-4') or a designed/replicated voice ID ('voice_...' or 'voicekey_...'). Ignored when speakers is provided. |
gemini_image_generationGenerates content (text and/or images) based on a multimodal prompt using Gemini Image generation models.| Parameter | Type | Description |
|---|---|---|
| aspect_ratio | string | Aspect ratio of the generated images. Note: supported aspect ratios are model-dependent. |
| gcs_bucket_uri | string | Optional. GCS URI prefix to store generated images (e.g., your-bucket/outputs/). |
| image_size | string | Optional. Size of the generated images: 1K, 2K, or 4K. Defaults to 1K when unset. Note: supported sizes are model-dependent. |
| images | array | Optional. A list of local file paths or GCS URIs for input images. |
| model | string | |
| output_directory | string | Optional. Local directory to save generated image(s) to. |
| output_filename | string | Optional. Client-predictable base name for the generated file(s). The extension is forced to the true output media type (e.g. .png). When a single image is produced the name is used as-is (e.g. 'hero.png'); when multiple images are produced they are suffixed '_1', '_2', ... before the extension (e.g. 'hero_1.png', 'hero_2.png'). An existing file/object of the same name is overwritten. |
| prompt * | string | The text prompt for content generation. |
gemini_transcribeTranscribes a pre-recorded audio file to text using Google's Gemini 3.5 Transcribe model (synchronous mode). Supports language hints, custom vocabulary biasing, speaker diarization, word-level timestamps, and smart formatting. Audio must be <=15 minutes.| Parameter | Type | Description |
|---|---|---|
| custom_vocabulary | array | Optional. Up to 1000 phrases (brand names, proper nouns, domain terms) that bias recognition. Most reliable when language_codes is also set. |
| enable_diarization | boolean | Optional. Label individual speakers (up to 8). Incompatible with smart_formatting. |
| enable_word_timestamps | boolean | Optional. Return word-level start/end offsets. Incompatible with smart_formatting. |
| gcs_bucket_uri | string | Optional. GCS URI prefix to store the transcription result (JSON), e.g. your-bucket/transcripts/. |
| input_audio * | string | The audio to transcribe: either a local file path or a gs:// URI. Supported formats include WAV, MP3, OGG/Opus, FLAC, M4A/AAC, AIFF, AMR, WEBM, and PCM. |
| language_codes | array | Optional. BCP-47 language code hints (e.g. ["en-US", "es-ES"]). Omit for automatic language detection. |
| mime_type | string | Optional. The MIME type of the audio (e.g. audio/wav, audio/mpeg, audio/ogg). Inferred from the file extension when omitted. |
| model | string | Optional. The transcription model to use. Defaults to the synchronous gemini-3.5-transcribe-preview. |
| output_directory | string | Optional. Local directory to save the transcription result (JSON) to. When omitted, the transcript is returned in the response only. |
| output_filename | string | Optional. Client-predictable base name for the saved transcript. The extension is forced to .json. An existing file/object of the same name is overwritten. |
| smart_formatting | boolean | Optional. Use SMART mode: filler-word removal, light grammatical cleanup, and automatic formatting. Incompatible with enable_diarization and enable_word_timestamps. |
imagen_edit_inpainting_insertAdds content to a masked area of an image.| Parameter | Type | Description |
|---|---|---|
| image_uri * | string | The GCS URI of the image to edit. |
| mask_dilation | number | The dilation to apply to the mask. |
| mask_mode * | string | The masking mode to use (e.g., MASK_MODE_FOREGROUND, MASK_MODE_SEMANTIC). |
| prompt * | string | A description of the content to add. |
| segmentation_classes | array | The segmentation classes to use for semantic masking. |
imagen_edit_inpainting_removeRemoves content from a masked area of an image.| Parameter | Type | Description |
|---|---|---|
| image_uri * | string | The GCS URI of the image to edit. |
| mask_dilation | number | The dilation to apply to the mask. |
| mask_mode * | string | The masking mode to use (e.g., MASK_MODE_FOREGROUND, MASK_MODE_SEMANTIC). |
| segmentation_classes | array | The segmentation classes to use for semantic masking. |
imagen_t2iGenerates an image based on a text prompt using Google's Imagen models. The image can be returned as base64 data, saved to a local directory, or stored in a Google Cloud Storage bucket.| Parameter | Type | Description |
|---|---|---|
| aspect_ratio | string | Aspect ratio of the generated images (e.g., "1:1", "16:9", "9:16"). |
| gcs_bucket_uri | string | Optional. GCS URI prefix to store the generated images (e.g., your-bucket/outputs/ or gs://your-bucket/outputs/). |
| image_size | string | Optional. The size of the largest dimension of the generated image. Supported sizes are 1K and 2K (not supported for Imagen 3 models). |
| model | string | |
| num_images | number | Number of images to generate (1-4). Note: the maximum is model-dependent. |
| output_directory | string | Optional. Local directory to save the generated image(s) to. |
| output_filename | string | Optional. Base name for the output file(s). The extension is forced to the true image type (e.g. .png). For a single image the name is used as-is (foo.png); for multiple images a 1-based suffix is inserted before the extension (foo_1.png, foo_2.png, ...). For GCS output the API-written objects are copy-renamed to this name after generation (adds a short GCS copy latency). |
| prompt * | string | Prompt for text to image generation |
list_chirp_voicesLists Chirp3-HD voices, filtered by the provided language (either descriptive name or BCP-47 code).| Parameter | Type | Description |
|---|---|---|
| language * | string | The language to filter voices by. Can be a descriptive name (e.g., 'English (United States)') or a BCP-47 code (e.g., 'en-US'). |
list_gemini_voicesLists Gemini TTS voices. With no arguments, returns the 30 prebuilt voices (valid for every model). With search, language_code, accent or voice_types, queries the Voices API for Gemini 3.8 models: the Extended Voice Library (~2,000 voices with accent, gender, pitch and persona metadata) and voices designed or replicated in this project.| Parameter | Type | Description |
|---|---|---|
| accent | string | Optional. Substring match on the accent label, e.g. 'Sydney', 'Dublin', 'Manchester', 'Indian English'. |
| language_code | string | Optional. Filter by language code prefix, e.g. 'en' or 'en-AU'. |
| limit | number | Optional. Maximum voices to return when querying the Voices API (default 25). |
| search | string | Optional. Case-insensitive text matched against voice display names and descriptions (e.g. 'narrator', 'radio host'). Does not match accent labels; use accent for that. |
| voice_types | array | Optional. Voice sources: prebuilt (prebuilt + library), prompted (Voice design), replicated. |
lyria_generate_musicnanobanana_image_generationGenerates content (text and/or images) based on a multimodal prompt using Gemini Image generation models.| Parameter | Type | Description |
|---|---|---|
| aspect_ratio | string | Aspect ratio of the generated images. Note: supported aspect ratios are model-dependent. |
| gcs_bucket_uri | string | Optional. GCS URI prefix to store generated images (e.g., your-bucket/outputs/). |
| image_size | string | Optional. Size of the generated images: 1K, 2K, or 4K. Defaults to 1K when unset. Note: supported sizes are model-dependent. |
| images | array | Optional. A list of local file paths or GCS URIs for input media (images, videos, or PDFs). |
| model | string | |
| output_directory | string | Optional. Local directory to save generated image(s) to. |
| output_filename | string | Optional. Client-predictable base name for the generated file(s). The extension is forced to the true output media type (e.g. .png). When a single image is produced the name is used as-is (e.g. 'hero.png'); when multiple images are produced they are suffixed '_1', '_2', ... before the extension (e.g. 'hero_1.png', 'hero_2.png'). An existing file/object of the same name is overwritten. |
| prompt * | string | The text prompt for content generation. |
| seed | number | Optional. Non-negative integer seed for best-effort reproducible image generation. Not supported by gemini-nano-banana-2.1 (ignored for that model). |
omni_video_generationveo_extend_videoveo_first_last_to_videoveo_i2vveo_ingredients_to_videoveo_reference_to_videoveo_t2vSecurity checks
Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 936 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and 5 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 936 words, fetched 3 days ago. The original in the repository is authoritative.
Read full README