Create Music Video
POST/api/v1/mp4/generate
Generate an MP4 video with visualizations for a music track.
Usage Guide
- This endpoint creates a visual representation of your music track as an MP4 video
- Both taskId and audioId are required to identify the specific track
- Optional author and domainName parameters can be used to add branding
Developer Notes
- Generated video files are retained for 15 days
- Videos include visual effects synchronized with the music
- This feature is ideal for social media sharing, music promotion, or creating visual content
- Videos maintain the same audio quality as the original track
Request
Responses
- 200
- 500
Request successful
Server error
Callbacks
- POST mp4Generated
POST{$request.body#/callBackUrl}
System will call this callback when MP4 video generation is complete.
Callback Example
{
"code": 200,
"msg": "MP4 generated successfully.",
"data": {
"task_id": "taskId_774b9aa0422f",
"video_url": "https://example.com/videos/video_847715e66259.mp4"
}
}
Callbacks Responses
- 200
Callback received successfully