@kinetune/cli 2.1.0 → 2.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
@@ -81,6 +81,8 @@ exactly that plan.
81
81
  kinetune plan music-video --song-id SONG_ID --category cinematic --aspect-ratio 16:9 --trim '{"start_seconds":32,"end_seconds":96}'
82
82
  kinetune plan music-video --song-id SONG_ID --revise '{"plan_id":"PLAN_ID","note":"night instead of day, more city lights"}'
83
83
  kinetune plans get PLAN_ID
84
+ kinetune plans frames PLAN_ID # opening frames drawn, and the price of one
85
+ kinetune plans draw-frame PLAN_ID --shot 1 --credits 26 # the picture shot 1 opens on (spends credits)
84
86
  kinetune quote music-video --song-id SONG_ID --plan-id PLAN_ID
85
87
  kinetune create music-video --song-id SONG_ID --plan-id PLAN_ID # quotes first and asks
86
88
  kinetune videos wait VIDEO_ID --timeout 10800
@@ -128,6 +130,26 @@ kinetune looks list --artist-id ARTIST_ID # leave out Looks t
128
130
 
129
131
  A New Look leaves the singer out unless you ask: `"feature_artist":"always"` in the look (AI image or AI video, private, with `"cover":false` in display) makes them the subject of the background.
130
132
 
