Borrowing it
Nothing to install: this file belongs to fltman/create-agentic-product. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fltman/create-agentic-product/main/.claude/skills/gemini-imagegen/SKILL.mdgit clone --depth 1 https://github.com/fltman/create-agentic-productWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fltman/create-agentic-product/gemini-imagegen)<a href="https://agentmods.dev/skills/fltman/create-agentic-product/gemini-imagegen"><img src="https://agentmods.dev/badge/skills/fltman/create-agentic-product/gemini-imagegen/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fltman/create-agentic-product/gemini-imagegen"><img src="https://agentmods.dev/badge/skills/fltman/create-agentic-product/gemini-imagegen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00049 | $0.00837 |
| Opus 5.5 | $0.00020 | $0.00335 |
| Sonnet 5.5 | $0.00010 | $0.00167 |
| Haiku 4.5 | $0.00005 | $0.00084 |
Grade A, and why
gemini-imagegen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Gemini Image Generation
Generate high-quality AI images using Google's Gemini model via OpenRouter API.
Capabilities
- Text-to-image: Create images from text descriptions
- Image-to-image: Transform existing images based on prompts (style transfer, editing, variations)
Requirements
Before using this skill, ensure:
-
Python packages are installed:
pip install openai python-dotenv -
API key is set:
export OPENROUTER_API_KEY="your-openrouter-api-key"Get your key at: https://openrouter.ai/keys
Usage
Text-to-Image
Generate an image from a text description:
python scripts/generate_image.py --prompt "A serene Japanese garden with cherry blossoms" --output garden.png
Image-to-Image
Transform an existing image:
python scripts/generate_image.py --input photo.jpg --prompt "Transform into a watercolor painting style" --output watercolor.png
Script Arguments
| Argument | Short | Required | Description |
|---|---|---|---|
--prompt |
-p |
Yes | Text description of the desired image |
--output |
-o |
No | Output file path (default: generated_image.png) |
--input |
-i |
No | Input image for image-to-image mode |
--model |
-m |
No | Model ID (default: google/gemini-3-pro-image-preview) |
Prompt Tips
For best results:
- Be specific: Include details about style, lighting, composition, and mood
- Reference art styles: "in the style of impressionism", "photorealistic", "anime style"
- Describe lighting: "soft morning light", "dramatic shadows", "golden hour"
- Include atmosphere: "mysterious", "cheerful", "melancholic"
Example Prompts
Portrait:
A portrait of an elderly fisherman with weathered skin and kind eyes,
wearing a knit cap, soft natural lighting, shallow depth of field,
photorealistic style
Landscape:
A misty mountain valley at dawn, pine forests in the foreground,
snow-capped peaks in the distance, rays of sunlight breaking through
clouds, epic cinematic composition
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 119 lines · 49 tokens per session scan A 852e62ba0d13
gemini-imagegen is a skill published in the GitHub repository fltman/create-agentic-product (48 stars, last pushed 9d ago), licensed MIT. It adds 49 tokens to every session and 837 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gemini-imagegen compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gemini-imagegenfltman/create-agentic-product | Skill | 48 | 9d ago | MIT | A | 49 | Claude Code |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 103 | Claude Code |