Skip to main content
The fal package provides decorators and utilities for building serverless AI applications.

Installation

Quick Start

Deploy with:
See the Quick Start guide for a complete walkthrough.

API Reference

fal

App class, decorators (endpoint, realtime, function, cached), HealthCheck, ContainerImage

fal.api

SyncServerlessClient: manage apps, runners, keys, secrets, and deploy programmatically

fal.toolkit

File types (Image, Video, Audio), KVStore, model downloads, GPU utilities

fal.exceptions

Exception classes for error handling

CLI

fal deploy, fal apps, fal runners, fal keys, fal secrets, and more

Key Decorators

See the fal module reference for full details.

App Configuration

Configure your app using class variables. See the full App reference for all options.

Toolkit Highlights

The fal.toolkit module provides utilities for common tasks:

SyncServerlessClient

The SyncServerlessClient provides programmatic access to fal operations (mirrors the CLI):
For detailed guides on building applications, see the Serverless documentation.