@kinetune/cli 4.1.0 → 4.2.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.
Files changed (2) hide show
  1. package/dist/kinetune.mjs +133 -17
  2. package/package.json +1 -1
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",
@@ -23059,7 +23122,7 @@ var OPERATIONS = [
23059
23122
  group: "songs",
23060
23123
  title: "Get a song",
23061
23124
  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).`,
23125
+ 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
23126
  method: "GET",
23064
23127
  path: "/api/v1/songs/{song_id}",
23065
23128
  scopes: ["music:read", "videos:read"],
@@ -23359,7 +23422,7 @@ var OPERATIONS = [
23359
23422
  id: "songs.transcribe",
23360
23423
  group: "songs",
23361
23424
  title: "Transcribe a song again",
23362
- summary: "Listen to a song again with the best transcription model, for a few credits",
23425
+ summary: "Listen to a song again, for a few credits",
23363
23426
  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
23427
  method: "POST",
23365
23428
  path: "/api/v1/songs/{song_id}/transcription",
@@ -23396,7 +23459,7 @@ var OPERATIONS = [
23396
23459
  })).max(SONG_BRIEF_LIMITS.sections).optional().describe("How the feeling moves through the song, section by section: replaces the whole list")
23397
23460
  }),
23398
23461
  readOnly: false,
23399
- destructive: false,
23462
+ destructive: true,
23400
23463
  idempotent: true,
23401
23464
  cli: ["songs", "edit-brief"],
23402
23465
  mcp: "edit_song_brief",
@@ -23549,6 +23612,41 @@ var OPERATIONS = [
23549
23612
  cli: ["looks", "save"],
23550
23613
  mcp: "save_look"
23551
23614
  },
23615
+ /* The person's draft: what an agent builds, the card plays and the editor opens */
23616
+ {
23617
+ id: "songs.video_draft.get",
23618
+ group: "looks",
23619
+ title: "Open the video draft",
23620
+ summary: "The person's lyric video or Canvas draft for a song: its clips, cut and exact request",
23621
+ 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).",
23622
+ method: "GET",
23623
+ path: "/api/v1/songs/{song_id}/video-draft",
23624
+ scopes: ["videos:read", "videos:write"],
23625
+ input: external_exports.object({ song_id: songId, type: external_exports.enum(["lyric-video", "canvas"]).optional().describe("lyric-video (default) or canvas") }),
23626
+ readOnly: true,
23627
+ destructive: false,
23628
+ idempotent: true,
23629
+ cli: ["drafts", "get"],
23630
+ mcp: "get_video_draft",
23631
+ example: { song_id: "song_\u2026", type: "lyric-video" }
23632
+ },
23633
+ {
23634
+ id: "songs.video_draft.edit",
23635
+ group: "looks",
23636
+ title: "Change the video draft",
23637
+ summary: "Change the person's lyric video or Canvas draft: Look, clips, a clip at a cut, transitions, grade, effects, format",
23638
+ 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.",
23639
+ method: "PATCH",
23640
+ path: "/api/v1/songs/{song_id}/video-draft",
23641
+ scopes: ["videos:write"],
23642
+ input: external_exports.object({ song_id: songId, ...VideoDraftEditShape.shape }).superRefine(checkVideoDraftEdit),
23643
+ readOnly: false,
23644
+ destructive: false,
23645
+ idempotent: false,
23646
+ cli: ["drafts", "edit"],
23647
+ mcp: "edit_video_draft",
23648
+ example: { song_id: "song_\u2026", type: "lyric-video", replace: [{ cut: 5, clip_id: "clip_\u2026" }], joins: [{ cut: 6, transition: "whip" }] }
23649
+ },
23552
23650
  /* Clips */
23553
23651
  {
23554
23652
  id: "songs.draft",
@@ -23616,7 +23714,7 @@ var OPERATIONS = [
23616
23714
  group: "looks",
23617
23715
  title: "A clip as a Rebound",
23618
23716
  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.",
23717
+ 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
23718
  method: "GET",
23621
23719
  path: "/api/v1/clips/{clip_id}/rebound",
23622
23720
  scopes: ["videos:read", "videos:write"],
@@ -23638,7 +23736,7 @@ var OPERATIONS = [
23638
23736
  group: "looks",
23639
23737
  title: "A clip, steadied",
23640
23738
  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.",
23739
+ 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
23740
  method: "GET",
23643
23741
  path: "/api/v1/clips/{clip_id}/steady",
23644
23742
  scopes: ["videos:read", "videos:write"],
@@ -23928,7 +24026,7 @@ var OPERATIONS = [
23928
24026
  scopes: ["videos:write"],
23929
24027
  input: external_exports.object({ name: external_exports.string().trim().min(1).max(60).describe('Its name, e.g. "Night drive"'), look: CanvasLookSchema }),
23930
24028
  readOnly: false,
23931
- destructive: false,
24029
+ destructive: true,
23932
24030
  idempotent: false,
23933
24031
  cli: ["canvas-presets", "save"],
23934
24032
  mcp: "save_canvas_preset",
@@ -24066,7 +24164,7 @@ var OPERATIONS = [
24066
24164
  group: "videos",
24067
24165
  title: "Change a place's photo",
24068
24166
  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.",
24167
+ 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
24168
  method: "PATCH",
24071
24169
  path: "/api/v1/music-video-plans/{plan_id}/places/{place}",
24072
24170
  scopes: ["videos:write"],
@@ -24339,6 +24437,22 @@ var OPERATIONS = [
24339
24437
  cli: ["plans", "frames"],
24340
24438
  mcp: "list_music_video_frames"
24341
24439
  },
24440
+ {
24441
+ id: "music_video_plans.storyboard",
24442
+ group: "videos",
24443
+ title: "Show the storyboard",
24444
+ summary: "A shot list as a storyboard: every shot with its picture, the cast's outfits and what drawing the rest costs",
24445
+ 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.",
24446
+ method: "GET",
24447
+ path: "/api/v1/music-video-plans/{plan_id}/storyboard",
24448
+ scopes: ["videos:read", "videos:write"],
24449
+ input: external_exports.object({ plan_id: MusicVideoPlanIdSchema.describe("The plan id (plan_\u2026)") }),
24450
+ readOnly: true,
24451
+ destructive: false,
24452
+ idempotent: true,
24453
+ cli: ["plans", "storyboard"],
24454
+ mcp: "show_music_video_plan"
24455
+ },
24342
24456
  {
24343
24457
  id: "music_video_plans.draw_frame",
24344
24458
  group: "videos",
@@ -24350,9 +24464,11 @@ var OPERATIONS = [
24350
24464
  scopes: ["videos:write"],
24351
24465
  input: external_exports.object({
24352
24466
  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
- }),
24467
+ shot: external_exports.number().int().min(1).optional().describe("One shot's number (shots[].index)"),
24468
+ 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"),
24469
+ 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"),
24470
+ credits: external_exports.number().int().positive().describe("The price shown: one frame's price.credits, or with all, price.credits \xD7 batch_shots")
24471
+ }).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
24472
  readOnly: false,
24357
24473
  destructive: true,
24358
24474
  idempotent: false,
@@ -28506,7 +28622,7 @@ async function revoke(config2, auth = config2.auth) {
28506
28622
  // package.json
28507
28623
  var package_default = {
28508
28624
  name: "@kinetune/cli",
28509
- version: "4.1.0",
28625
+ version: "4.2.0",
28510
28626
  description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
28511
28627
  license: "MIT",
28512
28628
  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.2.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",