@kinetune/cli 4.2.0 → 5.0.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 (3) hide show
  1. package/README.md +13 -6
  2. package/dist/kinetune.mjs +345 -215
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -259,16 +259,23 @@ kinetune artists list --q "nova" # part of the artist n
259
259
  kinetune songs list --q "tide" --limit 20 # part of the title or the artist name
260
260
  kinetune songs list --status ready --sort newest # analyzed songs, latest uploads first
261
261
  kinetune songs list --artist-id ARTIST_ID --offset 50 # the next page of one artist's songs
262
+ kinetune songs list --sort newest --include videos # what each song has: lyric videos, Canvases, music videos, your drafts
262
263
  ```
263
264
 
264
- ## Looks
265
+ ## A lyric video's style and picture
265
266
 
266
267
  ```bash
267
- kinetune looks list --scope official --lyric-style neon # browse
268
- kinetune looks list --artist-id ARTIST_ID # leave out Looks that show another artist
268
+ kinetune songs draft SONG_ID # the lyric style and clips Kinetune picks for the song
269
+ kinetune quote lyric-video --song-id SONG_ID --look '{"lyric_style":"neon","background":{"kind":"clips","sources":{"moods":["city"],"folders":[]}}}'
269
270
  ```
270
271
 
271
- A lyric video starts from a saved Look (`"id"`), or from the song's draft when you leave it out (`kinetune songs draft`). Change its picture with `"background":{"kind":"clips",…}` (short clips cut on the beat, from Stock collections and your own folders: `kinetune options` lists the collections as `clip_moods`, in two groups, Feelings and Places & textures; `kinetune clips browse city --shape tall --sort best` looks inside one, `kinetune clips similar CLIP_ID` finds more like a clip, and `kinetune clip-folders list` shows My footage. `kinetune clip-folders import FOLDER_ID --stock-id ID` cuts a stock video from `kinetune stock search` into one of your folders) or `{"kind":"visualizer"}`.
272
+ A lyric video is made from its song: leave `--look` out and it gets the song's draft (`kinetune songs draft`). Change any part of
273
+ it in `--look`: `"lyric_style"` (`kinetune options` lists them), and the picture, `"background":{"kind":"clips",…}` (short clips cut
274
+ on the beat, from Stock collections and your own folders: `kinetune options` lists the collections as `clip_moods`, in three groups,
275
+ Feelings, Places & textures and Seasons & holidays; `kinetune clips browse city --shape tall --sort best` looks inside one,
276
+ `kinetune clips similar CLIP_ID` finds more like a clip, and `kinetune clip-folders list` shows My footage.
277
+ `kinetune clip-folders import FOLDER_ID --stock-id ID` cuts a stock video from `kinetune stock search` into one of your folders)
278
+ or `{"kind":"visualizer"}`.
272
279
 
273
280
  ## Make a video public
274
281
 
@@ -279,8 +286,8 @@ kinetune videos share VIDEO_ID --socials --credit-handle @novalane # Kinetune
279
286
  kinetune videos unshare VIDEO_ID # private again
280
287
  ```
281
288
 
282
- Its Look becomes reusable by anyone while it is public (a music video's concept, never the people in it). Agents
283
- ask before sharing and pass `--rights-confirmed` and `--socials` only when the person said so.
289
+ A public music video's concept becomes reusable by anyone (never the people in it): `kinetune concepts list`, `concepts get`,
290
+ and `concepts delete` for your own. Agents ask before sharing and pass `--rights-confirmed` and `--socials` only when the person said so.
284
291
 
285
292
  ## Ideas for Kinetune
286
293
 
package/dist/kinetune.mjs CHANGED
@@ -19784,12 +19784,10 @@ var CLIP_SPEEDS = [0.5, 0.75, 1, 1.5, 2];
19784
19784
  var ClipMoodIdSchema = external_exports.string().regex(/^[a-z0-9][a-z0-9-]{1,39}$/, "A mood id (lowercase letters, digits and dashes)");
19785
19785
  var ClipFolderIdSchema = external_exports.string().regex(/^folder_[0-9a-f-]{36}$/, "A clip folder id (folder_\u2026)");
19786
19786
  var ClipIdSchema = external_exports.string().regex(/^clip_[0-9a-f-]{36}$/, "A clip id (clip_\u2026)");
19787
- var ClipLookIdSchema = external_exports.string().regex(/^look_[A-Za-z0-9_-]{1,100}$/, "A Look id (look_\u2026)");
19788
19787
  var ClipSourcesSchema = external_exports.object({
19789
19788
  moods: external_exports.array(ClipMoodIdSchema).max(MAX_CLIP_SOURCES).default([]),
19790
- folders: external_exports.array(ClipFolderIdSchema).max(MAX_CLIP_SOURCES).default([]),
19791
- looks: external_exports.array(ClipLookIdSchema).max(MAX_CLIP_SOURCES).optional()
19792
- }).strict().refine((s) => s.moods.length + s.folders.length + (s.looks?.length ?? 0) >= 1, { message: "Name at least one mood, folder or Look" }).refine((s) => s.moods.length + s.folders.length + (s.looks?.length ?? 0) <= MAX_CLIP_SOURCES, { message: `At most ${MAX_CLIP_SOURCES} moods, folders and Looks together` });
19789
+ folders: external_exports.array(ClipFolderIdSchema).max(MAX_CLIP_SOURCES).default([])
19790
+ }).strict().refine((s) => s.moods.length + s.folders.length >= 1, { message: "Name at least one mood or folder" }).refine((s) => s.moods.length + s.folders.length <= MAX_CLIP_SOURCES, { message: `At most ${MAX_CLIP_SOURCES} moods and folders together` });
19793
19791
  var TransitionsSchema = external_exports.object({
19794
19792
  style: external_exports.enum(TRANSITION_STYLE_IDS).default("auto"),
19795
19793
  amount: external_exports.number().min(0).max(1).default(0.5),
@@ -19868,6 +19866,15 @@ var FONTS = {
19868
19866
  };
19869
19867
  var FONT_IDS = Object.keys(FONTS);
19870
19868
  var LYRIC_FONT_IDS = FONT_IDS.filter((id3) => ["sans", "condensed", "serif", "mono"].includes(FONTS[id3].kind) && id3 !== "abril-fatface");
19869
+ var SCRIPT_FONTS = [
19870
+ { id: "noto-sans-arabic", family: "Noto Sans Arabic", subset: "arabic", weights: [400, 700, 900], range: "U+0600-06FF,U+0750-077F,U+0870-08FF,U+FB50-FDFF,U+FE70-FEFF" },
19871
+ { id: "noto-sans-hebrew", family: "Noto Sans Hebrew", subset: "hebrew", weights: [400, 700, 900], range: "U+0590-05FF,U+FB1D-FB4F" },
19872
+ { id: "noto-sans-syriac", family: "Noto Sans Syriac", subset: "syriac", weights: [400, 700], range: "U+0700-074F,U+0860-086F" },
19873
+ { id: "noto-sans-thaana", family: "Noto Sans Thaana", subset: "thaana", weights: [400, 700], range: "U+0780-07BF" },
19874
+ { id: "noto-sans-nko", family: "Noto Sans NKo", subset: "nko", weights: [400], range: "U+07C0-07FF" }
19875
+ ];
19876
+ var SCRIPT_FONT_STACK = SCRIPT_FONTS.map((f) => `"${f.family}"`).join(", ");
19877
+ var SCRIPT_CHAR = new RegExp(`[${SCRIPT_FONTS.flatMap((f) => f.range.split(",")).map((r) => r.replace("U+", "").split("-").map((h) => `\\u{${h}}`).join("-")).join("")}]`, "gu");
19871
19878
 
19872
19879
  // ../composition/src/effects.ts
19873
19880
  var EFFECTS = {
@@ -21126,6 +21133,39 @@ var CoverRequestSchema = external_exports.object({
21126
21133
  }).strict().refine((r) => r.style !== "type" || r.words !== "none", { message: "The Type style needs words: title, or artist and title", path: ["words"] });
21127
21134
  var CoverRedrawSchema = external_exports.object({ cover_id: external_exports.string().min(1), note: external_exports.string().trim().min(1).max(COVER_NOTE_MAX), credits: external_exports.number().int().positive() }).strict();
21128
21135
 
21136
+ // ../video-types/src/song-models.ts
21137
+ var SONG_MODEL_IDS = ["mureka-v9-5", "lyria-3-5", "eleven-music-v2-5", "minimax-music-3"];
21138
+ var DEFAULT_SONG_MODEL = "mureka-v9-5";
21139
+ var SONG_TAKES = { min: 1, max: 4 };
21140
+ var SONG_STYLE_MAX = 600;
21141
+ var SONG_IDEA_MAX = 400;
21142
+ var SONG_TITLE_MAX = 120;
21143
+ var SONG_VOICE_GENDERS = ["female", "male", "any"];
21144
+ var SongCreationRequestSchema = external_exports.object({
21145
+ artist_id: external_exports.string().min(1).max(120),
21146
+ model: external_exports.enum(SONG_MODEL_IDS).default(DEFAULT_SONG_MODEL),
21147
+ lyrics: external_exports.object({ source: external_exports.enum(["mine", "written", "none"]), text: external_exports.string().trim().max(5e3).optional() }).strict().refine((l) => l.source === "none" || Boolean(l.text), { message: "Write the lyrics, or choose none for an instrumental" }),
21148
+ title: external_exports.string().trim().min(1).max(SONG_TITLE_MAX).optional(),
21149
+ style: external_exports.string().trim().min(1).max(SONG_STYLE_MAX),
21150
+ voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).default("new"), gender: external_exports.enum(SONG_VOICE_GENDERS).default("any") }).strict().default({ use: "new", gender: "any" }),
21151
+ /** Seconds, one of the model's choices, or auto. */
21152
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int().min(30).max(300)]).default("auto"),
21153
+ takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).default(2)
21154
+ }).strict();
21155
+ var SongDraftFormSchema = external_exports.object({
21156
+ model: external_exports.enum(SONG_MODEL_IDS).optional(),
21157
+ lyrics_source: external_exports.enum(["mine", "written", "none"]).optional(),
21158
+ idea: external_exports.string().max(SONG_IDEA_MAX).optional(),
21159
+ lyrics: external_exports.string().max(5e3).optional(),
21160
+ title: external_exports.string().max(SONG_TITLE_MAX).optional(),
21161
+ style: external_exports.array(external_exports.string().trim().min(1).max(80)).max(12).optional(),
21162
+ voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).optional(), gender: external_exports.enum(SONG_VOICE_GENDERS).optional() }).strict().optional(),
21163
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int().min(30).max(300)]).optional(),
21164
+ takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional(),
21165
+ write_id: external_exports.string().max(80).optional()
21166
+ }).strict();
21167
+ var SongWritePickSchema = external_exports.object({ style: external_exports.boolean().optional(), voice: external_exports.boolean().optional() }).strict();
21168
+
21129
21169
  // ../video-types/src/index.ts
