Skip to main content

AI Remix (v7)

  • The API supports streaming responses only.
  • Provide an existing song as a reference URL and a style prompt to generate a remixed version.

Endpoint

  • /v7/generate/remix - streaming

Request Parameters

Example Request

Code Examples

Streaming Response

Fields

🛈 The fields below are used in the chunks sent by SSE during the streaming process.

Stages of Streaming Response

Validating
sent immediately after the request is received and validated

Queued
request has been accepted and is waiting to be processed
message_id can be used to track the request using the /status/generation/ endpoint

Starting / Initializing
the remix job is being prepared

Uploading
the reference audio is being uploaded to the model

Streaming (with progress)
remix is generating; progress increments from 0 to 100
Note: progress may hold at 90 for several minutes while the model finalizes and uploads the output audio. This is expected. The SSE connection remains open and active during this time. The stream will resume with a completed chunk and audio_url once the file is ready.

Completed
remix is finished and the final audio is available

Possible Errors

Missing prompt and lyrics:
Reference audio too large (> 10 MB):
Rate Limit Exceeded:
Insufficient Balance:
Service Unavailable: