config.source.song_id
#context_length
#config.mode
#precede
(扩展前半部分)continuation
(扩展后半部分)config.model = "precede"
song_section_start = 0
config.model = "precede"
song_section_start = 0.4
config.model = "continuation"
song_section_start = 0.4
config.model = "continuation"
song_section_start = 0.9
{
"gen_params": {
"prompt": "A heist planned and executed by a group of cats, spy jazz, bossa nova",
"lyrics": "",
"lyrics_type": "generate",
"bypass_prompt_optimization": false,
"seed": -1,
"song_section_start": 0,
"prompt_strength": 0.5,
"clarity_strength": 0.25,
"lyrics_strength": 0.5,
"generation_quality": 0.75,
"negative_prompt": "",
"model_type": "udio32-v1.5",
"config": {
"mode": "precede",
"context_length": 130,
"source": {
"source_type": "song",
"song_id": "564f65c9-b79a-459c-8d78-54047c579c73"
}
}
}
}
curl --location --request POST 'https://api.gptnb.ai/udio/v1/submit/music' \
--header 'Content-Type: application/json' \
--data-raw '{
"gen_params": {
"prompt": "A heist planned and executed by a group of cats, spy jazz, bossa nova",
"lyrics": "",
"lyrics_type": "generate",
"bypass_prompt_optimization": false,
"seed": -1,
"song_section_start": 0,
"prompt_strength": 0.5,
"clarity_strength": 0.25,
"lyrics_strength": 0.5,
"generation_quality": 0.75,
"negative_prompt": "",
"model_type": "udio32-v1.5",
"config": {
"mode": "precede",
"context_length": 130,
"source": {
"source_type": "song",
"song_id": "564f65c9-b79a-459c-8d78-54047c579c73"
}
}
}
}'
{
"code": "success",
"message": "",
"data": "8b171b81-30c0-40a0-85de-627abad34eb6"
}