API Reference
API Reference / Endpoints / Music

Remix songs

/v1/music/songs/remix

Create a remix from a prior song or uploaded audio source.

POST/v1/music/songs/remix
Auth: API keyBilling: Consumes 1 API callBehavior: AsyncScopes: audio:generate
POSTAsyncjsonaudio:generate

When to use it

Use this when you want a transformed version of an existing asset rather than a blank-sheet generation.

Behavior on success

Returns 202 Accepted with a request_id. Poll the status endpoint or use webhooks.

Integration shape

Authorization model
audio:generate
Request format
json
Polling pattern
Poll status if the route returns processing.

Request

FieldTypeRequiredDescription
lyricsstringYesRemix direction or lyric material.
song_idstringOptionalExisting song id.
upload_audio_idstringOptionalExisting upload id. Supply one source identifier total.

Example request

POST /v1/music/songs/remix
const response = await fetch('https://prod-backup-backend.wubble.ai/v1/music/songs/remix', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.WUBBLE_API_KEY}`,
    'Idempotency-Key': crypto.randomUUID(),
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
  "lyrics": "Turn this into a more spacious, cinematic arrangement",
  "song_id": "song_123"
}),
});

const payload = await response.json();
console.log(payload);

Example response

Response shapejson
{
  "success": true,
  "data": {
    "request_id": "<uuid>",
    "status": "processing",
    "estimated_seconds": 75
  }
}

Production guidance

Pair this route with idempotency on POST requests and either request polling or webhooks whenever the response is asynchronous.
Was this page helpful?