133
+ ## Make a video public
134
+
135
+ ```bash
136
+ kinetune videos share VIDEO_ID # a lyric video or Canvas, into the Community
137
+ kinetune videos share VIDEO_ID --rights-confirmed # a music video: you may show the artist publicly
138
+ kinetune videos share VIDEO_ID --socials --credit-handle @novalane # Kinetune may also post it, crediting you
139
+ kinetune videos unshare VIDEO_ID # private again
140
+ ```
141
+
142
+ Its Look becomes reusable by anyone while it is public (a music video's concept, never the people in it). Agents
143
+ ask before sharing and pass `--rights-confirmed` and `--socials` only when the person said so.
144
+
145
+ ## Ideas for Kinetune
146
+
147
+ ```bash
148
+ kinetune ideas list --q "tiktok" # the Community board, most voted first (--sort new, --status open, --yours)
149
+ kinetune ideas vote IDEA_ID # or unvote; follow / unfollow for an email when it ships
150
+ kinetune ideas suggest --title "Export a 15-second cut of the hook for TikTok"
151
+ ```
152
+
131
153
  ## For agents and scripts
132
154
 
133
155
  - Path ids are arguments, fields are flags, `--input file.json` (or `-` for stdin) takes the whole request.
package/dist/kinetune.mjs CHANGED
@@ -20272,12 +20272,14 @@ var BackgroundSchema = external_exports.discriminatedUnion("kind", [
20272
20272
  scenes: external_exports.array(external_exports.string().min(10).max(1e3)).min(1).max(3).optional()
20273
20273
  }).strict(),
20274
20274
  // A seamless loop (its still is the first and last frame) that repeats under the whole song. It
20275
- // only pulses with the beat; the blur is baked into the stored loop.
20275
+ // only pulses with the beat; the blur is baked into the stored loop. once: the song's own music
20276
+ // video, played once from its first frame in step with the song (no loop, no pulse, no blur).
20276
20277
  external_exports.object({
20277
20278
  kind: external_exports.literal("video"),
20278
20279
  ...backgroundMedia,
20279
- motion_prompt: external_exports.string().min(10).max(1e3).optional()
20280
+ motion_prompt: external_exports.string().min(10).max(1e3).optional(),
20280
20281
  // generated: how the scene moves
20282
+ once: external_exports.boolean().optional()
20281
20283
  }).strict(),
20282
20284
  external_exports.object({
20283
20285
  kind: external_exports.literal("gradient"),
@@ -20431,6 +20433,63 @@ var OutroDisplaySchema = DisplaySchema.omit({ lyrics: true, headline: true });
20431
20433
  var KIT_KINDS = ["outfit", "place", "prop"];
20432
20434
  var KIT_HANDLE = /^[a-z0-9][a-z0-9-]{0,39}$/;
20433
20435
 
20436
+ // ../video-types/src/model-guide.ts
20437
+ var AA_T2V = { board: "Artificial Analysis \xB7 Text to video with audio", source: "Artificial Analysis Video Arena", url: "https://artificialanalysis.ai/video/leaderboard/text-to-video" };
20438
+ var AA_I2V = { board: "Artificial Analysis \xB7 Image to video with audio", source: "Artificial Analysis Video Arena", url: "https://artificialanalysis.ai/video/leaderboard/image-to-video" };
20439
+ var DA_MULTI = { board: "DesignArena \xB7 Multi-image to video", source: "DesignArena", url: "https://designarena.ai/leaderboard?tab=video&section=video&board=multi-to-video" };
20440
+ var READ = "2026-11-05";
20441
+ var MOTION = ["dance", "action", "live", "band", "cinematic", "oner", "places"];
20442
+ var CLOSE = ["performance", "intercut", "story", "surreal", "studio", "instrument", "lyric-led", "vlog", "fashion", "cast-story", "mood"];
20443
+ var MUSIC_VIDEO_MODEL_GUIDES = {
20444
+ "seedance-2-0": {
20445
+ bestFor: "Dance, action, live and band videos: anything that moves.",
20446
+ strengths: ["Bodies move naturally in dance, fights and chases", "Holds a whole band or a crowd in frame", "Sharpest of the five: up to 4K"],
20447
+ weaknesses: ["Costs more than MiniMax H3 Max", "A real person needs a face check first"],
20448
+ suits: MOTION,
20449
+ benchmarks: [
20450
+ { ...AA_T2V, entry: "Dreamina Seedance 2.0", score: 1136, date: READ },
20451
+ { ...AA_I2V, entry: "Dreamina Seedance 2.0", score: 1135, date: READ },
20452
+ { ...DA_MULTI, entry: "Seedance 2.0", score: 1312, date: READ }
20453
+ ]
20454
+ },
20455
+ "seedance-2-5": {
20456
+ bestFor: "Cinematic and moving videos with the newest Seedance.",
20457
+ strengths: ["Top image-to-video score on Artificial Analysis", "Moves as well as Seedance 2.0", "Strong with many reference pictures"],
20458
+ weaknesses: ["Costs more than MiniMax H3 Max", "Up to 1080p, no 4K", "A real person needs a face check first"],
20459
+ suits: MOTION,
20460
+ benchmarks: [
20461
+ { ...AA_T2V, entry: "Dreamina Seedance 2.5", score: 1155, date: READ },
20462
+ { ...AA_I2V, entry: "Dreamina Seedance 2.5", score: 1159, date: READ },
20463
+ { ...DA_MULTI, entry: "Seedance 2.5", score: 1352, date: READ }
20464
+ ]
20465
+ },
20466
+ "one-take": {
20467
+ bestFor: "Close-up singing and performance videos, for less.",
20468
+ strengths: ["Sharp faces and mouths in close-up singing", "Costs less than Seedance 2.0 and 2.5"],
20469
+ weaknesses: ["Stiffer than Seedance in dance and action", "Color can drift warm"],
20470
+ suits: CLOSE,
20471
+ benchmarks: [
20472
+ { ...AA_T2V, entry: "MiniMax H3 Max", score: 1148, date: READ },
20473
+ { ...AA_I2V, entry: "MiniMax H3 Max", score: 1116, date: READ },
20474
+ { ...DA_MULTI, entry: "MiniMax H3 Max", score: 1296, date: READ }
20475
+ ]
20476
+ },
20477
+ "seedance-2-0-fast": {
20478
+ bestFor: "Seedance movement for quick social cuts, for less.",
20479
+ strengths: ["Seedance 2.0\u2019s movement, quicker and cheaper", "Close to 2.0 with reference pictures"],
20480
+ weaknesses: ["Up to 720p", "A real person needs a face check first"],
20481
+ suits: MOTION,
20482
+ benchmarks: [{ ...DA_MULTI, entry: "Seedance 2.0 Fast", score: 1307, date: READ }]
20483
+ },
20484
+ "seedance-2-0-mini": {
20485
+ bestFor: "Trying an idea in Seedance at the lowest Seedance price.",
20486
+ strengths: ["The lowest Seedance price", "Good for drafts and short social clips"],
20487
+ weaknesses: ["Up to 720p", "Less detail than Seedance 2.0", "A real person needs a face check first"],
20488
+ suits: MOTION,
20489
+ benchmarks: [{ ...DA_MULTI, entry: "Seedance 2.0 Mini", score: 1292, date: READ }]
20490
+ }
20491
+ };
20492
+
20434
20493
  // ../video-types/src/index.ts
20435
20494
  var MAX_VARIATIONS = 4;
20436
20495
  var variations = external_exports.number().int().min(1).max(MAX_VARIATIONS).default(1);
@@ -20449,7 +20508,7 @@ var BACKGROUND_SOURCES2 = {
20449
20508
  "stock-video": { label: "Stock video", description: "A stock clip made into a seamless loop.", kind: "video", source: "stock" },
20450
20509
  "upload-photo": { label: "Your photo", description: "A photo you upload, moving slowly across the song.", kind: "image", source: "upload" },
20451
20510
  "upload-video": { label: "Your video", description: "A clip you upload, made into a seamless loop.", kind: "video", source: "upload" },
20452
- designed: { label: "Designed", description: "A drawn gradient or pattern.", kind: null, source: null }
20511
+ designed: { label: "Designed", description: "A moving gradient or pattern the director designs from your cover.", kind: null, source: null }
20453
20512
  };
20454
20513
  var MAX_BACKGROUND_SCENES = 4;
20455
20514
  var SINGLE_SCENE_STYLES = ["behind", "screen"];
@@ -20473,7 +20532,7 @@ var BACKGROUND_UPLOAD_LIMITS = {
20473
20532
  video: { maxBytes: 300 * 1024 * 1024, minShortSide: 720, minSeconds: 4, maxSeconds: 180, types: ["video/mp4", "video/quicktime", "video/webm"] }
20474
20533
  };
20475
20534
  var isUploadSource = (source) => BACKGROUND_SOURCES2[source].source === "upload";
20476
- var backgroundSourcesFor = (category) => categoryUsesImages(category) ? MEDIA_BACKGROUND_SOURCES : ["designed"];
20535
+ var backgroundSourcesFor = (category) => categoryUsesImages(category) ? [...MEDIA_BACKGROUND_SOURCES, "designed"] : ["designed", ...MEDIA_BACKGROUND_SOURCES];
20477
20536
  var backgroundSourceFor = (category, background) => background.source ?? backgroundSourcesFor(category)[0];
20478
20537
  var LOOK_FEATURE_ARTIST_MODES = ["never", "always"];
20479
20538
  var CANVAS_FEATURE_ARTIST_MODES = ["auto", "always", "never"];
@@ -20593,25 +20652,26 @@ var MUSIC_VIDEO_CATEGORY_IDS = [
20593
20652
  "band",
20594
20653
  "action"
20595
20654
  ];
20655
+ var MUSIC_VIDEO_ABILITIES = ["choreography", "ensemble", "action", "stylized"];
20596
20656
  var MUSIC_VIDEO_CATEGORIES = {
20597
20657
  performance: { label: "Performance", description: "The performer sings to camera in one place that suits the song." },
20598
20658
  intercut: { label: "Performance & story", description: "The performer sings to camera, cut against them living the song\u2019s story." },
20599
- cinematic: { label: "Cinematic", description: "A performance with a moving camera that travels through a location." },
20600
- story: { label: "Story", description: "The performer acts out the song\u2019s story while singing it." },
20601
- surreal: { label: "Surreal", description: "The world around the performer transforms with the song, dreamlike and impossible." },
20602
- studio: { label: "Studio session", description: "In the studio or a live room: at the mic, at the instrument, between takes." },
20659
+ cinematic: { label: "Cinematic", description: "A performance on the move: long travelling takes through one place, singing to the lens." },
20660
+ story: { label: "Story", description: "The performer lives the song\u2019s story, singing its lines inside it, never on a separate stage." },
20661
+ surreal: { label: "Surreal", description: "Impossible things happen in ordinary places while the performer keeps singing." },
20662
+ studio: { label: "Studio session", description: "A live take in a recording room: the performer at the mic, the band around them." },
20603
20663
  live: { label: "Live stage", description: "On stage under the lights, the crowd a glow behind them." },
20604
- instrument: { label: "At the instrument", description: "The performer plays the song: piano, guitar, decks or drums.", needs: { plays: true } },
20605
- "lyric-led": { label: "Lyric-led story", description: "A story told between the key lines, which the performer sings to camera.", needs: { sings: true } },
20606
- vlog: { label: "Phone diary", description: "Handheld and selfie-style, like a day filmed on their phone." },
20664
+ instrument: { label: "At the instrument", description: "The performer plays and sings the song at their instrument: piano, guitar, decks or drums.", needs: { plays: true } },
20665
+ "lyric-led": { label: "Lyric-led story", description: "The performer lives the song\u2019s story and sings its key lines to the lens from inside it.", needs: { sings: true } },
20666
+ vlog: { label: "Phone diary", description: "Their own footage of a day, a trip or a tour, the lines sung into the phone." },
20607
20667
  fashion: { label: "Fashion editorial", description: "Poses, fabric and light, cut like a fashion film." },
20608
- oner: { label: "One take", description: "One unbroken take that travels with the performer from start to end.", needs: { keyframes: true } },
20609
- "cast-story": { label: "Story with a cast", description: "Other people live the song\u2019s story; the performer needn\u2019t appear.", needs: { onScreen: "cast" } },
20610
- mood: { label: "Mood", description: "Light, places and objects moving with the music; no one on screen.", needs: { onScreen: "none" } },
20611
- places: { label: "Places", description: "A journey through places that suit the song, the performer small in them or absent.", needs: { onScreen: "none" } },
20668
+ oner: { label: "One take", description: "One unbroken take with the performer from start to end, held still or travelling.", needs: { keyframes: true } },
20669
+ "cast-story": { label: "Story with a cast", description: "Other people live the song\u2019s story; the performer doesn\u2019t appear.", needs: { onScreen: "cast" } },
20670
+ mood: { label: "Mood", description: "One material, its light and color moving with the music; no one on screen.", needs: { onScreen: "none" } },
20671
+ places: { label: "Places", description: "A journey through places that suit the song; no one on screen.", needs: { onScreen: "none" } },
20612
20672
  dance: { label: "Dance", description: "Choreography: the performer and dancers move with the song.", needs: { ability: "choreography" } },
20613
20673
  band: { label: "Band", description: "The whole band performs the song together.", needs: { ability: "ensemble" } },
20614
- action: { label: "Action", description: "Chases, stunts and fast motion cut to the song.", needs: { ability: "action" } }
20674
+ action: { label: "Action", description: "A chase toward one goal, cut fast to the song, the performer singing between.", needs: { ability: "action" } }
20615
20675
  };
20616
20676
  var MUSIC_VIDEO_STYLE_IDS = [
20617
20677
  "natural",
@@ -20681,38 +20741,39 @@ var withCatalog = (model) => ({ ...model, categories: kindsFor(model), styles: l
20681
20741
  var MUSIC_VIDEO_MODEL_IDS = ["one-take", "seedance-2-0", "seedance-2-0-fast", "seedance-2-0-mini", "seedance-2-5"];
20682
20742
  var MUSIC_VIDEO_LENGTH_BOUNDS = { min: 8, max: 1800 };
20683
20743
  var DEFAULT_MUSIC_VIDEO_MODEL = "one-take";
20684
- function seedance(label, model, qualities) {
20744
+ function seedance(label, id2, qualities) {
20685
20745
  return {
20686
20746
  label,
20687
- description: `${model}: a performer sings your song, lip-synced, kept from their character, or your cast lives its story, in shots cut between the lines.`,
20747
+ description: MUSIC_VIDEO_MODEL_GUIDES[id2].bestFor,
20688
20748
  qualities,
20689
20749
  defaultQuality: "720p",
20690
20750
  formats: ["9:16", "16:9", "1:1"],
20691
20751
  shot: { references: 9, people: 3 },
20692
20752
  // Clips of up to 15 seconds, each several shots it edits itself (its video keeps its own sound, its lips on it). Its first and last
20693
20753
  // frames go as reference pictures named in the prompt (BytePlus's keyframe anchors), so it makes continuous takes too.
20694
- ...withCatalog({ clip: { fps: 24, frames: 360, context: 0 }, keyframes: { start: true, end: true }, performances: MUSIC_VIDEO_PERFORMANCES, onScreen: ["artist", "cast", "none"], abilities: [] })
20754
+ ...withCatalog({ clip: { fps: 24, frames: 360, context: 0 }, keyframes: { start: true, end: true }, performances: MUSIC_VIDEO_PERFORMANCES, onScreen: ["artist", "cast", "none"], abilities: MUSIC_VIDEO_ABILITIES })
20695
20755
  };
20696
20756
  }
20697
20757
  var MUSIC_VIDEO_MODELS = {
20698
20758
  "one-take": {
20699
20759
  label: "MiniMax H3 Max",
20700
- description: "MiniMax\u2019s H3 Max video model: a performer sings your song, lip-synced, kept from their character, or your cast lives its story, in shots cut between the lines.",
20760
+ description: MUSIC_VIDEO_MODEL_GUIDES["one-take"].bestFor,
20701
20761
  formats: ["9:16", "16:9", "1:1"],
20702
20762
  shot: { references: 9, people: 3 },
20703
20763
  // On screen: the artist, a cast (each kept from their own character, as the artist is) or no one (a shot from words alone, or its
20704
- // places and props). No choreography, ensembles, action or stylized looks yet; its kinds and looks follow from that.
20764
+ // places and props). Dances, a band, action and the stylized looks too; its kinds and looks follow from that.
20705
20765
  qualities: ["480p", "768p", "1080p"],
20706
20766
  defaultQuality: "768p",
20707
- ...withCatalog({ clip: { fps: 24, frames: 360, context: 0 }, keyframes: { start: true, end: true }, performances: MUSIC_VIDEO_PERFORMANCES, onScreen: ["artist", "cast", "none"], abilities: [] })
20767
+ ...withCatalog({ clip: { fps: 24, frames: 360, context: 0 }, keyframes: { start: true, end: true }, performances: MUSIC_VIDEO_PERFORMANCES, onScreen: ["artist", "cast", "none"], abilities: MUSIC_VIDEO_ABILITIES })
20708
20768
  },
20709
20769
  // ByteDance's Seedance: shots up to 15 seconds (2.5 makes 30; kept at 15 until a test shows its lip-sync holds longer), nine
20710
- // pictures a shot (2.5 takes 30; the kit stays the same), and no given first or last frame together with the song, so no
20711
- // continuous takes. People in its pictures must be registered with the model first (docs/SEEDANCE.md).
20712
- "seedance-2-0": { ...seedance("Seedance 2.0", "ByteDance\u2019s Seedance 2.0 video model", ["480p", "720p", "1080p", "4k"]) },
20713
- "seedance-2-0-fast": { ...seedance("Seedance 2.0 Fast", "ByteDance\u2019s Seedance 2.0 Fast video model, quicker and cheaper", ["480p", "720p"]) },
20714
- "seedance-2-0-mini": { ...seedance("Seedance 2.0 Mini", "ByteDance\u2019s Seedance 2.0 Mini video model, the lowest price", ["480p", "720p"]) },
20715
- "seedance-2-5": { ...seedance("Seedance 2.5", "ByteDance\u2019s Seedance 2.5 video model, its most capable", ["480p", "720p", "1080p"]) }
20770
+ // pictures a shot (2.5 takes 30; the kit stays the same); its first and last frames go as reference pictures named in the prompt,
20771
+ // so it opens on drawn frames and makes continuous takes like MiniMax. People in its pictures must be registered with the model first
20772
+ // (docs/SEEDANCE.md).
20773
+ "seedance-2-0": { ...seedance("Seedance 2.0", "seedance-2-0", ["480p", "720p", "1080p", "4k"]) },
20774
+ "seedance-2-0-fast": { ...seedance("Seedance 2.0 Fast", "seedance-2-0-fast", ["480p", "720p"]) },
20775
+ "seedance-2-0-mini": { ...seedance("Seedance 2.0 Mini", "seedance-2-0-mini", ["480p", "720p"]) },
20776
+ "seedance-2-5": { ...seedance("Seedance 2.5", "seedance-2-5", ["480p", "720p", "1080p"]) }
20716
20777
  };
20717
20778
  var MusicVideoPlanIdSchema = external_exports.string().regex(/^plan_[0-9a-f-]{36}$/, "A music video plan id (plan_\u2026)");
20718
20779
  var LookbookIdSchema = external_exports.string().regex(/^lookbook_[0-9a-f-]{36}$/, "A lookbook id (lookbook_\u2026)");
@@ -20785,7 +20846,6 @@ var fitsModel = (value, ctx) => {
20785
20846
  if (!model.onScreen.includes(on)) issue2("on_screen", `${model.label} doesn\u2019t make videos ${on === "cast" ? "with a cast" : "with no one on screen"} yet`);
20786
20847
  else if (on !== "artist" && value.cast) issue2("cast", "The performer isn\u2019t in this video: leave cast out");
20787
20848
  if (on !== "artist" && value.performer) issue2("performer", `Nobody performs in a video ${on === "cast" ? "with a cast (mention its characters in direction)" : "with no one on screen"}: leave performer out`);
20788
- if (on !== "artist" && value.takes === "continuous") issue2("takes", "A continuous take follows the performer: choose cuts for a video without them");
20789
20849
  if (value.takes === "continuous" && !(model.keyframes.start && model.keyframes.end)) issue2("takes", `${model.label} makes no continuous takes`);
20790
20850
  if (value.people?.length && on === "none") issue2("people", "Nobody is on screen in this video: leave people out, or put a cast on screen");
20791
20851
  if (value.lipsync === "never" && MUSIC_VIDEO_CATEGORIES[value.category].needs?.sings) issue2("lipsync", `A ${MUSIC_VIDEO_CATEGORIES[value.category].label} video is sung on camera: choose another kind, or let the director decide`);
@@ -20850,23 +20910,25 @@ var songId = id("song");
20850
20910
  var artistId = id("artist");
20851
20911
  var lookId = id("Look");
20852
20912
  var videoId = id("video");
20913
+ var IDEA_ID = external_exports.string().regex(/^idea_[A-Za-z0-9]{1,40}$/).describe("The idea id (idea_\u2026)");
20853
20914
  var search = (q) => ({
20854
20915
  q: external_exports.string().max(100).optional().describe(q),
20855
20916
  limit: external_exports.number().int().min(1).max(100).optional().describe("Results per page, 1-100 (default 50)"),
20856
20917
  offset: external_exports.number().int().min(0).optional().describe("How many results to skip")
20857
20918
  });
20858
20919
  var httpsUrl = (what) => external_exports.string().url().max(2e3).describe(`A public https URL of ${what}`);
20859
- var LYRICS = "The song\u2019s lyrics as text: plain (Suno-style [Verse]/[Chorus] tags and (x2) marks are fine), or the contents of an SRT, WebVTT or LRC file. Every word is still timed from the audio: your text fixes misheard words and sets where lines break in videos. A part sung again (a chorus) can be written once; lyrics that don\u2019t match what\u2019s sung, or cover only part of it, are refused";
20920
+ var LYRICS = "The song\u2019s lyrics as text: plain (Suno-style [Verse]/[Chorus] tags and (x2) marks are fine), or the contents of an SRT, WebVTT or LRC file. Every word is still timed from the audio: your text fixes misheard words and sets where lines break in videos, and its section tags set the song\u2019s sections (a chorus sung once is still a chorus). A part sung again (a chorus) can be written once; lyrics that don\u2019t match what\u2019s sung, or cover only part of it, are refused";
20860
20921
  var KIT_ABOUT = "The kit is what a music video is made from besides the artist\u2019s character: outfits, places and props. Each is in one artist\u2019s kit (owner_artist_id, a project in a Creator workspace; an outfit\u2019s is its artist_id) and serves their songs; shared true offers it to every other artist\u2019s songs too (owner_name says whose it is). Each has a name and an @handle unique in the workspace; a music video brief (direction) that mentions @handle uses that piece exactly as it is, and the director designs the rest.";
20861
20922
  var NEEDS_PLAN = "Needs an active plan (402 plan_required without one; get_account: plan.active) and room in its storage (402 storage_full when it would not fit; get_account: storage).";
20862
20923
  var PICTURE_CROP = external_exports.object({ x: external_exports.number().min(0).max(1), y: external_exports.number().min(0).max(1), size: external_exports.number().min(0.1).max(1) }).optional();
20924
+ var IMAGE_FALLBACK = "image_url is the picture uploaded for it (null without one); while it has none, image_fallback is the cover of its newest song still there (song_id, preview_url 640 px and thumbnail_url 160 px WebP), to show in its place, or null without a song. It is read-only, never saved as the picture, and follows the newest song (a new song or an archived one changes it).";
20863
20925
  var COVER_SIZES = "cover_art.url is the cover at up to 1536 px (JPEG; width and height describe it), preview_url a 640 px and thumbnail_url a 160 px WebP. Image links are signed for 7 days and stay the same all day, so they can be cached.";
20864
20926
  var { type: _lyricType, quote_id: _lyricQuote, ...lyricShape } = LyricVideoRequestSchema.shape;
20865
20927
  var { type: _canvasType, quote_id: _canvasQuote, ...canvasShape } = CanvasRequestSchema.shape;
20866
20928
  var { type: _musicType, quote_id: _musicQuote, ...musicShape } = MusicVideoRequestSchema.shape;
20867
20929
  var CAST_DESCRIPTION = "The performer in it, kept from their character: what they wear, outfit_kit (a kit outfit's @handle, without the @, worn in every shot they are in); left out, the director picks. Only when the performer is on screen";
20868
20930
  var PERFORMER = "Only in a Creator workspace (its projects have no character of their own): who performs (sings to camera lip-synced, or plays), a character in the song's project's kit or one another project shared (list_characters with for_artist_id: its id, kit_\u2026). Anywhere else the song's artist performs, from their character: leave it out. Only when someone performs (on_screen artist: every kind but cast-story, mood and places).";
20869
- var ON_SCREEN_DESCRIPTION = "Who is on screen: artist (the song's artist, from their character; in a Creator workspace the character performer names), cast (people the director casts and describes; the artist needn't appear) or none (places, light and objects). Omitted: the kind's (cast-story a cast, mood and places no one, else the artist). Only what the model makes: get_options lists on_screen per model (cast and none are offered once a model is tested with them). Without the artist no character is needed, there are no outfits and no continuous takes";
20931
+ var ON_SCREEN_DESCRIPTION = "Who is on screen: artist (the song's artist, from their character; in a Creator workspace the character performer names), cast (people the director casts and describes; the artist needn't appear) or none (places, light and objects). Omitted: the kind's (cast-story a cast, mood and places no one, else the artist). Only what the model makes: get_options lists on_screen per model (cast and none are offered once a model is tested with them). Without the artist no character is needed and there are no outfits; continuous takes join on the cast and the place";
20870
20932
  var QUOTE_ID = external_exports.string().uuid().describe("The quote_id from the matching quote: the request must be identical");
20871
20933
  var METADATA = external_exports.record(external_exports.string(), external_exports.unknown()).optional().describe("Your own JSON (an order id, for example): kept with the video and returned in its request. Quote and create with the same value");
20872
20934
  var CALLBACK = external_exports.string().max(2e3).optional().describe("An https URL to POST the finished video to (signed; see Callbacks). Quote and create with the same value");
@@ -20875,7 +20937,7 @@ var lyricInput = external_exports.object({
20875
20937
  song_id: songId,
20876
20938
  callback_url: CALLBACK,
20877
20939
  metadata: METADATA,
20878
- look: lyricShape.look.describe(`{"mode":"existing","id":"look_\u2026"} to reuse a saved Look (add "lyric_style" to render it in another lyric style, at no extra cost), or {"mode":"new","category":"\u2026","lyric_style":"\u2026","background":{"source":"ai-image","quality":"high"},"visibility":"private","direction":"\u2026"} to have one designed (background.source "upload-photo"/"upload-video" with background.upload_id from upload_background designs it around your own media; such a Look stays private. "stock-photo"/"stock-video" with background.stock_id from search_stock uses that stock photo or clip instead of the director's pick). lyric_style (optional, from get_options) sets how the lyrics are presented and animated: block-stack, punch, player, neon, terminal, cinematic\u2026 Omit it and the director picks one. background.scenes (2\u20134, AI image only) makes that many shots of the same world that cut on the song's sections, each priced like the first. background.references "stock" (AI image or AI video, default "none") with feature_artist "always" makes the background one real stock photo of a place the director picks, with the artist put into it and restyled a little for the Look; no extra cost. The singer is left out unless asked: feature_artist "always" (default "never") makes them the subject of the background, recognizable from their character (list_characters; start_character makes one); it needs an AI image or AI video background, a private Look and display.cover false (the cover would hide them), and that Look then only serves this artist's songs. A saved Look that shows an artist (featured_artist) only serves that artist's songs, also with display.cover false`),
20940
+ look: lyricShape.look.describe(`{"mode":"existing","id":"look_\u2026"} to reuse a saved Look (add "lyric_style" to render it in another lyric style, at no extra cost), or {"mode":"new","category":"\u2026","lyric_style":"\u2026","background":{"source":"ai-image","quality":"high"},"visibility":"private","direction":"\u2026"} to have one designed (any category takes any background.source, "designed" being a free moving gradient the director draws; background.source "upload-photo"/"upload-video" with background.upload_id from upload_background designs it around your own media; such a Look stays private. "stock-photo"/"stock-video" with background.stock_id from search_stock uses that stock photo or clip instead of the director's pick). lyric_style (optional, from get_options) sets how the lyrics are presented and animated: block-stack, punch, player, neon, terminal, cinematic\u2026 Omit it and the director picks one. background.scenes (2\u20134, AI image only) makes that many shots of the same world that cut on the song's sections, each priced like the first. background.references "stock" (AI image or AI video, default "none") with feature_artist "always" makes the background one real stock photo of a place the director picks, with the artist put into it and restyled a little for the Look; no extra cost. The singer is left out unless asked: feature_artist "always" (default "never") makes them the subject of the background, recognizable from their character (list_characters; start_character makes one); it needs an AI image or AI video background, a private Look and display.cover false (the cover would hide them), and that Look then only serves this artist's songs. A saved Look that shows an artist (featured_artist) only serves that artist's songs, also with display.cover false`),
20879
20941
  aspect_ratios: lyricShape.aspect_ratios.describe('Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)'),
20880
20942
  display: lyricShape.display.describe("Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. cover must be false to show the artist in the background"),
20881
20943
  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)"),
@@ -20907,7 +20969,7 @@ var musicVideoInput = external_exports.object({
20907
20969
  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"),
20908
20970
  callback_url: CALLBACK,
20909
20971
  metadata: METADATA,
20910
- model: musicShape.model.describe("The music video model: one-take (default; MiniMax H3 Max, the artist lip-synced in shots cut between the song's lines). get_options lists the models with the categories, styles, formats, takes and length each makes"),
20972
+ 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"),
20911
20973
  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`),
20912
20974
  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"),
20913
20975
  style: musicShape.style.describe("Optional look: natural, film, golden-hour, neon-night, noir, vintage or dreamy. Omit it and the director picks one from the cover"),
@@ -20921,7 +20983,7 @@ var musicVideoInput = external_exports.object({
20921
20983
  on_screen: musicShape.on_screen.describe(ON_SCREEN_DESCRIPTION),
20922
20984
  performer: musicShape.performer.describe(PERFORMER),
20923
20985
  cast: musicShape.cast.describe(CAST_DESCRIPTION),
20924
- plan_id: musicShape.plan_id.describe("Make the video from this plan (plan_music_video): its brief replaces the one sent, so send song_id and plan_id. Omitted, the director plans it while it is made"),
20986
+ plan_id: musicShape.plan_id.describe("Make the video from this plan (plan_music_video): its brief (model, kind, look, format, section\u2026) replaces the one sent, so send song_id and plan_id; quality left out is the plan's model's default. Omitted, the director plans it while it is made"),
20925
20987
  quality: musicShape.quality.describe("The resolution it is made at: one of the qualities get_options lists for the model (left out, the model's default_quality: 768p for MiniMax H3 Max, 720p for Seedance; a sharper one is the same video for more credits); not part of the plan, so a plan is made in any quality. get_options lists each model's qualities with about how long each takes; credits.music_video.models has a minute by model and quality"),
20926
20988
  variations: musicShape.variations.describe("1\u20134 different music videos"),
20927
20989
  outro: musicShape.outro.describe("Optional: end on a release card after the last shot, the song playing on under it (the delivered video is up to 5 seconds longer; the director designs it for the video, or look_id: a lyric video Look from list_looks whose card is used as it is). display: title, artist, cover, badges (true/false) and optional cover_scale, text_scale, artist_scale, spacing_scale. Free with the video"),
@@ -20931,7 +20993,7 @@ var musicVideoInput = external_exports.object({
20931
20993
  var musicVideoPlanInput = external_exports.object({
20932
20994
  ...MusicVideoPlanRequestSchema.shape,
20933
20995
  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"),
20934
- model: musicShape.model.describe("The music video model: one-take (default; MiniMax H3 Max, the artist lip-synced in shots cut between the song's lines). get_options lists the models with the categories, styles, formats, takes and length each makes"),
20996
+ 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"),
20935
20997
  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`),
20936
20998
  category: musicShape.category.describe("performance (default), intercut, cinematic, story or surreal"),
20937
20999
  style: musicShape.style.describe("Optional look: natural, film, golden-hour, neon-night, noir, vintage or dreamy; omitted, the director picks one from the cover"),
@@ -20997,6 +21059,27 @@ var MusicVideoPlanSchema = external_exports.looseObject({
20997
21059
  created_at: external_exports.string()
20998
21060
  });
20999
21061
  var QUOTE_FIRST = "Always quote first and tell the user the credits before creating; credits are reserved at creation and charged only when the video is delivered.";
21062
+ var SharingSchema = external_exports.object({
21063
+ socials: external_exports.boolean().describe("Kinetune may also post it on its socials"),
21064
+ credit_handle: external_exports.string().nullable().describe("The @handle credited there"),
21065
+ shared_at: external_exports.string().describe("When it was made public"),
21066
+ featured: external_exports.boolean().describe("Kinetune features it (the Community's featured row, and kinetune.com)"),
21067
+ hidden: external_exports.boolean().describe("Kinetune's staff hid it: it stays out of the Community until they lift it")
21068
+ }).nullable();
21069
+ var VideoSharingSchema = external_exports.looseObject({
21070
+ video_id: external_exports.string(),
21071
+ sharing: SharingSchema.describe("Its place in the Community, or null while it is private"),
21072
+ look: external_exports.looseObject({
21073
+ type: external_exports.enum(["music-video", "lyric-video"]),
21074
+ id: external_exports.string(),
21075
+ name: external_exports.string(),
21076
+ visibility: external_exports.enum(["private", "public"]),
21077
+ reward_credits: external_exports.number().describe("Credits the workspace holds while the Look stays public"),
21078
+ shows_artist: external_exports.boolean().optional().describe("A lyric video's Look that shows the artist: it stays private"),
21079
+ official: external_exports.boolean().optional()
21080
+ }).nullable().describe("Its Look as making it public or private leaves it (a music video's concept, or the lyric video's Look); null when it has none")
21081
+ });
21082
+ var SHARE_CONSENT = "Never set rights_confirmed or socials on your own, and never assume them from an earlier answer: only when the user says so for this video.";
21000
21083
  var VideoOutputSchema = external_exports.looseObject({
21001
21084
  aspect_ratio: external_exports.enum(["9:16", "16:9", "1:1"]).describe("The format of this file"),
21002
21085
  url: external_exports.string().optional().describe("The full-quality file"),
@@ -21045,6 +21128,7 @@ var VideoSchema = external_exports.looseObject({
21045
21128
  error: external_exports.string().nullable(),
21046
21129
  error_code: external_exports.string().nullable(),
21047
21130
  retry_of_job_id: external_exports.string().nullable(),
21131
+ sharing: SharingSchema.optional().describe("get_video: its place in the Community (share_video), or null while it is private"),
21048
21132
  created_at: external_exports.string(),
21049
21133
  updated_at: external_exports.string()
21050
21134
  });
@@ -21056,7 +21140,7 @@ var OPERATIONS = [
21056
21140
  group: "account",
21057
21141
  title: "Get the account",
21058
21142
  summary: "Who you are signed in as, the organization (workspace) and its credit balance",
21059
- description: "Returns the organization the credentials act for (the workspace, as the app calls it; type artist holds one artist, label a roster, creator projects), how they authenticate and their scopes, the credit balance (available, monthly, top-ups) and its plan, if any: active says whether it lets the workspace create (without an active plan, creating answers 402 plan_required: tell the person to choose a plan in the app), storage (used_bytes against limit_bytes, what the plan allows: an upload or new video that does not fit answers 402 storage_full, and deleting videos or archiving songs frees space at once), where it is billed, when the period ends, and a downgrade or interval switch waiting for the renewal as scheduled_change. Without a plan, free_song says where the person's one free song stands (signed in as them, never with an API key, where it is null, as it is with a plan): available (upload one song now, with create_song; it plays in the Looks, and nothing is made from it until there is a plan), unverified (they confirm their email first), used (its song_id and title) or taken (it went to another workspace or account). Monthly credits reset every month; top-ups never expire. Check it before creating anything.",
21143
+ description: "Returns the organization the credentials act for (the workspace, as the app calls it; type artist holds one artist, label a roster, creator projects), how they authenticate and their scopes, the credit balance (available, monthly, top-ups) and its plan, if any: active says whether it lets the workspace create (without an active plan, creating answers 402 plan_required: tell the person to choose a plan in the app), storage (used_bytes against limit_bytes, what the plan allows: an upload or new video that does not fit answers 402 storage_full, and deleting videos or archiving songs frees space at once), where it is billed, when the period ends, and a downgrade or interval switch waiting for the renewal as scheduled_change. Without a plan, free_song says where the person's one free song stands (signed in as them, never with an API key, where it is null, as it is with a plan): available (upload one song now, with create_song; it plays in the Looks, and nothing is made from it until there is a plan), unverified (they confirm their email first), used (its song_id and title) or taken (it went to another workspace or account). Monthly credits reset every month; top-ups never expire. On the organization, " + IMAGE_FALLBACK + " Check it before creating anything.",
21060
21144
  method: "GET",
21061
21145
  path: "/api/v1/account",
21062
21146
  scopes: ["videos:read", "music:read", "library:read"],
@@ -21072,7 +21156,7 @@ var OPERATIONS = [
21072
21156
  group: "account",
21073
21157
  title: "List the options",
21074
21158
  summary: "Video types, Look categories, background sources, formats and the current credit prices",
21075
- description: "Everything a request can choose from, with the credit table, and what's on sale (plans: each plan's monthly and yearly price in cents, monthly credits, limits and features, the recommended one marked highlighted, and shelf: everyday for lyric videos, Canvas and some AI music videos, studio for AI music videos every month; credit_packs: each pack's credits and price in cents; music_video.categories and music_video.styles: each kind and look, with demo when Kinetune has chosen one: a real music video of it with sound in video_url, a few silent seconds from its poster moment hover_seconds in hover_url, its poster in still_url, the model and quality it was made with, and story: its brief, the director's idea and its shots; signed for about a week). The catalog is set by Kinetune's admins and can change; a subscription keeps what it was bought with. Use it to pick a category or source and to explain prices.",
21159
+ description: "Everything a request can choose from, with the credit table, and what's on sale (plans: each plan's monthly and yearly price in cents, monthly credits, limits and features, the recommended one marked highlighted, and shelf: everyday for lyric videos, Canvas and some AI music videos, studio for AI music videos every month; credit_packs: each pack's credits and price in cents; music_video.categories and music_video.styles: each kind and look, with demos, the real music videos of it Kinetune chose: one per model (model: its id) and a fallback (model null) for a model without its own; each with sound in video_url, a few silent seconds from its poster moment hover_seconds in hover_url, its poster in still_url, made_with: the model and quality it was made with, and story: its brief, the director's idea and its shots; signed for about a week. Show the one for the model in hand, else the fallback; demo is the fallback alone, as before). music_video.models[].guide: what each model is best for (best_for), its strengths and weaknesses, the kinds it suits, its sharpest resolution (max_quality), public benchmark scores (board, entry, score, source, url, date) and page_url, the page comparing them; music_video.categories[].recommended_model: the offered model to suggest for that kind when the person hasn't named one. The catalog is set by Kinetune's admins and can change; a subscription keeps what it was bought with. Use it to pick a category or source and to explain prices.",
21076
21160
  method: "GET",
21077
21161
  path: "/api/v1/options",
21078
21162
  scopes: ["videos:read", "music:read", "library:read"],
@@ -21088,7 +21172,7 @@ var OPERATIONS = [
21088
21172
  group: "account",
21089
21173
  title: "List your organizations",
21090
21174
  summary: "The organizations you belong to, your role in each and the one these credentials act for",
21091
- description: "Every organization (workspace, in the app) the signed-in person is a member of; with an API key, the member who created it (the key needs organizations:read). type is artist (one artist and its songs), creator (projects: the same records as artists, a performer optional) or label (a roster of artists). current marks the organization these credentials act for. Each organization has its own plan, music, videos, Looks and credits: to work in another one, sign in again and pick it on the consent screen, or use an API key created in it.",
21175
+ description: "Every organization (workspace, in the app) the signed-in person is a member of; with an API key, the member who created it (the key needs organizations:read). type is artist (one artist and its songs), creator (projects: the same records as artists, a performer optional) or label (a roster of artists). current marks the organization these credentials act for. " + IMAGE_FALLBACK + " Each organization has its own plan, music, videos, Looks and credits: to work in another one, sign in again and pick it on the consent screen, or use an API key created in it.",
21092
21176
  method: "GET",
21093
21177
  path: "/api/v1/organizations",
21094
21178
  scopes: ["organizations:read"],
@@ -21145,7 +21229,7 @@ var OPERATIONS = [
21145
21229
  group: "artists",
21146
21230
  title: "List artists",
21147
21231
  summary: "Artists by name, with their song counts and a picture",
21148
- description: "Songs belong to an artist; create the artist first. Sorted by name, 50 per page by default: pass q to search by name, and limit/offset to page.",
21232
+ description: "Songs belong to an artist; create the artist first. Sorted by name, 50 per page by default: pass q to search by name, and limit/offset to page. " + IMAGE_FALLBACK,
21149
21233
  method: "GET",
21150
21234
  path: "/api/v1/artists",
21151
21235
  scopes: ["music:read", "videos:read"],
@@ -21177,8 +21261,8 @@ var OPERATIONS = [
21177
21261
  id: "artists.get",
21178
21262
  group: "artists",
21179
21263
  title: "Get an artist",
21180
- summary: "One artist",
21181
- description: "",
21264
+ summary: "One artist, with their song count and picture",
21265
+ description: IMAGE_FALLBACK,
21182
21266
  method: "GET",
21183
21267
  path: "/api/v1/artists/{artist_id}",
21184
21268
  scopes: ["music:read", "videos:read"],
@@ -21818,12 +21902,16 @@ var OPERATIONS = [
21818
21902
  id: "backgrounds.upload",
21819
21903
  group: "looks",
21820
21904
  title: "Upload a background",
21821
- summary: "Upload your own photo or video to design a New Look around",
21822
- description: `Photo: JPEG, PNG or WebP, at least 720 px on the short side, up to 25 MB. Video: MP4, MOV or WebM, 4\u2013180 seconds, at least 720 px on the short side, up to 300 MB; it becomes a seamless loop of up to 20 s. Only with the rights to use it. Then quote a lyric video with look {"mode":"new","category":"\u2026","background":{"source":"upload-photo" or "upload-video","upload_id":"\u2026"},"visibility":"private"}. ${NEEDS_PLAN}`,
21905
+ summary: "Upload your own photo or video, or use one of your music videos, to design a New Look around",
21906
+ description: `Photo: JPEG, PNG or WebP, at least 720 px on the short side, up to 25 MB. Video: MP4, MOV or WebM, 4\u2013180 seconds, at least 720 px on the short side, up to 300 MB; it becomes a seamless loop of up to 20 s. Only with the rights to use it. Or video_id: one of this workspace's delivered music videos (list_videos with type music-video and the song's song_id), copied in as a video background (no rights_confirmed needed); the answer's music_video names its song and section (trim). A lyric video with it must be of that song: it takes that section (send that trim, or leave trim out), and the music video plays once from its first frame in step with the lyrics, with its own sound. Then quote a lyric video with look {"mode":"new","category":"\u2026","background":{"source":"upload-photo" or "upload-video","upload_id":"\u2026"},"visibility":"private"}. ${NEEDS_PLAN}`,
21823
21907
  method: "POST",
21824
21908
  path: "/api/v1/backgrounds",
21825
21909
  scopes: ["library:write", "videos:write"],
21826
- input: external_exports.object({ file_url: httpsUrl("the photo or video").optional(), rights_confirmed: external_exports.literal(true).describe("You have the rights to use this photo or video") }),
21910
+ input: external_exports.object({
21911
+ file_url: httpsUrl("the photo or video").optional(),
21912
+ video_id: external_exports.string().uuid().optional().describe("One of your delivered music videos, instead of a file: it then plays in step with its song\u2019s lyrics, with its own sound"),
21913
+ rights_confirmed: external_exports.literal(true).optional().describe("You have the rights to use this photo or video (required with a file or file_url)")
21914
+ }),
21827
21915
  files: [{ field: "file", urlField: "file_url", accept: ["image/jpeg", "image/png", "image/webp", "video/mp4", "video/quicktime", "video/webm"], description: "Your photo or video" }],
21828
21916
  readOnly: false,
21829
21917
  destructive: false,
@@ -22110,6 +22198,44 @@ var OPERATIONS = [
22110
22198
  mcp: "get_music_video_plan",
22111
22199
  output: { name: "MusicVideoPlan", schema: MusicVideoPlanSchema }
22112
22200
  },
22201
+ /* Opening frames */
22202
+ {
22203
+ id: "music_video_plans.frames",
22204
+ group: "videos",
22205
+ title: "List a plan's opening frames",
22206
+ summary: "The opening frames drawn for a plan's shots, and the price of one more",
22207
+ description: "Optional, for users who want control over key shots: an opening frame is a picture of the moment a shot opens on (its people, outfit and place, in the video's format), and the video then starts that shot from it, on every model. Returns frames (shot, image_url, thumbnail_url; signed for 7 days), price.credits (what drawing one more costs) and unavailable (shots that can't have one, with the reason: a shot that carries straight on from the one before, or a real person shown with others to Seedance). A frame stays with its shot across drafts while the shot is unchanged, and is never part of the video's quote. 404 when frames aren't offered.",
22208
+ method: "GET",
22209
+ path: "/api/v1/music-video-plans/{plan_id}/frames",
22210
+ scopes: ["videos:read"],
22211
+ input: external_exports.object({ plan_id: MusicVideoPlanIdSchema.describe("The plan id (plan_\u2026)") }),
22212
+ readOnly: true,
22213
+ destructive: false,
22214
+ idempotent: true,
22215
+ cli: ["plans", "frames"],
22216
+ mcp: "list_music_video_frames"
22217
+ },
22218
+ {
22219
+ id: "music_video_plans.draw_frame",
22220
+ group: "videos",
22221
+ title: "Draw an opening frame",
22222
+ summary: "Draws the picture a planned shot opens on (spends credits)",
22223
+ description: `Paid per picture: tell the user the price (list_music_video_frames: price.credits) and draw only after their go, then show them the picture (image_url). Drawing a shot again replaces its frame for the same price. Good for the shots that matter most (the opening, the hook); the others are made from their references as usual. credits is the price the user agreed to; another price answers 409 with the current one. Takes about a minute; nothing is charged if it fails. 400 with the reason for a shot that can't have one (list_music_video_frames: unavailable). Then quote_music_video and create_music_video with the plan_id as usual. ${NEEDS_PLAN}`,
22224
+ method: "POST",
22225
+ path: "/api/v1/music-video-plans/{plan_id}/frames",
22226
+ scopes: ["videos:write"],
22227
+ input: external_exports.object({
22228
+ plan_id: MusicVideoPlanIdSchema.describe("The plan id (plan_\u2026)"),
22229
+ shot: external_exports.number().int().min(1).describe("The shot's number (shots[].index)"),
22230
+ credits: external_exports.number().int().positive().describe("The price shown (list_music_video_frames: price.credits)")
22231
+ }),
22232
+ readOnly: false,
22233
+ destructive: false,
22234
+ idempotent: false,
22235
+ cli: ["plans", "draw-frame"],
22236
+ mcp: "draw_music_video_frame",
22237
+ example: { plan_id: "plan_\u2026", shot: 1, credits: 26 }
22238
+ },
22113
22239
  {
22114
22240
  id: "quotes.music_video",
22115
22241
  group: "videos",
@@ -22184,7 +22310,7 @@ var OPERATIONS = [
22184
22310
  group: "videos",
22185
22311
  title: "List videos",
22186
22312
  summary: "Videos, newest first, with status and thumbnails",
22187
- description: "A page at a time (limit, default 50): next_cursor is null on the last page, otherwise pass it as cursor for the next one with the same filters. counts says how many videos match song_id, artist_id and q: all, and by type (lyric_video, canvas, music_video). Each video's outputs carry aspect_ratio, poster_url, poster_seconds and web_url (for thumbnails and previews); get_video has the download links. A video that is waiting has queue: why (plan_limit or render_capacity), its place in line or about how long.",
22313
+ description: "A page at a time (limit, default 50): next_cursor is null on the last page, otherwise pass it as cursor for the next one with the same filters. counts says how many videos match song_id, artist_id, quote_id and q: all, and by type (lyric_video, canvas, music_video). Each video's outputs carry aspect_ratio, poster_url, poster_seconds and web_url (for thumbnails and previews); get_video has the download links. A video that is waiting has queue: why (plan_limit or render_capacity), its place in line or about how long.",
22188
22314
  method: "GET",
22189
22315
  path: "/api/v1/videos",
22190
22316
  scopes: ["videos:read"],
@@ -22192,6 +22318,7 @@ var OPERATIONS = [
22192
22318
  song_id: songId.optional().describe("Only this song\u2019s videos"),
22193
22319
  artist_id: artistId.optional().describe("Only videos of this artist\u2019s songs"),
22194
22320
  type: external_exports.enum(["lyric-video", "canvas", "music-video"]).optional(),
22321
+ quote_id: external_exports.string().uuid().optional().describe("Only the videos this quote made (none until it is used)"),
22195
22322
  q: external_exports.string().trim().min(1).max(100).optional().describe("Search the song title, artist name, Look name or video id"),
22196
22323
  limit: external_exports.number().int().min(1).max(100).optional(),
22197
22324
  cursor: external_exports.string().min(1).max(200).optional().describe("next_cursor from the previous page")
@@ -22355,6 +22482,46 @@ var OPERATIONS = [
22355
22482
  cli: ["videos", "delete"],
22356
22483
  mcp: "delete_video"
22357
22484
  },
22485
+ {
22486
+ id: "videos.share",
22487
+ group: "videos",
22488
+ title: "Make a video public",
22489
+ summary: "Show a delivered video in the Community, its Look reusable by anyone",
22490
+ description: `Only when the user asks for it, in their own words: ask them first and never make a video public on your own. Public, everyone signed in to Kinetune sees it in the Community, Kinetune may feature it on kinetune.com, and its Look becomes public with it so anyone can reuse it (a music video's concept: its kind, look, edit, places and props, never the artist or anyone else in it; a lyric video's Look unless it shows the artist or is Official); the workspace holds the Look's reward credits while it stays public. rights_confirmed (a music video needs it): the user confirms they have the right to show the artist and everyone in it publicly. socials true: the user also lets Kinetune post it on its socials (TikTok, Instagram, YouTube, X), crediting credit_handle. ${SHARE_CONSENT} Sharing again replaces those choices; a video Kinetune's staff hid stays hidden. Only a delivered (completed) video. unshare_video makes it private again; get_video shows sharing.`,
22491
+ method: "POST",
22492
+ path: "/api/v1/videos/{video_id}/share",
22493
+ scopes: ["videos:write"],
22494
+ input: external_exports.object({
22495
+ video_id: videoId,
22496
+ rights_confirmed: external_exports.literal(true).optional().describe("The user confirmed they have the right to show the artist and everyone in it publicly (required for a music video). Only when they said so"),
22497
+ socials: external_exports.boolean().optional().describe("The user also lets Kinetune post it on its socials, crediting credit_handle (default false). Only when they said so"),
22498
+ credit_handle: external_exports.string().trim().regex(/^@?[A-Za-z0-9_.]{1,30}$/).optional().describe("With socials: the @handle to credit (letters, digits, dots and underscores, up to 30), as the user gave it")
22499
+ }),
22500
+ readOnly: false,
22501
+ destructive: false,
22502
+ idempotent: true,
22503
+ cli: ["videos", "share"],
22504
+ mcp: "share_video",
22505
+ output: { name: "VideoSharing", schema: VideoSharingSchema },
22506
+ example: { video_id: "00000000-0000-0000-0000-000000000000", rights_confirmed: true }
22507
+ },
22508
+ {
22509
+ id: "videos.unshare",
22510
+ group: "videos",
22511
+ title: "Make a video private",
22512
+ summary: "Take a video out of the Community, its Look private again",
22513
+ description: "It leaves the Community and Kinetune's featured row at once, with the loves it had, and its Look is private again (its reward credits go back). Ask the user first.",
22514
+ method: "DELETE",
22515
+ path: "/api/v1/videos/{video_id}/share",
22516
+ scopes: ["videos:write"],
22517
+ input: external_exports.object({ video_id: videoId }),
22518
+ readOnly: false,
22519
+ destructive: true,
22520
+ idempotent: true,
22521
+ cli: ["videos", "unshare"],
22522
+ mcp: "unshare_video",
22523
+ output: { name: "VideoSharing", schema: VideoSharingSchema }
22524
+ },
22358
22525
  /* Community */
22359
22526
  {
22360
22527
  id: "ideas.suggest",
@@ -22376,6 +22543,110 @@ var OPERATIONS = [
22376
22543
  cli: ["ideas", "suggest"],
22377
22544
  mcp: "suggest_idea",
22378
22545
  example: { title: "Export a 15-second cut of the hook for TikTok", area: "lyric-video" }
22546
+ },
22547
+ {
22548
+ id: "ideas.list",
22549
+ group: "community",
22550
+ title: "List ideas",
22551
+ summary: "The Community board's ideas, most voted first, with your vote and follow",
22552
+ description: "Everyone's ideas for Kinetune, a page at a time (limit, default 30): next_cursor is null on the last page, otherwise pass it as cursor with the same filters. Before suggesting an idea, search for it (q) and vote for the one that is already there. status: one status, or open for every open one (under_review, planned, in_progress); yours true: ones the person suggested or voted for. counts says how many match area and q, by status. Each idea has its votes, voted and following (the person's), and its author by name only.",
22553
+ method: "GET",
22554
+ path: "/api/v1/community/ideas",
22555
+ scopes: ["videos:read", "music:read", "library:read"],
22556
+ input: external_exports.object({
22557
+ q: external_exports.string().trim().max(100).optional().describe("Words in the title or details"),
22558
+ sort: external_exports.enum(["top", "new"]).optional().describe("top (default: most voted) or new"),
22559
+ status: external_exports.enum(["open", "under_review", "planned", "in_progress", "shipped", "declined"]).optional(),
22560
+ area: external_exports.enum(["lyric-video", "canvas", "music-video", "everything"]).optional(),
22561
+ yours: external_exports.boolean().optional().describe("Only the ones the person suggested or voted for"),
22562
+ limit: external_exports.number().int().min(1).max(100).optional(),
22563
+ cursor: external_exports.string().min(1).max(200).optional().describe("next_cursor from the previous page")
22564
+ }),
22565
+ readOnly: true,
22566
+ destructive: false,
22567
+ idempotent: true,
22568
+ cli: ["ideas", "list"],
22569
+ mcp: "list_ideas"
22570
+ },
22571
+ {
22572
+ id: "ideas.get",
22573
+ group: "community",
22574
+ title: "Get an idea",
22575
+ summary: "One idea with its comments and Kinetune's word on it",
22576
+ description: "status_note is the team's word on its status. An idea merged into another answers with that one. People appear by name and picture only.",
22577
+ method: "GET",
22578
+ path: "/api/v1/community/ideas/{idea_id}",
22579
+ scopes: ["videos:read", "music:read", "library:read"],
22580
+ input: external_exports.object({ idea_id: IDEA_ID }),
22581
+ readOnly: true,
22582
+ destructive: false,
22583
+ idempotent: true,
22584
+ cli: ["ideas", "get"],
22585
+ mcp: "get_idea"
22586
+ },
22587
+ {
22588
+ id: "ideas.vote",
22589
+ group: "community",
22590
+ title: "Vote for an idea",
22591
+ summary: "Add the person's vote to an open idea",
22592
+ description: "Upvotes only, while the idea is open (409 once it shipped or was declined). Votes are public as a count, under the person's account: ask before voting.",
22593
+ method: "POST",
22594
+ path: "/api/v1/community/ideas/{idea_id}/vote",
22595
+ scopes: ["videos:write", "music:write", "library:write"],
22596
+ input: external_exports.object({ idea_id: IDEA_ID }),
22597
+ readOnly: false,
22598
+ destructive: false,
22599
+ idempotent: true,
22600
+ cli: ["ideas", "vote"],
22601
+ mcp: "vote_for_idea"
22602
+ },
22603
+ {
22604
+ id: "ideas.unvote",
22605
+ group: "community",
22606
+ title: "Take back a vote",
22607
+ summary: "Remove the person's vote from an open idea",
22608
+ description: "",
22609
+ method: "DELETE",
22610
+ path: "/api/v1/community/ideas/{idea_id}/vote",
22611
+ scopes: ["videos:write", "music:write", "library:write"],
22612
+ input: external_exports.object({ idea_id: IDEA_ID }),
22613
+ readOnly: false,
22614
+ destructive: false,
22615
+ idempotent: true,
22616
+ cli: ["ideas", "unvote"],
22617
+ mcp: "remove_idea_vote"
22618
+ },
22619
+ {
22620
+ id: "ideas.follow",
22621
+ group: "community",
22622
+ title: "Follow an idea",
22623
+ summary: "The person hears by email when it ships",
22624
+ description: "Sent under the Product news email topic (the person can switch it off in the app).",
22625
+ method: "POST",
22626
+ path: "/api/v1/community/ideas/{idea_id}/follow",
22627
+ scopes: ["videos:write", "music:write", "library:write"],
22628
+ input: external_exports.object({ idea_id: IDEA_ID }),
22629
+ readOnly: false,
22630
+ destructive: false,
22631
+ idempotent: true,
22632
+ cli: ["ideas", "follow"],
22633
+ mcp: "follow_idea"
22634
+ },
22635
+ {
22636
+ id: "ideas.unfollow",
22637
+ group: "community",
22638
+ title: "Stop following an idea",
22639
+ summary: "No more email about it",
22640
+ description: "",
22641
+ method: "DELETE",
22642
+ path: "/api/v1/community/ideas/{idea_id}/follow",
22643
+ scopes: ["videos:write", "music:write", "library:write"],
22644
+ input: external_exports.object({ idea_id: IDEA_ID }),
22645
+ readOnly: false,
22646
+ destructive: false,
22647
+ idempotent: true,
22648
+ cli: ["ideas", "unfollow"],
22649
+ mcp: "unfollow_idea"
22379
22650
  }
22380
22651
  ];
22381
22652
  var operationDescription = (op) => [op.deprecated ? deprecationNote(op.deprecated) : "", op.summary, op.description].filter(Boolean).join("\n\n");
@@ -26032,7 +26303,7 @@ async function revoke(config2) {
26032
26303
  // package.json
26033
26304
  var package_default = {
26034
26305
  name: "@kinetune/cli",
26035
- version: "2.1.0",
26306
+ version: "2.3.0",
26036
26307
  description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
26037
26308
  license: "MIT",
26038
26309
  homepage: "https://kinetune.com/developers#cli",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinetune/cli",
3
- "version": "2.1.0",
3
+ "version": "2.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",