How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

fal Realtime API

WebSocket-based realtime inference for ultra-low latency interactive generative experiences such as LCM/SDXL sketch-to-image, live-portrait, and realtime upscaling. Bi-directional binary/JSON messaging keeps a persistent connection open so each frame, prompt, or pose adjustment is processed in milliseconds. Powers fal.realtime client utilities used in canvas apps, drawing tools, AR experiences, and live video pipelines.

fal Realtime API is one of 12 APIs that fal publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include Artificial Intelligence, Generative AI, Real-Time, WebSocket, and Streaming. The published artifact set on APIs.io includes API documentation, code examples, and an AsyncAPI specification.

This event API exposes 3 operations across 2 channels, and defines 15 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.0.

The API connects through 2 servers: queue.fal.run (https), fal.run (wss).

3 operations 2 channels 15 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0.0
Base URL
wss://realtime.fal.run
Resource Areas
1

Channels & Operations 3

Across 2 channels, the API surfaces 3 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 3
SUB
{model_id}/requests/{request_id}/status/stream
Subscribe to queue status events for a submitted request.
subscribeQueueStatusStream 2 params body
SUB
{app_id}/realtime
Receive inference outputs and connection control messages.
receiveRealtimeOutput 1 param body
PUB
{app_id}/realtime
Send an inference input frame.
sendRealtimeInput 1 param body

Messages & Schemas 15

The contract defines 15 schemas that model the data carried by its messages. The most detailed are RealtimeInput (7 properties), RealtimeResult (5 properties), QueueStatusCompleted (5 properties), QueueStatusInQueue (4 properties). Each schema is shown below with its type and property counts.

QueueStatusInQueue
message
Request has been received and persisted; waiting for an available runner.
QueueStatusInProgress
message
fal's dispatcher has routed the request to a runner.
QueueStatusCompleted
message
Result is stored and available for retrieval at responseurl (or was POSTed to the configured webhook). This is the terminal event of the stream.
RealtimeInput
message
Inference input frame. The accepted fields are defined by the OpenAPI schema of the target model — see the model's playground page on https://fal.ai/models for…
RealtimeResult
message
Inference output frame. Fields are model-specific; image-generation apps return an images array. The requestid echoes the inference invocation it corresponds t…
RealtimeError
message
Inference or framework-level error returned by the realtime runner.
RealtimeUnauthorized
message
Sent when the supplied credentials (proxy headers or JWT) cannot be verified. The connection is closed by the server after this frame.
QueueStatusInQueue
object
4 properties 2 required
QueueStatusInProgress
object
4 properties 2 required
QueueStatusCompleted
object
5 properties 2 required
QueueLogEntry
object
3 properties
RealtimeInput
object
Free-form, model-specific input frame. The exemplar properties below are the most common across realtime image-generation apps; consult the model OpenAPI schem…
7 properties
RealtimeResult
object
Model-specific output frame. Fields shown reflect the image-generation realtime apps (fast-lcm-diffusion, fast-turbo-diffusion, fast-sdxl). Other modalities re…
5 properties
RealtimeError
object
3 properties 1 required
RealtimeUnauthorized
object
2 properties 2 required

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

fal-ai-asyncapi.yml Raw ↑

Other APIs fal publishes across the network.

fal Streaming API
fal Models Catalog API
fal Compute API
fal API Keys API
fal Usage and Billing API
fal Apps API
fal Files API
fal Queue API
fal Secrets API
fal Storage API
fal Streaming API
Where this information came from

This is an independent, third-party profile of fal Realtime API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.