MetorialDocs

Set up Fal.ai in Metorial for Claude, ChatGPT and Cursor

Share Fal.ai with your team in Claude, ChatGPT and Cursor through Metorial: API key sign-in, 11 tools (3 read-only).

To give your team Fal.ai in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Fal.ai integration in a Metorial portal, and each person connects with an API key. Agents can discover fal.ai models and their input schemas, inspect current pricing, generate downloadable images, videos, and speech, transcribe audio, upload public input files, and run arbitrary model inference. The integration has 11 tools, 3 read-only and 8 write, plus 1 trigger.

What you'll learn

  • How an admin shares Fal.ai in a portal and how each person connects
  • What Fal.ai asks for when you connect, and where to find it
  • How to keep the 3 read-only tools and reject the other 8

Before you start

Sign-in method

MethodTypeWhat a person provides
API KeyAPI tokentoken

API Key

To connect, a person enters:

  • token: Fal.ai API key in the format key_id:key_secret

Admin: share Fal.ai in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Fal.ai. For how members connect, choose Each person connects so everyone enters their own API key, or Shared connection to enter one API key for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Fal.ai.

Choose who gets it

Add the access groups that should see Fal.ai. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Fal.ai integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search fal.ai

Employee: connect Fal.ai

In the portal

Open Fal.ai in the catalog

Sign in to your portal and open Fal.ai. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your API key (token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search fal.ai
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your Fal.ai connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list fal.ai
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 3 read-only tools, such as get_account and search_models, and lose the 8 write tools, such as run_model or upload_file.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list fal.ai
metorial tools <integration-id>
metorial call <integration-id> search_models -d '{}'

metorial tools lists the 11 tools, minus any you rejected. search_models takes no input. It searches and discover available model endpoints on Fal.ai.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (3)

  • search_models: Search and discover available model endpoints on Fal.ai.
  • get_model_pricing: Get the current unit price, billing unit, and currency for fal.ai model endpoints before running paid inference.
  • get_account: Identify the authenticated fal.ai account and retrieve its credit balance.

Write tools (8)

  • run_model: Run synchronous inference on any Fal.ai model endpoint with arbitrary input parameters. Needs modelId and modelInput.
  • upload_file: Copy a public file of up to 90 MiB to Fal.ai CDN storage from a URL. Needs sourceUrl and targetPath.
  • transcribe_audio: Transcribe audio files to text using Fal.ai speech recognition models like Whisper (Wizper). Needs audioUrl.
  • generate_image: Generate images from text prompts or transform existing images using Fal.ai models such as FLUX, Stable Diffusion, Ideogram, Recraft, and more. Needs modelId and prompt.
  • generate_speech: Generate speech audio from text using Fal.ai text-to-speech models. Needs modelId and text.
  • generate_video: Generate videos from text prompts, images, or other videos using Fal.ai models such as Kling, LTX, Veo, Sora, and more. Needs modelId and prompt.
  • submit_queue_request: Submit an asynchronous inference request to Fal.ai's queue system. Needs modelId and modelInput.
  • check_queue_status: Check the status of an asynchronous queue request on Fal.ai and optionally retrieve the result. Needs modelId and requestId.

Triggers

Fal.ai has 1 trigger, which fire on events in Fal.ai:

  • queue_completed: Triggered when an asynchronous queue request completes on Fal.ai.

Next steps