Python
Official Python SDK for the VideoGen API.
Install
Create a client
The client reads from the VIDEOGEN_API_KEY environment variable when no token is provided.
Async client
Run a tool and poll for the result
All tool endpoints are asynchronous. Use poll_executed_tool to wait for the result:
For the async client, use async_poll_executed_tool: