ReadonlyqueueThe queue client to interact with the queue API.
ReadonlyrealtimeThe realtime client to interact with the realtime API and receive updates in real-time.
ReadonlystorageThe storage client to interact with the storage API.
Calls a fal app that supports streaming and provides a streaming-capable
object as a result, that can be used to get partial results through either
AsyncIterator or through an event listener.
Calls a fal app that supports streaming and provides a streaming-capable
object as a result, that can be used to get partial results through either
AsyncIterator or through an event listener.
the FalStream instance.
ReadonlystreamingThe streaming client to interact with the streaming API.
Runs a fal endpoint identified by its endpointId.
The endpoint id, e.g. fal-ai/fast-sdxl.
The request options, including the input payload.
A promise that resolves to the result of the request once it's completed.
Subscribes to updates for a specific request in the queue.
The ID of the API endpoint.
Options to configure how the request is run and how updates are received.
A promise that resolves to the result of the request once it's completed.
The main client type, it provides access to simple API model usage, as well as access to the
queueandstorageAPIs.See
createFalClient