API
Make clips from code or from your AI tool. Keys are in Settings.
1. Send your key
Authorization: Bearer clp_your_key
2. Start a project
curl -X POST https://sniptai.com/api/jobs \ -H "Authorization: Bearer clp_your_key" \ -F url="https://youtube.com/watch?v=..." -F n=5 -F length=auto
Or send a file with -F file=@video.mp4. You get back {"id": "..."}.
3. Check it, then download
GET /api/jobs/{id} status, progress, clips
GET /api/jobs/{id}/clips/clip_01.mp4
GET /api/jobs/{id}/download.zip
Wait until status is done. Credits are used the same way as in the app.
Use it from Claude, Cursor and more (MCP)
Run tools/mcp_server.py with your key. Then ask your AI tool to clip a video.
{"mcpServers": {"clipper": {"command": "python3", "args": ["/path/to/tools/mcp_server.py"],
"env": {"CLIPPER_URL": "https://sniptai.com", "CLIPPER_API_KEY": "clp_your_key"}}}}