@kinetune/cli 2.2.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
package/dist/kinetune.mjs CHANGED
@@ -20433,6 +20433,63 @@ var OutroDisplaySchema = DisplaySchema.omit({ lyrics: true, headline: true });
20433
20433
  var KIT_KINDS = ["outfit", "place", "prop"];
20434
20434
  var KIT_HANDLE = /^[a-z0-9][a-z0-9-]{0,39}$/;
20435
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
+
20436
20493
  // ../video-types/src/index.ts
20437
20494
  var MAX_VARIATIONS = 4;
20438
20495
  var variations = external_exports.number().int().min(1).max(MAX_VARIATIONS).default(1);
@@ -20684,10 +20741,10 @@ var withCatalog = (model) => ({ ...model, categories: kindsFor(model), styles: l
20684
20741
  var MUSIC_VIDEO_MODEL_IDS = ["one-take", "seedance-2-0", "seedance-2-0-fast", "seedance-2-0-mini", "seedance-2-5"];
20685
20742
  var MUSIC_VIDEO_LENGTH_BOUNDS = { min: 8, max: 1800 };
20686
20743
  var DEFAULT_MUSIC_VIDEO_MODEL = "one-take";
20687
- function seedance(label, model, qualities) {
20744
+ function seedance(label, id2, qualities) {
20688
20745
  return {
20689
20746
  label,
20690
- 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,
20691
20748
  qualities,
20692
20749
  defaultQuality: "720p",
20693
20750
  formats: ["9:16", "16:9", "1:1"],
@@ -20700,7 +20757,7 @@ function seedance(label, model, qualities) {
20700
20757
  var MUSIC_VIDEO_MODELS = {
20701
20758
  "one-take": {
20702
20759
  label: "MiniMax H3 Max",
20703
- 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,
20704
20761
  formats: ["9:16", "16:9", "1:1"],
20705
20762
  shot: { references: 9, people: 3 },
20706
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
@@ -20710,12 +20767,13 @@ var MUSIC_VIDEO_MODELS = {
20710
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 })
20711
20768
  },
20712
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
20713
- // 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
20714
- // continuous takes. People in its pictures must be registered with the model first (docs/SEEDANCE.md).
20715
- "seedance-2-0": { ...seedance("Seedance 2.0", "ByteDance\u2019s Seedance 2.0 video model", ["480p", "720p", "1080p", "4k"]) },
20716
- "seedance-2-0-fast": { ...seedance("Seedance 2.0 Fast", "ByteDance\u2019s Seedance 2.0 Fast video model, quicker and cheaper", ["480p", "720p"]) },
20717
- "seedance-2-0-mini": { ...seedance("Seedance 2.0 Mini", "ByteDance\u2019s Seedance 2.0 Mini video model, the lowest price", ["480p", "720p"]) },
20718
- "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"]) }
20719
20777
  };
20720
20778
  var MusicVideoPlanIdSchema = external_exports.string().regex(/^plan_[0-9a-f-]{36}$/, "A music video plan id (plan_\u2026)");
20721
20779
  var LookbookIdSchema = external_exports.string().regex(/^lookbook_[0-9a-f-]{36}$/, "A lookbook id (lookbook_\u2026)");
@@ -20911,7 +20969,7 @@ var musicVideoInput = external_exports.object({
20911
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"),
20912
20970
  callback_url: CALLBACK,
20913
20971
  metadata: METADATA,
20914
- 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"),
20915
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`),
20916
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"),
20917
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"),
@@ -20925,7 +20983,7 @@ var musicVideoInput = external_exports.object({
20925
20983
  on_screen: musicShape.on_screen.describe(ON_SCREEN_DESCRIPTION),
20926
20984
  performer: musicShape.performer.describe(PERFORMER),
20927
20985
  cast: musicShape.cast.describe(CAST_DESCRIPTION),
20928
- 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"),
20929
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"),
20930
20988
  variations: musicShape.variations.describe("1\u20134 different music videos"),
20931
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"),
@@ -20935,7 +20993,7 @@ var musicVideoInput = external_exports.object({
20935
20993
  var musicVideoPlanInput = external_exports.object({
20936
20994
  ...MusicVideoPlanRequestSchema.shape,
20937
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"),
20938
- 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"),
20939
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`),
20940
20998
  category: musicShape.category.describe("performance (default), intercut, cinematic, story or surreal"),
20941
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"),
@@ -21098,7 +21156,7 @@ var OPERATIONS = [
21098
21156
  group: "account",
21099
21157
  title: "List the options",
21100
21158
  summary: "Video types, Look categories, background sources, formats and the current credit prices",
21101
- 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.",
21102
21160
  method: "GET",
21103
21161
  path: "/api/v1/options",
21104
21162
  scopes: ["videos:read", "music:read", "library:read"],
@@ -22140,6 +22198,44 @@ var OPERATIONS = [
22140
22198
  mcp: "get_music_video_plan",
22141
22199
  output: { name: "MusicVideoPlan", schema: MusicVideoPlanSchema }
22142
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
+ },
22143
22239
  {
22144
22240
  id: "quotes.music_video",
22145
22241
  group: "videos",
@@ -26207,7 +26303,7 @@ async function revoke(config2) {
26207
26303
  // package.json
26208
26304
  var package_default = {
26209
26305
  name: "@kinetune/cli",
26210
- version: "2.2.0",
26306
+ version: "2.3.0",
26211
26307
  description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
26212
26308
  license: "MIT",
26213
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.2.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",