Planning skill that interrogates your use case before any code is written, then recommends the right Twilio Conversations stack — ConversationRelay, Memory, Intelligence, Orchestrator, TaskRouter — and the implementation skills to follow.
fal.ai genmedia CLI
Summary
Foundational fal.ai skill that drives the genmedia CLI across 1200+ hosted generative model endpoints — smart routing, schema inspection, async queues and agent-parseable JSON.
Features
- Search, inspect, run and manage 1200+ fal.ai model endpoints from one CLI
- Smart routing: `genmedia run "<prompt>"` classifies the prompt and picks a default endpoint per modality
- Schema inspection before running so custom parameters do not fail with 422
- `--json` output mode designed for agents to parse
- `--async` queue plus status polling for long-running video, audio and 3D jobs
- `--download` handles auth, naming and file-format detection instead of raw curl
Install This Skill
Add this skill to your favorite AI agent in a few steps.
Skill Content
Usage Instructions
Learn how to use this skill with different AI agents.
Example Usage
Find a fal.ai text-to-video endpoint that supports audio, check its schema, and queue a 10-second clip of a product rotating on a plinth.
Description
genmedia is the agent-first CLI for fal.ai, and this skill is the foundation of the fal.ai community skill collection — every other skill in that repository (cinematography, character design, commercial, UGC, storytelling, game assets, 3D) executes its work by calling genmedia rather than wrapping the fal.ai HTTP API directly.
The skill exists because a catalogue of 1200+ endpoints is exactly the situation where an agent will confidently invent a model ID. Its rules are written to prevent that:
- Always pass `--json` when an agent will read the output; pretty mode is for humans.
- Prefer smart routing.
genmedia run "<prompt>"with no endpoint classifies the prompt and routes to a sensible per-modality default. Explicit endpoint discovery is reserved for when the user names a model, wants a specific style or quality tier, or the default is wrong. - Never invent endpoint IDs. Discover with
genmedia models "<query>", which auto-filters by inferred modality, and verify withgenmedia models --endpoint_id <id>. - Inspect the schema before custom parameters.
genmedia schema <endpoint_id> --jsonreturns exact field names; guessing flags fails with a 422. - Save with `--download`, not curl — the CLI handles authentication, naming and format detection.
- Use `--async` for long jobs. Image work usually completes inline; video, audio and 3D need queue submission plus status polling.
Setup needs an API key from the fal.ai dashboard and the genmedia CLI from fal-ai-community/genmedia-cli. Running genmedia init installs the default skill bundle into .agents/skills/ or .claude/skills/. A references/full-reference.md file in the skill carries the complete flag-by-flag command surface. MIT licensed.
Best for anyone building generative-media pipelines — batch product photography, ad variants, storyboards, lipsync — who wants an agent to pick and drive hosted models reliably instead of hand-writing API calls. Note this is a community-maintained repository rather than a first-party fal.ai product, and it bills against your own fal.ai account.
Related Skills
Official AWS skill for authoring, deploying and debugging CDK stacks — construct patterns, bootstrap, drift, resource import and the CloudFormation errors that trap people.
The official Genkit skill for Node.js and TypeScript — flows, Dotprompt files, tools and the beta agent API with sessions, interrupts and branching.
An agentic software-development methodology: composable skills that push a coding agent through spec, plan, TDD and review instead of straight into code.