Libraries & SDKs

Official client libraries for the VideoGen API.

VideoGen provides official SDKs that stay up to date with the latest API features. Both are generated from the OpenAPI spec and include typed helpers for polling, file management, and webhook verification.

LanguagePackageGitHub
TypeScriptnpm: @videogen/sdkGitHub
PythonPyPI: videogenGitHub

Quick install

$npm install @videogen/sdk

SDK helpers

Both SDKs ship convenience functions on top of the generated client:

HelperPurpose
pollExecutedToolPoll a tool execution until it reaches a terminal status (succeeded, failed, cancelled).
uploadFileCreate a file upload, PUT the bytes, and poll until processed.
downloadFileHydrate a file’s download URL and fetch the content (optionally stream to disk).
getHydratedFileFetch a file and refresh signed URLs if they are missing or expired.
verifyWebhookSignatureVerify a Standard Webhooks signature on an incoming delivery.

See the per-language pages for usage examples and configuration details: