genmedia-image
Skill1.2k starsChanged 6 months agoApache-2.0View on GitHub
Generate images from a text prompt (optionally guided by reference images) using the genmedia Nanobanana MCP server's nanobanana_image_generation tool. Use when a task needs a still image produced from a description, with control over aspect ratio, resolution, and local vs GCS output, and verified by confirming the artifact was actually written.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about GoogleCloudPlatform/genmedia-creative-studio
- sudosubin/agents.nix“agent-plugins.github.googlecloudplatform.genmedia-creative-studio: init at 3.20.1”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.googlecloudplatform.genmedia-creative-studio: init at 3.20.1”GitHub · Sep 27, 2026
- ghchinoy/genmedia-creative-studio“chore(main): release mcp 3.21.0”GitHub · Aug 10, 2026
- renovate-bot/GoogleCloudPlatform-_-vertex-ai-creative-studio“chore(main): release mcp 3.21.0”GitHub · Aug 10, 2026
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- genmedia-producerSkill
- producerSkill
- agent-aware-cliSkill
- build-mcp-genmediaSkill
- genmedia-audio-engineerSkill
- genmedia-image-artistSkill
- genmedia-producerSkill
- genmedia-video-editorSkill
- genmedia-voice-directorSkill
- install-mcp-genmediaSkill
- story-generatorSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Managed Agent / GCS Mode: When executing inside a managed agent container where the MCP server runs remotely on Cloud Run, pass …
- Distinctive: line 30
Do not pass both modes' destinations for the same call unless you intentionally want output in both places.
- Distinctive: line 58
Ensure every referenced path/URI actually exists before the call.
- Very specific: line 62
Call nanobanana_image_generation with the parameters assembled above.
- Distinctive: line 89
If no artifact is found, treat the generation as failed and surface the tool response for debugging rather than reporting success.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
genmedia Image
This skill generates images by calling the nanobanana_image_generation tool
exposed by the genmedia Nanobanana MCP server. It is a single-purpose skill:
one tool, one job. It supports both local workspace execution and remote / managed
agent execution via GCS staging, and it always verifies that a real artifact was
produced — never that the call merely returned without error.
Prerequisite: the genmedia Nanobanana MCP server must already be configured
in your client (e.g. via this plugin's mcp.json / .mcp.json, or a manual MCP
config). The server needs GOOGLE_CLOUD_PROJECT and Application Default
Credentials (ADC) in its environment for Vertex AI calls.
Instructions
- Resolve Output Storage Mode:
- Local Mode (Default): Pass
output_directorypointing to the target local workspace directory. The artifact is written to that local path. - Managed Agent / GCS Mode: When executing inside a managed agent
container where the MCP server runs remotely on Cloud Run, pass
gcs_bucket_uri(a GCS URI prefix such asyour-bucket/outputs/) — or set theGENMEDIA_BUCKETenvironment variable — pointing to the mounted GCS environment bucket. - Do not pass both modes' destinations for the same call unless you intentionally want output in both places.
- Local Mode (Default): Pass
- Formulate Imagery Parameters:
prompt(required): a detailed text description. Favor concrete style, subject, lighting, and composition language (e.g. "a photorealistic red panda sitting in a bamboo forest, golden hour lighting").model(optional): defaults togemini-3.1-flash-image. Leave unset unless you have a specific model requirement.aspect_ratio(optional): defaults to1:1. Supported ratios are model-dependent (common values include1:1,3:4,4:3,9:16,16:9). Choose the ratio that matches the intended use (e.g.16:9for a hero banner,9:16for a vertical/mobile frame).image_size(optional):1K,2K, or4K. Defaults to1Kwhen unset. Supported sizes are model-dependent.output_filename(optional): a client-predictable base name (e.g.hero.png). The extension is forced to the true output media type. When a single image is produced the name is used as-is; when multiple images are produced they are suffixed_1,_2, … before the extension. An existing file/object of the same name is overwritten.seed(optional): a non-negative integer for best-effort reproducible generation.
- Reference Images (optional,
images):- To guide generation with existing media, pass
imagesas a list of local file paths or GCS URIs (images, and — where the model supports it — videos or PDFs). Use this for edits, style transfer, character consistency, or compositing from source frames. - Ensure every referenced path/URI actually exists before the call; a missing reference produces a degraded or failed result.
- To guide generation with existing media, pass
- Invoke the tool:
- Call
nanobanana_image_generationwith the parameters assembled above. - Local Mode example params:
{ "prompt": "...", "aspect_ratio": "16:9", "output_directory": "./out", "output_filename": "hero.png" } - GCS Mode example params:
{ "prompt": "...", "aspect_ratio": "16:9", "gcs_bucket_uri": "your-bucket/outputs/", "output_filename": "hero.png" } - Reference-guided example params:
{ "prompt": "same character, new pose", "images": ["./refs/character.png"], "output_directory": "./out", "output_filename": "pose.png" }
- Call
- Verify the Artifact By Existence (do not trust the response alone):
- A tool call that returns without an error is not proof an image was
written. In some clients and in GCS mode the server returns a
resource_linkcontent type that cannot be rendered even though the file was written — never assume inline data. - Local Mode: confirm the file exists and is a real, non-empty image, and
inspect its type:
file "<output_directory>/<output_filename>" # e.g. "... PNG image data, 1024 x 1024" - GCS Mode: confirm the object exists at the destination prefix by
listing it — do not parse the tool response:
Note: if you relied on thegcloud storage ls "gs://<gcs_bucket_uri prefix>"GENMEDIA_BUCKETenvironment variable instead of passinggcs_bucket_uriexplicitly, the server writes under ananobanana_outputs/subprefix — listgs://<GENMEDIA_BUCKET>/nanobanana_outputs/, not the bare bucket. - If no artifact is found, treat the generation as failed and surface the tool response for debugging rather than reporting success.
- A tool call that returns without an error is not proof an image was
written. In some clients and in GCS mode the server returns a
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

