Call any model on fal directly from the command line. Useful for quick testing without writing code.Documentation Index
Fetch the complete documentation index at: https://fal.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Usage
| Argument | Description |
|---|---|
model_id | The model endpoint to call (e.g., fal-ai/flux/schnell) |
params | Key-value pairs for the request body (e.g., prompt="a sunset") |
Examples
Generate an image::= for non-string values (numbers, booleans):
/stream, the CLI streams output as it’s generated:
How It Works
- For regular endpoints: submits via the queue, polls for status with live log display, then prints the result
- For
/streamendpoints: connects via streaming and prints output as it arrives - Uses your configured
FAL_KEYfor authentication