POST
/
api
/
v1
/
generate
/
add-vocals
Add Vocals to Music
curl --request POST \
  --url https://api.kie.ai/api/v1/generate/add-vocals \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "A calm and relaxing piano track.",
  "tags": "partylied, Mallorca Hit, schlager, melodie, Mann und Frau Singen abwechselnd, gute Laune, fröhlich, Disko Fox, Beliebt",
  "title": "Relaxing Piano",
  "negativeTags": "heavy metal, strong drum beats",
  "style": "Jazz",
  "vocalGender": "m",
  "styleWeight": 0.61,
  "weirdnessConstraint": 0.72,
  "audioWeight": 0.65,
  "uploadUrl": "https://example.com/music.mp3",
  "callBackUrl": "https://example.com/callback"
}'
{
  "code": 200,
  "msg": "success",
  "data": {
    "taskId": "5c79****be8e"
  }
}

Usage Guide

  • Use this interface to add vocal singing to existing audio
  • Supports custom lyric content and singing styles
  • Allows control of vocal gender, style weight, and other parameters

Parameter Details

  • uploadUrl specifies the audio file URL to be processed
  • prompt defines lyric content and singing style
  • style and tags are used to control music and vocal style
  • negativeTags are used to exclude unwanted elements
  • Supports various optional parameters for fine-tuning generation effects

Developer Notes

  • Generated files will be retained for 14 days
  • Callback process has three stages: text (text generation), first (first track completed), complete (all completed)

Authorizations

Authorization
string
header
required

All APIs require authentication via Bearer Token.

Get API Key:

  1. Visit API Key Management Page to get your API Key

Usage: Add to request header: Authorization: Bearer YOUR_API_KEY

Note:

  • Keep your API Key secure and do not share it with others
  • If you suspect your API Key has been compromised, reset it immediately in the management page

Body

application/json

Response

200
application/json

Request successful

The response is of type object.