Skip to main content
POST

Authentication

string
required
All endpoints require Bearer Token authenticationGet your API Key:Visit the API Key management page to get your API KeyAdd it to the request header:

Request Parameters

string
required
Model name, must be "flowmusic" (case-insensitive)
string
required
clip_id of the music to download, from a successful task’s result.music[].clip_id
string
required
Download formatOptions:
  • mp3 - Lossy compression, smaller file size
  • wav - Lossless, suitable for post-production

Response

integer
Response status code, 200 on success
array
Array of returned data

Use Cases

Scenario 1: Export lossless wav

Query Task ResultsAudio 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}):