genmedia
Skill265 starsChanged 9 days agoMITView on GitHub
Run fal models from a terminal with the genmedia CLI. Use for model discovery, schemas, pricing, uploads, execution and request recovery. MCP hosts use fal-media instead.
- Pipes a download into a shell
- Reads credentials
4 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- Rajveerx11/skillstheir own version, first seen Oct 25, 2026
- fal-ai-community/genmedia-clitheir own version, first seen May 29, 2026
- rbrown101010/codex-marketing-skillsedited, first seen May 18, 2026
- rbrown101010/Rileys-Top-Skillsedited, first seen May 12, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- rbrown101010/codex-marketing-skills★ 9543% same
- rbrown101010/Rileys-Top-Skills★ 964% same
Wrote their own version · 2
- fal-ai-community/genmedia-cli★ 82same name
- Rajveerx11/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- branded-graphicsSkill
- character-designSkill
- character-sheetSkill
- cinematographySkill
- commercialSkill
- ecommerce-product-photographySkill
- fal-audio-generationSkill
- fal-gamedevSkill
- fal-mediaSkill
- fal-models-catalogSkill
- fal-motion-graphicsSkill
- fal-promptingSkill
- fal-recipesSkill
- fal-redesignSkill
- fal-regenerate-3dSkill
- fal-script-writerSkill
- fal-shot-craftSkill
- fal-video-generationSkill
- fal-video-productionSkill
- fal-workflowSkill
- fan-camSkill
- game-asset-productionSkill
- genmedia-workflowSkill
- h3-cinematic-prompterSkill
- localize-and-repurposeSkill
- marketingSkill
- model-routingSkill
- photo-editingSkill
- product-ad-campaignSkill
- reels-creatorSkill
- storyboard-to-short-filmSkill
- storytellingSkill
- ugcSkill
- video-compositingSkill
- wrap-it-upSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Never invent endpoint IDs: When you do need a specific endpoint, use genmedia models "<query>" to discover (auto-filters by inferred …
- Very specific: line 107
If genmedia is not installed:
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
genmedia CLI: fal.ai endpoint runner
genmedia is the agent-first CLI for fal.ai. It works in a terminal for humans (pretty output) and equally well for agents (structured JSON when piped or with --json). All other skills in this repo call genmedia for execution, they do not wrap the fal.ai HTTP API directly.
For the full command surface (every flag, every option, every example), see references/full-reference.md.
Critical rules
- Always use
--jsonwhen an agent will read the output. Pretty mode is for humans only. - Prefer smart routing for default-quality requests.
genmedia run "<prompt>"(no endpoint, no--promptneeded) classifies the prompt and routes to a sensible default per modality. Only do explicit endpoint discovery when the user names a model, asks for a non-default behavior (specific style, quality tier, parameter), or the smart-route default is wrong for the task. - Never invent endpoint IDs. When you do need a specific endpoint, use
genmedia models "<query>"to discover (auto-filters by inferred modality) andgenmedia models --endpoint_id <id>to verify. - Inspect schema before running with custom params.
genmedia schema <endpoint_id> --jsonshows the exact field names. Smart routing only needsprompt; explicit endpoints with custom params need a schema check first or guessed flags fail with 422. - Save files with
--download, not curl. The CLI handles authentication, naming, and file format detection. - Use
--asyncfor long-running generation. Image work usually completes inline; video/audio/3D usually need queue + status polling.
Command index
| Command | Purpose | |||
genmedia setup | Configure API key, output mode, auto-update | |||
genmedia models <query> | Search the catalog (or --category, or --endpoint_id) | |||
genmedia schema <endpoint_id> | Inspect inputs/outputs (compact or --format openapi) | |||
genmedia run <endpoint_id> --<param> <value> | Execute a model | |||
genmedia status <endpoint_id> <request_id> | Poll an async job (with --result, --logs, --cancel, --download) | |||
genmedia upload <path-or-url> | Upload a local file or remote URL to the fal.ai CDN | |||
genmedia pricing <endpoint_id> | Check cost per call | |||
genmedia docs <query> | Search fal.ai documentation | |||
genmedia init | Install the default skill bundle into .agents/skills/ or .claude/skills/ | |||
| `genmedia skills <list | install | update | remove>` | Manage installed agent skills |
genmedia version / genmedia update | Check or apply CLI updates |
Quick patterns
Smart routing (preferred for default-quality requests)
The CLI classifies the prompt by modality (image / video / music / tts / 3d) and picks a sensible default endpoint. The output includes a routed block so you can verify which endpoint actually ran.
genmedia run "a cat on the moon" --json
genmedia run "a 5-second clip of a robot dancing" --json
genmedia run "narrate this paragraph in a calm voice" --jsonOverride anytime with an explicit endpoint id (positional that contains /):
genmedia run fal-ai/flux/dev --prompt "a cat on the moon" --jsonDiscover when the user names a fuzzy task or wants a specific endpoint
genmedia models "<query>" auto-applies --category from the same classifier the smart router uses, so the result list is focused on the right modality. Pass --no-classify to disable, or --category <cat> to override.
genmedia models "background removal product image" --json
genmedia models --category text-to-video --limit 5 --json
genmedia models "video models with character consistency" --no-classify --json
genmedia docs "webhook callbacks" --jsonRun a specific model and download the result
genmedia run fal-ai/flux/dev \
--prompt "a cat on the moon" \
--download "./out/{request_id}_{index}.{ext}" \
--jsonAsync + poll
SUBMIT=$(genmedia run fal-ai/veo3.1 --prompt "a dog running" --async --json)
REQ=$(echo "$SUBMIT" | jq -r '.request_id')
genmedia status fal-ai/veo3.1 "$REQ" \
--download "./out/{request_id}_{index}.{ext}" \
--jsonSmart routing also works for async — the response includes routed and endpoint_id so you know which endpoint to poll on status:
SUBMIT=$(genmedia run "a 30-second video of waves" --async --json)
REQ=$(echo "$SUBMIT" | jq -r '.request_id')
EP=$(echo "$SUBMIT" | jq -r '.endpoint_id')
genmedia status "$EP" "$REQ" --download "./out/" --jsonUpload then run
URL=$(genmedia upload ./photo.jpg --json | jq -r '.url')
genmedia run fal-ai/nano-banana-pro/edit \
--image_urls "$URL" \
--prompt "make the sky stormy" \
--download "./out/{request_id}_{index}.{ext}" \
--jsonSetup (first-time only)
If genmedia is not installed:
curl https://genmedia.sh/install -fsS | bash # Linux / macOS
irm https://genmedia.sh/install.ps1 | iex # Windows PowerShell
genmedia setup --non-interactive --api-key "$FAL_KEY"For full setup details (output modes, auto-update, .env loading) see full-reference.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

