Coding & Debugging
PromptBeginner5 minmarkdown
const response = await fetch(https://api.minimax.io/v1/music_generation
{
0
Explore
8,622 skills indexed with the new KISS metadata standard.
{
hex);
audioBuffer);
{
{}).get(status_code
{}).get(status) == 1 and data[data].get(audio):
lyrics_data[lyrics]
extra spaces
violent
storytelling
prompt: theme description }
`2` = completed |
see error codes |
no audio is generated
# the full JSON response dict
hex)` (Node.js)
always follow these rules:
must decode hex to binary
generation is still in progress (not an error)
no trailing newlines
check for extra whitespace
`style_tags`
debug API errors
structuring lyrics