AGENT SKILL

gemini

Google Gemini media generation: Nano Banana images, Imagen 4 images, Veo video, TTS, model listing. Trigger phrases: gemini image, nano banana, imagen, veo video, google veo, gemini tts.

License 许可
MIT
所属仓库
TanNhatCMS/jarvis
最近更新
2026-11-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
gemini
tagline
Google Gemini media generation: Nano Banana images, Imagen 4 images, Veo video, TTS, model listing.
metadata
{ "includeInPrompt": true }
description
Google Gemini media generation: Nano Banana images, Imagen 4 images, Veo video, TTS, model listing. Trigger phrases: gemini image, nano banana, imagen, veo video, google veo, gemini tts.
catalog_auth
API key via the secure credential flow
catalog_hosts
[ "generativelanguage.googleapis.com" ]

02 资源文件 1

03 SKILL.md 正文

Gemini (media generation)

Purpose

Generate images (Nano Banana, Imagen 4), video (Veo 3.1), and speech (TTS) through Google's Gemini API with one key and one bill. Use when Michael asks for AI-generated images, video clips, thumbnails, or voiceovers via Google.

Tooling

All commands go through bin/gemini.py:

bin/gemini.py auth                                                        # verify the API key (free)
bin/gemini.py models --limit 50                                           # list available models
bin/gemini.py image --prompt "a ceramic fox" --out /tmp/fox               # Nano Banana text-to-image (or edit with --image)
bin/gemini.py image --prompt "make it night" --image ./fox.png --out /tmp/fox-night
bin/gemini.py imagen --prompt "studio product shot" --count 2 --out /tmp/prod   # Imagen 4
bin/gemini.py video --prompt "a drone shot over a harbor"                 # Veo 3.1, prints an operation id
bin/gemini.py op-status --op operations/abc123                            # poll the Veo operation
bin/gemini.py tts --text "Hello there" --voice Kore --out /tmp/line       # text-to-speech

image and imagen save files to the --out prefix and are synchronous. video is async: it returns an operation id, poll op-status until done is true, then download the video file (files.download). --json merges extra fields into any request.

Auth

  • Provider id: gemini (credential is collected as custom.gemini)
  • Collection: API key via the secure credential flow (credentials.request_api_access); created in Google AI Studio (aistudio.google.com/apikey)
  • Allowed hosts: generativelanguage.googleapis.com
  • Status check: bin/gemini.py auth (must return "ok": true). The key is sent verbatim as the x-goog-api-key header.

Operating Rules

  1. COST WARNING: all media generation requires a BILLING-ENABLED Google Cloud project. Free-tier media quota is 0, so calls without billing fail. This is the number one integration pitfall.
  2. Every generation spends real money: Veo 3 ~$0.40/sec, Veo 3.1 Fast ~$0.10/sec, Veo 3.1 Lite ~$0.05/sec, Imagen 4 ~$0.02-0.06/image, Nano Banana ~$0.02-0.04/image. Confirm with Michael before every generation, stating the model and expected cost.
  3. Veo renders take minutes. Poll op-status with backoff; do not hammer it.
  4. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/gemini.py). Do not print, log, or transmit the key value.

Files

Maturity

🧪 Draft: written from Google's public Gemini API docs via the research dossier; not yet live-tested end-to-end.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

web-scrape

Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

design-taste-frontend

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

★ 0