VideoGeneration - TypeScript SDK
VideoGeneration - TypeScript SDK
VideoGeneration method reference
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.
Overview
Video Generation endpoints
Available Operations
- generate - Submit a video generation request
- getGeneration - Poll video generation status
- getVideoContent - Download generated video content
- listVideosModels - List all video generation models
generate
Submits a video generation request and returns a polling URL to check status
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<models.VideoGenerationResponse>
Errors
getGeneration
Returns job status and content URLs when completed
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<models.VideoGenerationResponse>
Errors
getVideoContent
Streams the generated video content from the upstream provider
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<ReadableStream<Uint8Array>>
Errors
listVideosModels
Returns a list of all available video generation models and their properties
Example Usage
Standalone function
The standalone function version of this method:
Parameters
Response
Promise<models.VideoModelsListResponse>