Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/fal-ai-community/genmedia-clinpx agentmods add skills/fal-ai-community/genmedia-cli/genmediaWrote 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/fal-ai-community/genmedia-cli/genmedia)<a href="https://agentmods.dev/skills/fal-ai-community/genmedia-cli/genmedia"><img src="https://agentmods.dev/badge/skills/fal-ai-community/genmedia-cli/genmedia/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/fal-ai-community/genmedia-cli/genmedia"><img src="https://agentmods.dev/badge/skills/fal-ai-community/genmedia-cli/genmedia.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.00072 | $0.01611 |
| Opus 5 | $0.00036 | $0.00805 |
| Sonnet 5 | $0.00014 | $0.00322 |
| Haiku 4.5 | $0.00007 | $0.00161 |
Grade A, and why
genmedia scanned grade A with 1 finding 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 9d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
**not** `curl` the URLs yourself; use the flag. How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
genmedia workflow
Use this skill when the user wants to execute a fal.ai model — either by
task description (e.g. "generate a video of a dog running") or by a specific
endpoint_id (e.g. fal-ai/flux/dev). Load genmedia-ref alongside this
skill for the full command reference.
Steps
-
Discover — If no endpoint_id is given, search for a suitable model:
genmedia models "<task>" --json -
Inspect — Get the model's input parameters:
genmedia schema <endpoint_id> --jsonRead all required fields before running.
-
Upload files (if inputs include images/video/audio):
genmedia upload <local_file_or_url> --jsonUse the returned
urlas the parameter value. -
Run the model:
- Fast model (completes in seconds):
genmedia run <endpoint_id> --<param> <value> ... --json - Slow model (video generation, large jobs):
genmedia run <endpoint_id> --<param> <value> ... --async --json genmedia status <endpoint_id> <request_id> --result --json
- Fast model (completes in seconds):
-
Save outputs — when the user expects files on disk, add
--downloadtorunorstatus. The CLI writes every media URL from the result to the filesystem and returns the local paths indownloaded_files[]. Do notcurlthe URLs yourself; use the flag.genmedia run fal-ai/flux/dev --prompt "a cat" --download --json # cwd, source file names genmedia run fal-ai/flux/dev --prompt "a cat" --num_images 3 --download "./out/{index}.{ext}" --json genmedia status <endpoint_id> <request_id> --download ./out/ --json # implies --resultUse
{index},{name},{ext},{request_id}placeholders in the template when the model returns multiple files (images[],image_urls[], etc.) to avoid filename collisions. A trailing/or an existing directory path saves files under that directory using their source names.
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.
- 9d ago First seen · 164 lines · 72 tokens per session scan A 87549d3978d8
genmedia is a skill published in the GitHub repository fal-ai-community/genmedia-cli (70 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 1,611 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
imagemagick
Edit and convert images with the ImageMagick magick CLI — resize, crop, convert format, compress, rotate, montage, annotate. Use for any still-image transformation.
audio-transcribe
Transcribe speech from audio files (mp3, m4a, wav, ogg, flac, webm) to text using the local whisper CLI — no API key. Use whenever a task hinges on the spoken content of an audio attachment.
ffmpeg
Process audio and video with the ffmpeg / ffprobe CLIs — convert, trim, extract audio, resize, change format, make GIFs, inspect media. Use for any audio/video transformation.
image-taste-frontend
Elite frontend image-direction skill for generating premium, artistic, implementation-friendly website design references. Uses combinatorial variation to avoid repetitive AI aesthetics, enforces cinematic hero minimalism, strong hierarchy, generous spacing, image-led composition, and anti-slop visual discipline. For…
heygen-cli
Create AI videos, manage avatars, translate videos, and download results via the HeyGen API. Use when an agent needs to generate videos from text prompts, create avatar-based videos, translate existing videos, or automate video production workflows.
aether
Full-stack orchestrator supporting the planning, implementation, and operation of AITuber (AI VTuber) systems. Responsible for designing, building, and monitoring real-time streaming pipelines (Chat→LLM→TTS→Avatar→OBS), live chat integration, TTS voice synthesis, Live2D/VRM avatar control, lip sync and expression…