API Reference
Use the Music Visualizer API to render videos programmatically from your applications or AI agents.
Authentication
Include your API key in the Authorization header:
Authorization: Bearer mvk_your_api_key
Endpoints
Render settings example
{
"format": "portrait",
"quality": "1080p",
"duration": {
"start": 0,
"end": 30
},
"visualizer": {
"type": "rounded-bars",
"accentColor": "#ffffff",
"barCount": 96,
"intensity": 1.2
},
"background": {
"type": "preset",
"preset": "noir"
},
"lyrics": {
"enabled": true,
"direction": "auto",
"style": {
"mode": "caption",
"position": "bottom"
},
"lines": [
{
"start": 12,
"end": 16,
"text": "First line"
}
]
},
"watermark": {
"enabled": true,
"position": "bottom-right"
}
}format accepts 16:9 / landscape, 9:16 / portrait, or 1:1 / square. The output resolution is derived from quality (720 / 1080 / 1440 / 2160) and the format — e.g. portrait 1080p renders 1080×1920, square 1080p renders 1080×1080. If you pass explicit renderParams.width/height, the shorter side must match the requested quality. Portrait 4K is not supported.
Credit pricing
Flat 50 credits per render (max 10 minutes). +10 credits to remove watermark.