run_model
Run any Fal.ai model by providing its model ID and input parameters. Access over 1000 models for generative media tasks like image and video generation.
Instructions
Run any Fal.ai model by its model ID with arbitrary input parameters. This is a flexible, low-level tool that gives you access to all 1000+ models on Fal.ai without needing a dedicated tool for each one. Consult the Fal.ai model catalog at https://fal.ai/models for available models and their parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | The Fal.ai model ID to run. Examples: 'fal-ai/flux/dev', 'fal-ai/stable-audio', 'fal-ai/face-swap', 'fal-ai/imageutils/rembg'. | |
| input | Yes | The model-specific input parameters as a JSON object. Refer to the model's documentation for available parameters. |