Flow Music
Extend Music
Flow Music continues a previously generated audio clip. Extends the music from a specified time point according to an editing instruction
POST
Authentication
All endpoints require Bearer Token authenticationGet your API Key:Visit the API Key management page to get your API KeyAdd it to the request header:
Request Parameters
Model name, must be
"flowmusic" (case-insensitive)Source music clip_id, from a successful task’s
result.music[].clip_idThe source task must have succeeded. External audio can first be imported via Upload Audio to obtain a clip_id.
Time point (seconds) to start the extension fromCannot exceed the source clip’s duration
Extension duration (seconds)Maximum:
164 secondsEditing instruction for the extended musicExample:
"Continue the verse melody, add strings"Title of the extended music
Random seed, used to reproduce results
Response
Response status code, 200 on success
Array of returned data
Use Cases
Scenario 1: Extend 60 seconds from the chorus
Query Task ResultsMusic extension is an asynchronous task; a
task_id is returned after submission. Use the Get Task Status endpoint to query generation progress and results. The extension output is a new clip_id; use the new clip_id for subsequent operations.Completed Task Result Example
Query response example (GET /v1/music/tasks/{task_id}):