Capabilities
Once connected, your agent can run any of the 600+ generative media models on fal.ai with the fastest inference available.- Generate images with FLUX, SDXL, and Stable Diffusion 3
- Create FLUX Pro Ultra images at up to 2K resolution
- Image-to-image transformation and inpainting
- Generate videos from text or images
- Text-to-speech and voice synthesis
- AI image upscaling and enhancement
- Background removal
- Virtual try-on for fashion
- Synchronous and async (queue) execution modes
- 600+ production-ready models via a single API
Setup Guide
fal.ai uses a simple API key for authentication. No OAuth or complex setup required.1. Create a fal.ai account
Go to fal.ai and sign up with GitHub, Google, or email.2. Get your API key
Go to Dashboard → Keys and create a new API key. Copy the key immediately. You can create multiple keys with different scopes if needed.3. Store the key in Environment
Go to Environment and create a new secret:- Name:
FAL_KEY - Value: Paste your fal.ai API key
4. Grant access to instances
Choose global access (all instances) or grant to specific instances only.Billing note: fal.ai charges per inference second. Pricing varies by model. Check fal.ai/pricing for details.
Popular Models
fal.ai hosts 600+ models. Here are some commonly used ones. Browse the full catalog at fal.ai/models| Category | Model | Description |
|---|---|---|
| Image Gen | fal-ai/flux/schnell | FLUX.1 Schnell (fastest, 1-4 steps) |
| Image Gen | fal-ai/flux/dev | FLUX.1 Dev (higher quality) |
| Image Gen | fal-ai/flux-pro/v1.1-ultra | FLUX Pro Ultra (2K, best realism) |
| Image Gen | fal-ai/fast-sdxl | Fast Stable Diffusion XL |
| Image Edit | fal-ai/flux/dev/image-to-image | Image-to-image with FLUX |
| Inpainting | fal-ai/flux/dev/inpainting | Edit parts of images |
| Upscale | fal-ai/creative-upscaler | AI image upscaling |
| Remove BG | fal-ai/birefnet | Background removal |
| Video | fal-ai/minimax/video-01-live | Video generation |
| Speech | fal-ai/f5-tts | Text-to-speech |
| Try-On | fashn/tryon | Virtual fashion try-on |
Usage Examples
Ask your agent to generate images, videos, audio and more. Image generation“Generate an image of a sunset over mountains using FLUX Schnell”
“Create a 2K ultra-realistic portrait using FLUX Pro Ultra”Image editing
“Transform this photo into an oil painting style”
“Remove the background from this product photo”
“Upscale this image to 4x resolution”Video generation
“Generate a short video of waves crashing on a beach”Speech synthesis
“Convert this text to speech using fal”