AI Docs
API
Class References
Function References
- text
- textOptions
- combineStrategies
- convertMessagesToModelMessages
- convertZodToJsonSchema
- createReplayStream
- embedding
- generateMessageId
- maxIterations
- messages
- modelMessageToUIMessage
- modelMessagesToUIMessages
- normalizeToUIMessage
- parsePartialJSON
- summarize
- toServerSentEventsStream
- toServerSentEventsResponse
- toolDefinition
- uiMessageToModelMessages
- realtimeToken
- untilFinishReason
Interface References
- AIAdapter
- AIAdapterConfig
- AgentLoopState
- AudioPart
- AudioVisualization
- BaseStreamChunk
- TextCompletionChunk
- TextOptions
- ChunkRecording
- ChunkStrategy
- ClientTool
- ContentPartSource
- ContentStreamChunk
- DefaultMessageMetadataByModality
- DocumentPart
- DoneStreamChunk
- EmbeddingOptions
- EmbeddingResult
- ErrorStreamChunk
- ImagePart
- InternalToolCallState
- JSONParser
- ModelMessage
- ProcessorResult
- ProcessorState
- RealtimeAdapter
- RealtimeClientOptions
- RealtimeConnection
- RealtimeMessage
- RealtimeSessionConfig
- RealtimeToken
- RealtimeTokenAdapter
- RealtimeTokenOptions
- ResponseFormat
- ServerTool
- StreamProcessorEvents
- StreamProcessorHandlers
- StreamProcessorOptions
- SummarizationOptions
- SummarizationResult
- TextPart
- ThinkingPart
- ThinkingStreamChunk
- Tool
- ToolCall
- ToolCallPart
- ToolCallStreamChunk
- ToolConfig
- ToolDefinition
- ToolDefinitionConfig
- ToolDefinitionInstance
- ToolInputAvailableStreamChunk
- ToolResultPart
- ToolResultStreamChunk
- UIMessage
- VideoPart
Type Alias References
- AgentLoopStrategy
- AnyClientTool
- TextStreamOptionsForModel
- TextStreamOptionsUnion
- ConstrainedContent
- ConstrainedModelMessage
- ContentPart
- ContentPartForModalities
- ExtractModalitiesForModel
- ExtractModelsFromAdapter
- InferToolInput
- InferToolName
- InferToolOutput
- MessagePart
- RealtimeEvent
- RealtimeMessagePart
- RealtimeMode
- RealtimeStatus
- ModalitiesArrayToUnion
- Modality
- StreamChunk
- ToolCallState
- ToolResultState
Variable References
AI/LLM: This documentation page is available in plain markdown format at/ai/latest/docs/reference/interfaces/WorldGenerationAssets.md
WorldGenerationAssets
Defined in: packages/ai/src/types.ts:2693
Experimental
Assets from a finished world job. Live session adapters omit this. URLs are often signed CDN links. They can expire and may need a proxy to fetch from a browser.
World generation is an experimental feature and may change.
Properties#
caption?#
ts
optional caption?: string;Defined in: packages/ai/src/types.ts:2695
Experimental
Auto-generated scene description
imagery?#
ts
optional imagery?: object;Defined in: packages/ai/src/types.ts:2709
Experimental
panoUrl?#
ts
optional panoUrl?: string;mesh?#
ts
optional mesh?: object;Defined in: packages/ai/src/types.ts:2704
Experimental
colliderMeshUrl?#
ts
optional colliderMeshUrl?: string;fullResMeshUrl?#
ts
optional fullResMeshUrl?: string;hqMeshUrl?#
ts
optional hqMeshUrl?: string;splats?#
ts
optional splats?: object;Defined in: packages/ai/src/types.ts:2698
Experimental
groundPlaneOffset?#
ts
optional groundPlaneOffset?: number;metricScaleFactor?#
ts
optional metricScaleFactor?: number;spzUrls?#
ts
optional spzUrls?: Record<string, string>;Quality-key map of splat URLs (100k, 500k, full_res, …)
thumbnailUrl?#
ts
optional thumbnailUrl?: string;Defined in: packages/ai/src/types.ts:2697
Experimental
Preview image URL