Music Generation (Coming soon)

Create prompt-based and custom music tasks.

Music generation (Coming soon)

Use POST /v1/music/generations to create a music task. The API returns a task id; use Task status to get the final audio URL.

This endpoint is documented for preview and is not open yet.

Endpoint

POST /v1/music/generations

Request body

FieldTypeRequiredDescription
providerstringYesMusic provider, for example kie.
modelstringYesMusic model, for example V5.
promptstringRequired in normal modeMusic idea, mood, genre, instruments, or vocal direction.
customModebooleanNoSet to true when you want to provide title, style, and lyrics separately.
titlestringRequired in custom modeSong title.
stylestringRequired in custom modeMusic style, such as synthwave, cinematic pop, or acoustic folk.
lyricsstringRequired in custom mode unless instrumentalLyrics for the song.
instrumentalbooleanNoSet to true for instrumental music.
optionsobjectNoExtra model options supported by the selected music model.

Credits

Music generation costs 10 credits per task.

Example: normal mode

curl https://sseedance.com/v1/music/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "kie",
    "model": "V5",
    "prompt": "Warm cinematic synth pop with soft drums",
    "instrumental": false
  }'

Example: custom mode

curl https://sseedance.com/v1/music/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "kie",
    "model": "V5",
    "customMode": true,
    "title": "Neon Rain",
    "style": "synthwave",
    "lyrics": "City lights and midnight rain",
    "instrumental": false
  }'

Example: instrumental custom mode

curl https://sseedance.com/v1/music/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "provider": "kie",
    "model": "V5",
    "customMode": true,
    "title": "Open Sky",
    "style": "cinematic ambient",
    "instrumental": true
  }'

Response

{
  "id": "task_id",
  "object": "music.generation.task",
  "status": "pending",
  "data": {
    "id": "task_id",
    "mediaType": "music",
    "status": "pending",
    "audioUrls": []
  }
}

Use GET /v1/tasks/{id} to check the final audioUrls.

Music Generation (Coming soon)