Skip to main content
POST
The model name for Flow Music Replace in AIReiter is flow_music_replace. clip_id comes from output[].clip_id in a completed task.

Authorizations

string
required
All endpoints require Bearer Token authentication.Get the API Key:Visit API Key Management Page to get your API Key.Add the following to the request headers when using it:

Body

string
required
Model name, fixed value:
  • flow_music_replace
object
required
Model parameters object.
string
required
Initiator task ID.User-defined task identifier, required. Only letters, numbers, underscores, and hyphens are supported, with a length of 1-64 characters. You can use this ID later to query task status and results.

Response

string
Initiator task ID, can be used to query the result.
string
Initial status, usually "pending".
string
Creation time, in ISO format.

Query Task

Flow Music Replace is an asynchronous music replacement model. After submitting a task, use out_task_id to query the task status. Once completed, output contains audio, url, title, and a new clip_id.
string
required
The initiator task ID passed when submitting the task.
Example output after a successful query and completion:

Request Examples

Mode Notes

Replacement will return a new clip_id. Billing is charged per call and is unrelated to the original track’s actual duration.