music-01

circle-info

This documentation is valid for the following list of our models:

  • music-01

Model Overview

An advanced AI model that generates diverse high-quality audio compositions by analyzing and reproducing musical patterns, rhythms, and vocal styles from the reference track. Refine the process using a text prompt.

Setup your API Key

If you don’t have an API key for the Apilaplas API yet, feel free to use our Quickstart guidearrow-up-right.

Submit a request

API Schema

post
Authorizations
AuthorizationstringRequired

Bearer key

Body
purposestring · enumRequired
  1. If purpose is song:
  • You need to upload a music file containing both acapella (vocals) and accompaniment.
  • The acapella must be in singing form; normal speech is not supported.
  • Outputs: voice_id and instrumental_id.
  1. If purpose is voice:
  • You need to upload a file containing only acapella in singing form (normal speech audio is not supported).
  • Output: voice_id.
  1. If purpose is instrumental:
  • You need to upload a file containing only accompaniment.
  • Output: instrumental_id.
Possible values:
Responses
post
/v2/generate/audio/minimax/upload
default
post
Authorizations
AuthorizationstringRequired

Bearer key

Body
lyricsstringRequired

You can use a newline character (\n) to separate each line of lyrics. You can use two consecutive newline characters (\n\n) to add a pause between lines. You can use double hash marks (##) at the beginning and end of the lyrics to add accompaniment.

Example: ##Swift and Boundless In the realm of innovation, where visions align, LAPLAS API's the name, making tech shine. Intelligent solutions, breaking the mold, Swift inference power, bold and untold. ##
modelstring · enumRequired

Model id

Possible values:
refer_voicestringOptional

At least one of refer_voice or refer_instrumental is required. When only refer_voice is provided, the system can still output music data. The generated music will be an a cappella vocal hum that aligns with the provided refer_voice and the generated lyrics, without any instrumental accompaniment.

Example: vocal-2025010100000000-a0AAAaaa
refer_instrumentalstringOptional

At least one of refer_voice or refer_instrumental is required. When only refer_instrumental is provided, the system can still output music data. The generated music will be a purely instrumental track that aligns with the provided refer_instrumental, without any vocals.

Example: instrumental-2025010100000000-Aaa0aAaA
Responses
post
/v2/generate/audio/minimax/generate
default

Last updated