VideoGeneration - Go SDK
VideoGeneration - Go SDK
VideoGeneration method reference
The Go 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
Parameters
Response
*components.VideoGenerationResponse, error
Errors
GetGeneration
Returns job status and content URLs when completed
Example Usage
Parameters
Response
*components.VideoGenerationResponse, error
Errors
GetVideoContent
Streams the generated video content from the upstream provider
Example Usage
Parameters
Response
io.ReadCloser, error
Errors
ListVideosModels
Returns a list of all available video generation models and their properties
Example Usage
Parameters
Response
*components.VideoModelsListResponse, error