Defined in: packages/ai/src/types.ts:2606
Experimental
Result of live generation. JSON-serializable so a server route can return it to a browser.
Reactor: connect with token and model (the connect slug). fal: model is the WMA app id. Open wma(model) through a server proxy that attaches FAL_KEY. Do not send token as Key credentials.
Live generation is an experimental feature and may change.
expiresAt: number;Defined in: packages/ai/src/types.ts:2617
Experimental
Token expiry as milliseconds since epoch
id: string;Defined in: packages/ai/src/types.ts:2608
Experimental
Unique identifier for this generation
model: string;Defined in: packages/ai/src/types.ts:2613
Experimental
Connect id for the browser client. Reactor: reactor/helios. fal: WMA app id fal-ai/minimax-h3-max-director.
prompt: string;Defined in: packages/ai/src/types.ts:2619
Experimental
Prompt the client should send when it starts the session
optional sessionId?: string;Defined in: packages/ai/src/types.ts:2623
Experimental
Provider session id, when the adapter created one
status: "ready" | "waiting";Defined in: packages/ai/src/types.ts:2621
Experimental
Session status after the server half finishes
token: string;Defined in: packages/ai/src/types.ts:2615
Experimental
Short-lived session token. Reactor uses this to connect. fal does not.
optional usage?: TokenUsage<ProviderUsageDetails>;Defined in: packages/ai/src/types.ts:2625
Experimental
Token usage / billing, when the adapter can report it