Get API Key Get API
Docs

Stem Separation

Flow Music separates vocal / instrumental tracks, delivered as a zip stem package

Request example

curl --request POST \
  --url https://api.openveer.com/v1/music/generations/stemsFlowMusic \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "flowmusic",
    "clip_id": "abc123-def456"
  }'

Response example

{
  "code": 200,
  "data": [
    {
      "status": "submitted",
      "task_id": "task_01KWXVD1EFXYEHDJ8M0XNJ65AR"
    }
  ]
}

Authentication

Authorization string

All endpoints require Bearer Token authentication

Get your API Key:

Visit the API Key management page to get your API Key

Add it to the request header:

Authorization: Bearer YOUR_API_KEY

Request Parameters

model string

Model name, must be "flowmusic" (case-insensitive)

clip_id string

clip_id of the music to separate, from a successful task's result.music[].clip_id

Response

code integer

Response status code, 200 on success

data array
Array of returned data
status string

Task status, submitted upon initial submission

task_id string

Unique task identifier, used to query task status and results

Use Cases

Scenario 1: Separate vocals and instrumental

{
  "model": "flowmusic",
  "clip_id": "abc123-def456"
}
Note

Query Task Results

Stem separation is an asynchronous task; a task_id is returned after submission. Use the Get Task Status endpoint to query generation progress and results. The separation result is a single zip archive (result.music[0].file_url, about 20MB) containing the vocal / instrumental stem audio tracks, available for direct download.

Completed Task Result Example

Query response example (GET /v1/music/tasks/{task_id}):

{
  "code": 200,
  "data": {
    "id": "task_01KWXVD1EFXYEHDJ8M0XNJ65AR",
    "status": "completed",
    "progress": 100,
    "created": 1783413245,
    "completed": 1783413331,
    "actual_time": 86,
    "cost": 0.048,
    "credits_cost": 0.48,
    "result": {
      "music": [
        {
          "clip_id": "a41aade4-993e-4d28-b56f-d97e7ef7167c",
          "file_url": "https://cdn.openveer.com/audio/flowmusic_a41aade4_stems.zip",
          "url": "https://cdn.openveer.com/audio/flowmusic_a41aade4_stems.zip",
          "mime_type": "application/zip",
          "size_bytes": 20323367
        }
      ]
    }
  }
}

This documentation is built and hosted on Mintlify, a developer documentation platform.