INTEGRATION GUIDE

VAP + Claude Code

Generate AI media directly from your terminal. Perfect for developer workflows and automation scripts.

Use Cases

README Assets: "Generate a demo video for my project README"
Test Data: "Create 5 product images for my e-commerce test suite"
Prototypes: "Make a placeholder video for the hero section"

Setup Guide

Step 1: Install Claude Code

If you haven't already, install Claude Code:

$ npm install -g @anthropic-ai/claude-code

Step 2: Add VAP MCP Server

Add VAP as an MCP server:

$ claude mcp add vap -- npx -y @anthropic/vap-mcp-server

Step 3: Set API Key

Add your VAP API key to environment:

# Add to ~/.bashrc or ~/.zshrc
export VAP_API_KEY="your-api-key-here"

Step 4: Start Using

Start Claude Code and ask for media generation:

$ claude
> Generate a product demo video showing a mobile app interface

Pro Tip

Claude Code can save generated files directly to your project. Ask: "Generate a hero video and save it to ./assets/hero.mp4"

FAQ

Can I use it in CI/CD pipelines?

For CI/CD, use the REST API directly. MCP is designed for interactive terminal sessions. See API docs for programmatic access.

What file formats are supported?

Video: MP4 (H.264). Images: PNG, WEBP. Music: MP3, WAV. All files are saved to your specified path or current directory.

Does it work offline?

No. VAP requires internet connection to generate media. The AI models run on VAP's servers, not locally.

Ready to start?

Get your API key and start generating from the terminal.

Get API Key