agentleFS
agenticlukeagenticluke/fal-media-maker-plus/skill/SKILL.md

fal-ai-media

Skill0 starsChanged 2 months agoMITView on GitHub

Create images, video, and audio with the fal.ai MCP server. Use for text-to-image, image edits, text-to-video, image-to-video, speech, music, sound effects, and video-to-audio tasks.

31 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use everything-claude-code-conventions, nextjs-turbopack and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mryeastcodeSkill

    everything-claude-code-conventions

    Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

    Also in 8 projects that use this

  • tpavanipradeepSkill

    nextjs-turbopack

    Next.js 16+ and Turbopack — incremental bundling, FS caching, dev speed, and when to use Turbopack vs webpack.

    Also in 14 projects that use this

  • InfopibeSkill

    everything-claude-code

    Also in 7 projects that use this

  • niloykumarbarmanSkill

    agent-sort

    Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

    Also in 7 projects that use this

  • tpavanipradeepSkill

    bun-runtime

    Bun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support.

    Also in 14 projects that use this

  • niloykumarbarmanSkill

    product-capability

    Translate PRD intent, roadmap asks, or product discussions into an implementation-ready capability plan that exposes constraints, invariants, interfaces, and unresolved decisions before multi-service work starts. Use when the user needs an ECC-native PRD-to-SRS lane instead of vague planning prose.

    Also in 7 projects that use this

  • +2 more from tpavanipradeep
  • +1 more from niloykumarbarman

The file

Show its rules and text

We split this skill into the rules it gives an agent

35 rules. 0 are common, 29 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 29

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the fal.ai MCP server to make images, video, and audio.

    line 13
  2. Distinctive:

    Use this skill when the user wants to:

    line 17
  3. Distinctive:

    Add sound to a video

    line 23
  4. Distinctive:

    Do not use this skill when the user only wants to edit media with local tools.

    line 26
  5. Distinctive:

    Never print, save, or share the key in chat.

    line 46
  6. Distinctive:

    Ask for any key detail that is missing, such as size, length, style, or source file.

    line 68
  7. Very specific:

    Use search if the right model is not clear.

    line 69
  8. Very specific:

    Use find before the first run.

    line 70
  9. Distinctive:

    Check cost before a costly job or when the user asks about cost.

    line 72
  10. Very specific:

    Run generate with only inputs that the model accepts.

    line 73
  11. Distinctive:

    If the job is not done at once, save its job ID.

    line 74
  12. Very specific:

    Use status or result until it is done or fails.

    line 75
  13. Distinctive:

    Do not keep retrying a failed paid job.

    line 78
  14. Distinctive:

    Do not say that a seed will make the same result every time.

    line 80
  15. Distinctive:

    Search for a current text-to-image model:

    line 84
  16. Distinctive:

    Check whether the model makes sound.

    line 185
  17. Distinctive:

    Check language, voice, length, file type, and use rights before the run.

    line 230
  18. Distinctive:

    Use the active server's cost tool before a costly run:

    line 236
  19. Very specific:

    If find shows different input names, use those names.

    line 282
  20. Distinctive:

    If no model fits, say what part is not supported.

    line 286
  21. Distinctive:

    If a local file is missing, ask for the right path or file.

    line 287
  22. Distinctive:

    If upload fails, check file size and file type.

    line 288
  23. Distinctive:

    If a URL cannot be read, ask for a public URL or a local file.

    line 289
  24. Distinctive:

    If the prompt breaks a model rule, explain the issue and ask for a safe change.

    line 290
  25. Distinctive:

    If the job takes a long time, report that it is still running.

    line 291
  26. Distinctive:

    If the job fails after a charge, keep the job ID and error text for the user.

    line 292
  27. Distinctive:

    If the output is empty or broken, check the result data before trying again.

    line 293
  28. Distinctive:

    If the user asks for many files, confirm the count and cost first.

    line 294
  29. Very specific:

    If the user asks to cancel, call cancel with the saved job ID.

    line 295
  30. Distinctive:

    If the output link will expire, tell the user to save the file soon.

    line 296
  31. Distinctive:

    If the user needs private media, warn them before upload and get clear approval.

    line 297
  32. Distinctive:

    Start with a low-cost draft when the user wants to test ideas.

    line 301
  33. Distinctive:

    Use one image or a short video first.

    line 302
  34. Distinctive:

    Keep prompts clear and short.

    line 303
  35. Distinctive:

    Check cost before long video, high quality, or large batch jobs.

    line 307

