Use with AI agents
The VideoGen API works with any AI agent or framework that supports function calling. Give your agent the ability to generate images, videos, voiceovers, sound effects, and avatar clips on demand.
Use the VideoGen API skill to build and manage media generation from your AI coding assistant:
Quick setup
Framework examples
OpenAI Agents SDK
Python
Vercel AI SDK
TypeScript
LangChain
Python
AGENTS.md
If you’re using an AI coding assistant like Cursor, Windsurf, or Claude Code, you can add the following to your project’s AGENTS.md or .cursor/rules/ to give the agent context about VideoGen:
MCP
Your VideoGen docs site includes a hosted MCP (Model Context Protocol) server that AI clients can connect to directly. This lets tools like Cursor and Claude Desktop query the full API documentation in real time.
Server URL: https://docs.videogen.io/_mcp/server
To connect in Cursor, add this to your MCP configuration: