Developer docs

Quote a lyric video, a Canvas or a music video

MCP tool
quote_lyric_video
CLI
kinetune quote lyric-video
MCP tool
quote_canvas
CLI
kinetune quote canvas
MCP tool
quote_music_video
CLI
kinetune quote music-video
POST
/api/v1/quotes

Try it with your own API key: it runs on that key's workspace, so a real key reads your real songs, videos and credits. Reads and quotes only; nothing is charged.

The exact credits for a lyric video, before anything is charged

Returns quote_id, credits (total), credits_per_video and a breakdown, and free: true when, without a plan, it is one of the month's free videos (create_video then holds no credits). Always quote first and tell the user the credits before creating; credits are reserved at creation and charged only when the video is delivered. A quote is valid for 30 minutes.

The exact credits for a Spotify Canvas, before anything is charged

Returns quote_id, credits and a breakdown. Always quote first and tell the user the credits before creating; credits are reserved at creation and charged only when the video is delivered.

The exact credits for an AI music video, before anything is charged

Returns quote_id, credits and a breakdown; the price follows the section's length (clips of about 15 seconds). The song's artist performs it, so the artist needs their character (start_character). With a plan_id, test: true prices testing the plan first (its chorus's shots at 480p; test in the answer says which shots and seconds): offer it beside the whole video's quote. Always quote first and tell the user the credits before creating; credits are reserved at creation and charged only when the video is delivered.

headerAuthorizationBearer <token>

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

application/json
  1. body
type*unknown
song_id*string

The song id

Length1 <= length <= 120
variations?integer

1–4 videos with a clips picture, each drawing other clips (the next seed); one otherwise

Range1 <= value <= 4
Default1
callback_url?string

An https URL to POST the finished video to (signed; see Callbacks). Quote and create with the same value

Lengthlength <= 2000
metadata?

Your own JSON (an order id, for example): kept with the video and returned in its request. Quote and create with the same value

look?

How it looks. Anything left out is the song's draft, picked by rules (get_song_draft shows it). Change any part: "lyric_style" (get_options lyric_styles), "behind" (true: big words go behind the subject of the clips, a person or a solid figure, which stands in front of them; only the lyric styles get_options marks behind: true take it, others keep their words in front; the behind style has it on, false turns it off), "colours" ("style": the lyric style's own, the default; "cover": the song's cover's colours, the style's own without a cover; or a set from get_options colours: any colours suit any style), "visual" (get_options visualizers: {"preset":"liquid/…"}, with "strength" 0.1–1 for how strongly it shows over clips; left out, the visual's own level; the Visualizer picture plays it at full strength), and "background": {"kind":"clips","sources":{"moods":["euphoria"],"folders":["folder_…"]},"density":"even","transitions":{"style":"auto","amount":0.5,"feel":0.5},"grade":"clean","grade_amount":1,"effects":[{"id":"film-grain","amount":0.5}],"shape":"both","fill":"blur","speed":1} for short clips cut on the beat (moods: get_options clip_moods; folders: list_clip_folders; transitions, grades and densities: get_options; grade_amount: the grade's strength 0–1, default 1; effects: up to three from get_options effects, each with an amount 0–1, drawn over the clips across the song), or {"kind":"visualizer"} for a visual that fills the frame. The lyric style brings its type, and its colours unless "colours" names others. On a song with no vocals (get_song instrumental) the video is a Visualizer: the title card holds the screen, so pick a style for its colours, title card and effects. No AI designs anything: a lyric video costs its per-video price and render only (quote_lyric_video shows both)

Default{}
aspect_ratios?array<>

Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)

Items1 <= items <= 3
Default
[  "9:16"]
display?

Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. clips false leaves the clips out (the video's ground in its colours, with its visual if it has one); song false leaves the song out of the sound (a silent video); both default to on. title_card: when a kinetic lyric style shows its big title card instead of the small label: ends (before the first line and after the last; the default over clips), breaks (also every break of 3 s or more; the default otherwise) or label (never). censor: true shows swear words with their vowels as * (the song is untouched)

Default
{  "title": true,  "artist": true,  "cover": true,  "lyrics": true,  "badges": true}
trim?

Render only this section of the song (at least 8 seconds). Best: a part from get_song_analysis (parts[]: its start and end never cut a word)

edit?

A clips picture's cut: {"seed":7} draws the clips (same seed, same video; another seed, other clips on the same cuts; the sung shots of this song's music videos land on their own words), or "clips" lists them exactly as a studio previewed them (list_clips and @kinetune/composition planEdit: {clip_id, at, in, duration, transition}, each cut where you want it, each clip from where you want it to start; a sung shot, list_clips sync, only where trim start + at to + duration lies inside its song seconds, and it starts on its own frame whatever in says; anywhere else 400); a clip may also set its own transition's transition_seconds (0.07–1), direction (left, right, up, down: whip, stack, wipe, slip, slice) and intensity (0–1, 0.5 as designed: hits, zooms, flashes, warps); one variation only

Response Body

OK

Example Request
curl -X POST 'https://dev.kinetune.com/api/v1/quotes' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "lyric-video",
  "song_id": "string"
}'
Example Response
Empty