Create a personalized music Persona based on generated music, giving the music a unique identity and characteristics.
taskId: Required parameter, can be obtained from the following endpoints:
/api/v1/generate)/api/v1/generate/extend)/api/v1/generate/upload-cover)/api/v1/generate/upload-extend)audioId: Required parameter, specifies the audio ID to create Persona forname: Required parameter, assigns an easily recognizable name to the Personadescription: Required parameter, describes the Persona’s musical characteristics, style, and personalityvocalStart: Optional parameter, specifies the start time (seconds) of the analysis segment. Default: 0.0vocalEnd: Optional parameter, specifies the end time (seconds) of the analysis segment. Default: 30.0. Must be greater than vocalStartstyle: Optional parameter, music style labelvocalStart and vocalEnd are used to specify the time range of the analysis segment. If not provided, default values (0.0-30.0 seconds) will be used. It is recommended to select a segment that best represents the musical characteristicspersonaId can be used in subsequent music generation requests to create music with similar style characteristicspersonaId to the following endpoints:
All endpoints require authentication using Bearer Token.
Add to request headers:
Authorization: Bearer YOUR_API_KEY⚠️ Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately from the management page
Unique identifier of the original music generation task. This can be a taskId returned from any of the following endpoints:
"5c79****be8e"
Audio ID of the music track to create Persona for. This ID can be obtained from the music generation response.
"e231****-****-****-****-****8cadc7dc"
Name for the Persona. A descriptive name that captures the essence of the musical style or character.
"Electronic Pop Singer"
Detailed description of the Persona's musical characteristics, style, and personality. Be specific about genre, mood, instrumentation, and vocal qualities.
"A modern electronic music style pop singer, skilled in dynamic rhythms and synthesizer tones"
Specifies the start time (seconds) of the analysis segment. Used to extract musical characteristics. Optional. Default: 0.0.
x >= 00
Specifies the end time (seconds) of the analysis segment. Used to extract musical characteristics. Optional. Default: 30.0. Must be greater than vocalStart.
x >= 030
Music style label. Optional. Used to identify the Persona's music style type.
"Electronic Pop"
Request successful
Response Status Codes
200, 401, 402, 404, 409, 422, 429, 451, 455, 500 Error message when code != 200
"success"