fal-ai-media-provider
Skill2 starsChanged 7 months agoMITView on GitHub
Author and execute supported Fal.ai image, audio, and video requests for Renku Media Producer. Use only after the workflow has selected Fal.ai; do not use it for provider selection or Asset attachment decisions.
In this repository21 other files it gives its agents.
- blender-shot-plannerSkill
- casting-directorSkill
- comfy-router-media-providerSkill
- elevenlabs-media-providerSkill
- inspiration-analyzerSkill
- location-world-producerSkill
- lookbook-designerSkill
- media-producerSkill
- model-researcherSkill
- movie-directorSkill
- pika-media-providerSkill
- previs-stagingSkill
- production-designerSkill
- replicate-media-providerSkill
- scene-beat-designerSkill
- screenplay-analystSkill
- screenplay-drafterSkill
- screenplay-pdf-to-fdxSkill
- screenplay-supporting-material-importerSkill
- shot-plannerSkill
- wavespeed-media-providerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 5 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
When this skill comes from renku-cloud and the Renku tools are missing, the person has not signed in to Renku Cloud yet.
- Very specific: line 28
Run each renku ... command through renku_command, as a batch of args lists.
- Very specific: line 32
Read this skill's adapters and Media Producer's model guides from your installed plugin.
- Very specific: line 47
Keep the $file markers below in the review document.
- Distinctive: line 75
Check with fal.ai's status tool until the request completes, then fetch its result.
- Very specific: line 80
Write the receipt with the fields local Renku keeps: {"requestId": "<fal.ai request id>", "draft_id": "<only when the result has one>"}.
- Distinctive: line 82
Leave out the result's file links and anything secret.
- Very specific: line 93
Keep every agent-created working file inside the current Project's categorized tmp/ tree.
- Very specific: line 97
Use tmp/operations/media-generation/ for review documents.
- Very specific: line 99
Use tmp/media/ for generated or downloaded media.
- Very specific: line 100
Use tmp/qa/ for review evidence.
- Very specific: line 101
Use tmp/scratch/ for other temporary inputs.
- Distinctive: line 118
Read relevant provider guidance: reference inputs, seed audio.
- Very specific: line 121
Use generation models show --provider fal-ai --model <apiId> --json to get personalGuidePath.
- Distinctive: line 145
Follow Media Producer's shared review routing for validation and confirmation: panel Submit/consume, or Preview/conversation only when that …
- Very specific: line 147
After confirmation, an unchanged prepared request goes directly to renku generation execute, which validates before submission.
- Distinctive: line 153
Do not call the Fal SDK or API directly, attach Assets, invent provider fields, or persist credentials, upload URLs, signed output URLs, or …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fal.ai Media Provider
Renku Cloud
Renku runs in Renku Cloud when this skill comes from the renku-cloud
plugin (its folder is inside that plugin; Claude Code lists it as
renku-cloud:<skill>), or when the Renku tools renku_command,
renku_upload, renku_download, renku_view and renku_guide are
present. An app may show them with a prefix, such as
mcp__plugin_renku-cloud_renku__renku_command. In Renku Cloud, never run a
renku command on the computer, even when one is installed there.
When this skill comes from renku-cloud and the Renku tools are missing, the
person has not signed in to Renku Cloud yet. Tell them how, and stop until
they have: in Claude Code, type /mcp and sign in to
plugin:renku-cloud:renku; in the Claude app, open Renku Cloud's Connectors
tab in Customize → Plugins and select Add, then Connect; in the ChatGPT app,
select Connect on Renku Cloud; in the Codex CLI, run codex mcp login renku.
In Renku Cloud this section applies and takes precedence over any instruction
below to stop when renku is unavailable.
- Run each
renku ...command throughrenku_command, as a batch ofargslists. There is no shell: no pipes, redirects or$(...). Send the review document inline in the command'sfiles, undertmp/operations/media-generation/, and keep your own copy on your computer. - Read this skill's adapters and Media Producer's model guides from your
installed plugin. For
--route-index, passskill:fal-ai-media-provider/references/supported-routes.json. Read personal model notes withgeneration models guide show --provider fal-ai --model <apiId>instead of openingpersonalGuidePath. - Renku Cloud holds no fal.ai key. Before preparing, check that fal.ai's MCP server is connected in your AI app. If it is not, ask the person to connect it and wait; never ask for a key.
generation schema show,validate,prepareandestimatework without a key. When a schema cannot be read (ENGINE_CATALOG_KEY_REQUIRED), fetch it with fal.ai's MCP schema tool and save it withgeneration schema record. AmissingPriceestimate can come from fal.ai here: take the price from fal.ai's MCP server when it offers one, otherwise followmodel-researcher, and record it withgeneration price record.- Keep the
$filemarkers below in the review document. The native request carries them as links. - The host permission and local network rules below do not apply. Renku refuses its Execute and Recover steps: generate as Renku Cloud Generation describes.
Request Preparation And Recovery
Reuse verified command syntax and selected-route discovery within the current request preparation. Follow existing configuration-cache freshness; final native validation and execution remain live boundaries. Do not retry paid execution automatically or replay a successful mutation after CLI026. Provider metadata cache and output writes require host permission, and Preview notification requires local network access. Explain a known denial and use the authorized permission flow instead of repeating it or disabling persistence. Keep Preview, approval, concurrency, output review, and attachment ownership with Media Producer.
Renku Cloud Generation
In Renku Cloud, the person's AI app sends the request through fal.ai's own MCP server, and their fal.ai account pays for it. Media Producer's Renku Cloud guide has the whole flow; these are fal.ai's parts.
- Prepare and review the request as Media Producer describes: the review
panel, or
generation prepareorgeneration preview showfor Studio Preview. After approval, get the exact request withgeneration native-requestand the review'srequestSha256. Its reference links stay readable for 24 hours. - Submit it with fal.ai's MCP tool that queues a request, passing the
request's route (the
apiId) and native input exactly as given. Keep at mostworkflowPolicy.concurrencyLimitfal.ai jobs running at once. - Record the job with
generation job recordas soon as fal.ai returns its request id; that id is theproviderJobId. For a Seedance 2.5 draft, add the result'sdraft_idasdraftId. - Check with fal.ai's status tool until the request completes, then fetch its result. A queued request can take minutes: check again, never submit again.
- A result can list several files, for example under
images. Upload every file link in onerenku_uploadcall and import them in onemedia import --filelist, each with the same job and receipt. - Write the receipt with the fields local Renku keeps:
{"requestId": "<fal.ai request id>", "draft_id": "<only when the result has one>"}. Leave out the result's file links and anything secret. Renku refuses a receipt holding a secret or a signed link, naming the field. - Import with
media import --job <job id> --receipt <receipt file>.
fal.ai's MCP server is the only way to reach fal.ai here; never call its API
with a key yourself. If its tools cannot send the native input exactly, stop
and tell the person rather than sending a changed request. A request fal.ai
reports as failed ends with generation job close --job <id> --reason failed.
Project Workspace
Keep every agent-created working file inside the current Project's categorized
tmp/ tree. Never create review JSON, provenance JSON, generated media, QA
evidence, downloads, or scratch files at the Project root.
- Use
tmp/operations/media-generation/for review documents. Execute/Recover saves provenance beside its media and returnsprovenancePathfor attachment. - Use
tmp/media/for generated or downloaded media. - Use
tmp/qa/for review evidence. - Use
tmp/scratch/for other temporary inputs.
Reuse Media Producer's effective model list when already loaded. Otherwise use
renku generation models list --provider fal-ai --route-index <absolute-path-to-references/supported-routes.json> --json
for this provider's bundled and personal discovery choices. Select the exact
apiId; an explicitly requested unlisted route can proceed without installation.
Copy it verbatim into the review document's model field and every generation
command. Never substitute a model or rewrite its namespace.
Find model advice by name under Media Producer's references/model-guides/.
For Seedance 2.5 previews or completion of a saved draft, read
the draft workflow.
Execute and Recover preserve the provider's draft_id in the opaque receipt;
return the saved provenancePath unchanged so Media Producer can retain it with
the video. To finish a saved draft, use its saved receipt's draft_id with the
matching completion route, not its request id or today's default route. Keep
Project selection and attachment decisions with Media Producer.
Read relevant provider guidance: reference inputs, seed audio.
Missing advice does not block a supported request; the selected schema and
provider documentation describe its current inputs.
Use generation models show --provider fal-ai --model <apiId> --json to get
personalGuidePath. Read it if present. Current bundled guidance supplies the
curated default; personal notes add advice and explicit user preferences take
priority. A personal discovery label never suppresses bundled guidance.
Prepare the selected request from its live/cached schema and optional advice.
Consult current provider documentation when necessary. Do not add a separate
capability check or mandatory transport/output compatibility audit.
Media Producer supplies the exact deliberately chosen local files. Do not query
or reinterpret Cast, Location, Prop, Lookbook, Scene, Shot, or Shot Plan
relationships. The supported-route index is routing guidance only; run renku
generation schema show --provider fal-ai --model <api_id> --json for the
selected Fal operation's current native fields and constraints.
Author the exact Fal.ai input object as the review document's request. Put a
{"$file":"<project-relative-path>","mimeType":"<mime>","reviewLabel":"<Media Producer label>"}
marker at each native image/video field. Preserve the exact reviewLabel, and
add the exact promptMention only when the selected adapter establishes one
after final request order is known. Do not upload media yourself.
For Seed Audio, place one local audio marker per selected speaker sample in the
native audio_urls array and follow adapters/seed-audio.md for exact
@AudioN mention ordering. Never send more than three local voice references.
Follow Media Producer's shared review routing for validation and confirmation:
panel Submit/consume, or Preview/conversation only when that routing selects it.
After confirmation, an unchanged prepared request goes directly to
renku generation execute, which validates before submission. Follow the shared
changed-document procedure when edits require preparation. Use
generation recover only with a known Fal request id and the unchanged review
document. Return the artifacts and exact safe provenance to Media Producer.
Do not call the Fal SDK or API directly, attach Assets, invent provider fields, or persist credentials, upload URLs, signed output URLs, or durable execution lifecycle records.
Renku estimates cost for reviews from cached provider prices. Do not write
prices into this Skill or the review document; a missing price
follows model-researcher's price research.
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.

