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