21130
21170
  var MAX_VARIATIONS = 4;
21131
21171
  var variations = external_exports.number().int().min(1).max(MAX_VARIATIONS).default(1);
@@ -21161,7 +21201,6 @@ var UploadCreateSchema = external_exports.object({
21161
21201
  size_bytes: external_exports.number().int().min(1).max(UPLOAD_MAX_BYTES)
21162
21202
  }).strict();
21163
21203
  var LookRequestSchema = external_exports.object({
21164
- id: external_exports.string().min(1).max(120).optional(),
21165
21204
  lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional(),
21166
21205
  behind: external_exports.boolean().optional(),
21167
21206
  visual: VisualChoiceSchema.optional(),
@@ -21256,16 +21295,11 @@ var DraftCut = external_exports.number().int().min(1).max(6e3);
21256
21295
  var VideoDraftEditShape = external_exports.object({
21257
21296
  type: external_exports.enum(["lyric-video", "canvas"]).default("lyric-video"),
21258
21297
  reset: external_exports.boolean().optional(),
21259
- look_id: external_exports.string().min(1).max(120).optional(),
21260
21298
  lyric_style: external_exports.enum(LYRIC_STYLE_IDS).nullable().optional(),
21261
21299
  behind: external_exports.boolean().nullable().optional(),
21262
21300
  visual: external_exports.string().min(1).max(120).nullable().optional(),
21263
21301
  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(),
21302
+ sources: external_exports.object({ moods: external_exports.array(external_exports.string().min(1).max(80)).max(40).optional(), folders: external_exports.array(external_exports.string().min(1).max(80)).max(40).optional() }).strict().optional(),
21269
21303
  density: external_exports.enum(CUT_DENSITIES).optional(),
21270
21304
  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
21305
  grade: external_exports.enum(GRADE_IDS).optional(),
@@ -21311,7 +21345,7 @@ function checkVideoDraftEdit(v, ctx) {
21311
21345
  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
21346
  if (v.picture === "cover") ctx.addIssue({ code: "custom", path: ["picture"], message: "A lyric video's picture is clips or visualizer" });
21313
21347
  } 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` });
21348
+ for (const key of ["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
21349
  }
21316
21350
  }
21317
21351
  var VideoDraftEditSchema = VideoDraftEditShape.superRefine(checkVideoDraftEdit);
@@ -21569,10 +21603,10 @@ var MusicVideoRequestSchema = external_exports.object({
21569
21603
  // Omitted: the model's default quality (MUSIC_VIDEO_MODELS[].defaultQuality), filled in below, so a parsed request always has one:
21570
21604
  // optional when parsed, typed as always there.
21571
21605
  quality: external_exports.enum(MUSIC_VIDEO_QUALITY_IDS).optional(),
21572
- // An outro after the video's last shot (on its last frame, held, the song playing on): the release card (cover, title, artist, streaming badges, as display shows them),
21573
- // designed by the director, or a saved lyric video Look's card as it is (look_id). Omitted: none. Free with the video; not part
21574
- // of the plan.
21575
- outro: external_exports.object({ display: OutroDisplaySchema, look_id: external_exports.string().min(1).max(120).optional() }).strict().optional(),
21606
+ // An outro after the video's last shot (on its last frame, held, the song playing on): a card with the cover, title, artist and
21607
+ // streaming badges (as display shows them), designed by the director, or the release card (kind "release-card": the artist's lyric
21608
+ // style's colours and type, the card their lyric videos end on). Omitted: none. Free with the video; not part of the plan.
21609
+ outro: external_exports.object({ display: OutroDisplaySchema, kind: external_exports.enum(["director", "release-card"]).optional() }).strict().optional(),
21576
21610
  // Finishing a delivered music video again (its kept, un-outro'd master), only its outro changed: no shot is made, no plan.
21577
21611
  refinish: external_exports.object({ video_id: external_exports.string().uuid() }).strict().optional(),
21578
21612
  // A test of a plan before the whole video: only its test shots (the chorus's first, about 20 seconds), at TEST_QUALITY whatever
@@ -21777,8 +21811,7 @@ var PageSectionSchema = external_exports.discriminatedUnion("type", [
21777
21811
  ])).max(24).default([]), layout: external_exports.enum(["row", "grid", "one"]).default("row") }),
21778
21812
  external_exports.object({ ...sectionBase, type: external_exports.literal("releases"), mode: external_exports.enum(["all", "picked"]).default("all"), picked: external_exports.array(id).max(60).default([]), hidden: external_exports.array(id).max(200).default([]), count: external_exports.union([external_exports.literal(4), external_exports.literal(8), external_exports.literal(0)]).default(8).describe("How many to show; 0 shows all") }),
21779
21813
  external_exports.object({ ...sectionBase, type: external_exports.literal("links"), links: external_exports.array(id).max(30).default([]).describe("Ids of the artist's links, in order"), big: id.nullable().default(null).describe("The one link drawn big") }),
21780
- external_exports.object({ ...sectionBase, type: external_exports.literal("about"), text: external_exports.string().max(4e3).default("") }),
21781
- external_exports.object({ ...sectionBase, type: external_exports.literal("looks") })
21814
+ external_exports.object({ ...sectionBase, type: external_exports.literal("about"), text: external_exports.string().max(4e3).default("") })
21782
21815
  ]);
21783
21816
  var PageDocSchema = external_exports.object({
21784
21817
  theme: external_exports.enum(PAGE_THEMES).default("stage"),
@@ -21820,8 +21853,8 @@ var SCOPE_DESCRIPTIONS = {
21820
21853
  "videos:write": "Quote, create, cancel, retry and delete videos (spends credits)",
21821
21854
  "music:read": "See artists, their characters, and songs",
21822
21855
  "music:write": "Add, rename and archive artists and songs, upload songs and make characters",
21823
- "library:read": "Browse Looks",
21824
- "library:write": "Rename, delete and publish your Looks",
21856
+ "library:read": "See your clips and drafts",
21857
+ "library:write": "Change your clips and drafts",
21825
21858
  "organizations:read": "See the workspaces you belong to",
21826
21859
  "organizations:write": "Create workspaces you own, and rename or switch the type of one you own or run"
21827
21860
  };
@@ -21829,7 +21862,6 @@ var ARTIST_LINK_KINDS = ["apple_music", "spotify", "youtube", "instagram", "tikt
21829
21862
  var id2 = (what) => external_exports.string().min(1).max(120).describe(`The ${what} id`);
21830
21863
  var songId = id2("song");
21831
21864
  var artistId = id2("artist");
21832
- var lookId = id2("Look");
21833
21865
  var videoId = id2("video");
21834
21866
  var IDEA_ID = external_exports.string().regex(/^idea_[A-Za-z0-9]{1,40}$/).describe("The idea id (idea_\u2026)");
21835
21867
  var search = (q) => ({
@@ -21877,9 +21909,9 @@ var lyricInput = external_exports.object({
21877
21909
  song_id: songId,
21878
21910
  callback_url: CALLBACK,
21879
21911
  metadata: METADATA,
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)`),
21912
+ look: lyricShape.look.describe(`How it looks. Anything left out is the song's draft, picked by rules (get_song_draft shows it). 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; folders: list_clip_folders; 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. The lyric style brings its colours and type. No AI designs anything: a lyric video costs its per-video price and render only (quote_lyric_video shows both)`),
21881
21913
  aspect_ratios: lyricShape.aspect_ratios.describe('Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)'),
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"),
21914
+ 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)"),
21883
21915
  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)"),
21884
21916
  variations: lyricShape.variations.describe("1\u20134 videos with a clips picture, each drawing other clips (the next seed); one otherwise"),
21885
21917
  edit: lyricShape.edit.describe(`A clips picture's cut: {"seed":7} draws the clips (same seed, same video; another seed, other clips on the same cuts), or "clips" lists them exactly as a studio previewed them (list_clips and @kinetune/composition planEdit: {clip_id, at, in, duration, transition}, each cut where you want it, each clip from where you want it to start); a clip may also set its own transition's transition_seconds (0.07\u20131), direction (left, right, up, down: whip, stack, wipe, slip, slice) and intensity (0\u20131, 0.5 as designed: hits, zooms, flashes, warps); one variation only`)
@@ -21941,7 +21973,7 @@ var musicVideoInput = external_exports.object({
21941
21973
  plan_id: musicShape.plan_id.describe("Make the video from this plan (plan_music_video): its brief (model, kind, visual style, 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"),
21942
21974
  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"),
21943
21975
  variations: musicShape.variations.describe("1\u20134 different music videos"),
21944
- 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"),
21976
+ 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 kind "release-card": the artist's lyric style's colours and type, the card their lyric videos end on). display: title, artist, cover, badges (true/false) and optional cover_scale, text_scale, artist_scale, spacing_scale. Free with the video`),
21945
21977
  refinish: musicShape.refinish.describe("Finish a delivered music video again with another outro, or none (send song_id, refinish.video_id and outro or not; one variation): no shot is made again (its kept shots are joined again under the song), only setup and delivery are charged. Needs the video's revisable_until ahead"),
21946
21978
  test: musicShape.test.describe("With plan_id: test the plan before the whole video. Only its test shots are made (the first chorus, else the sung section with the most lead words; whole shots, about 20 seconds at most), at 480p whatever quality is sent, with the plan's seeds and pictures, for a fraction of the price. The quote and get_video say which shots and seconds (test). It is an ordinary video marked as a test: no outro, one variation, never revised. Then order the whole video from the same plan_id without test")
21947
21979
  });
@@ -22040,14 +22072,12 @@ var VideoSharingSchema = external_exports.looseObject({
22040
22072
  video_id: external_exports.string(),
22041
22073
  sharing: SharingSchema.describe("Its place in the Community, or null while it is private"),
22042
22074
  look: external_exports.looseObject({
22043
- type: external_exports.enum(["music-video", "lyric-video"]),
22075
+ type: external_exports.literal("music-video"),
22044
22076
  id: external_exports.string(),
22045
22077
  name: external_exports.string(),
22046
22078
  visibility: external_exports.enum(["private", "public"]),
22047
- reward_credits: external_exports.number().describe("Credits the workspace holds while the Look stays public"),
22048
- shows_artist: external_exports.boolean().optional().describe("A lyric video's Look that shows the artist: it stays private"),
22049
- official: external_exports.boolean().optional()
22050
- }).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")
22079
+ reward_credits: external_exports.number().describe("Credits the workspace holds while the Look stays public")
22080
+ }).nullable().describe("A music video's Look (its concept) as making it public or private leaves it; null for other videos, or one without")
22051
22081
  });
22052
22082
  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.";
22053
22083
  var VideoOutputSchema = external_exports.looseObject({
@@ -22081,8 +22111,8 @@ var VideoSchema = external_exports.looseObject({
22081
22111
  outputs: external_exports.array(VideoOutputSchema).describe("One file per format, once delivered"),
22082
22112
  song: external_exports.object({ id: external_exports.string().nullable(), title: external_exports.string().nullable(), artist_name: external_exports.string().nullable() }),
22083
22113
  request: external_exports.record(external_exports.string(), external_exports.unknown()).describe("What the video was made from, with your metadata"),
22084
- look_id: external_exports.string().nullable(),
22085
- look: external_exports.record(external_exports.string(), external_exports.unknown()).nullable(),
22114
+ look: external_exports.record(external_exports.string(), external_exports.unknown()).nullable().describe("A lyric video's design as it rendered: its lyric style's colours and type, its picture and visual"),
22115
+ edit: external_exports.object({ seed: external_exports.number().int(), clips: external_exports.array(external_exports.record(external_exports.string(), external_exports.unknown())) }).passthrough().nullable().optional().describe("A lyric video's or a Canvas's clips as they were cut ({clip_id, at, in, duration, transition}, times from the video's start): send them back as the request's edit to make the same cut again; null for other pictures, or before it is planned"),
22086
22116
  canvas: external_exports.record(external_exports.string(), external_exports.unknown()).nullable().optional().describe("A Canvas: what it was made from (picture, loop, seconds) and, for stock, the credit to show"),
22087
22117
  music_video: external_exports.object({
22088
22118
  title: external_exports.string().nullable(),
@@ -22166,7 +22196,7 @@ var OPERATIONS = [
22166
22196
  group: "account",
22167
22197
  title: "List the options",
22168
22198
  summary: "Video types, lyric styles, clip moods, formats and the current credit prices",
22169
- description: "Everything a request can choose from, with the credit table (plans and credit_packs: the plan catalog the app shows, each plan's monthly credits, limits, features and shelf, its prices in cents and the app's highlighted one, and each pack's credits and price; reference only, nothing is bought through the API; music_video.categories: each kind, 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.styles: each visual style (how the video is rendered), with its one picture: image_url (512 px square WebP) and thumbnail_url (160 px); its demo and demos are deprecated (still given until 2027-05-05: use image_url). 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. credits.character_sheet: what drawing one character sheet costs now (draw_character_sheet). credits.cover: what a round of covers costs now, counts by how many (1 to 4), and redraw, one cover redrawn with a note (make_cover, redraw_cover). credits.examples: what a lyric video of a song_seconds song costs now in one 9:16 format, as lyric_video, and clips: the same for the parts of a song people post (seconds: 15, 30, 60). clip_moods: Stock, the clip collections Kinetune keeps for everyone (free): each with id, name, group (kinetune or stock) and group_name, the heading people see (Feelings: moods, mostly tall; Places & textures: real footage), clips (how many are ready), tall and wide (how many of each shape) and poster_url; browse_clip_mood looks inside one. Use it to pick a category or source and to explain prices.",
22199
+ description: "Everything a request can choose from, with the credit table (plans and credit_packs: the plan catalog the app shows, each plan's monthly credits, limits, features and shelf, its prices in cents and the app's highlighted one, and each pack's credits and price; reference only, nothing is bought through the API; music_video.categories: each kind, 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.styles: each visual style (how the video is rendered), with its one picture: image_url (512 px square WebP) and thumbnail_url (160 px); its demo and demos are deprecated (still given until 2027-05-05: use image_url). 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. credits.character_sheet: what drawing one character sheet costs now (draw_character_sheet). credits.cover: what a round of covers costs now, counts by how many (1 to 4), and redraw, one cover redrawn with a note (make_cover, redraw_cover). credits.song: what a song made costs now: takes, one take of each model everyone is offered at its usual length (model, label, credits; each take is a different song), write_lyrics (lyrics written for you) and voice (setting up the artist's voice, once); the same numbers song.models and quote_new_song give. credits.examples: what a lyric video of a song_seconds song costs now in one 9:16 format, as lyric_video, and clips: the same for the parts of a song people post (seconds: 15, 30, 60). clip_moods: Stock, the clip collections Kinetune keeps for everyone (free): each with id, name, group (kinetune or stock) and group_name, the heading people see (Feelings: moods, mostly tall; Places & textures: real footage), clips (how many are ready), tall and wide (how many of each shape) and poster_url; browse_clip_mood looks inside one. Use it to pick a category or source and to explain prices.",
22170
22200
  method: "GET",
22171
22201
  path: "/api/v1/options",
22172
22202
  scopes: ["videos:read", "music:read", "library:read"],
@@ -22197,7 +22227,7 @@ var OPERATIONS = [
22197
22227
  id: "organizations.create",
22198
22228
  group: "account",
22199
22229
  title: "Create an organization",
22200
- summary: "A new organization owned by you, with its own music, videos, Looks and credits",
22230
+ summary: "A new organization owned by you, with its own music, videos, clips and credits",
22201
22231
  description: "Creates an empty organization (a workspace, in the app) with the signed-in person as its owner; with an API key, the member who created the key (the key needs organizations:write). type artist is for one artist (add that artist next with create_artist; its songs then need no artist_id), label for a roster. It starts with no plan and no credits, so nothing can be created in it until it has one. These credentials keep acting for their current organization: to work in the new one, sign in again and pick it, or create an API key in it.",
22202
22232
  method: "POST",
22203
22233
  path: "/api/v1/organizations",
@@ -22533,7 +22563,7 @@ var OPERATIONS = [
22533
22563
  group: "artists",
22534
22564
  title: "Edit the artist page",
22535
22565
  summary: "Change the page\u2019s draft: look, photo, genres, sections, featured music and videos",
22536
- description: "Send only the fields that change; sections replaces the whole list (their order is the page\u2019s). Section types: out_now (release newest or pinned; plays video or cover; buttons: service ids), listen (platforms in order), videos (items: kinetune video_id of a finished video of this artist, or embed url on YouTube, Vimeo or TikTok), releases (all or picked; hidden release ids; count 4, 8 or 0 for all), links (profile ids from list_artist_profiles; big: one drawn big), about (text), looks. Fans see changes only after publish_artist_page. tracking (GA4, Meta Pixel, TikTok Pixel ids) needs a plan with the page extras (402).",
22566
+ description: "Send only the fields that change; sections replaces the whole list (their order is the page\u2019s). Section types: out_now (release newest or pinned; plays video or cover; buttons: service ids), listen (platforms in order), videos (items: kinetune video_id of a finished video of this artist, or embed url on YouTube, Vimeo or TikTok), releases (all or picked; hidden release ids; count 4, 8 or 0 for all), links (profile ids from list_artist_profiles; big: one drawn big), about (text). Fans see changes only after publish_artist_page. tracking (GA4, Meta Pixel, TikTok Pixel ids) needs a plan with the page extras (402).",
22537
22567
  method: "PATCH",
22538
22568
  path: "/api/v1/artists/{artist_id}/page",
22539
22569
  scopes: ["music:write", "videos:write"],
@@ -22978,7 +23008,10 @@ var OPERATIONS = [
22978
23008
  artist_id: artistId.optional().describe("Only this artist\u2019s songs"),
22979
23009
  ...search("Part of the song title or artist name"),
22980
23010
  status: external_exports.enum(["pending", "processing", "ready", "failed"]).optional().describe("Only songs whose analysis has this status (ready = usable for videos)"),
22981
- sort: external_exports.enum(["title", "newest"]).optional().describe("title (default): by artist then title; newest: latest uploads first")
23011
+ sort: external_exports.enum(["title", "newest"]).optional().describe("title (default): by artist then title; newest: latest uploads first"),
23012
+ include: external_exports.enum(["videos"]).optional().describe("videos: each song also answers videos, its lyric videos, Canvases and music videos by kind (ready and in_production counts, the newest ready one's latest_video_id and poster_url, and your own draft of that kind or null), to see what a song still needs"),
23013
+ source: external_exports.enum(["made", "uploaded"]).optional().describe("made: only songs Kinetune made (make_song); uploaded: only songs uploaded or imported"),
23014
+ counts: external_exports.boolean().optional().describe("true: also answer counts: songs (the artist's when artist_id is given), made, uploaded, and artists")
22982
23015
  }),
22983
23016
  readOnly: true,
22984
23017
  destructive: false,
@@ -23171,6 +23204,236 @@ var OPERATIONS = [
23171
23204
  mcp: "set_song_cover",
23172
23205
  example: { song_id: "song_\u2026", cover_art_url: "https://example.com/cover-3000.jpg" }
23173
23206
  },
23207
+ {
23208
+ id: "song_creations.write_lyrics",
23209
+ group: "songs",
23210
+ title: "Write song lyrics",
23211
+ summary: "Writes a song\u2019s lyrics, title and a style line from the user\u2019s idea, for an artist",
23212
+ description: 'For Create a song: original lyrics in the language asked, with sections in square brackets ([Verse 1], [Chorus]\u2026), sized for the chosen model, in the artist\u2019s world (their analysed songs). Nothing is made yet: show the lyrics, let the user edit them, then make_song with lyrics.source "written". The answer also says who should sing it (gender: female, male or any, from whose story the words tell). pick: what the user wants the director to choose too: style (its style line is meant to replace theirs; style given is then only a reference) and voice (for a new voice, use gender in make_song). Each write is kept in the user\u2019s draft for the artist (get_song_creation_draft), write_id naming it, with what was picked put in the draft too. credits: song.write_lyrics.credits from get_options, as shown to the user (a few credits a write). Needs a plan.',
23213
+ method: "POST",
23214
+ path: "/api/v1/song-lyrics",
23215
+ scopes: ["music:write"],
23216
+ input: external_exports.object({
23217
+ artist_id: external_exports.string().min(1).describe("The artist (or project) the song is for"),
23218
+ idea: external_exports.string().trim().min(3).max(SONG_IDEA_MAX).describe("What the song is about, in the user\u2019s words"),
23219
+ language: external_exports.string().regex(/^[a-z]{2,3}$/).optional().describe("ISO 639-1 code (default: the idea\u2019s language)"),
23220
+ model: external_exports.enum(SONG_MODEL_IDS).optional().describe("The model the song will be made with (sizes the lyrics)"),
23221
+ style: external_exports.string().trim().max(SONG_STYLE_MAX).optional().describe("The style, when the user has one"),
23222
+ pick: external_exports.object({ style: external_exports.boolean().optional().describe("The director picks the style, replacing the user\u2019s"), voice: external_exports.boolean().optional().describe("The director picks female or male, for a new voice") }).strict().optional().describe("What the director also picks"),
23223
+ credits: external_exports.number().int().min(0).describe("song.write_lyrics.credits from get_options")
23224
+ }),
23225
+ readOnly: false,
23226
+ destructive: false,
23227
+ idempotent: false,
23228
+ cli: ["songs", "write-lyrics"],
23229
+ mcp: "write_song_lyrics",
23230
+ example: { artist_id: "artist_\u2026", idea: "Last train missed, dancing on the platform at midnight", language: "fr", pick: { style: true, voice: true }, credits: 3 }
23231
+ },
23232
+ {
23233
+ id: "song_creations.quote",
23234
+ group: "songs",
23235
+ title: "Price a new song",
23236
+ summary: "What making a song costs: its takes from a model",
23237
+ description: "The same body as make_song without credits. credits is for every take (one take: a different song from the same request); tell the user before make_song and send the same credits. Refused (422) when the model can\u2019t do what is asked (its length, lyrics too long, the artist\u2019s voice with a model that can\u2019t sing in it).",
23238
+ method: "POST",
23239
+ path: "/api/v1/song-creations/quote",
23240
+ scopes: ["music:read", "music:write"],
23241
+ input: external_exports.object({
23242
+ artist_id: external_exports.string().min(1).describe("The artist (or project) the song is for"),
23243
+ model: external_exports.enum(SONG_MODEL_IDS).optional().describe("A song model from get_options song.models (default: song.default_model)"),
23244
+ lyrics: external_exports.object({ source: external_exports.enum(["mine", "written", "none"]).describe("mine: the user\u2019s lyrics; written: from write_song_lyrics; none: an instrumental"), text: external_exports.string().max(5e3).optional().describe("The lyrics, sections in square brackets") }).describe("The lyrics, or none for an instrumental"),
23245
+ title: external_exports.string().trim().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title (default: from the lyrics, else Untitled)"),
23246
+ style: external_exports.string().trim().min(1).max(SONG_STYLE_MAX).describe("Genre, mood, tempo, instruments; never another artist\u2019s name"),
23247
+ voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).optional().describe("artist: the artist\u2019s own Voice (get_artist_voice; only models with voice-clone); new: a new voice (default)"), gender: external_exports.enum(SONG_VOICE_GENDERS).optional().describe("A new voice: female, male or any (default)") }).optional().describe("Whose voice sings (ignored for an instrumental)"),
23248
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto (default)"),
23249
+ takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4 (default 2)")
23250
+ }),
23251
+ readOnly: true,
23252
+ destructive: false,
23253
+ idempotent: true,
23254
+ cli: ["songs", "quote-new"],
23255
+ mcp: "quote_new_song"
23256
+ },
23257
+ {
23258
+ id: "song_creations.create",
23259
+ group: "songs",
23260
+ title: "Make a song",
23261
+ summary: "Kinetune makes a new song for an artist with an AI music model: 1 to 4 takes",
23262
+ description: "Each take is a different song from the same request; each that comes back (about a minute) is an ordinary song of the artist (audio_source made, made: what it was made with), analysed like an upload and ready for videos, Canvas and covers. Only takes made are charged. Poll get_song_creation. credits: quote_new_song\u2019s credits, as shown to the user. Needs a plan.",
23263
+ method: "POST",
23264
+ path: "/api/v1/song-creations",
23265
+ scopes: ["music:write"],
23266
+ input: external_exports.object({
23267
+ artist_id: external_exports.string().min(1).describe("The artist (or project) the song is for"),
23268
+ model: external_exports.enum(SONG_MODEL_IDS).optional().describe("A song model from get_options song.models"),
23269
+ lyrics: external_exports.object({ source: external_exports.enum(["mine", "written", "none"]).describe("mine, written (write_song_lyrics) or none (an instrumental)"), text: external_exports.string().max(5e3).optional().describe("The lyrics, sections in square brackets") }).describe("The lyrics, or none"),
23270
+ title: external_exports.string().trim().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title"),
23271
+ style: external_exports.string().trim().min(1).max(SONG_STYLE_MAX).describe("Genre, mood, tempo, instruments; never another artist\u2019s name"),
23272
+ voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).optional().describe("artist (the artist\u2019s Voice) or new (default)"), gender: external_exports.enum(SONG_VOICE_GENDERS).optional().describe("A new voice: female, male or any") }).optional().describe("Whose voice sings"),
23273
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto"),
23274
+ takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4 (default 2)"),
23275
+ credits: external_exports.number().int().min(0).describe("credits from quote_new_song")
23276
+ }),
23277
+ readOnly: false,
23278
+ destructive: false,
23279
+ idempotent: false,
23280
+ cli: ["songs", "make"],
23281
+ mcp: "make_song",
23282
+ example: { artist_id: "artist_\u2026", model: "mureka-v9-5", lyrics: { source: "mine", text: "[Verse]\n\u2026\n[Chorus]\n\u2026" }, style: "French pop, warm synths, 104 BPM", voice: { use: "new", gender: "female" }, takes: 2, credits: 146 }
23283
+ },
23284
+ {
23285
+ id: "song_creations.get",
23286
+ group: "songs",
23287
+ title: "Get a song being made",
23288
+ summary: "A song creation\u2019s status and its takes, each with the song it became",
23289
+ description: "status: queued, making (takes arrive one by one), done (at least one take made) or failed (nothing charged; error says why). takes[].status: making, done (song: the new song) or failed (not charged).",
23290
+ method: "GET",
23291
+ path: "/api/v1/song-creations/{creation_id}",
23292
+ scopes: ["music:read", "videos:read"],
23293
+ input: external_exports.object({ creation_id: external_exports.string().min(1).describe("The creation id (songmake_\u2026)") }),
23294
+ readOnly: true,
23295
+ destructive: false,
23296
+ idempotent: true,
23297
+ cli: ["songs", "creation"],
23298
+ mcp: "get_song_creation"
23299
+ },
23300
+ {
23301
+ id: "song_creations.list",
23302
+ group: "songs",
23303
+ title: "List songs made",
23304
+ summary: "An artist\u2019s song creations, newest first, a page at a time",
23305
+ description: "Each with its request and takes. next_cursor: pass as cursor for the next page.",
23306
+ method: "GET",
23307
+ path: "/api/v1/song-creations",
23308
+ scopes: ["music:read", "videos:read"],
23309
+ input: external_exports.object({ artist_id: external_exports.string().optional().describe("Only this artist\u2019s"), limit: external_exports.number().int().min(1).max(50).optional().describe("How many (default 20)"), cursor: external_exports.string().optional().describe("next_cursor from the page before") }),
23310
+ readOnly: true,
23311
+ destructive: false,
23312
+ idempotent: true,
23313
+ cli: ["songs", "creations"],
23314
+ mcp: "list_song_creations"
23315
+ },
23316
+ {
23317
+ id: "song_drafts.get",
23318
+ group: "songs",
23319
+ title: "Get a song draft",
23320
+ summary: "The user\u2019s Create a song draft for an artist, with every lyrics write kept",
23321
+ description: "One per person and artist, so nothing typed or paid for is lost. form: the fields as they left them (null when there is no draft). writes: every write_song_lyrics kept, newest first (10 at most), each with its idea, title, lyrics, style, language and credits; form.write_id names the one in use. Deleted when a song is made for the artist, on delete_song_creation_draft, or after 30 days.",
23322
+ method: "GET",
23323
+ path: "/api/v1/artists/{artist_id}/song-draft",
23324
+ scopes: ["music:read", "music:write"],
23325
+ input: external_exports.object({ artist_id: external_exports.string().min(1).describe("The artist (or project) the draft is for") }),
23326
+ readOnly: true,
23327
+ destructive: false,
23328
+ idempotent: true,
23329
+ cli: ["songs", "new-draft"],
23330
+ mcp: "get_song_creation_draft"
23331
+ },
23332
+ {
23333
+ id: "song_drafts.save",
23334
+ group: "songs",
23335
+ title: "Save a song draft",
23336
+ summary: "Saves the user\u2019s Create a song fields for an artist, to pick up later",
23337
+ description: "Replaces the form; the kept writes stay. Every field is optional (a draft is unfinished). Nothing is made or charged.",
23338
+ method: "PATCH",
23339
+ path: "/api/v1/artists/{artist_id}/song-draft",
23340
+ scopes: ["music:write"],
23341
+ input: external_exports.object({
23342
+ artist_id: external_exports.string().min(1).describe("The artist (or project) the draft is for"),
23343
+ form: external_exports.object({
23344
+ model: external_exports.enum(SONG_MODEL_IDS).optional().describe("A song model from get_options song.models"),
23345
+ lyrics_source: external_exports.enum(["mine", "written", "none"]).optional().describe("mine, written (write_song_lyrics) or none (an instrumental)"),
23346
+ idea: external_exports.string().max(SONG_IDEA_MAX).optional().describe("What the song is about, for write_song_lyrics"),
23347
+ lyrics: external_exports.string().max(5e3).optional().describe("The lyrics, sections in square brackets"),
23348
+ title: external_exports.string().max(SONG_TITLE_MAX).optional().describe("The song\u2019s title"),
23349
+ style: external_exports.array(external_exports.string().max(80)).max(12).optional().describe("Style words: genre, mood, tempo, instruments"),
23350
+ voice: external_exports.object({ use: external_exports.enum(["artist", "new"]).optional().describe("artist (the artist\u2019s Voice) or new"), gender: external_exports.enum(SONG_VOICE_GENDERS).optional().describe("A new voice: female, male or any") }).optional().describe("Whose voice sings"),
23351
+ length: external_exports.union([external_exports.literal("auto"), external_exports.number().int()]).optional().describe("Seconds, one of the model\u2019s lengths, or auto"),
23352
+ takes: external_exports.number().int().min(SONG_TAKES.min).max(SONG_TAKES.max).optional().describe("How many takes, 1 to 4"),
23353
+ write_id: external_exports.string().optional().describe("The kept write the lyrics came from (get_song_creation_draft writes[].id)")
23354
+ }).describe("The Create a song fields")
23355
+ }),
23356
+ readOnly: false,
23357
+ destructive: false,
23358
+ idempotent: true,
23359
+ cli: ["songs", "save-new-draft"],
23360
+ mcp: "save_song_creation_draft"
23361
+ },
23362
+ {
23363
+ id: "song_drafts.delete",
23364
+ group: "songs",
23365
+ title: "Delete a song draft",
23366
+ summary: "Starts the user\u2019s Create a song for an artist over; its kept lyrics writes go with it",
23367
+ description: "Only when the user asks: the writes kept in it (paid for) are deleted too. Songs already made are never touched. Answers deleted.",
23368
+ method: "DELETE",
23369
+ path: "/api/v1/artists/{artist_id}/song-draft",
23370
+ scopes: ["music:write"],
23371
+ input: external_exports.object({ artist_id: external_exports.string().min(1).describe("The artist (or project) the draft is for") }),
23372
+ readOnly: false,
23373
+ destructive: true,
23374
+ idempotent: true,
23375
+ cli: ["songs", "delete-new-draft"],
23376
+ mcp: "delete_song_creation_draft"
23377
+ },
23378
+ {
23379
+ id: "voices.get",
23380
+ group: "artists",
23381
+ title: "Get an artist\u2019s voice",
23382
+ summary: "The artist\u2019s Voice for songs Kinetune makes, the style their songs suggest, and what setting one up costs",
23383
+ description: 'voice: null when none (many artists never need one: instrumentals, one-off songs). status: preparing, ready (songs can be sung in it with voice.use "artist" on a model with voice-clone) or failed. phrase: what a real singer says aloud when setting up their voice. credits: by source.',
23384
+ method: "GET",
23385
+ path: "/api/v1/artists/{artist_id}/voice",
23386
+ scopes: ["music:read"],
23387
+ input: external_exports.object({ artist_id: external_exports.string().min(1).describe("The artist id") }),
23388
+ readOnly: true,
23389
+ destructive: false,
23390
+ idempotent: true,
23391
+ cli: ["artists", "voice"],
23392
+ mcp: "get_artist_voice"
23393
+ },
23394
+ {
23395
+ id: "voices.create",
23396
+ group: "artists",
23397
+ title: "Set up an artist\u2019s voice",
23398
+ summary: "Keeps 15-30 seconds of the artist\u2019s voice so songs Kinetune makes can be sung in it",
23399
+ description: "source: song (song_id: one of their analysed songs; the lead vocal is separated and the best 25 seconds kept), take (song_id: a made take whose voice they like, for an AI artist) or upload (upload_url: 15 to 30 seconds of the voice alone). ai_made: ask the user whether this is an AI-made voice or a real person's; never guess. A real voice needs consent: confirmed true only when the user says it is their own voice or they have the singer's written permission, and phrase_url, the singer saying the phrase from get_artist_voice. It replaces the voice they had once ready. credits: from get_artist_voice, as shown to the user. Needs a plan.",
23400
+ method: "POST",
23401
+ path: "/api/v1/artists/{artist_id}/voice",
23402
+ scopes: ["music:write"],
23403
+ input: external_exports.object({
23404
+ artist_id: external_exports.string().min(1).describe("The artist id"),
23405
+ source: external_exports.enum(["song", "take", "upload"]).describe("Where the voice comes from"),
23406
+ song_id: external_exports.string().optional().describe("source song or take: the song"),
23407
+ upload_url: external_exports.string().url().optional().describe("source upload: 15-30 s of the voice alone (create_upload\u2019s file_url)"),
23408
+ ai_made: external_exports.boolean().describe("true: an AI-made voice; false: a real person\u2019s (needs consent)"),
23409
+ consent: external_exports.object({
23410
+ confirmed: external_exports.boolean().describe("The user says it is their own voice or they have the singer\u2019s written permission"),
23411
+ phrase_url: external_exports.string().url().optional().describe("The singer saying the phrase from get_artist_voice (create_upload\u2019s file_url)")
23412
+ }).optional().describe("A real voice\u2019s consent"),
23413
+ credits: external_exports.number().int().min(0).describe("credits from get_artist_voice for this source")
23414
+ }),
23415
+ readOnly: false,
23416
+ destructive: false,
23417
+ idempotent: false,
23418
+ cli: ["artists", "set-voice"],
23419
+ mcp: "set_artist_voice"
23420
+ },
23421
+ {
23422
+ id: "voices.delete",
23423
+ group: "artists",
23424
+ title: "Forget an artist\u2019s voice",
23425
+ summary: "Deletes the artist\u2019s Voice; songs already made keep their sound",
23426
+ description: "The sample and the spoken phrase are deleted and every provider\u2019s copy dropped.",
23427
+ method: "DELETE",
23428
+ path: "/api/v1/artists/{artist_id}/voice",
23429
+ scopes: ["music:write"],
23430
+ input: external_exports.object({ artist_id: external_exports.string().min(1).describe("The artist id") }),
23431
+ readOnly: false,
23432
+ destructive: true,
23433
+ idempotent: true,
23434
+ cli: ["artists", "forget-voice"],
23435
+ mcp: "delete_artist_voice"
23436
+ },
23174
23437
  {
23175
23438
  id: "covers.list",
23176
23439
  group: "songs",
@@ -23320,7 +23583,7 @@ var OPERATIONS = [
23320
23583
  group: "songs",
23321
23584
  title: "Get a song\u2019s analysis",
23322
23585
  summary: "Word-timed lyrics, tempo, beats, sections, hook and the parts a video can be cut to",
23323
- description: 'parts lists where a video can start and end without cutting a word: each section (Verse 1, Chorus 1\u2026), clips of about 15 seconds cut between the lines of long sections (kind "clip", parent: its section) and each verse with the chorus after it (kind "pair"); pass a part\u2019s start and end as a video\u2019s trim (start_seconds, end_seconds), picking one at least as long as the video type\u2019s minimum (a lyric video 8 seconds, a music video 15). default_part is the one the app starts on: the sung part nearest 15 seconds. lyrics.text is the song\u2019s lyrics to edit: yours as you gave them, or the transcription a line per phrase (lyrics.yours says which). The analysis also listens for who sings: map.voices lists where someone other than the lead artist sings (voice "other": another solo voice; "group": a choir, a crowd or backing singers), and those words carry backing: true (music videos keep them off camera, never lip-synced by the artist); map.instrumental is true when no vocals were heard. A song analyzed before voices were heard has no map.voices until its first music video plan listens to it.',
23586
+ description: 'parts lists where a video can start and end without cutting a word: each section (Verse 1, Chorus 1\u2026), clips of about 15 seconds cut between the lines of long sections (kind "clip", parent: its section) and each verse with the chorus after it (kind "pair"); pass a part\u2019s start and end as a video\u2019s trim (start_seconds, end_seconds), picking one at least as long as the video type\u2019s minimum (a lyric video 8 seconds, a music video 15). default_part is the one the app starts on: the sung part nearest 15 seconds. lyrics.text is the song\u2019s lyrics to edit: yours as you gave them, or the transcription a line per phrase (lyrics.yours says which). The analysis also listens for who sings: map.voices lists where someone other than the lead artist sings (voice "other": another solo voice; "group": a choir, a crowd or backing singers), and those words carry backing: true (music videos keep them off camera, never lip-synced by the artist); map.instrumental is true when no vocals were heard. A song analyzed before voices were heard has no map.voices until its first music video plan listens to it. While the analysis runs it answers its status and audio_url, so the song plays before its analysis is in.',
23324
23587
  method: "GET",
23325
23588
  path: "/api/v1/songs/{song_id}/analysis",
23326
23589
  scopes: ["music:read", "videos:read"],
@@ -23483,142 +23746,13 @@ var OPERATIONS = [
23483
23746
  mcp: "rewrite_song_brief",
23484
23747
  output: { name: "SongBrief", schema: SongBriefSchema }
23485
23748
  },
23486
- /* Looks */
23487
- {
23488
- id: "looks.list",
23489
- group: "looks",
23490
- title: "List Looks",
23491
- summary: "Browse Official, Community and your own Looks",
23492
- description: "A Look is a complete, reusable lyric-video design: colours, type, lyric style, layout, visual and its picture. Pass its id as look.id, and change any part in the order. A Look that shows an artist (featured_artist) is private and only serves that artist's songs: choosing for a song, pass its artist_id to leave out Looks that show another artist.",
23493
- method: "GET",
23494
- path: "/api/v1/looks",
23495
- scopes: ["library:read", "videos:read"],
23496
- input: external_exports.object({
23497
- scope: external_exports.enum(["all", "official", "community", "mine"]).optional().describe("Which library; default all"),
23498
- category: external_exports.string().max(40).optional().describe("A category id from get_options"),
23499
- lyric_style: external_exports.string().max(40).optional().describe("A lyric style id from get_options (how the lyrics move)"),
23500
- artist_id: artistId.optional().describe("The artist of the song you are choosing for: Looks that show another artist are left out"),
23501
- q: external_exports.string().max(100).optional().describe("Search words"),
23502
- sort: external_exports.enum(["newest", "popular"]).optional(),
23503
- limit: external_exports.number().int().min(1).max(100).optional(),
23504
- offset: external_exports.number().int().min(0).optional()
23505
- }),
23506
- readOnly: true,
23507
- destructive: false,
23508
- idempotent: true,
23509
- cli: ["looks", "list"],
23510
- mcp: "list_looks"
23511
- },
23512
- {
23513
- id: "looks.get",
23514
- group: "looks",
23515
- title: "Get a Look",
23516
- summary: "One Look with its design and preview images",
23517
- description: "spec.background is the Look's picture: clips (a Look made before clips plays its own photo or loop as clips: sources.looks, get_look_clips) or the visualizer. backgrounds.portrait and backgrounds.landscape are the pictures such a Look was first made with, kept for its earlier videos; backgrounds.previews has 480 px wide copies of them for thumbnails (null for a Look without one).",
23518
- method: "GET",
23519
- path: "/api/v1/looks/{look_id}",
23520
- scopes: ["library:read", "videos:read"],
23521
- input: external_exports.object({ look_id: lookId }),
23522
- readOnly: true,
23523
- destructive: false,
23524
- idempotent: true,
23525
- cli: ["looks", "get"],
23526
- mcp: "get_look"
23527
- },
23528
- {
23529
- id: "looks.clips",
23530
- group: "looks",
23531
- title: "Get a Look's clips",
23532
- summary: "The clips a clips Look cuts its picture from, to preview it",
23533
- description: "For a Look whose picture is clips: its stock feelings' clips (and its folders' for its own workspace; someone else's Look never shows its owner's footage), each with its length, shape, energy, a light preview copy and what it shows: subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed). Plan a preview cut from them with @kinetune/composition planEdit, as the editor does. Empty for a Look with another kind of picture.",
23534
- method: "GET",
23535
- path: "/api/v1/looks/{look_id}/clips",
23536
- scopes: ["library:read", "videos:read"],
23537
- input: external_exports.object({ look_id: lookId }),
23538
- readOnly: true,
23539
- destructive: false,
23540
- idempotent: true,
23541
- cli: ["looks", "clips"],
23542
- mcp: "get_look_clips"
23543
- },
23544
- {
23545
- id: "looks.rename",
23546
- group: "looks",
23547
- title: "Rename a Look",
23548
- summary: "Rename one of your Looks",
23549
- description: "",
23550
- method: "PATCH",
23551
- path: "/api/v1/looks/{look_id}",
23552
- scopes: ["library:write", "videos:write"],
23553
- input: external_exports.object({ look_id: lookId, name: external_exports.string().trim().min(2).max(60).describe("The new name") }),
23554
- readOnly: false,
23555
- destructive: false,
23556
- idempotent: true,
23557
- cli: ["looks", "rename"],
23558
- mcp: "rename_look"
23559
- },
23560
- {
23561
- id: "looks.delete",
23562
- group: "looks",
23563
- title: "Delete a Look",
23564
- summary: "Remove one of your Looks (videos made with it stay)",
23565
- description: "",
23566
- method: "DELETE",
23567
- path: "/api/v1/looks/{look_id}",
23568
- scopes: ["library:write", "videos:write"],
23569
- input: external_exports.object({ look_id: lookId }),
23570
- readOnly: false,
23571
- destructive: true,
23572
- idempotent: true,
23573
- cli: ["looks", "delete"],
23574
- mcp: "delete_look"
23575
- },
23576
- {
23577
- id: "looks.visibility",
23578
- group: "looks",
23579
- title: "Publish or unpublish a Look",
23580
- summary: "Make one of your Looks public (earns 10 credits) or private",
23581
- description: "Public Looks join the Community library under your @username. A Look that shows your artist stays private (409).",
23582
- method: "POST",
23583
- path: "/api/v1/looks/{look_id}/visibility",
23584
- scopes: ["library:write", "videos:write"],
23585
- input: external_exports.object({ look_id: lookId, visibility: external_exports.enum(["public", "private"]) }),
23586
- readOnly: false,
23587
- destructive: false,
23588
- idempotent: true,
23589
- cli: ["looks", "visibility"],
23590
- mcp: "set_look_visibility"
23591
- },
23592
- {
23593
- id: "looks.save",
23594
- group: "looks",
23595
- title: "Save as Look",
23596
- summary: "Save a Look with your changes as your own Look",
23597
- description: "A private Look made from a saved one (from_id) with the changes you send: lyric_style, behind, visual and background (as in create_lyric_video's look). Keeping the picture of the Look it was made from copies it. Then pass its id as look.id.",
23598
- method: "POST",
23599
- path: "/api/v1/looks",
23600
- scopes: ["library:write", "videos:write"],
23601
- input: external_exports.object({
23602
- name: external_exports.string().trim().min(2).max(60).describe("Its name"),
23603
- from_id: lookId.describe("The Look it starts from"),
23604
- lyric_style: lyricShape.look.unwrap().shape.lyric_style,
23605
- behind: lyricShape.look.unwrap().shape.behind,
23606
- visual: lyricShape.look.unwrap().shape.visual,
23607
- background: lyricShape.look.unwrap().shape.background
23608
- }),
23609
- readOnly: false,
23610
- destructive: false,
23611
- idempotent: false,
23612
- cli: ["looks", "save"],
23613
- mcp: "save_look"
23614
- },
23615
23749
  /* The person's draft: what an agent builds, the card plays and the editor opens */
23616
23750
  {
23617
23751
  id: "songs.video_draft.get",
23618
- group: "looks",
23752
+ group: "clips",
23619
23753
  title: "Open the video draft",
23620
23754
  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).",
23755
+ 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 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
23756
  method: "GET",
23623
23757
  path: "/api/v1/songs/{song_id}/video-draft",
23624
23758
  scopes: ["videos:read", "videos:write"],
@@ -23632,10 +23766,10 @@ var OPERATIONS = [
23632
23766
  },
23633
23767
  {
23634
23768
  id: "songs.video_draft.edit",
23635
- group: "looks",
23769
+ group: "clips",
23636
23770
  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.",
23771
+ summary: "Change the person's lyric video or Canvas draft: style, clips, a clip at a cut, transitions, grade, effects, format",
23772
+ 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). Style: 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
23773
  method: "PATCH",
23640
23774
  path: "/api/v1/songs/{song_id}/video-draft",
23641
23775
  scopes: ["videos:write"],
@@ -23650,10 +23784,10 @@ var OPERATIONS = [
23650
23784
  /* Clips */
23651
23785
  {
23652
23786
  id: "songs.draft",
23653
- group: "looks",
23787
+ group: "clips",
23654
23788
  title: "Get a song's draft lyric video",
23655
- summary: "The Look and clips picture Kinetune picks for a song, at once and without AI",
23656
- description: "look_id (an Official Look), background (a clips picture: moods, density, transitions, grade, shape, fill, speed) and edit.seed, picked by rules from the song (what it is about, its tempo and loudness). A create_lyric_video without look.id makes exactly this. With type canvas: the song's draft Canvas instead (picture: its clips sources and grade, loop drift, seconds 8, edit.seed), what a create_canvas with a clips picture and no sources makes. Change anything before creating.",
23789
+ summary: "The lyric style and clips picture Kinetune picks for a song, at once and without AI",
23790
+ description: "Everything picked by rules from the song, no AI: lyric_style (as lively as the song, able to keep up with how fast it is sung), background (a clips picture: moods, the feelings of the song's sections from its brief; density from its tempo; transitions from its tempo and loudness; grade and effects from its main feeling; shape, fill, speed) and edit.seed. The lyric style brings the colours and type. The artist's last lyric video brings its lyric_style, behind (words behind the subject) and folders back. Each section of the song's map (get_song_analysis) carries its mood, and the cut draws that section's clips from it. A create_lyric_video that leaves look out makes exactly this. With type canvas: the song's draft Canvas instead (picture: its clips sources and grade, loop drift, seconds 8, edit.seed), what a create_canvas with a clips picture and no sources makes. Change anything before creating.",
23657
23791
  method: "GET",
23658
23792
  path: "/api/v1/songs/{song_id}/draft",
23659
23793
  scopes: ["videos:read", "videos:write"],
@@ -23666,18 +23800,14 @@ var OPERATIONS = [
23666
23800
  },
23667
23801
  {
23668
23802
  id: "clips.list",
23669
- group: "looks",
23803
+ group: "clips",
23670
23804
  title: "List clips",
23671
23805
  summary: "The clips of library moods and your folders, to plan a clips video's cut",
23672
- description: "The ready clips (1\u20135 s each) of as many sources together as your plan allows (get_account limits.clip_sources; more answers 402 plan_required): library moods (get_options clip_moods), your folders (list_clip_folders) and Looks' own pictures (looks: a Look made before clips keeps its picture, its photo or loop, as clips of its own, usable wherever the Look is). Each has id, source, cut_from (the source video it was cut from: pieces sharing one look alike), duration_seconds, width, height, energy (how much it moves, 0\u20131), brightness, preview_url (a light MP4), poster_url, subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed), loop_score (how well it loops as a Canvas drift, 0\u2013100; 60 and up loops well) and strip_url (ten frames along it, side by side); both null until measured, shortly after import. Send edit.seed and Kinetune draws the clips (with words behind the subject, clips with a clear subject under the sung lines), or plan the cut yourself and send edit.clips.",
23806
+ description: "The ready clips (1\u20135 s each) of as many sources together as your plan allows (get_account limits.clip_sources; more answers 402 plan_required): library moods (get_options clip_moods), and your folders (list_clip_folders). Each has id, source, cut_from (the source video it was cut from: pieces sharing one look alike), duration_seconds, width, height, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), preview_url (a light MP4), poster_url, subject (null until it is analysed: each clip, once and for everyone, the first time analyze_clips asks for it or a video is made with it: faces, each box as fractions of the poster x, y, w, h, which text keeps clear; aspect; and mask, the subject's silhouette, when it has a matte), subject_clear (whether it has a clear subject, a person or a solid figure, words can go behind; null until analysed), matte_url (null, or an MP4 holding the clip and its subject's mask side by side, or one over the other for a wide clip: made for a clear subject once words go behind it, then the words go behind the subject) and still_url and depth_url (a photo clip's picture and its depth map, white is near: it moves in 3D; null until analysed), loop_score (how well it loops as a Canvas drift, 0\u2013100; 60 and up loops well) and strip_url (ten frames along it, side by side); both null until measured, shortly after import. Send edit.seed and Kinetune draws the clips (with words behind the subject, clips with a clear subject under the sung lines), or plan the cut yourself and send edit.clips.",
23673
23807
  method: "GET",
23674
23808
  path: "/api/v1/clips",
23675
23809
  scopes: ["videos:read", "videos:write", "library:read"],
23676
- input: external_exports.object({
23677
- moods: external_exports.string().trim().max(260).optional().describe('Mood ids, comma-separated, e.g. "city,golden"'),
23678
- folders: external_exports.string().trim().max(300).optional().describe("Folder ids, comma-separated"),
23679
- looks: external_exports.string().trim().max(600).optional().describe("Look ids whose own picture plays as clips (a Look made before clips: its background.sources.looks), comma-separated")
23680
- }),
23810
+ input: external_exports.object({ moods: external_exports.string().trim().max(260).optional().describe('Mood ids, comma-separated, e.g. "city,golden"'), folders: external_exports.string().trim().max(300).optional().describe("Folder ids, comma-separated") }),
23681
23811
  readOnly: true,
23682
23812
  destructive: false,
23683
23813
  idempotent: true,
@@ -23687,10 +23817,10 @@ var OPERATIONS = [
23687
23817
  },
23688
23818
  {
23689
23819
  id: "clip_moods.browse",
23690
- group: "looks",
23820
+ group: "clips",
23691
23821
  title: "Browse a Stock collection",
23692
23822
  summary: "The clips inside one Stock collection, a page at a time",
23693
- description: "Stock is the clip library Kinetune keeps for everyone, free: collections in two groups, Feelings (moods, mostly tall, with Looks: every Official and Community Look's own picture) and Places & textures (real footage). get_options clip_moods lists them. This answers one collection (id, name, group, tall and wide: how many of each shape) and a page of its clips, each with id, width, height, duration_seconds, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), poster_url, preview_url (a light MP4), credit (who filmed it, where a stock site asks for it), loop_score (how well it loops as a Canvas drift, 0\u2013100, null until measured) and strip_url (frames along it, side by side). shape keeps tall or wide clips only; energy keeps the collection's calmest, middle or liveliest third; sort is best (liveliest first), newest or length. total is how many match, next_offset the next page's offset (null on the last). Pick clips for a video by naming the collection in look.background.sources.moods, or plan the cut with their ids (edit.clips). No credits.",
23823
+ description: "Stock is the clip library Kinetune keeps for everyone, free: collections in three groups, Feelings (moods, mostly tall), Places & textures (real footage) and Seasons & holidays (a song's draft picks one only when the song is about it). get_options clip_moods lists them. This answers one collection (id, name, group, tall and wide: how many of each shape) and a page of its clips, each with id, width, height, duration_seconds, energy (how much it moves, 0\u20131), brightness, color (its main colour, hex), poster_url, preview_url (a light MP4), credit (who filmed it, where a stock site asks for it), loop_score (how well it loops as a Canvas drift, 0\u2013100, null until measured) and strip_url (frames along it, side by side). shape keeps tall or wide clips only; energy keeps the collection's calmest, middle or liveliest third; sort is best (liveliest first), newest or length. total is how many match, next_offset the next page's offset (null on the last). Pick clips for a video by naming the collection in look.background.sources.moods, or plan the cut with their ids (edit.clips). No credits.",
23694
23824
  method: "GET",
23695
23825
  path: "/api/v1/clip-moods/{mood_id}",
23696
23826
  scopes: ["videos:read", "videos:write", "library:read"],
@@ -23711,7 +23841,7 @@ var OPERATIONS = [
23711
23841
  },
23712
23842
  {
23713
23843
  id: "clips.rebound",
23714
- group: "looks",
23844
+ group: "clips",
23715
23845
  title: "A clip as a Rebound",
23716
23846
  summary: "A clip played forward, then backward: the file a Canvas Rebound loops",
23717
23847
  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.",
@@ -23733,7 +23863,7 @@ var OPERATIONS = [
23733
23863
  },
23734
23864
  {
23735
23865
  id: "clips.steady",
23736
- group: "looks",
23866
+ group: "clips",
23737
23867
  title: "A clip, steadied",
23738
23868
  summary: "A clip with handheld shake smoothed out: the file a Canvas with steady on plays",
23739
23869
  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.",
@@ -23749,7 +23879,7 @@ var OPERATIONS = [
23749
23879
  },
23750
23880
  {
23751
23881
  id: "clips.loop",
23752
- group: "looks",
23882
+ group: "clips",
23753
23883
  title: "Where a clip loops best",
23754
23884
  summary: "Best spot: where in a clip a Canvas drift window loops best, and its loop score",
23755
23885
  description: "For a window of span seconds that crossfades seam seconds into its start (both in the clip's own time: a drift plays seconds + crossfade of picture at its speed), the start in the clip whose ends look most alike, steady and with no cut inside, and its loop score 0\u2013100. Put the start in the Canvas edit's clips[0].in. Answers {start, score, measured}; a clip not measured yet answers start 0 and score null. Each clip's own score (for a default 8-second drift) is loop_score on list_clips, browse_clip_mood and get_clip_folder. No AI and no credits.",
@@ -23769,7 +23899,7 @@ var OPERATIONS = [
23769
23899
  },
23770
23900
  {
23771
23901
  id: "clips.similar",
23772
- group: "looks",
23902
+ group: "clips",
23773
23903
  title: "More like this",
23774
23904
  summary: "Clips that look and move like one clip, from Stock and your folders",
23775
23905
  description: "Up to limit clips (default 24) from every Stock collection and your own folders that look and move like this one: the same collection or folder counts, then how lively, how bright and the colour, so a clip from another collection can match. Clips cut from the same video show once. Each has the fields of browse_clip_mood plus source (the collection or folder it is in). No AI and no credits. The clip must be in Stock or one of your folders (404 otherwise).",
@@ -23788,7 +23918,7 @@ var OPERATIONS = [
23788
23918
  },
23789
23919
  {
23790
23920
  id: "clips.delete",
23791
- group: "looks",
23921
+ group: "clips",
23792
23922
  title: "Delete a clip",
23793
23923
  summary: "Remove one of your clips",
23794
23924
  description: "Videos already made with it keep it.",
@@ -23804,7 +23934,7 @@ var OPERATIONS = [
23804
23934
  },
23805
23935
  {
23806
23936
  id: "clips.move",
23807
- group: "looks",
23937
+ group: "clips",
23808
23938
  title: "Move clips",
23809
23939
  summary: "Move some of your clips into another of your folders",
23810
23940
  description: "clip_ids: your own clips (from get_clip_folder; library clips belong to no folder and never move), folder_id: one of your folders (list_clip_folders). Answers how many moved. Videos already made keep their clips.",
@@ -23821,7 +23951,7 @@ var OPERATIONS = [
23821
23951
  },
23822
23952
  {
23823
23953
  id: "clips.analyze",
23824
- group: "looks",
23954
+ group: "clips",
23825
23955
  title: "Analyse clips",
23826
23956
  summary: "Find the subject and faces of clips a preview shows",
23827
23957
  description: "For a preview you plan yourself (planEdit): send the clip_ids it shows, and behind: true when its words go behind the subject. Each not yet analysed is analysed in the background, once (a few seconds): its subject and faces, a photo's depth map, and with behind its matte when it has a clear subject. list_clips answers what it found once done; a clip analysed once stays analysed, for everyone. At most daily_limit new clips of your own a day (Stock clips don't count) (limited: true held some back until tomorrow); a video made with clips analyses them anyway, with no limit, so you never need this to make one. Free. Answers pending (the clips still being analysed), limited and daily_limit.",
@@ -23838,7 +23968,7 @@ var OPERATIONS = [
23838
23968
  },
23839
23969
  {
23840
23970
  id: "clips.generate",
23841
- group: "looks",
23971
+ group: "clips",
23842
23972
  title: "Generate clips",
23843
23973
  summary: "New pictures or short video clips into your AI folder, from your words, the song or its cover",
23844
23974
  description: "The only paid part of a lyric video's or a Canvas's picture. Send prompt (or from with song_id: the song's brief, or the cover's world with the cover as the model's reference), kind (image or video), shape (tall or wide), count (1\u20134), and optionally with (the artist, or a cast character's kit id: their character sheet keeps them recognizable), quality (standard or high video) and loop (a video that starts and ends on the same frame, kept whole: a seamless Drift for a Canvas). Without credits it answers the price ({quote: {credits, per_item_credits}}) and the prompt it will use, and with from song three ideas built from the song's brief (ideas: each a title, a line, 2\u20133 tags, a prompt, the first best: true; no extra AI call, none while the song has no brief): offer them, and send the picked idea's prompt as prompt; show it, and with the user's yes send the same with credits: they are held and the clips are made in the background. get_clip_folder on the returned folder_id shows each one on its way (imports: status queued, working or failed; stage drawing, animating or cutting; expected_seconds), and each is charged only once it is a clip (a failed one is given back; retry_clip_import tries it again).",
@@ -23867,7 +23997,7 @@ var OPERATIONS = [
23867
23997
  },
23868
23998
  {
23869
23999
  id: "clip_imports.retry",
23870
- group: "looks",
24000
+ group: "clips",
23871
24001
  title: "Try a clip import again",
23872
24002
  summary: "Try a failed link, upload, stock or generated clip again",
23873
24003
  description: "For an import get_clip_folder lists as failed. A generated one holds its credits again (at today's price) before it is made.",
@@ -23884,7 +24014,7 @@ var OPERATIONS = [
23884
24014
  },
23885
24015
  {
23886
24016
  id: "clip_imports.dismiss",
23887
- group: "looks",
24017
+ group: "clips",
23888
24018
  title: "Dismiss a failed clip import",
23889
24019
  summary: "Take a failed import's tile out of its folder",
23890
24020
  description: "For an import get_clip_folder lists as failed, when it isn't worth trying again (retry_clip_import). Nothing is charged.",
@@ -23900,7 +24030,7 @@ var OPERATIONS = [
23900
24030
  },
23901
24031
  {
23902
24032
  id: "clip_folders.list",
23903
- group: "looks",
24033
+ group: "clips",
23904
24034
  title: "List your clip folders",
23905
24035
  summary: "Your clip folders with how many clips each holds",
23906
24036
  description: "My footage: each folder with id, name, kind (user: yours, where links, uploads, cut videos and stock you found land; ai: what you generate), clips, importing (on their way) and poster_url.",
@@ -23916,7 +24046,7 @@ var OPERATIONS = [
23916
24046
  },
23917
24047
  {
23918
24048
  id: "clip_folders.create",
23919
- group: "looks",
24049
+ group: "clips",
23920
24050
  title: "Make a clip folder",
23921
24051
  summary: "A new folder for your clips",
23922
24052
  description: "A folder in My footage, by name. Anything can be imported into it (import_clips): a link, a file or a stock video found with search_stock.",
@@ -23932,7 +24062,7 @@ var OPERATIONS = [
23932
24062
  },
23933
24063
  {
23934
24064
  id: "clip_folders.get",
23935
- group: "looks",
24065
+ group: "clips",
23936
24066
  title: "Get a clip folder",
23937
24067
  summary: "A folder's clips and the imports still on their way",
23938
24068
  description: "clips (as list_clips) and imports (status queued, working or failed with error; done ones leave the list).",
@@ -23948,7 +24078,7 @@ var OPERATIONS = [
23948
24078
  },
23949
24079
  {
23950
24080
  id: "clip_folders.rename",
23951
- group: "looks",
24081
+ group: "clips",
23952
24082
  title: "Rename a clip folder",
23953
24083
  summary: "Rename one of your clip folders",
23954
24084
  description: "",
@@ -23964,7 +24094,7 @@ var OPERATIONS = [
23964
24094
  },
23965
24095
  {
23966
24096
  id: "clip_folders.delete",
23967
- group: "looks",
24097
+ group: "clips",
23968
24098
  title: "Delete a clip folder",
23969
24099
  summary: "Remove a folder and its clips",
23970
24100
  description: "Videos already made with its clips keep them.",
@@ -23980,7 +24110,7 @@ var OPERATIONS = [
23980
24110
  },
23981
24111
  {
23982
24112
  id: "clip_folders.import",
23983
- group: "looks",
24113
+ group: "clips",
23984
24114
  title: "Import clips",
23985
24115
  summary: "Cut a video into clips in one of your folders: a link, a file or a stock video",
23986
24116
  description: "One of: url (a YouTube, TikTok or Instagram link, up to 20 minutes), file_url (a video or photo sent with create_upload) or stock_id (a stock video from search_stock: it lands in this folder of yours, like any other source). Kinetune cuts it at every scene change into clips of 1\u20135 s, in the background (get_clip_folder shows it on its way). Only use clips you have the rights to. Free with an active plan (402 plan_required without one; get_account: plan.active); counts toward your storage.",
@@ -24001,7 +24131,7 @@ var OPERATIONS = [
24001
24131
  },
24002
24132
  {
24003
24133
  id: "canvas_presets.list",
24004
- group: "looks",
24134
+ group: "clips",
24005
24135
  title: "List your Canvas presets",
24006
24136
  summary: "Your saved Canvas looks, the latest saved first",
24007
24137
  description: "Each with id, name and look: loop, seconds, cut, crossfade, camera, fade, fill (and fill_colour), speed, grade and grade_amount, effects, light and atmosphere. A look holds no clips or song: to use one, send its fields in a Canvas request (picture fields for the clips settings, loop, seconds, light as {preset}, atmosphere and effects at the top).",
@@ -24017,7 +24147,7 @@ var OPERATIONS = [
24017
24147
  },
24018
24148
  {
24019
24149
  id: "canvas_presets.save",
24020
- group: "looks",
24150
+ group: "clips",
24021
24151
  title: "Save a Canvas preset",
24022
24152
  summary: "Keep a Canvas look under a name for the next Canvas",
24023
24153
  description: "name (1\u201360 characters) and look (as list_canvas_presets shows it; fields left out take their defaults). The same name again replaces that preset's look. Up to 50 a workspace. Free.",
@@ -24034,7 +24164,7 @@ var OPERATIONS = [
24034
24164
  },
24035
24165
  {
24036
24166
  id: "canvas_presets.rename",
24037
- group: "looks",
24167
+ group: "clips",
24038
24168
  title: "Rename a Canvas preset",
24039
24169
  summary: "Rename one of your Canvas presets",
24040
24170
  description: "",
@@ -24050,7 +24180,7 @@ var OPERATIONS = [
24050
24180
  },
24051
24181
  {
24052
24182
  id: "canvas_presets.delete",
24053
- group: "looks",
24183
+ group: "clips",
24054
24184
  title: "Delete a Canvas preset",
24055
24185
  summary: "Remove one of your Canvas presets",
24056
24186
  description: "Canvases already made with it keep their look.",
@@ -24066,7 +24196,7 @@ var OPERATIONS = [
24066
24196
  },
24067
24197
  {
24068
24198
  id: "stock.search",
24069
- group: "looks",
24199
+ group: "clips",
24070
24200
  title: "Search stock media",
24071
24201
  summary: "Find stock photos or clips for your clip folders, a Canvas or a kit piece",
24072
24202
  description: `24 results a page. Pass a video's id to import_clips (stock_id) to cut it into your clips, or an item's id as a Canvas's stock_id to use it instead of the director's pick, and credit its creator (credit: author, author_url, source_url and provider, the site it comes from) wherever you show it. Results come from every stock site Kinetune is set up with: ids from the first are digits, others are prefixed ("pixabay:123"); pass them as given. orientation: portrait for 9:16 and 1:1, landscape when 16:9 is among the formats (a Canvas is portrait). Clips too short for the loop are left out: pass seconds for a Canvas. thumbnail_url is a 480 px still, preview_url a 1280 px one (the photo, or the clip's poster), preview_video_url a small MP4 of a clip.`,
@@ -24550,7 +24680,7 @@ var OPERATIONS = [
24550
24680
  group: "videos",
24551
24681
  title: "List videos",
24552
24682
  summary: "Videos, newest first, with status and thumbnails",
24553
- 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.",
24683
+ 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. A music video has revisable_until: until when one of its shots can be revised (revise_music_video_shot), or null.",
24554
24684
  method: "GET",
24555
24685
  path: "/api/v1/videos",
24556
24686
  scopes: ["videos:read"],
@@ -24559,7 +24689,7 @@ var OPERATIONS = [
24559
24689
  artist_id: artistId.optional().describe("Only videos of this artist\u2019s songs"),
24560
24690
  type: external_exports.enum(["lyric-video", "canvas", "music-video"]).optional(),
24561
24691
  quote_id: external_exports.string().uuid().optional().describe("Only the videos this quote made (none until it is used)"),
24562
- q: external_exports.string().trim().min(1).max(100).optional().describe("Search the song title, artist name, Look name or video id"),
24692
+ q: external_exports.string().trim().min(1).max(100).optional().describe("Search the song title, artist name or video id"),
24563
24693
  limit: external_exports.number().int().min(1).max(100).optional(),
24564
24694
  cursor: external_exports.string().min(1).max(200).optional().describe("next_cursor from the previous page")
24565
24695
  }),
@@ -24676,7 +24806,7 @@ var OPERATIONS = [
24676
24806
  readOnly: true,
24677
24807
  destructive: false,
24678
24808
  idempotent: true,
24679
- cli: ["looks", "music-video"],
24809
+ cli: ["concepts", "list"],
24680
24810
  mcp: "list_music_video_looks"
24681
24811
  },
24682
24812
  {
@@ -24692,7 +24822,7 @@ var OPERATIONS = [
24692
24822
  readOnly: true,
24693
24823
  destructive: false,
24694
24824
  idempotent: true,
24695
- cli: ["looks", "music-video-get"],
24825
+ cli: ["concepts", "get"],
24696
24826
  mcp: "get_music_video_look"
24697
24827
  },
24698
24828
  {
@@ -24708,7 +24838,7 @@ var OPERATIONS = [
24708
24838
  readOnly: false,
24709
24839
  destructive: true,
24710
24840
  idempotent: true,
24711
- cli: ["looks", "music-video-delete"],
24841
+ cli: ["concepts", "delete"],
24712
24842
  mcp: "delete_music_video_look"
24713
24843
  },
24714
24844
  {
@@ -24716,7 +24846,7 @@ var OPERATIONS = [
24716
24846
  group: "videos",
24717
24847
  title: "Make a video again",
24718
24848
  summary: "Run a finished, failed or cancelled video again (new charge)",
24719
- description: "Reuses the Look it made, with its background media and loops, so nothing already made is paid for again. A video that failed before its Look was saved is designed afresh.",
24849
+ description: "A lyric video keeps its choices (lyric style, picture, visual) and draws its clips again; a Canvas or a music video is directed afresh.",
24720
24850
  method: "POST",
24721
24851
  path: "/api/v1/videos/{video_id}/retry",
24722
24852
  scopes: ["videos:write"],
@@ -24785,8 +24915,8 @@ var OPERATIONS = [
24785
24915
  id: "videos.share",
24786
24916
  group: "videos",
24787
24917
  title: "Make a video public",
24788
- summary: "Show a delivered video in the Community, its Look reusable by anyone",
24789
- 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, visual style, 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.`,
24918
+ summary: "Show a delivered video in the Community, a music video's Look reusable by anyone",
24919
+ 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 a music video's Look (its concept: its kind, visual style, edit, places and props, never the artist or anyone else in it) becomes public with it so anyone can reuse it; 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.`,
24790
24920
  method: "POST",
24791
24921
  path: "/api/v1/videos/{video_id}/share",
24792
24922
  scopes: ["videos:write"],
@@ -24808,8 +24938,8 @@ var OPERATIONS = [
24808
24938
  id: "videos.unshare",
24809
24939
  group: "videos",
24810
24940
  title: "Make a video private",
24811
- summary: "Take a video out of the Community, its Look private again",
24812
- 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.",
24941
+ summary: "Take a video out of the Community, a music video's Look private again",
24942
+ description: "It leaves the Community and Kinetune's featured row at once, with the loves it had, and a music video's Look is private again (its reward credits go back). Ask the user first.",
24813
24943
  method: "DELETE",
24814
24944
  path: "/api/v1/videos/{video_id}/share",
24815
24945
  scopes: ["videos:write"],
@@ -28622,7 +28752,7 @@ async function revoke(config2, auth = config2.auth) {
28622
28752
  // package.json
28623
28753
  var package_default = {
28624
28754
  name: "@kinetune/cli",
28625
- version: "4.2.0",
28755
+ version: "5.0.0",
28626
28756
  description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
28627
28757
  license: "MIT",
28628
28758
  homepage: "https://kinetune.com/developers#cli",
@@ -28903,7 +29033,7 @@ function program2() {
28903
29033
  " artists profiles": "The artist's links on other services: list, add, order, change, remove, find again",
28904
29034
  " artists page": "The artist page at kinetune.com/@handle: address, draft, preview, publish, stats",
28905
29035
  " songs": "Songs: upload, list, analysis",
28906
- " looks": "Looks: reusable lyric-video designs",
29036
+ " concepts": "Music video concepts: a delivered music video's direction, kept to reuse on any song",
28907
29037
  " quote": "Exact credits for a lyric video, Canvas or music video, before anything is charged",
28908
29038
  " create": "Create a lyric video, Canvas or music video (quotes first and asks unless --yes)",
28909
29039
  " videos": "Videos: status, wait, download, cancel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kinetune/cli",
3
- "version": "4.2.0",
3
+ "version": "5.0.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",