“Common” is measured: kept by at least 6 in 10 of the 30 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

fal.ai Media Creation

Original skill by ECC. Credit: ECC.

This skill can change fast. Model names, prices, inputs, output types, and tool names may change. Check the current model data before you promise a model, price, setting, or file type.

Use the fal.ai MCP server to make images, video, and audio.

When to use this skill

Use this skill when the user wants to:

  • Make an image from text
  • Edit an image
  • Make a video from text or an image
  • Make speech, music, or sound effects
  • Add sound to a video
  • Make a thumbnail or other media file

Do not use this skill when the user only wants to edit media with local tools.

Setup

The fal.ai MCP server must be set up first. Add this entry to ~/.claude.json:

{
  "fal-ai": {
    "command": "npx",
    "args": ["-y", "fal-ai-mcp-server"],
    "env": {
      "FAL_KEY": "YOUR_FAL_KEY_HERE"
    }
  }
}

Get an API key from fal.ai.

Never print, save, or share the key in chat. If the server or key is missing, explain what is missing and stop.

Tools

The server may offer these tools:

  • search: Find models by task or key words.
  • find: Get the current inputs and rules for a model.
  • generate: Start a media job.
  • result: Get the result of a job.
  • status: Check if a job is done.
  • cancel: Stop a job that is still running.
  • estimate_cost: Get a cost guess.
  • models: List common models.
  • upload: Upload a local file for use as input.

Tool names may change. Use the names shown by the active server.

Safe work flow

Follow these steps:

  1. Ask for any key detail that is missing, such as size, length, style, or source file.
  2. Use search if the right model is not clear.
  3. Use find before the first run. Check the exact model ID and allowed inputs.
  4. Upload local source files with upload.
  5. Check cost before a costly job or when the user asks about cost.
  6. Run generate with only inputs that the model accepts.
  7. If the job is not done at once, save its job ID.
  8. Use status or result until it is done or fails.
  9. Give the user the output link and key job details.

Do not keep retrying a failed paid job. Read the error first. Fix the input, then ask before a new costly run.

Do not say that a seed will make the same result every time. It may help, but models and systems can change.

Image creation

Search for a current text-to-image model:

search(query: "text to image")
find(endpoint_ids: ["<model_id>"])

Example call after find confirms the inputs:

generate(
  app_id: "<model_id>",
  input_data: {
    "prompt": "A small red boat on a calm lake at sunrise",
    "image_size": "landscape_16_9",
    "num_images": 1,
    "seed": 42
  }
)

Common image inputs may include:

InputUse
promptSays what the image should show
image_sizeSets the shape and size
num_imagesSets how many images to make
seedMay help make a similar result
guidance_scaleMay set how closely the model follows the prompt

These inputs are not shared by every model. Check with find.

Image editing

Upload the source image first:

upload(file_path: "/path/to/image.png")

Then use a model that supports image editing:

generate(
  app_id: "<image_edit_model_id>",
  input_data: {
    "prompt": "Keep the same scene. Change the style to soft watercolor.",
    "image_url": "<uploaded_url>"
  }
)

State what must stay the same and what must change. If the model needs a mask, ask the user for one or make sure they approve how the edit area will be chosen.

Video creation

Find and check a current video model:

search(query: "text to video")
find(endpoint_ids: ["<model_id>"])

Then run it with confirmed inputs:

