Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Jamkris/everything-gemini-code --skill fal-ai-mediagit clone --depth 1 https://github.com/Jamkris/everything-gemini-codeWrote 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/jamkris/everything-gemini-code/fal-ai-media)<a href="https://agentmods.dev/skills/jamkris/everything-gemini-code/fal-ai-media"><img src="https://agentmods.dev/badge/skills/jamkris/everything-gemini-code/fal-ai-media/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/jamkris/everything-gemini-code/fal-ai-media"><img src="https://agentmods.dev/badge/skills/jamkris/everything-gemini-code/fal-ai-media.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.00078 | $0.01930 |
| Opus 5 | $0.00039 | $0.00965 |
| Sonnet 5 | $0.00016 | $0.00386 |
| Haiku 4.5 | $0.00008 | $0.00193 |
Grade B, and why
fal-ai-media scanned grade B with 2 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 7d 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
resp = requests.post( "https://api.elevenlabs.io/v1/text-to-speech/<voice_id>", Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
resp = requests.post( This is a copy
92% identical to fal-ai-media — 56 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.
fal.ai Media Generation
Drift-prone skill. fal.ai model IDs, pricing, inputs, and MCP tool names change quickly. Search or fetch the current model metadata before promising a specific model, parameter, output format, or cost.
Generate images, videos, and audio using fal.ai models via MCP.
When to Use
- User wants to generate images from text prompts
- Creating videos from text or images
- Generating speech, music, or sound effects
- Any media generation task
- User says "generate image", "create video", "text to speech", "make a thumbnail", or similar
MCP Requirement
fal.ai MCP server must be configured. Add to ~/.gemini.json:
"fal-ai": {
"command": "npx",
"args": ["-y", "fal-ai-mcp-server"],
"env": { "FAL_KEY": "YOUR_FAL_KEY_HERE" }
}
Get an API key at fal.ai.
MCP Tools
The fal.ai MCP provides these tools:
search— Find available models by keywordfind— Get model details and parametersgenerate— Run a model with parametersresult— Check async generation statusstatus— Check job statuscancel— Cancel a running jobestimate_cost— Estimate generation costmodels— List popular modelsupload— Upload files for use as inputs
Image Generation
Nano Banana 2 (Fast)
Best for: quick iterations, drafts, text-to-image, image editing.
generate(
app_id: "fal-ai/nano-banana-2",
input_data: {
"prompt": "a futuristic cityscape at sunset, cyberpunk style",
"image_size": "landscape_16_9",
"num_images": 1,
"seed": 42
}
)
Nano Banana Pro (High Fidelity)
Best for: production images, realism, typography, detailed prompts.
generate(
app_id: "fal-ai/nano-banana-pro",
input_data: {
"prompt": "professional product photo of wireless headphones on marble surface, studio lighting",
"image_size": "square",
"num_images": 1,
"guidance_scale": 7.5
}
)
Common Image Parameters
| Param | Type | Options | Notes |
|---|---|---|---|
prompt |
string | required | Describe what you want |
image_size |
string | square, portrait_4_3, landscape_16_9, portrait_16_9, landscape_4_3 |
Aspect ratio |
num_images |
number | 1-4 | How many to generate |
seed |
number | any integer | Reproducibility |
guidance_scale |
number | 1-20 | How closely to follow the prompt (higher = more literal) |
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.
- 7d ago First seen · 289 lines · 78 tokens per session scan B c6f23a789e3b
fal-ai-media is a skill published in the GitHub repository Jamkris/everything-gemini-code (87 stars, last pushed 3mo ago), licensed MIT. It adds 78 tokens to every session and 1,930 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 92% identical to fal-ai-media, differing in 56 lines, and is treated as a copy.
Other skills, from other repositories
image-prompt
A Korean-language skill that turns a rough image idea into a detailed prompt for gpt-image-2, OpenAI’s image-generation model.
ai-media-generation-expert
Expert guide for AI image generation (Flux, DALL-E, Stable Diffusion), video generation (Sora, Runway), voice synthesis (ElevenLabs TTS), and speech recognition (Whisper STT) integration / Panduan ahli integrasi AI generasi gambar, video, suara (TTS), dan pengenalan suara (STT).
media-analysis
A workflow for examining audio, images, and video using metadata checks, subtitles, extracted frames, speech transcription, and text recognition from images.
market-skill
The main marketing skill. Teaches AI how to produce high-quality marketing assets from scratch. Covers visual direction, motion design, copywriting, platform strategy, and brand identity. For Remotion videos, Nano Banana graphics, Substack headers, X posts, LinkedIn, and product launches. Stops the AI from producing…
nano-banana-skill
Nano Banana image generation for marketing assets. Artist-level visual direction for brand graphics, thumbnails, Substack covers, X post backgrounds, and LinkedIn headers. Covers prompt architecture, lighting direction, composition rules, style consistency, and what to never generate. Stops AI from producing generic…
remotion-skill
Remotion video composition for marketing. Teaches AI to write Apple-quality motion in React/TypeScript. Covers spring physics, composition architecture, frame timing, text reveal patterns, and platform-specific output. For X posts, Substack headers, LinkedIn launches, and product demos. Stops AI from writing flat…