fal-ai-media

fal-ai-media is a skill for Claude Code, Codex from affaan-m/ECC. It costs 78 tokens per session (1,850 once invoked), scanned B, original, MIT.

A guide for generating images, videos, speech, music, and sound effects through fal.ai, an AI media-generation service connected through an MCP server.

In plain words
What is it for?
Use it when creating images, making videos from text or images, generating speech or other audio, uploading source files, or checking generation status.
Why use it?
It gives an agent instructions for finding models, supplying inputs, checking jobs, estimating costs, and cancelling running generations.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Part of the ecc plugin — 81 skills, 58 commands, 71 agents, 1 MCP server shipped together

Good fit Use it when creating images, making videos from text or images, generating speech or other audio, uploading source files, or checking generation status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/affaan-m/ecc/fal-ai-media
About the project

ECC is a toolkit that organizes and improves how coding agents work through skills, memory, security checks, research practices, and related extensions. It is for developers using agents such as Claude Code, Codex, OpenCode, and Cursor.

affaan-m/ECC · 313,018 stars · on GitHub · ecc.tools

Install

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.

Any agent
npx skills add affaan-m/ECC --skill fal-ai-media
Clone the repo
git clone --depth 1 https://github.com/affaan-m/ECC

Made for: Claude Code, Codex.

Or install ecc, the plugin that ships this one along with the rest of its 81 skills, 58 commands, 71 agents, 1 MCP server.

Wrote 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.

agentmods badge for fal-ai-media

README.md
[![agentmods](https://agentmods.dev/badge/skills/affaan-m/ecc/fal-ai-media/github.svg)](https://agentmods.dev/skills/affaan-m/ecc/fal-ai-media)
Your own site
<a href="https://agentmods.dev/skills/affaan-m/ecc/fal-ai-media"><img src="https://agentmods.dev/badge/skills/affaan-m/ecc/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.

agentmods 80×15 button for fal-ai-media

Your own site · 80×15
<a href="https://agentmods.dev/skills/affaan-m/ecc/fal-ai-media"><img src="https://agentmods.dev/badge/skills/affaan-m/ecc/fal-ai-media.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,850 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review Third-party audits
  • Socket warn 22 Oct 2026
  • Snyk pass 22 Oct 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 16
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Data Exfiltration · line 214
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 214
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 215
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01850
Opus 5.5 $0.00031 $0.00740
Sonnet 5.5 $0.00016 $0.00370
Haiku 4.5 $0.00008 $0.00185

Measured 2mo ago against content hash fa1016998c7e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 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.

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(
Origin

Copies of this mod

8 near-identical copies found in the catalogue:

.agents/skills/fal-ai-media/SKILL.md · 278 lines

How it starts

The opening of the file, as written. The whole thing — 278 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fal.ai Media Generation

Generate images, videos, and audio using fal.ai models via MCP.

When to Activate

  • 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 ~/.claude.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 keyword
  • find — Get model details and parameters
  • generate — Run a model with parameters
  • result — Check async generation status
  • status — Check job status
  • cancel — Cancel a running job
  • estimate_cost — Estimate generation cost
  • models — List popular models
  • upload — Upload files for use as inputs

Image Generation

Nano Banana 2 (Fast)

Best for: quick iterations, drafts, text-to-image, image editing.

generate(
  model_name: "fal-ai/nano-banana-2",
  input: {
    "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(
  model_name: "fal-ai/nano-banana-pro",
  input: {
    "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)

Read the full file on GitHub · 278 lines

Files

What ships with it

1 file 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.

Changes

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.

  1. 2mo ago Changed · +1 lines fa1016998c7e
  2. 3mo ago First seen · 277 lines · 78 tokens per session scan B 2420f083fdf4

Subscribe to this mod's changes

fal-ai-media is a skill published in the GitHub repository affaan-m/ECC (313,018 stars, last pushed 7d ago), licensed MIT. It adds 78 tokens to every session and 1,850 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

fal-ai-media compared with skills from other repositories

fal-ai-media next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fal-ai-mediaaffaan-m/ECCSkill313k7d agoMITB78Claude Code, Codex
dcf-modelNousResearch/hermes-agentSkill267ktodayMITA14Claude Code, Codex
ascii-videoNousResearch/hermes-agentSkill267ktodayMITA17Claude Code, Codex
grounded-citationsNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
hermes-agent-skill-authoringNousResearch/hermes-agentSkill267ktodayMITA22Claude Code, Codex
systematic-debuggingNousResearch/hermes-agentSkill267ktodayMITA16Claude Code, Codex
baoyu-article-illustratorNousResearch/hermes-agentSkill267ktodayMITA18Claude Code, Codex