Skip to main content
Run 600+ generative media models with the fastest inference engine for diffusion models

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.
fal.ai hosts 600+ models. Here are some commonly used ones. Browse the full catalog at fal.ai/models
CategoryModelDescription
Image Genfal-ai/flux/schnellFLUX.1 Schnell (fastest, 1-4 steps)
Image Genfal-ai/flux/devFLUX.1 Dev (higher quality)
Image Genfal-ai/flux-pro/v1.1-ultraFLUX Pro Ultra (2K, best realism)
Image Genfal-ai/fast-sdxlFast Stable Diffusion XL
Image Editfal-ai/flux/dev/image-to-imageImage-to-image with FLUX
Inpaintingfal-ai/flux/dev/inpaintingEdit parts of images
Upscalefal-ai/creative-upscalerAI image upscaling
Remove BGfal-ai/birefnetBackground removal
Videofal-ai/minimax/video-01-liveVideo generation
Speechfal-ai/f5-ttsText-to-speech
Try-Onfashn/tryonVirtual 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”