Get API Key Get API
Docs

Download Audio

Flow Music exports a clip as an audio file in the specified format (wav / mp3)

Request example

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

Response example

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

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 download, from a successful task's result.music[].clip_id

format string

Download format

Options:

  • mp3 - Lossy compression, smaller file size
  • wav - Lossless, suitable for post-production

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: Export lossless wav

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

Query Task Results

Audio download is an asynchronous task; a task_id is returned after submission. Use the Get Task Status endpoint to query generation progress and results. The result is always in result.music[0].audio_url (url has the same value); the format / mime_type fields indicate the actual format.

Completed Task Result Example

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

{
  "code": 200,
  "data": {
    "id": "task_01KWXVD3FPYYQPJ2N87XXE5NQG",
    "status": "completed",
    "progress": 100,
    "created": 1783413247,
    "completed": 1783413296,
    "actual_time": 49,
    "cost": 0.016,
    "credits_cost": 0.16,
    "result": {
      "music": [
        {
          "clip_id": "a41aade4-993e-4d28-b56f-d97e7ef7167c",
          "format": "wav",
          "mime_type": "audio/wav",
          "size_bytes": 34900726,
          "audio_url": "https://cdn.openveer.com/audio/flowmusic_a41aade4_download_audio.wav",
          "url": "https://cdn.openveer.com/audio/flowmusic_a41aade4_download_audio.wav"
        }
      ]
    }
  }
}

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