Skip to main content

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

  1. Generated video files are retained for 15 days
  2. Videos include visual effects synchronized with the music
  3. This feature is ideal for social media sharing, music promotion, or creating visual content
  4. Videos maintain the same audio quality as the original track

Request

Responses

Request successful

Callbacks

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

Callback received successfully