Developer docs

Set a song’s timed words

MCP tool
set_song_words
CLI
kinetune songs set-words
POST/api/v1/songs/{song_id}/words

Not sent from the docs: it changes your workspace. Run it with curl, the CLI or its MCP tool.

Fix words and their timing by hand: text, start, end and line breaks

The song’s words as the videos show them, edited by hand: get them from get_song_analysis (words), change what is wrong (a word’s text, where it starts or ends, line: true on the first word of each line, a word removed or added) and send them all back. Sorted by start, never overlapping, inside the song, up to 5000 words of 1 to 60 characters. Saved as they are (nothing is timed again): analysis.lyrics.edited_at says when, and set_song_lyrics or clear_song_lyrics later times every word from the audio again. A video can censor swear words on its own (display.censor). Videos made from then on use them; videos already made stay as they are. 409 while the song is being analysed.

headerAuthorizationBearer <token>

An organization API key (kt_live_…) or an OAuth access token

song_id*string

The song id

Length1 <= length <= 120
application/json
  1. body
words*array<>

Every word of the song, in order

Items1 <= items <= 5000

Response Body

OK

Example Request
curl -X POST 'https://dev.kinetune.com/api/v1/songs/string/words' \
  -H 'Content-Type: application/json' \
  -d '{
  "words": [
    {
      "text": "string",
      "start": 0,
      "end": 0
    }
  ]
}'
Example Response
Empty