Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Gemini Cli Media Generation

FreeNot checked

An example of using Gemini CLI with MCP Servers for Genmedia and Gemini 2.5 Flash Image model

GitHubEmbed

About

An example of using Gemini CLI with MCP Servers for Genmedia and Gemini 2.5 Flash Image model

README

An experimental demonstration of using MCP Servers for Genmedia in Gemini CLI with planned iterative ideation and media generation.

AI Generated Capybara

It uses Imagen 4 and Veo 3 models through MCP Servers for Genmedia.

It also edits images using gemini-2.5-flash-image-preview model (aka nano-🍌) for character and scene consistency.

Demo video: TODO

How to try

  1. Install gcloud CLI and Gemini CLI.

    If you didn't use Google Cloud before, get a free trial.

    If gcloud auth print-identity-token -q CLI command result is empty, run gcloud auth login --update-adc.

  2. Enable Vertex AI APIs in your project.

NOTE: From here, you can ask Gemini CLI to perform steps 2 to 5 for you. Simply run gemini, choose Vertex AI authentication option, and ask it to perform steps 2 to 5 from the instructions below. Sometimes, it may need your help 🙂

  1. Clone Vertex AI Creative Studio repository inside this repo's clone:

    git clone https://github.com/GoogleCloudPlatform/vertex-ai-creative-studio
    
  2. Install MCP Servers for Genmedia.

  3. Create a Cloud Storage Bucket, and give Vertex AI Service Agent service account read and write access to the bucket.

    Vertex AI Service Agent is [email protected] account PROJECT_NUMBER is your project's number. You can give it access on Permissions tab of your bucket's page. Project number can be found here.

  4. Clone this repository (finally!):

    git clone https://github.com/vladkol/gemini-cli-media-generation
    cd gemini-cli-media-generation
    
  5. Create .env file with your Google Cloud Project Id, location/region, and the bucket name. Use .env.template as a starter.

  6. Configure MCP Servers in Gemini CLI. Use .gemini/settings.sample.json as a starter (we only need Imagen, Veo and AVTool servers).

  7. Delete or rename the following sub-directories:

    • generated_images
    • generated_videos
    • prompts

    They are here as an example.

  8. Run a new session of Gemini CLI - gemini

  9. Ask it to create a video based on your idea!

  10. Sign up for an Accelerate AI with Cloud Run developer workshop near you! 🚀

NOTE

This project is a demonstration of vibe coding intended to provide an example with verification through human feedback. The goal is to show an idea for further development. It is not intended for use in a production environment.

All media assets and code in this repository are AI generated.

from github.com/vladkol/gemini-cli-media-generation

Installing Gemini Cli Media Generation

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/vladkol/gemini-cli-media-generation

FAQ

Is Gemini Cli Media Generation MCP free?

Yes, Gemini Cli Media Generation MCP is free — one-click install via Unyly at no cost.

Does Gemini Cli Media Generation need an API key?

No, Gemini Cli Media Generation runs without API keys or environment variables.

Is Gemini Cli Media Generation hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Gemini Cli Media Generation in Claude Desktop, Claude Code or Cursor?

Open Gemini Cli Media Generation on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Gemini Cli Media Generation with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All media MCPs