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 generate a video for, from a successful task’s result.music[].clip_id
string
default:"simple"
Video template presetOptions:
  • simple - Clean template
  • modern - Modern-style template
  • player - Player-style template

Response

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

Use Cases

Scenario 1: Render a music video with the modern template

Query Task ResultsMusic video rendering 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 in result.music[0].video_url.

Completed Task Result Example

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