TypeScript
Official TypeScript SDK for the VideoGen API.
The client reads from the VIDEOGEN_API_KEY environment variable when no token is provided.
All tool endpoints are asynchronous. Use pollExecutedTool to wait for the result:
pollExecutedTool accepts an optional third argument: