Developer docs

Change the video draft

MCP tool
edit_video_draft
CLI
kinetune drafts edit
PATCH/api/v1/songs/{song_id}/video-draft

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

Change the person's lyric video or Canvas draft: style, clips, a clip at a cut, transitions, grade, effects, format

Changes the draft get_video_draft answers, as the editor would, and saves it: the person sees the same draft in the editor (with no change, it only saves it, for editor_url). Send only what changes. Clips: sources (Stock mood ids from get_options clip_moods or browse_clip_mood; the workspace's folders from list_clip_folders, where the person's own uploads and the clips cut from their links land: import_clips), shuffle (other clips on the same cuts), replace [{cut, clip_id}] (one clip at a cut, e.g. one found with similar_clips or list_clips; a sung shot, list_clips sync, only at a cut of its own words, else 400), joins [{cut, transition, seconds, direction, intensity}] (the transition into a cut: get_options transitions, or cut), starts [{cut, at}] (where in its clip a cut starts; a sung shot starts on its own words, so 400). Style: lyric_style, behind, visual, visual_strength (how strongly the visual shows over clips, 0.1–1; null: the visual's own level; get_video_draft answers the level it shows at). Recipe: density, transitions {style, amount, feel}, grade, grade_amount, effects, shape, fill, speed. format 9:16 or 16:9, trim (null: the whole song), display. Canvas (type canvas): picture clips|cover|visualizer, loop, seconds, cut, motion, visual, light, atmosphere, frame, effects. reset true starts over from the song's rules draft. A change to sources, density, shape, speed, seed, format or section plans a new cut and lets go of clips put in by hand. Answers the draft (cuts, request) like get_video_draft. Free (no AI); only making the video costs, after a quote and the person's yes.

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
type?string
Default"lyric-video"
Value in"lyric-video""canvas"
reset?boolean
lyric_style?|null
colours?string
Value in"style""cover""midnight""ember""neon""rose""forest""gold""ocean""violet""canary""mono"
behind?boolean|null
visual?|null
visual_strength?|null
picture?string
Value in"clips""visualizer""cover"
sources?
density?string
Value in"one""fewer""even""more"
transitions?
grade?string
Value in"clean""vivid""punch""warm""cool""golden""blue""tangerine""teal""faded""matte""silver""deep""glow""vhs""super8""halation""bleach""dream""duotone""cross""noir""poster""night""infrared""cctv""thermal"
grade_amount?number
Range0 <= value <= 1
effects?array<>
Itemsitems <= 3
shape?string
Value in"both""tall""wide"
fill?string
Value in"cover""blur""bars""colour"
speed?number
shuffle?boolean
seed?integer
Range0 <= value <= 2147483647
replace?array<>
Itemsitems <= 200
joins?array<>
Itemsitems <= 200
starts?array<>
Itemsitems <= 200
format?string
Value in"9:16""16:9"
trim?|null
display?
loop?string
Value in"drift""rebound""cuts"
seconds?number
Range3 <= value <= 8
cut?string
Value in"hard""smooth"
motion?string
Value in"push""drift""still"
light?|null
atmosphere?string
Value in"none""snow""leaves""petals""embers""sparkles""rain""confetti""hearts""dust"
frame?

Response Body

OK

Example Request
curl -X PATCH 'https://dev.kinetune.com/api/v1/songs/string/video-draft' \
  -H 'Content-Type: application/json' \
  -d '{}'
Example Response
Empty