- You need to keep the connection open until receiving the result
- The request cannot be interrupted
- If the connection is interrupted there is not way to obtain the result
- You will be charged for the full request whether or not you were able to receive the result
Endpoint | Method | Description |
---|---|---|
https://fal.run/{model_id} | POST | Adds a request to the queue for a top-level path |
https://fal.run/{model_id}/{subpath} | POST | Adds a request to the queue for an optional subpath |
model_id
: the model ID consists of a namespace and model name separated by a slash, e.g.fal-ai/fast-sdxl
. Many models expose only a single top-level endpoint, so you can directly call them bymodel_id
.subpath
: some models expose different capabilities at different sub-paths, e.g.fal-ai/flux/dev
. The subpath (/dev
in this case) should be used