# google-gemini-media skill

![Gemini media skills cover](cover-image/cover.jpg)

Open-source **Skill** package that aggregates Gemini API guidance for:
- Image generation
- Image understanding
- Video generation (Veo)
- Video understanding
- Speech generation (TTS)
- Audio understanding

Start with **SKILL.md** for the full workflow, routing, and templates.

## Getting started

### Prerequisites
- Node.js 18+
- `GEMINI_API_KEY` in your environment (see `.env.example`)

### Install (Node.js examples)
```bash
npm install @google/genai
```

### Run an example
```bash
export GEMINI_API_KEY=YOUR_KEY
node examples/node/image_generate.mjs
```

### Run a REST example
```bash
export GEMINI_API_KEY=YOUR_KEY
bash examples/rest/image_generate.sh
```

## Folder contents
- `SKILL.md` – main skill document (workflows, routing, templates, constraints)
- `examples/` – runnable examples (Node.js + REST)
- `.env.example` – environment variable template

## Contributing
See `CONTRIBUTING.md`.

## Security
See `SECURITY.md`.

## License
MIT (see `LICENSE`).