generate(
  app_id: "<model_id>",
  input_data: {
    "prompt": "A slow drone view over a mountain lake at sunrise",
    "duration": "5s",
    "aspect_ratio": "16:9",
    "seed": 42
  }
)

For image-to-video, upload the image and pass its URL:

generate(
  app_id: "<image_to_video_model_id>",
  input_data: {
    "prompt": "The camera moves back slowly. A light wind moves the trees.",
    "image_url": "<uploaded_image_url>",
    "duration": "5s"
  }
)

Common video inputs may include:

InputUse
promptSays what happens in the video
durationSets the video length
aspect_ratioSets the frame shape
seedMay help make a similar result
image_urlGives the first image or source image

Check whether the model makes sound. Do not promise sound unless the model data says it does.

A good video prompt states:

  • The main subject
  • The action
  • The camera move
  • The light and mood
  • Any sound the model should make

Audio creation

Find the right model for the audio task:

search(query: "text to speech")
search(query: "text to music")
search(query: "sound effects")
find(endpoint_ids: ["<model_id>"])

Example speech call:

generate(
  app_id: "<speech_model_id>",
  input_data: {
    "text": "Hello. Welcome to the demo.",
    "speaker_id": 0
  }
)

Example video-to-audio call:

generate(
  app_id: "<video_to_audio_model_id>",
  input_data: {
    "video_url": "<uploaded_video_url>",
    "prompt": "Soft forest sounds with birds and light wind"
  }
)

Check language, voice, length, file type, and use rights before the run. Do not copy a real person's voice without clear permission.

Other audio tools, such as ElevenLabs or VideoDB, are outside this skill. Do not call them unless the user asks for them and they are set up.

Cost checks

Use the active server's cost tool before a costly run:

estimate_cost(
  estimate_type: "unit_price",
  endpoints: {
    "<model_id>": {
      "unit_quantity": 1
    }
  }
)

A cost result is only a guess. Tell the user what unit it covers. If cost data is missing, say so. Do not guess a price.

Full usage example

User request:

Make a five-second, wide video of ocean waves at sunset. Keep the cost low.

Work flow:

search(query: "low cost text to video")
find(endpoint_ids: ["<chosen_model_id>"])
estimate_cost(
  estimate_type: "unit_price",
  endpoints: {
    "<chosen_model_id>": {
      "unit_quantity": 1
    }
  }
)
generate(
  app_id: "<chosen_model_id>",
  input_data: {
    "prompt": "Wide view of ocean waves at sunset. Warm orange light. The camera stays still. Natural wave motion.",
    "duration": "5s",
    "aspect_ratio": "16:9"
  }
)
status(request_id: "<job_id>")
result(request_id: "<job_id>")

If find shows different input names, use those names. If the model does not support five seconds or 16:9, tell the user and offer the closest valid choice.

Edge cases

  • If no model fits, say what part is not supported.
  • If a local file is missing, ask for the right path or file.
  • If upload fails, check file size and file type.
  • If a URL cannot be read, ask for a public URL or a local file.
  • If the prompt breaks a model rule, explain the issue and ask for a safe change.
  • If the job takes a long time, report that it is still running. Do not start a copy.
  • If the job fails after a charge, keep the job ID and error text for the user.
  • If the output is empty or broken, check the result data before trying again.
  • If the user asks for many files, confirm the count and cost first.
  • If the user asks to cancel, call cancel with the saved job ID.
  • If the output link will expire, tell the user to save the file soon.
  • If the user needs private media, warn them before upload and get clear approval.

Tips

  • Start with a low-cost draft when the user wants to test ideas.
  • Use one image or a short video first.
  • Keep prompts clear and short.
  • For image edits, list what must not change.
  • For video, focus on action and camera moves.
  • Image-to-video often gives more control than text-to-video.
  • Check cost before long video, high quality, or large batch jobs.

Related skills

  • videodb: Video work, edits, and streams
  • video-editing: Video editing steps
  • content-engine: Social media content creation

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.