Libraries & SDKs
Libraries & SDKs
VideoGen provides official hand-written SDKs and a CLI that track the public OpenAPI surface. The SDKs include helpers for polling, file management, and webhook verification. The CLI wraps @videogen/sdk and exposes videogen <resource> <kebab-op> commands.
Quick install
TypeScript
Python
CLI
SDK helpers
Both SDKs ship convenience helpers on top of the client (named exports and bound methods). Tools, workflows, and projects also expose *AndWait / *_and_wait wrappers that start work and poll to completion.
See the per-language pages for usage examples and configuration details:
Node.js, Bun, and edge runtimes.
Sync and async clients.
Single binary for terminals, scripts, and CI.
Agent framework tools
Building an AI agent? These packages return the full VideoGen tool set (34 tools) in your frameworkโs native format, so an agent can generate videos, images, voiceovers, sound effects, music, and avatars on demand. Each wraps the official SDK and runs as the team that owns your API key.
Tools for generateText, streamText, and Agents.
Tools for LangChain and LangGraph agents.
Tools for CrewAI agents and crews.
Tools for OpenAI Agents SDK (Python and TypeScript).
Tools for LlamaIndex agents.
Tools for Pydantic AI agents.
A custom toolkit for Composio agents.
No-code automation
Wire VideoGen into your automations without writing code.
Community node + trigger for n8n workflows.
Actions + instant sources for Pipedream workflows.
Explore & connect
Try the API interactively, or connect it to ChatGPT.
Import and run every endpoint in Postman.
Build a custom GPT with GPT Actions.
For any other framework, or an MCP client, see MCP server and Use with AI agents.