SDKs
SDK install and first call
Three canonical paths. The SDKs handle auth, retries, and queue polling; cURL is the baseline when you need to reach the API from anywhere.
Install
Plate / BASH example.sh
1pip install fal-client
First call
Plate / PYTHON example.py
1import fal_client23result = fal_client.subscribe(4 "fal-ai/veo4/text-to-video",5 arguments={6 "prompt": "A documentary style street interview at night. Person looks at the camera and...",7 "safety_tolerance": 3,8 "auto_fix": false,9 "duration": "8s",10 "aspect_ratio": "16:9",11 "resolution": "1080p",12 "generate_audio": true13 },14 with_logs=True,15)1617print(result)
Python
fal-client on PyPI
Node / TypeScript
@fal-ai/client on npm
Source
fal-ai on GitHub