Set up the project
Install the SDK and set your key.
You need
| Python | TypeScript | Rust | |
|---|---|---|---|
| Runtime | Python 3.10+ | Node 18+ | Rust 1.80+ |
| Package | falcore | @falcore/sdk | falcore = "0.2" |
Set your key
Your administrator gives you a key. The SDKs read it from the environment, so you never type it into a file.
export FALCORE_API_KEY="fal_test_paste_your_key_here"Create the project
mkdir soundscape && cd soundscape
python3 -m venv .venv && source .venv/bin/activate
pip install falcore
python -c "import falcore; print(falcore.__version__)"Note
No key or no network? The tutorial folder in the SDK repository includes mock_server.py, a tiny local stand-in for the API that answers with one second of silence. Start it and set FALCORE_BASE_URL=http://127.0.0.1:8099. It is for learning only; it is not the real service.