music-u.music-u model supports only the generate_music task. Below are the task examples for different use cases:{
"model": "music-u",
"task_type": "generate_music",
"input": {
"gpt_description_prompt": "night breeze, piano",
"negative_tags": "",
"lyrics_type": "generate",
"seed": -1
},
"config": {
"service_mode": "public",
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}{
"model": "music-u",
"task_type": "generate_music",
"input": {
"gpt_description_prompt": "night breeze",
"negative_tags": "",
"lyrics_type": "instrumental",
"seed": -1
},
"config": {
"service_mode": "public",
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}{
"model": "music-u",
"task_type": "generate_music",
"input": {
"lyrics": "[Verse]\nIn the gentle evening air,\nWhispers dance without a care.\nStars ignite our dreams above,\nWrapped in warmth, we find our love.\n[Chorus]\n",
"gpt_description_prompt": "jazz, pop",
"negative_tags": "",
"lyrics_type": "user",
"seed": -1
},
"config": {
"service_mode": "public",
"webhook_config": {
"endpoint": "",
"secret": ""
}
}
}