v1

latestOpenAPI 3.1.02026-07-2611077199.5 KB

Replace part of the generated audio

post/flowmusic/v1/replace

Request body

music_idstring required

Parent task's musicId

sound_promptstring required

Audio prompt, sound_prompt and lyrics_text cannot both be empty

lyrics_textstring required

Lyrics text, sound_prompt and lyrics_text cannot both be empty

instrumentalboolean

Whether to generate pure music

startsnumber

Indicates starting replacement from x seconds of the original audio

endsnumber

End time of the replacement segment (seconds)

mv'FUZZ-2.0 Pro' | 'FUZZ-2.0' | 'FUZZ-2.0 Raw' | 'FUZZ-1.1 Pro' | 'FUZZ-1.0 Pro' | 'FUZZ-1.0' | 'FUZZ-1.1' | 'FUZZ-0.8' | 'Lyria 3 preview'

Model to use, supported options listed above

titlestring

Title

cover_art_urlstring

Cover URL

seedstring

Random seed

lyrics_strengthnumber

Lyrics strength, optional 0-1

sound_strengthnumber

Audio prompt strength, optional 0.2-1

weirdnessnumber

Style weirdness, optional 0-1

is_storageboolean

Whether to save

hook_urlstring

Callback notification URL. The data returned is consistent with the task result query response

Response

Request successful

statusstring required
messagestring required
dataobject required

Example response

{
  "status": "SUCCESS",
  "message": "success",
  "data": {
    "jobId": "jobId"
  }
}