What Can It Do?
- Search AI models by category (text-to-image, text-to-video, text-to-audio, text-to-speech, text-to-3D)
- Inspect model schemas to understand accepted input parameters before running a model
- Submit inference requests that queue on fal.ai and return a request ID for polling
- Poll for results including generated images, videos, audio files, and 3D assets with download URLs
Where to Use It
In Agents (Recommended)
Add Fal as a tool to any agent. The agent can search for the right model, check its schema, submit a generation request, and poll for results conversationally. To add an MCP tool to your agent:- Open your agent’s configuration
- Click Add tools → Connect an app with MCP
- Search for the integration and select it
- Authenticate with your Fal account
In Workflows (Via Agent Node)
For automated pipelines, use an Agent Node with Fal tools. This gives you the flexibility of an agent within a deterministic workflow.As a Custom MCP Node
You can also create a standalone MCP node for a specific action. This generates a reusable node that performs one task, useful when you need the same operation repeatedly in workflows.- Go to your node library and search for the integration
- Click Create a node with AI
- Describe the specific action you want (e.g., “Generate an image using fal-ai/flux/dev”)
- Test the node and save it for reuse
Custom MCP nodes are single-purpose by design. For tasks that require multiple steps or dynamic decision-making, use an agent instead.
Available Tools
| Tool | Description | Credits |
|---|---|---|
| Search Models | Search available fal.ai models by category (text-to-image, text-to-video, text-to-audio, text-to-speech, text-to-3D). Supports free-text filtering and result limits. | 3 |
| Get Model Schema | Get the OpenAPI input/output schema for a specific model by endpoint ID. Use this before run_model to see what parameters the model accepts. | 3 |
| Run Model | Submit an inference request to fal.ai’s queue. Returns a request_id for polling with get_result. | Varies by category |
| Get Result | Poll the status and result of a submitted request. Returns status (IN_QUEUE, IN_PROGRESS, COMPLETED) and the output when done. | 3 |
Run Model Credit Costs
Therun_model tool cost depends on the model category:
| Category | Credits |
|---|---|
| Text to Image | 24 |
| Text to Audio | 12 |
| Text to Speech | 60 |
| Text to 3D | 96 |
| Text to Video | 2,400 |
How It Works — Asynchronous Generation
Fal does not return results instantly. It uses an asynchronous queue system, which means generation happens in the background and you retrieve the output separately once it’s ready. Here’s the full flow:- Search for a model using
search_modelswith a category liketext_to_image - Inspect the model’s accepted parameters using
get_model_schema - Submit a request using
run_model— this queues the job on fal.ai and immediately returns arequest_id. The generation has started, but the result is not available yet. - Wait and poll using
get_resultwith therequest_id. The status will progress throughIN_QUEUE→IN_PROGRESS→COMPLETED. You need to keep polling until the status reachesCOMPLETED. - Retrieve the output — once
COMPLETED, the response contains download URLs for the generated content (images, videos, audio, 3D assets).
The download URLs returned in the result are temporary. Make sure to download or use the generated files promptly after retrieval.
Example Prompts
Use these with your agent or in the Agent Node: Create a product hero image:Troubleshooting
| Issue | Solution |
|---|---|
| Model not found | Verify the endpoint ID is correct by searching models first |
| Request still in queue | Video and 3D generation can take minutes. Keep polling with get_result until status is COMPLETED |
| Model type mismatch | Ensure the model_type parameter matches the model’s actual category |
| Authentication failed | Verify your Fal API key is connected and valid |
| Tool not available | Verify the tool is enabled in your agent’s MCP configuration |
Need Help?
- Agents documentation for setup and best practices
- Agent Node guide for workflow integration
- Gumloop Community for questions and examples
- Contact support@gumloop.com for assistance
Use this integration directly in Claude or Cursor. Connect remotely via the Fal MCP server using your Gumloop credentials.
