Generate AI videos with Claude, Node.js, or direct API calls
Create a free account and copy your API key from the dashboard.
Add VideoRouter to your Claude Code settings (~/.claude/settings.json):
{
"mcpServers": {
"videorouter": {
"command": "npx",
"args": ["videorouter-mcp"],
"env": {
"VIDEOROUTER_API_KEY": "vr_your_api_key_here"
}
}
}
}After saving the settings, restart Claude Code to load the VideoRouter MCP server.
Now you can simply ask Claude to generate videos:
You:
"Generate a 5 second video of a sunset over the ocean"
Claude:
I'll generate that video for you using the Wan 2.1 model.
[Uses generate_video tool]
Video generation started! Job ID: abc123
Estimated cost: 0.20 credits
[Checks status after a minute]
Your video is ready!
Video URL: https://videorouter.io/videos/abc123.mp4
generate_videoCreate a video from text or image
get_video_statusCheck if your video is ready
list_video_modelsSee all available models
get_video_creditsCheck your balance