@kinetune/cli 4.1.0 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -259,6 +259,7 @@ kinetune artists list --q "nova" # part of the artist n
259
259
  kinetune songs list --q "tide" --limit 20 # part of the title or the artist name
260
260
  kinetune songs list --status ready --sort newest # analyzed songs, latest uploads first
261
261
  kinetune songs list --artist-id ARTIST_ID --offset 50 # the next page of one artist's songs
262
+ kinetune songs list --sort newest --include videos # what each song has: lyric videos, Canvases, music videos, your drafts
262
263
  ```
263
264
 
264
265
  ## Looks
package/dist/kinetune.mjs CHANGED
@@ -21252,6 +21252,69 @@ var CanvasRequestShape = external_exports.object({
21252
21252
  /** Effects over the whole loop (GET /options effects), up to three, each with a strength; they repeat with the loop, no seam. */
21253
21253
  effects: EffectsSchema.default([])
21254
21254
  }).strict();
21255
+ var DraftCut = external_exports.number().int().min(1).max(6e3);
21256
+ var VideoDraftEditShape = external_exports.object({
21257
+ type: external_exports.enum(["lyric-video", "canvas"]).default("lyric-video"),
21258
+ reset: external_exports.boolean().optional(),
21259
+ look_id: external_exports.string().min(1).max(120).optional(),
21260
+ lyric_style: external_exports.enum(LYRIC_STYLE_IDS).nullable().optional(),
21261
+ behind: external_exports.boolean().nullable().optional(),
21262
+ visual: external_exports.string().min(1).max(120).nullable().optional(),
21263
+ picture: external_exports.enum(["clips", "visualizer", "cover"]).optional(),
21264
+ sources: external_exports.object({
21265
+ moods: external_exports.array(external_exports.string().min(1).max(80)).max(40).optional(),
21266
+ folders: external_exports.array(external_exports.string().min(1).max(80)).max(40).optional(),
21267
+ looks: external_exports.array(external_exports.string().min(1).max(120)).max(40).optional()
21268
+ }).strict().optional(),
21269
+ density: external_exports.enum(CUT_DENSITIES).optional(),
21270
+ transitions: external_exports.object({ style: TransitionsSchema.shape.style.unwrap().optional(), amount: external_exports.number().min(0).max(1).optional(), feel: external_exports.number().min(0).max(1).optional() }).strict().optional(),
21271
+ grade: external_exports.enum(GRADE_IDS).optional(),
21272
+ grade_amount: external_exports.number().min(GRADE_AMOUNT.min).max(GRADE_AMOUNT.max).optional(),
21273
+ effects: EffectsSchema.optional(),
21274
+ shape: external_exports.enum(CLIP_SHAPES).optional(),
21275
+ fill: external_exports.enum(CANVAS_FILLS).optional(),
21276
+ speed: external_exports.number().refine((v) => CANVAS_SPEEDS.includes(v), { message: `speed is one of ${CANVAS_SPEEDS.join(", ")}` }).optional(),
21277
+ shuffle: external_exports.boolean().optional(),
21278
+ seed: external_exports.number().int().min(0).max(2 ** 31 - 1).optional(),
21279
+ replace: external_exports.array(external_exports.object({ cut: DraftCut, clip_id: external_exports.string().regex(/^clip_[0-9a-f-]{36}$/) }).strict()).max(200).optional(),
21280
+ joins: external_exports.array(external_exports.object({
21281
+ cut: DraftCut,
21282
+ transition: external_exports.enum(CLIP_ENTRANCES),
21283
+ seconds: external_exports.number().min(JOIN_SECONDS.min).max(JOIN_SECONDS.max).optional(),
21284
+ direction: external_exports.enum(TRANSITION_DIRECTIONS).optional(),
21285
+ intensity: external_exports.number().min(0).max(1).optional()
21286
+ }).strict()).max(200).optional(),
21287
+ starts: external_exports.array(external_exports.object({ cut: DraftCut, at: external_exports.number().min(0).max(600).nullable() }).strict()).max(200).optional(),
21288
+ format: external_exports.enum(["9:16", "16:9"]).optional(),
21289
+ trim: external_exports.object({ start_seconds: external_exports.number().min(0), end_seconds: external_exports.number().positive() }).strict().nullable().optional(),
21290
+ display: DisplaySchema.partial().optional(),
21291
+ loop: external_exports.enum(CANVAS_LOOPS).optional(),
21292
+ seconds: SecondsSchema.optional(),
21293
+ cut: external_exports.enum(CANVAS_CUT_STYLES).optional(),
21294
+ motion: external_exports.enum(CANVAS_STILL_MOTIONS).optional(),
21295
+ light: external_exports.string().min(1).max(120).nullable().optional(),
21296
+ atmosphere: external_exports.enum(OVERLAYS).optional(),
21297
+ frame: external_exports.object({
21298
+ crossfade: external_exports.number().min(CANVAS_CROSSFADE.min).max(CANVAS_CROSSFADE.max).optional(),
21299
+ camera: external_exports.enum(CANVAS_CAMERAS).optional(),
21300
+ fade: external_exports.boolean().optional(),
21301
+ x: external_exports.number().min(-1).max(1).optional(),
21302
+ y: external_exports.number().min(-1).max(1).optional(),
21303
+ zoom: external_exports.number().min(CANVAS_ZOOM.min).max(CANVAS_ZOOM.max).optional(),
21304
+ rotate: external_exports.union(CANVAS_ROTATIONS.map((r) => external_exports.literal(r))).optional(),
21305
+ colour: external_exports.string().regex(HEX_COLOUR).nullable().optional(),
21306
+ steady: external_exports.boolean().optional()
21307
+ }).strict().optional()
21308
+ }).strict();
21309
+ function checkVideoDraftEdit(v, ctx) {
21310
+ if (v.type === "lyric-video") {
21311
+ for (const key of ["loop", "seconds", "cut", "motion", "light", "atmosphere", "frame"]) if (v[key] !== void 0) ctx.addIssue({ code: "custom", path: [key], message: `${key} is for a Canvas (type canvas)` });
21312
+ if (v.picture === "cover") ctx.addIssue({ code: "custom", path: ["picture"], message: "A lyric video's picture is clips or visualizer" });
21313
+ } else {
21314
+ for (const key of ["look_id", "lyric_style", "behind", "density", "shape", "joins", "format", "trim", "display"]) if (v[key] !== void 0) ctx.addIssue({ code: "custom", path: [key], message: `${key} is for a lyric video` });
21315
+ }
21316
+ }
21317
+ var VideoDraftEditSchema = VideoDraftEditShape.superRefine(checkVideoDraftEdit);
21255
21318
  var CANVAS_LEGACY_SUNSET = "2027-02-18";
21256
21319
  var CanvasRequestSchema = CanvasRequestShape.superRefine((value, ctx) => {
21257
21320
  if (value.edit?.clips && value.variations > 1) ctx.addIssue({ code: "custom", path: ["edit", "clips"], message: "An edit with its clips listed makes one Canvas" });
@@ -21814,7 +21877,7 @@ var lyricInput = external_exports.object({
21814
21877
  song_id: songId,
21815
21878
  callback_url: CALLBACK,
21816
21879
  metadata: METADATA,
21817
- look: lyricShape.look.describe(`Which Look and what to change. {"id":"look_\u2026"} uses a saved Look (list_looks); left out, Kinetune picks one for the song by rules (get_song_draft shows which, with its picture). 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), "visual" (get_options visualizers), and "background": {"kind":"clips","sources":{"moods":["city"],"folders":["folder_\u2026"]},"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, the Looks collection among them; folders: list_clip_folders; looks: Look ids whose own picture plays as clips, as a Look made before clips does; transitions, grades and densities: get_options; grade_amount: the grade's strength 0\u20131, default 1; effects: up to three from get_options effects, each with an amount 0\u20131, drawn over the clips across the song), or {"kind":"visualizer"} for a visual that fills the frame. Left out, the Look keeps its own picture. No AI designs anything: a lyric video costs its setup and render only`),
21880
+ look: lyricShape.look.describe(`Which Look and what to change. {"id":"look_\u2026"} uses a saved Look (list_looks); left out, Kinetune picks one for the song by rules (get_song_draft shows which, with its picture). 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), "visual" (get_options visualizers), and "background": {"kind":"clips","sources":{"moods":["euphoria"],"folders":["folder_\u2026"]},"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, the Looks collection among them; folders: list_clip_folders; looks: Look ids whose own picture plays as clips, as a Look made before clips does; transitions, grades and densities: get_options; grade_amount: the grade's strength 0\u20131, default 1; effects: up to three from get_options effects, each with an amount 0\u20131, drawn over the clips across the song), or {"kind":"visualizer"} for a visual that fills the frame. Left out, the Look keeps its own picture. No AI designs anything: a lyric video costs its per-video price and render only (quote_lyric_video shows both)`),
21818
21881
  aspect_ratios: lyricShape.aspect_ratios.describe('Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)'),
21819
21882
  display: lyricShape.display.describe("Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. 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). A Look whose picture shows an artist needs cover false"),
21820
21883
  trim: lyricShape.trim.describe("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)"),
@@ -21860,7 +21923,7 @@ var musicVideoInput = external_exports.object({
21860
21923
  callback_url: CALLBACK,
21861
21924
  metadata: METADATA,
21862
21925
  model: musicShape.model.describe("The music video model: one-take (default; MiniMax H3 Max), seedance-2-0, seedance-2-0-fast, seedance-2-0-mini or seedance-2-5. get_options lists the models offered to you with the categories, styles, formats, takes and length each makes, and guide: what each is best for, its strengths, weaknesses and public benchmark scores. When the person hasn't named a model, suggest the kind's recommended_model (get_options music_video.categories) with its best_for line and the price difference between models from quotes, and let them choose any"),
21863
- scenes: musicShape.scenes.describe(`Where it is set besides the places the direction mentions from the kit: {"mode":"invent"} (default: the director imagines the others) or {"mode":"stock"} (it finds a real stock photo of each place it writes, empty of people, and the artist is put into it), up to the model's kit.places in all`),
21926
+ scenes: musicShape.scenes.describe(`Where it is set besides the places the direction mentions from the kit: {"mode":"invent"} (default: the director imagines the others) or {"mode":"stock"} (it finds a real stock photo of each place it writes, empty of people, and the artist is put into it; the photos are searched and picked in one era and style, world.look, so the places belong together), up to the model's kit.places in all`),
21864
21927
  category: musicShape.category.describe("performance (default: sings to camera in one place), intercut (performance cut against the artist living the song's story), cinematic (a moving camera through a location), story (acts out the song's story) or surreal (the world transforms with the song). get_options lists the ones each model makes"),
21865
21928
  style: musicShape.style.describe("Optional visual style, how it is rendered: natural, film, golden-hour, neon-night, noir, vintage, dreamy, super-8, vhs, documentary, glossy-pop, indie, cyberpunk, y2k, lofi, painterly, anime or clay (get_options lists the ones each model makes). Omit it and the director picks one from the cover"),
21866
21929
  aspect_ratio: musicShape.aspect_ratio.describe('The one format of the file: "9:16" (default, vertical), "16:9" (wide) or "1:1" (square)'),
@@ -21886,7 +21949,7 @@ var musicVideoPlanInput = external_exports.object({
21886
21949
  ...MusicVideoPlanRequestSchema.shape,
21887
21950
  song_id: songId.describe("The song; its artist performs the video and needs their character (list_characters; start_character makes one), unless performer names another character"),
21888
21951
  model: musicShape.model.describe("The music video model: one-take (default; MiniMax H3 Max), seedance-2-0, seedance-2-0-fast, seedance-2-0-mini or seedance-2-5. get_options lists the models offered to you with the categories, styles, formats, takes and length each makes, and guide: what each is best for, its strengths, weaknesses and public benchmark scores. When the person hasn't named a model, suggest the kind's recommended_model (get_options music_video.categories) with its best_for line and the price difference between models from quotes, and let them choose any"),
21889
- scenes: musicShape.scenes.describe(`Where it is set besides the places the direction mentions from the kit: {"mode":"invent"} (default: the director imagines the others) or {"mode":"stock"} (it finds a real stock photo of each place it writes, empty of people, and the artist is put into it), up to the model's kit.places in all`),
21952
+ scenes: musicShape.scenes.describe(`Where it is set besides the places the direction mentions from the kit: {"mode":"invent"} (default: the director imagines the others) or {"mode":"stock"} (it finds a real stock photo of each place it writes, empty of people, and the artist is put into it; the photos are searched and picked in one era and style, world.look, so the places belong together), up to the model's kit.places in all`),
21890
21953
  category: musicShape.category.describe("performance (default), intercut, cinematic, story or surreal"),
21891
21954
  style: musicShape.style.describe("Optional visual style (get_options: music_video.styles); omitted, the director picks one from the cover"),
21892
21955
  aspect_ratio: musicShape.aspect_ratio.describe('"9:16" (default), "16:9" or "1:1"'),
@@ -21926,7 +21989,7 @@ var MusicVideoPlanSchema = external_exports.looseObject({
21926
21989
  })).optional().describe("The other characters in its shots (mentioned by @handle in direction: the artist's own and those other artists shared), each in one outfit throughout"),
21927
21990
  on_screen: external_exports.enum(["artist", "cast", "none"]).optional().describe("Who is on screen: the artist, a cast or no one"),
21928
21991
  revision: external_exports.object({ video_id: external_exports.string(), shots: external_exports.array(external_exports.number().int()), asked: external_exports.array(external_exports.number().int()).optional().describe("The shots the artist asked to change, each rewritten from its note (shots adds those carried straight on from them)") }).nullable().describe("A revision of a delivered music video (revise_music_video_shot): that video, and the shots made again (the others are reused as they were); null for a plan of a new video"),
21929
- world: external_exports.object({ setting: external_exports.string(), wardrobe: external_exports.string(), light: external_exports.string() }).describe("What every shot keeps"),
21992
+ world: external_exports.object({ setting: external_exports.string(), look: external_exports.string().nullable().optional().describe('The era and style every place of the video shares ("modern minimalist", "1970s retro"): its places are found and drawn in it so they belong together; null on shot lists written before 2026-11-23'), wardrobe: external_exports.string(), light: external_exports.string() }).describe("What every shot keeps"),
21930
21993
  places: external_exports.array(external_exports.object({
21931
21994
  index: external_exports.number().int(),
21932
21995
  description: external_exports.string(),
@@ -22027,7 +22090,7 @@ var VideoSchema = external_exports.looseObject({
22027
22090
  style: external_exports.string().describe("The visual style it was made in (the one asked for, or the director's pick)"),
22028
22091
  clips: external_exports.number().int().describe("How many clips it is generated in"),
22029
22092
  on_screen: external_exports.enum(["artist", "cast", "none"]).optional().describe("Who is on screen: the artist, a cast or no one"),
22030
- world: external_exports.object({ setting: external_exports.string(), wardrobe: external_exports.string(), light: external_exports.string() }),
22093
+ world: external_exports.object({ setting: external_exports.string(), look: external_exports.string().nullable().optional().describe('The era and style every place of the video shares ("modern minimalist", "1970s retro"): its places are found and drawn in it so they belong together; null on shot lists written before 2026-11-23'), wardrobe: external_exports.string(), light: external_exports.string() }),
22031
22094
  shots: external_exports.array(external_exports.object({
22032
22095
  index: external_exports.number().int(),
22033
22096
  start_seconds: external_exports.number(),
@@ -22476,7 +22539,7 @@ var OPERATIONS = [
22476
22539
  scopes: ["music:write", "videos:write"],
22477
22540
  input: PageDocPatchSchema.extend({ artist_id: artistId }),
22478
22541
  readOnly: false,
22479
- destructive: false,
22542
+ destructive: true,
22480
22543
  idempotent: true,
22481
22544
  cli: ["artists", "page", "update"],
22482
22545
  mcp: "update_artist_page",
@@ -22915,7 +22978,8 @@ var OPERATIONS = [
22915
22978
  artist_id: artistId.optional().describe("Only this artist\u2019s songs"),
22916
22979
  ...search("Part of the song title or artist name"),
22917
22980
  status: external_exports.enum(["pending", "processing", "ready", "failed"]).optional().describe("Only songs whose analysis has this status (ready = usable for videos)"),
22918
- sort: external_exports.enum(["title", "newest"]).optional().describe("title (default): by artist then title; newest: latest uploads first")
22981
+ sort: external_exports.enum(["title", "newest"]).optional().describe("title (default): by artist then title; newest: latest uploads first"),
22982
+ include: external_exports.enum(["videos"]).optional().describe("videos: each song also answers videos, its lyric videos, Canvases and music videos by kind (ready and in_production counts, the newest ready one's latest_video_id and poster_url, and your own draft of that kind or null), to see what a song still needs")
22919
22983
  }),
22920
22984
  readOnly: true,
22921
22985
  destructive: false,
@@ -23059,7 +23123,7 @@ var OPERATIONS = [
23059
23123
  group: "songs",
23060
23124
  title: "Get a song",
23061
23125
  summary: "One song and its analysis status",
23062
- description: `${COVER_SIZES} analysis.lyrics.status says whose words its videos show: "transcribed" (as heard), "checked" (your lyrics, timed from the audio; corrected, added and kept count what checking did; edited_at once words were fixed by hand with set_song_words), "waiting" (your lyrics, checked once the analysis finishes) or "mismatch" (your lyrics didn\u2019t match what\u2019s sung, so the transcription is used). brief: what the song is about as every director reads it (theme, tone, story, mood_arc by section, setting), null before the analysis; status writing while it is written (a song analysed without one has it started by this call: get it again in half a minute), edited true once the user corrected it (edit_song_brief).`,
23126
+ description: `${COVER_SIZES} analysis.lyrics.status says whose words its videos show: "transcribed" (as heard), "checked" (your lyrics, timed from the audio; corrected, added and kept count what checking did; edited_at once words were fixed by hand with set_song_words), "waiting" (your lyrics, checked once the analysis finishes) or "mismatch" (your lyrics didn\u2019t match what\u2019s sung, so the transcription is used). brief: what the song is about as every director reads it (theme, tone, story, mood_arc by section, setting), null before the analysis; status writing while it is written in the background (get it again in half a minute), edited true once the user corrected it (edit_song_brief).`,
23063
23127
  method: "GET",
23064
23128
  path: "/api/v1/songs/{song_id}",
23065
23129
  scopes: ["music:read", "videos:read"],
@@ -23359,7 +23423,7 @@ var OPERATIONS = [
23359
23423
  id: "songs.transcribe",
23360
23424
  group: "songs",
23361
23425
  title: "Transcribe a song again",
23362
- summary: "Listen to a song again with the best transcription model, for a few credits",
23426
+ summary: "Listen to a song again, for a few credits",
23363
23427
  description: 'Costs credits: tell the user the price (get_transcription_price) and send it as credits only after their go. The song is listened to again with Kinetune\u2019s current transcription model, in language when given (the language it is sung in, e.g. "fr"; use it when the words came out in the wrong language). Their own lyrics (set_song_lyrics) stay and are timed to the new hearing; without them, the new words are the song\u2019s. Timing fixed by hand (set_song_words) is replaced. Takes up to a minute or two. 409 with the new price when credits differ, 402 without enough credits, 422 when no words were heard (nothing charged), 429 when it was just done.',
23364
23428
  method: "POST",
23365
23429
  path: "/api/v1/songs/{song_id}/transcription",
@@ -23396,7 +23460,7 @@ var OPERATIONS = [
23396
23460
  })).max(SONG_BRIEF_LIMITS.sections).optional().describe("How the feeling moves through the song, section by section: replaces the whole list")
23397
23461
  }),
23398
23462
  readOnly: false,
23399
- destructive: false,
23463
+ destructive: true,
23400
23464
  idempotent: true,
23401
23465
  cli: ["songs", "edit-brief"],
23402
23466
  mcp: "edit_song_brief",
@@ -23549,6 +23613,41 @@ var OPERATIONS = [
23549
23613
  cli: ["looks", "save"],
23550
23614
  mcp: "save_look"
23551
23615
  },
23616
+ /* The person's draft: what an agent builds, the card plays and the editor opens */
23617
+ {
23618
+ id: "songs.video_draft.get",
23619
+ group: "looks",
23620
+ title: "Open the video draft",
23621
+ summary: "The person's lyric video or Canvas draft for a song: its clips, cut and exact request",
23622
+ description: "The draft the studio's editor keeps for this song (one per person and kind; when there is none, the one the song's rules make, saved on its first change: id and editor_url are null until then). Answers the Look, lyric style, picture, sources (Stock moods, folders), recipe (density, transitions, grade, effects, shape, fill, speed), seed, format and section, and cuts: every clip of the cut in order (cut 1, 2, \u2026; its time, clip_id, source, poster_url and the transition into it). request is exactly what it makes: pass it to quote_lyric_video or quote_canvas, then create with the quote_id. editor_url opens it in the editor. Change it with edit_video_draft. Free (no AI).",
23623
+ method: "GET",
23624
+ path: "/api/v1/songs/{song_id}/video-draft",
23625
+ scopes: ["videos:read", "videos:write"],
23626
+ input: external_exports.object({ song_id: songId, type: external_exports.enum(["lyric-video", "canvas"]).optional().describe("lyric-video (default) or canvas") }),
23627
+ readOnly: true,
23628
+ destructive: false,
23629
+ idempotent: true,
23630
+ cli: ["drafts", "get"],
23631
+ mcp: "get_video_draft",
23632
+ example: { song_id: "song_\u2026", type: "lyric-video" }
23633
+ },
23634
+ {
23635
+ id: "songs.video_draft.edit",
23636
+ group: "looks",
23637
+ title: "Change the video draft",
23638
+ summary: "Change the person's lyric video or Canvas draft: Look, clips, a clip at a cut, transitions, grade, effects, format",
23639
+ description: "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), 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). Look: look_id, lyric_style, behind, visual. 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.",
23640
+ method: "PATCH",
23641
+ path: "/api/v1/songs/{song_id}/video-draft",
23642
+ scopes: ["videos:write"],
23643
+ input: external_exports.object({ song_id: songId, ...VideoDraftEditShape.shape }).superRefine(checkVideoDraftEdit),
23644
+ readOnly: false,
23645
+ destructive: false,
23646
+ idempotent: false,
23647
+ cli: ["drafts", "edit"],
23648
+ mcp: "edit_video_draft",
23649
+ example: { song_id: "song_\u2026", type: "lyric-video", replace: [{ cut: 5, clip_id: "clip_\u2026" }], joins: [{ cut: 6, transition: "whip" }] }
23650
+ },
23552
23651
  /* Clips */
23553
23652
  {
23554
23653
  id: "songs.draft",
@@ -23616,7 +23715,7 @@ var OPERATIONS = [
23616
23715
  group: "looks",
23617
23716
  title: "A clip as a Rebound",
23618
23717
  summary: "A clip played forward, then backward: the file a Canvas Rebound loops",
23619
- description: "9:16, from at for half seconds at speed, then the same backward. Made once and kept beside the clip; the render uses the same file, so a Canvas with loop rebound plays exactly what this shows. Answers {url}, signed for a day. No AI and no credits.",
23718
+ description: "9:16, from at for half seconds at speed, then the same backward. Cached beside the clip (the first call takes a few seconds); the render uses the same file, so a Canvas with loop rebound plays exactly what this shows. Answers {url}, signed for a day. No AI and no credits.",
23620
23719
  method: "GET",
23621
23720
  path: "/api/v1/clips/{clip_id}/rebound",
23622
23721
  scopes: ["videos:read", "videos:write"],
@@ -23638,7 +23737,7 @@ var OPERATIONS = [
23638
23737
  group: "looks",
23639
23738
  title: "A clip, steadied",
23640
23739
  summary: "A clip with handheld shake smoothed out: the file a Canvas with steady on plays",
23641
- description: "The clip stabilised (two passes of ffmpeg vidstab), made once on first use (a few seconds) and kept beside the clip; the render uses the same file, so a Canvas with steady on plays exactly what this shows. Answers {url}, signed for a day. No AI and no credits.",
23740
+ description: "The clip stabilised (two passes of ffmpeg vidstab), cached beside the clip (the first call takes a few seconds); the render uses the same file, so a Canvas with steady on plays exactly what this shows. Answers {url}, signed for a day. No AI and no credits.",
23642
23741
  method: "GET",
23643
23742
  path: "/api/v1/clips/{clip_id}/steady",
23644
23743
  scopes: ["videos:read", "videos:write"],
@@ -23928,7 +24027,7 @@ var OPERATIONS = [
23928
24027
  scopes: ["videos:write"],
23929
24028
  input: external_exports.object({ name: external_exports.string().trim().min(1).max(60).describe('Its name, e.g. "Night drive"'), look: CanvasLookSchema }),
23930
24029
  readOnly: false,
23931
- destructive: false,
24030
+ destructive: true,
23932
24031
  idempotent: false,
23933
24032
  cli: ["canvas-presets", "save"],
23934
24033
  mcp: "save_canvas_preset",
@@ -24066,7 +24165,7 @@ var OPERATIONS = [
24066
24165
  group: "videos",
24067
24166
  title: "Change a place's photo",
24068
24167
  summary: "Another stock photo for one of a plan's places",
24069
- description: "Returns the next draft: the same shot list, set in this photo (no director call, free). Pick a photo of the same kind of place, with no people, from search_stock.",
24168
+ description: "Returns the next draft: the same shot list, set in this photo (no director call, free). Pick a photo of the same kind of place, with no people, from search_stock, in the look its other places share (world.look) so they still belong together.",
24070
24169
  method: "PATCH",
24071
24170
  path: "/api/v1/music-video-plans/{plan_id}/places/{place}",
24072
24171
  scopes: ["videos:write"],
@@ -24339,6 +24438,22 @@ var OPERATIONS = [
24339
24438
  cli: ["plans", "frames"],
24340
24439
  mcp: "list_music_video_frames"
24341
24440
  },
24441
+ {
24442
+ id: "music_video_plans.storyboard",
24443
+ group: "videos",
24444
+ title: "Show the storyboard",
24445
+ summary: "A shot list as a storyboard: every shot with its picture, the cast's outfits and what drawing the rest costs",
24446
+ description: "In one call, what the studio's Shot list shows: the concept and every shot (its time, lyrics and what happens) with the picture it is made from so far (its opening frame, else its first place drawn, else that place's stock photo; null when none is drawn yet), the outfits on its people, pictures (undrawn keys and what drawing them costs: draw_music_video_pictures) and frames (one frame's price and the shots a Draw all would draw: draw_music_video_frame). The video's price is a quote: quote_music_video with the plan_id (and test true for the chorus test). In chat apps that draw cards it draws the storyboard with the price and Make it. Read only, free.",
24447
+ method: "GET",
24448
+ path: "/api/v1/music-video-plans/{plan_id}/storyboard",
24449
+ scopes: ["videos:read", "videos:write"],
24450
+ input: external_exports.object({ plan_id: MusicVideoPlanIdSchema.describe("The plan id (plan_\u2026)") }),
24451
+ readOnly: true,
24452
+ destructive: false,
24453
+ idempotent: true,
24454
+ cli: ["plans", "storyboard"],
24455
+ mcp: "show_music_video_plan"
24456
+ },
24342
24457
  {
24343
24458
  id: "music_video_plans.draw_frame",
24344
24459
  group: "videos",
@@ -24350,9 +24465,11 @@ var OPERATIONS = [
24350
24465
  scopes: ["videos:write"],
24351
24466
  input: external_exports.object({
24352
24467
  plan_id: MusicVideoPlanIdSchema.describe("The plan id (plan_\u2026)"),
24353
- shot: external_exports.number().int().min(1).describe("The shot's number (shots[].index)"),
24354
- credits: external_exports.number().int().positive().describe("The price shown (list_music_video_frames: price.credits)")
24355
- }),
24468
+ shot: external_exports.number().int().min(1).optional().describe("One shot's number (shots[].index)"),
24469
+ all: external_exports.literal(true).optional().describe("Draw every frame not drawn yet at once, as the studio's Draw all does (in the background: list_music_video_frames batch shows it); send shots and credits with it"),
24470
+ shots: external_exports.array(external_exports.number().int().positive()).min(1).max(100).optional().describe("With all: the shots list_music_video_frames gives in batch_shots"),
24471
+ credits: external_exports.number().int().positive().describe("The price shown: one frame's price.credits, or with all, price.credits \xD7 batch_shots")
24472
+ }).refine((v) => v.all ? Boolean(v.shots) && v.shot === void 0 : v.shot !== void 0 && v.shots === void 0, { message: "Send shot, or all with shots" }),
24356
24473
  readOnly: false,
24357
24474
  destructive: true,
24358
24475
  idempotent: false,
@@ -28506,7 +28623,7 @@ async function revoke(config2, auth = config2.auth) {
28506
28623
  // package.json
28507
28624
  var package_default = {
28508
28625
  name: "@kinetune/cli",
28509
- version: "4.1.0",
28626
+ version: "4.3.0",
28510
28627
  description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
28511
28628
  license: "MIT",
28512
28629
  homepage: "https://kinetune.com/developers#cli",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinetune/cli",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://kinetune.com/developers#cli",