@kinetune/cli 2.9.0 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -1
- package/dist/kinetune.mjs +536 -41
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,6 +53,22 @@ kinetune videos wait VIDEO_ID # its progress, or why it waits (its p
|
|
|
53
53
|
kinetune videos download VIDEO_ID
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
## Bring in your released songs
|
|
57
|
+
|
|
58
|
+
Link the artist to their released songs once, then import them by id: Kinetune fetches the audio and uses each release's cover.
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
kinetune artists find --q "Nova Lane" # the catalog profiles that match, with their covers
|
|
62
|
+
kinetune artists link ARTIST_ID --catalog-artist-id 6803333408
|
|
63
|
+
kinetune songs released ARTIST_ID # newest first; song_id when it's already in Kinetune
|
|
64
|
+
kinetune songs import --artist-id ARTIST_ID --track-ids 6817595861 --track-ids 6816549264
|
|
65
|
+
kinetune songs imports # queued, fetching, done (song_id) or failed (why)
|
|
66
|
+
kinetune songs import-audio IMPORT_ID --audio ./master.wav # one we couldn't fetch: give the file
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Unreleased songs: `songs create` without `--title` names the song from the file's tags (then its file name), so a folder goes in with
|
|
70
|
+
`for f in ./masters/*.wav; do kinetune songs create --artist-id ARTIST_ID --audio "$f"; done`. The same song twice is refused.
|
|
71
|
+
|
|
56
72
|
`kinetune create …` never spends credits without asking: pass `--yes`, or `--max-credits N` to refuse anything pricier.
|
|
57
73
|
|
|
58
74
|
## Music videos
|
|
@@ -180,7 +196,8 @@ kinetune covers redraw REQUEST_ID --cover-id COVER_ID --note "Warmer, the moon b
|
|
|
180
196
|
`--style` is how it is made (`auto`, the director's pick, by default; `portrait`, `snapshot`, `film-still`, `object`,
|
|
181
197
|
`place`, `painted`, `illustrated`, `cartoon`, `anime`, `collage`, `3d`, `graphic`, `type`), `--vibes` up to two moods
|
|
182
198
|
(`dark`, `sad`, `romantic`, `aggressive`, `luxury`, `aesthetic`, `urban`, `hood`, `space`, `surreal`, `vintage`),
|
|
183
|
-
`--artist` `auto`, `always` (needs their character) or `never
|
|
199
|
+
`--artist` `auto`, `always` (needs their character) or `never` (with the artist, a song about two people may also show the
|
|
200
|
+
other person, always an invented one), `--words` `none`, `title` or `artist_title` (the `type`
|
|
184
201
|
style needs words).
|
|
185
202
|
|
|
186
203
|
Every cover a song has had, made or uploaded, stays on it until you delete it. The song keeps its cover until you pick
|
package/dist/kinetune.mjs
CHANGED
|
@@ -920,8 +920,8 @@ var allowsEval = /* @__PURE__ */ cached(() => {
|
|
|
920
920
|
return false;
|
|
921
921
|
}
|
|
922
922
|
try {
|
|
923
|
-
const
|
|
924
|
-
new
|
|
923
|
+
const F2 = Function;
|
|
924
|
+
new F2("");
|
|
925
925
|
return true;
|
|
926
926
|
} catch (_) {
|
|
927
927
|
return false;
|
|
@@ -2638,9 +2638,9 @@ var Doc = class {
|
|
|
2638
2638
|
}
|
|
2639
2639
|
}
|
|
2640
2640
|
compile() {
|
|
2641
|
-
const
|
|
2641
|
+
const F2 = Function;
|
|
2642
2642
|
const content = this?.content ?? [``];
|
|
2643
|
-
const factory = new
|
|
2643
|
+
const factory = new F2(...Object.keys(this.closed), `return function (${this.args.join(", ")}) {
|
|
2644
2644
|
${content.join("\n")}
|
|
2645
2645
|
};`);
|
|
2646
2646
|
return factory(...Object.values(this.closed));
|
|
@@ -4983,9 +4983,9 @@ var $ZodFunction = /* @__PURE__ */ $constructor("$ZodFunction", (inst, def) => {
|
|
|
4983
4983
|
return payload;
|
|
4984
4984
|
};
|
|
4985
4985
|
inst.input = (...args) => {
|
|
4986
|
-
const
|
|
4986
|
+
const F2 = inst.constructor;
|
|
4987
4987
|
if (Array.isArray(args[0])) {
|
|
4988
|
-
return new
|
|
4988
|
+
return new F2({
|
|
4989
4989
|
type: "function",
|
|
4990
4990
|
input: new $ZodTuple({
|
|
4991
4991
|
type: "tuple",
|
|
@@ -4995,15 +4995,15 @@ var $ZodFunction = /* @__PURE__ */ $constructor("$ZodFunction", (inst, def) => {
|
|
|
4995
4995
|
output: inst._def.output
|
|
4996
4996
|
});
|
|
4997
4997
|
}
|
|
4998
|
-
return new
|
|
4998
|
+
return new F2({
|
|
4999
4999
|
type: "function",
|
|
5000
5000
|
input: args[0],
|
|
5001
5001
|
output: inst._def.output
|
|
5002
5002
|
});
|
|
5003
5003
|
};
|
|
5004
5004
|
inst.output = (output2) => {
|
|
5005
|
-
const
|
|
5006
|
-
return new
|
|
5005
|
+
const F2 = inst.constructor;
|
|
5006
|
+
return new F2({
|
|
5007
5007
|
type: "function",
|
|
5008
5008
|
input: inst._def.input,
|
|
5009
5009
|
output: output2
|
|
@@ -13075,13 +13075,13 @@ function compileFn(schema, options) {
|
|
|
13075
13075
|
const code = doc.content.join("\n");
|
|
13076
13076
|
const fullCode = options?.debug ? constantNames.length > 0 ? `// Constants: ${constantNames.join(", ")}
|
|
13077
13077
|
${code}` : code : "";
|
|
13078
|
-
const
|
|
13078
|
+
const F2 = Function;
|
|
13079
13079
|
const factoryCode = `return (input) => {
|
|
13080
13080
|
${code}
|
|
13081
13081
|
}`;
|
|
13082
13082
|
let fn;
|
|
13083
13083
|
try {
|
|
13084
|
-
const factory = new
|
|
13084
|
+
const factory = new F2(...constantNames, factoryCode);
|
|
13085
13085
|
fn = factory(...constantValues);
|
|
13086
13086
|
} catch (err) {
|
|
13087
13087
|
throw new ZodCompileUnsupportedError(`this schema (generated code failed to evaluate: ${err.message})`);
|
|
@@ -19731,9 +19731,9 @@ function date4(params) {
|
|
|
19731
19731
|
|
|
19732
19732
|
// ../composition/src/fonts.ts
|
|
19733
19733
|
var FONTS = {
|
|
19734
|
-
inter: { family: "Inter", kind: "sans", weights: [500, 700, 800] },
|
|
19734
|
+
inter: { family: "Inter", kind: "sans", weights: [300, 500, 700, 800] },
|
|
19735
19735
|
montserrat: { family: "Montserrat", kind: "sans", weights: [500, 700, 800] },
|
|
19736
|
-
poppins: { family: "Poppins", kind: "sans", weights: [500, 700, 800] },
|
|
19736
|
+
poppins: { family: "Poppins", kind: "sans", weights: [300, 500, 700, 800] },
|
|
19737
19737
|
"dm-sans": { family: "DM Sans", kind: "sans", weights: [500, 700] },
|
|
19738
19738
|
outfit: { family: "Outfit", kind: "sans", weights: [500, 700, 800] },
|
|
19739
19739
|
sora: { family: "Sora", kind: "sans", weights: [500, 700, 800] },
|
|
@@ -19745,7 +19745,7 @@ var FONTS = {
|
|
|
19745
19745
|
"bebas-neue": { family: "Bebas Neue", kind: "condensed", weights: [400] },
|
|
19746
19746
|
anton: { family: "Anton", kind: "condensed", weights: [400] },
|
|
19747
19747
|
oswald: { family: "Oswald", kind: "condensed", weights: [500, 700] },
|
|
19748
|
-
"barlow-condensed": { family: "Barlow Condensed", kind: "condensed", weights: [600, 800] },
|
|
19748
|
+
"barlow-condensed": { family: "Barlow Condensed", kind: "condensed", weights: [500, 600, 800] },
|
|
19749
19749
|
"big-shoulders-display": { family: "Big Shoulders Display", kind: "condensed", weights: [700, 900] },
|
|
19750
19750
|
"playfair-display": { family: "Playfair Display", kind: "serif", weights: [600, 800] },
|
|
19751
19751
|
"dm-serif-display": { family: "DM Serif Display", kind: "serif", weights: [400] },
|
|
@@ -19769,7 +19769,14 @@ var FONTS = {
|
|
|
19769
19769
|
"rubik-mono-one": { family: "Rubik Mono One", kind: "display", weights: [400] },
|
|
19770
19770
|
creepster: { family: "Creepster", kind: "display", weights: [400] },
|
|
19771
19771
|
"mountains-of-christmas": { family: "Mountains of Christmas", kind: "display", weights: [700] },
|
|
19772
|
-
"space-mono": { family: "Space Mono", kind: "mono", weights: [400, 700] }
|
|
19772
|
+
"space-mono": { family: "Space Mono", kind: "mono", weights: [400, 700] },
|
|
19773
|
+
arimo: { family: "Arimo", kind: "sans", weights: [400, 700] },
|
|
19774
|
+
kanit: { family: "Kanit", kind: "sans", weights: [700] },
|
|
19775
|
+
"do-hyeon": { family: "Do Hyeon", kind: "sans", weights: [400] },
|
|
19776
|
+
"six-caps": { family: "Six Caps", kind: "condensed", weights: [400] },
|
|
19777
|
+
staatliches: { family: "Staatliches", kind: "display", weights: [400] },
|
|
19778
|
+
"krona-one": { family: "Krona One", kind: "display", weights: [400] },
|
|
19779
|
+
"pirata-one": { family: "Pirata One", kind: "display", weights: [400] }
|
|
19773
19780
|
};
|
|
19774
19781
|
var FONT_IDS = Object.keys(FONTS);
|
|
19775
19782
|
var LYRIC_FONT_IDS = FONT_IDS.filter((id2) => ["sans", "condensed", "serif", "mono"].includes(FONTS[id2].kind) && id2 !== "abril-fatface");
|
|
@@ -19793,10 +19800,298 @@ var VIZZ_ENGINE_IDS = [
|
|
|
19793
19800
|
"light-trails",
|
|
19794
19801
|
"classic-spectrum"
|
|
19795
19802
|
];
|
|
19803
|
+
var LIQUID_ENGINE = "liquid";
|
|
19804
|
+
var VISUALIZER_ENGINE_IDS = [...VIZZ_ENGINE_IDS, LIQUID_ENGINE];
|
|
19805
|
+
|
|
19806
|
+
// ../composition/src/short-styles.ts
|
|
19807
|
+
var S = (x, y, blur, opacity) => ({ x, y, blur, opacity });
|
|
19808
|
+
var F = (font2, weight, more = {}) => ({ font: font2, weight, ...more });
|
|
19809
|
+
var SHORT_SPECS = {
|
|
19810
|
+
// Bold
|
|
19811
|
+
chant: {
|
|
19812
|
+
filter: "bold",
|
|
19813
|
+
mode: "word",
|
|
19814
|
+
effect: "chant",
|
|
19815
|
+
face: F("anton", 400, { italic: true, upper: true }),
|
|
19816
|
+
size: 0.12,
|
|
19817
|
+
fit: 0.7,
|
|
19818
|
+
ink: "text",
|
|
19819
|
+
key: { size: 0.15, fit: 0.62, ink: "accent" },
|
|
19820
|
+
motion: {
|
|
19821
|
+
in: { ms: 220, ease: "out", pose: { rotate: -14, scale: 1.12, blur: 10, opacity: 0 } },
|
|
19822
|
+
out: { ms: 110, ease: "in", pose: { scale: 1.08, blur: 12, opacity: 0 } },
|
|
19823
|
+
handover: true,
|
|
19824
|
+
shadow: S(0, 2, 8, 0.65),
|
|
19825
|
+
lineHeight: 0.91,
|
|
19826
|
+
orbit: { rx: 0.02, ry: 0.015, period: 4 },
|
|
19827
|
+
tilt: { min: -12, max: -2, spin: 2 }
|
|
19828
|
+
},
|
|
19829
|
+
glow: 0.9
|
|
19830
|
+
},
|
|
19831
|
+
doodle: {
|
|
19832
|
+
filter: "bold",
|
|
19833
|
+
mode: "word",
|
|
19834
|
+
effect: "doodle",
|
|
19835
|
+
face: F("bebas-neue", 400, { upper: true }),
|
|
19836
|
+
size: 0.2,
|
|
19837
|
+
fit: 0.86,
|
|
19838
|
+
ink: "text",
|
|
19839
|
+
key: { face: F("anton", 400, { upper: true }), size: 0.3, fit: 0.8, ink: "accent" },
|
|
19840
|
+
motion: { out: { ms: 260, ease: "out", pose: { opacity: 0, blur: 12, scale: 1.05 } }, lineHeight: 0.99 }
|
|
19841
|
+
},
|
|
19842
|
+
highlight: {
|
|
19843
|
+
filter: "bold",
|
|
19844
|
+
mode: "word",
|
|
19845
|
+
effect: "highlight",
|
|
19846
|
+
face: F("arimo", 700),
|
|
19847
|
+
size: 0.16,
|
|
19848
|
+
fit: 0.7,
|
|
19849
|
+
ink: "text",
|
|
19850
|
+
key: { size: 0.19, fit: 0.76 },
|
|
19851
|
+
motion: { shadow: S(0, 2, 8, 0.55) }
|
|
19852
|
+
},
|
|
19853
|
+
smear: {
|
|
19854
|
+
filter: "bold",
|
|
19855
|
+
mode: "word",
|
|
19856
|
+
effect: "smear",
|
|
19857
|
+
face: F("pirata-one", 400),
|
|
19858
|
+
size: 0.075,
|
|
19859
|
+
fit: 0.62,
|
|
19860
|
+
ink: "text",
|
|
19861
|
+
key: { face: F("krona-one", 400), size: 0.09, fit: 0.62, ink: "accent" },
|
|
19862
|
+
motion: { in: { ms: 150, ease: "out", pose: { y: -0.065, scaleY: 3.2, blur: 6, opacity: 0.8 } } },
|
|
19863
|
+
place: "right"
|
|
19864
|
+
},
|
|
19865
|
+
twin: {
|
|
19866
|
+
filter: "bold",
|
|
19867
|
+
mode: "word",
|
|
19868
|
+
effect: "twin",
|
|
19869
|
+
face: F("poppins", 700, { upper: true }),
|
|
19870
|
+
size: 0.21,
|
|
19871
|
+
fit: 0.81,
|
|
19872
|
+
ink: "text",
|
|
19873
|
+
key: { ink: "accent" },
|
|
19874
|
+
motion: {}
|
|
19875
|
+
},
|
|
19876
|
+
marquee: {
|
|
19877
|
+
filter: "bold",
|
|
19878
|
+
mode: "word",
|
|
19879
|
+
effect: "marquee",
|
|
19880
|
+
face: F("archivo-black", 400, { upper: true }),
|
|
19881
|
+
size: 0.13,
|
|
19882
|
+
fit: 0.84,
|
|
19883
|
+
ink: "text",
|
|
19884
|
+
key: { size: 0.15, fit: 0.88, ink: "accent" },
|
|
19885
|
+
motion: { in: { ms: 60, ease: "out", pose: { x: -0.25, scaleX: 1.8, blur: 16, opacity: 0.7 } }, shadow: S(0, 4, 4, 0.85) }
|
|
19886
|
+
},
|
|
19887
|
+
gilded: {
|
|
19888
|
+
filter: "bold",
|
|
19889
|
+
mode: "line",
|
|
19890
|
+
effect: "gilded",
|
|
19891
|
+
face: F("playfair-display", 600, { italic: true }),
|
|
19892
|
+
size: 0.062,
|
|
19893
|
+
fit: 0.86,
|
|
19894
|
+
ink: "text",
|
|
19895
|
+
key: { size: 0.15, fit: 0.8, ink: "accent" },
|
|
19896
|
+
motion: { in: { ms: 420, ease: "out", pose: { y: 0.06, blur: 14, opacity: 0 } }, shadow: S(0, 1, 6, 0.45) }
|
|
19897
|
+
},
|
|
19898
|
+
sparkle: {
|
|
19899
|
+
filter: "bold",
|
|
19900
|
+
mode: "word",
|
|
19901
|
+
effect: "sparkle",
|
|
19902
|
+
face: F("anton", 400, { upper: true }),
|
|
19903
|
+
size: 0.34,
|
|
19904
|
+
fit: 0.8,
|
|
19905
|
+
ink: "accent",
|
|
19906
|
+
key: { size: 0.4, fit: 0.94, ink: "text" },
|
|
19907
|
+
aside: F("instrument-serif", 400, { italic: true }),
|
|
19908
|
+
motion: {},
|
|
19909
|
+
glow: 0.8
|
|
19910
|
+
},
|
|
19911
|
+
flare: {
|
|
19912
|
+
filter: "bold",
|
|
19913
|
+
mode: "word",
|
|
19914
|
+
effect: "flare",
|
|
19915
|
+
face: F("montserrat", 800, { upper: true }),
|
|
19916
|
+
size: 0.075,
|
|
19917
|
+
fit: 0.6,
|
|
19918
|
+
ink: "text",
|
|
19919
|
+
key: { size: 0.09 },
|
|
19920
|
+
motion: {}
|
|
19921
|
+
},
|
|
19922
|
+
circuit: {
|
|
19923
|
+
filter: "bold",
|
|
19924
|
+
mode: "word",
|
|
19925
|
+
effect: "circuit",
|
|
19926
|
+
face: F("bebas-neue", 400, { upper: true, tracking: 0.02 }),
|
|
19927
|
+
size: 0.17,
|
|
19928
|
+
fit: 0.6,
|
|
19929
|
+
ink: "accent",
|
|
19930
|
+
key: { size: 0.2 },
|
|
19931
|
+
motion: {},
|
|
19932
|
+
blend: "difference"
|
|
19933
|
+
},
|
|
19934
|
+
spark: {
|
|
19935
|
+
filter: "bold",
|
|
19936
|
+
mode: "line",
|
|
19937
|
+
effect: "spark",
|
|
19938
|
+
face: F("righteous", 400, { upper: true }),
|
|
19939
|
+
size: 0.108,
|
|
19940
|
+
fit: 0.86,
|
|
19941
|
+
ink: "text",
|
|
19942
|
+
motion: { shadow: S(3, 4, 2, 0.8) },
|
|
19943
|
+
glow: 0.75
|
|
19944
|
+
},
|
|
19945
|
+
loose: {
|
|
19946
|
+
filter: "bold",
|
|
19947
|
+
mode: "grid",
|
|
19948
|
+
effect: "loose",
|
|
19949
|
+
face: F("arimo", 400, { scaleX: 0.8 }),
|
|
19950
|
+
size: 0.13,
|
|
19951
|
+
fit: 0.65,
|
|
19952
|
+
ink: "muted",
|
|
19953
|
+
motion: { shadow: S(0, 2, 8, 0.5) }
|
|
19954
|
+
},
|
|
19955
|
+
// Layered
|
|
19956
|
+
whisper: {
|
|
19957
|
+
filter: "layered",
|
|
19958
|
+
mode: "word",
|
|
19959
|
+
effect: "whisper",
|
|
19960
|
+
face: F("bebas-neue", 400, { upper: true, scaleY: 1.15 }),
|
|
19961
|
+
size: 0.17,
|
|
19962
|
+
fit: 0.5,
|
|
19963
|
+
ink: "text",
|
|
19964
|
+
key: { size: 0.17, fit: 0.5, ink: "accent" },
|
|
19965
|
+
aside: F("instrument-serif", 400, { italic: true }),
|
|
19966
|
+
motion: {}
|
|
19967
|
+
},
|
|
19968
|
+
tiles: {
|
|
19969
|
+
filter: "layered",
|
|
19970
|
+
mode: "word",
|
|
19971
|
+
effect: "tiles",
|
|
19972
|
+
face: F("krona-one", 400, { upper: true }),
|
|
19973
|
+
size: 0.2,
|
|
19974
|
+
fit: 0.7,
|
|
19975
|
+
ink: "text",
|
|
19976
|
+
key: { ink: "accent" },
|
|
19977
|
+
aside: F("anton", 400, { upper: true }),
|
|
19978
|
+
motion: {}
|
|
19979
|
+
},
|
|
19980
|
+
nested: {
|
|
19981
|
+
filter: "layered",
|
|
19982
|
+
mode: "word",
|
|
19983
|
+
effect: "nested",
|
|
19984
|
+
face: F("anton", 400, { upper: true, italic: true }),
|
|
19985
|
+
size: 0.24,
|
|
19986
|
+
fit: 0.5,
|
|
19987
|
+
ink: "text",
|
|
19988
|
+
key: { size: 0.33, fit: 0.52, ink: "accent" },
|
|
19989
|
+
motion: { in: { ms: 240, ease: "out", pose: { x: -0.05, scaleX: 0.75, blur: 12, opacity: 0 } }, out: { ms: 180, ease: "out", pose: { x: 0.05, scaleX: 1.3, blur: 16, opacity: 0 } }, handover: true, shadow: S(0, 2, 10, 0.5) },
|
|
19990
|
+
glow: 0.7
|
|
19991
|
+
},
|
|
19992
|
+
pair: {
|
|
19993
|
+
filter: "layered",
|
|
19994
|
+
mode: "word",
|
|
19995
|
+
effect: "pair",
|
|
19996
|
+
face: F("krona-one", 400),
|
|
19997
|
+
size: 0.15,
|
|
19998
|
+
fit: 0.5,
|
|
19999
|
+
ink: "accent",
|
|
20000
|
+
aside: F("pirata-one", 400),
|
|
20001
|
+
motion: {}
|
|
20002
|
+
},
|
|
20003
|
+
tall: {
|
|
20004
|
+
filter: "layered",
|
|
20005
|
+
mode: "word",
|
|
20006
|
+
effect: "tall",
|
|
20007
|
+
face: F("do-hyeon", 400, { upper: true }),
|
|
20008
|
+
size: 0.2,
|
|
20009
|
+
fit: 0.84,
|
|
20010
|
+
ink: "text",
|
|
20011
|
+
key: { face: F("six-caps", 400, { upper: true }), size: 0.42, fit: 0.6, ink: "accent" },
|
|
20012
|
+
motion: { out: { ms: 220, ease: "in", pose: { x: -0.2, blur: 10, opacity: 0 } } }
|
|
20013
|
+
},
|
|
20014
|
+
baton: {
|
|
20015
|
+
filter: "layered",
|
|
20016
|
+
mode: "line",
|
|
20017
|
+
effect: "baton",
|
|
20018
|
+
face: F("anton", 400, { upper: true }),
|
|
20019
|
+
size: 0.2,
|
|
20020
|
+
fit: 0.8,
|
|
20021
|
+
ink: "text",
|
|
20022
|
+
key: { ink: "text" },
|
|
20023
|
+
aside: F("poppins", 700, { upper: true }),
|
|
20024
|
+
motion: {},
|
|
20025
|
+
dim: 0.65
|
|
20026
|
+
},
|
|
20027
|
+
mixtape: {
|
|
20028
|
+
filter: "layered",
|
|
20029
|
+
mode: "word",
|
|
20030
|
+
effect: "mixtape",
|
|
20031
|
+
face: F("staatliches", 400, { upper: true }),
|
|
20032
|
+
size: 0.29,
|
|
20033
|
+
fit: 0.84,
|
|
20034
|
+
ink: "text",
|
|
20035
|
+
key: { face: F("righteous", 400), ink: "accent" },
|
|
20036
|
+
motion: {}
|
|
20037
|
+
},
|
|
20038
|
+
trail: {
|
|
20039
|
+
filter: "layered",
|
|
20040
|
+
mode: "word",
|
|
20041
|
+
effect: "trail",
|
|
20042
|
+
face: F("kanit", 700, { upper: true }),
|
|
20043
|
+
size: 0.085,
|
|
20044
|
+
fit: 0.5,
|
|
20045
|
+
ink: "accent",
|
|
20046
|
+
key: { face: F("shrikhand", 400, { upper: true }), size: 0.17, fit: 0.72, ink: "text" },
|
|
20047
|
+
motion: { shadow: S(0, 2, 6, 0.45) }
|
|
20048
|
+
},
|
|
20049
|
+
// Minimal
|
|
20050
|
+
caption: { filter: "minimal", mode: "line", effect: "caption", face: F("arimo", 400, { italic: true }), size: 0.082, fit: 0.86, ink: "accent", motion: { shadow: S(1, 2, 6, 0.3) } },
|
|
20051
|
+
focus: {
|
|
20052
|
+
filter: "minimal",
|
|
20053
|
+
mode: "word",
|
|
20054
|
+
effect: "focus",
|
|
20055
|
+
face: F("anton", 400),
|
|
20056
|
+
size: 0.16,
|
|
20057
|
+
fit: 0.4,
|
|
20058
|
+
ink: "text",
|
|
20059
|
+
key: { face: F("monoton", 400, { upper: true }), size: 0.17, fit: 0.66, ink: "accent" },
|
|
20060
|
+
aside: F("archivo-black", 400, { upper: true }),
|
|
20061
|
+
motion: { shadow: S(0, 2, 8, 0.45) },
|
|
20062
|
+
glow: 0.35
|
|
20063
|
+
},
|
|
20064
|
+
hush: { filter: "minimal", mode: "word", effect: "hush", face: F("poppins", 700, { upper: true }), size: 0.09, fit: 0.6, ink: "text", motion: { shadow: S(0, 2, 8, 0.25) } },
|
|
20065
|
+
dusk: { filter: "minimal", mode: "word", effect: "dusk", face: F("inter", 300), size: 0.085, fit: 0.55, ink: "accent", motion: { in: { ms: 70, ease: "linear", pose: { opacity: 0 } }, out: { ms: 70, ease: "linear", pose: { opacity: 0 } }, shadow: S(0, 1, 3, 0.35) } },
|
|
20066
|
+
murmur: {
|
|
20067
|
+
filter: "minimal",
|
|
20068
|
+
mode: "word",
|
|
20069
|
+
effect: "murmur",
|
|
20070
|
+
face: F("libre-baskerville", 400, { italic: true }),
|
|
20071
|
+
size: 0.075,
|
|
20072
|
+
fit: 0.7,
|
|
20073
|
+
ink: "accent",
|
|
20074
|
+
aside: F("libre-baskerville", 400, { italic: true }),
|
|
20075
|
+
motion: { out: { ms: 350, ease: "out", pose: { opacity: 0, blur: 4 } }, shadow: S(0, 2, 8, 0.45) }
|
|
20076
|
+
},
|
|
20077
|
+
steel: { filter: "minimal", mode: "word", effect: "steel", face: F("oswald", 700, { upper: true }), size: 0.17, fit: 0.66, ink: "text", motion: {}, blend: "difference" },
|
|
20078
|
+
sway: { filter: "minimal", mode: "line", effect: "sway", face: F("poppins", 700, { upper: true }), size: 0.075, fit: 0.86, ink: "text", motion: { shadow: S(0, 2, 8, 0.4) }, glow: 0.55 }
|
|
20079
|
+
};
|
|
20080
|
+
var SHORT_STYLE_IDS = Object.keys(SHORT_SPECS);
|
|
20081
|
+
var MIXTAPE_FLICKER = [
|
|
20082
|
+
F("anton", 400),
|
|
20083
|
+
F("playfair-display", 800),
|
|
20084
|
+
F("bungee", 400),
|
|
20085
|
+
F("pacifico", 400),
|
|
20086
|
+
F("archivo-black", 400),
|
|
20087
|
+
F("monoton", 400),
|
|
20088
|
+
F("permanent-marker", 400),
|
|
20089
|
+
F("abril-fatface", 400)
|
|
20090
|
+
];
|
|
19796
20091
|
|
|
19797
20092
|
// ../composition/src/lyric-styles.ts
|
|
19798
20093
|
var LYRIC_STAGES = ["showcase", "kinetic"];
|
|
19799
|
-
var LYRIC_LAYOUTS = ["line", "stack", "word", "scatter", "typewriter", "cascade", "subtitle", "chat"];
|
|
20094
|
+
var LYRIC_LAYOUTS = ["line", "stack", "word", "scatter", "typewriter", "cascade", "subtitle", "chat", "short"];
|
|
19800
20095
|
var SHADER_REVEALS = ["burn", "ink", "smoke", "particles", "drip"];
|
|
19801
20096
|
var LYRIC_REVEALS = ["fade", "rise", "pop", "blur", "slide", "drop", "flip", "glitch", "wipe", "type", ...SHADER_REVEALS];
|
|
19802
20097
|
var LYRIC_EXITS = ["fade", "blur", "rise", "scale", "glitch", "cut", ...SHADER_REVEALS];
|
|
@@ -19877,6 +20172,17 @@ var L = (lyrics) => ({
|
|
|
19877
20172
|
var FX = (fx = {}) => ({ shake: 0, zoom: 0, flash: 0, rgb: 0, glitch: 0, ...fx });
|
|
19878
20173
|
var SP = (style = "none", spectrum = {}) => ({ style, placement: "bottom", size: 1, opacity: 0.8, ...spectrum });
|
|
19879
20174
|
var FIN = (finish = {}) => ({ grain: 0, vignette: 0.3, leak: 0, dust: 0, droplets: 0, scanlines: false, letterbox: false, ...finish });
|
|
20175
|
+
var short = (id2, label, description, fx) => ({
|
|
20176
|
+
label,
|
|
20177
|
+
description,
|
|
20178
|
+
lyrics: L({ layout: "short", reveal: "pop", exit: "fade", effect: "none" }),
|
|
20179
|
+
fx,
|
|
20180
|
+
spectrum: SP(),
|
|
20181
|
+
finish: FIN({ vignette: 0.25 }),
|
|
20182
|
+
player: "none",
|
|
20183
|
+
fonts: [SHORT_SPECS[id2].face.font],
|
|
20184
|
+
short: SHORT_SPECS[id2].filter
|
|
20185
|
+
});
|
|
19880
20186
|
var CONDENSED = ["bebas-neue", "anton", "oswald", "barlow-condensed", "big-shoulders-display", "archivo-black", "league-spartan"];
|
|
19881
20187
|
var LYRIC_STYLES = {
|
|
19882
20188
|
showcase: {
|
|
@@ -20204,9 +20510,38 @@ var LYRIC_STYLES = {
|
|
|
20204
20510
|
finish: FIN({ vignette: 0.4 }),
|
|
20205
20511
|
player: "none",
|
|
20206
20512
|
fonts: CONDENSED
|
|
20207
|
-
}
|
|
20513
|
+
},
|
|
20514
|
+
// The Short family: built for 9:16 edits over footage (short-styles.ts holds each one's type and effect).
|
|
20515
|
+
chant: short("chant", "Chant", "The word stacked three times in glowing italic caps.", FX({ zoom: 0.2 })),
|
|
20516
|
+
doodle: short("doodle", "Doodle", "Huge words; the key ones in red with hand-drawn stars and bolts.", FX({ shake: 0.2, zoom: 0.25 })),
|
|
20517
|
+
highlight: short("highlight", "Highlight", "The sung word on a coloured block, the word before it above.", FX()),
|
|
20518
|
+
smear: short("smear", "Smear", "Key words smear in from above, off to one side.", FX()),
|
|
20519
|
+
twin: short("twin", "Twin", "Bold caps pushing each other up; a held key word grows with the last word laid small on top.", FX({ zoom: 0.15 })),
|
|
20520
|
+
marquee: short("marquee", "Marquee", "Heavy caps with a reflection; held words fill the frame in scrolling rows.", FX({ zoom: 0.2 })),
|
|
20521
|
+
gilded: short("gilded", "Gilded", "Italic serif typing in; key words in a warm gradient over their reflection.", FX()),
|
|
20522
|
+
sparkle: short("sparkle", "Sparkle", "Big caps springing in and growing; key words burst into hand-drawn stickers.", FX({ zoom: 0.15 })),
|
|
20523
|
+
flare: short("flare", "Flare", "Bold caps over a streak of light that flares on the beat.", FX()),
|
|
20524
|
+
circuit: short("circuit", "Circuit", "Neon condensed caps that flicker on like a sign.", FX({ rgb: 0.15 })),
|
|
20525
|
+
spark: short("spark", "Spark", "The line in bold caps; the sung word glows.", FX()),
|
|
20526
|
+
loose: short("loose", "Loose", "The line spread across loose rows, plain and lowercase.", FX()),
|
|
20527
|
+
whisper: short("whisper", "Whisper", "Neighbouring words layered: one huge in cyan, the other whispered on top in italics.", FX()),
|
|
20528
|
+
tiles: short("tiles", "Tiles", "A phrase stacked four times down the frame, folding into a ladder; then wide single words.", FX()),
|
|
20529
|
+
nested: short("nested", "Nested", "Slanted heavy caps; red key words rise in with scattered copies of themselves.", FX()),
|
|
20530
|
+
pair: short("pair", "Pair", "Small blackletter words around a wide key word that types in as it is sung.", FX()),
|
|
20531
|
+
tall: short("tall", "Tall", "One white word at a time with a streak behind it; a tall red word under a line.", FX({ zoom: 0.15 })),
|
|
20532
|
+
baton: short("baton", "Baton", "One line at a time rolling up over dimmed footage, cyan and white in turn.", FX()),
|
|
20533
|
+
mixtape: short("mixtape", "Mixtape", "Big stencil caps; key words in rounded cyan that flicker through typefaces.", FX()),
|
|
20534
|
+
trail: short("trail", "Trail", "Small caps that slide in leaving a trail.", FX()),
|
|
20535
|
+
caption: short("caption", "Caption", "A quiet italic line that fills in as it is sung.", FX()),
|
|
20536
|
+
focus: short("focus", "Focus", "Striped neon key words turning slowly; long lines tilt in 3D and stretch tall.", FX({ glitch: 0.15 })),
|
|
20537
|
+
hush: short("hush", "Hush", "Quiet bold caps in warm white, one word at a time.", FX()),
|
|
20538
|
+
dusk: short("dusk", "Dusk", "One light lowercase word at a time, in a warm tint.", FX()),
|
|
20539
|
+
murmur: short("murmur", "Murmur", "Two italic serif words drifting softly.", FX()),
|
|
20540
|
+
steel: short("steel", "Steel", "Condensed caps in brushed metal.", FX({ glitch: 0.2 })),
|
|
20541
|
+
sway: short("sway", "Sway", "The line in bold caps; the sung word lights up.", FX())
|
|
20208
20542
|
};
|
|
20209
20543
|
var LYRIC_STYLE_IDS = Object.keys(LYRIC_STYLES);
|
|
20544
|
+
var SHORT_FAMILY = LYRIC_STYLE_IDS.filter((id2) => LYRIC_STYLES[id2].short);
|
|
20210
20545
|
function styleParts(id2) {
|
|
20211
20546
|
const s = LYRIC_STYLES[id2];
|
|
20212
20547
|
return { style: id2, lyrics: { ...s.lyrics }, fx: { ...s.fx }, spectrum: { ...s.spectrum }, finish: { ...s.finish }, player: s.player, hero: s.hero ?? "none" };
|
|
@@ -20236,7 +20571,7 @@ var TypeRoleSchema = external_exports.object({
|
|
|
20236
20571
|
// em
|
|
20237
20572
|
}).strict();
|
|
20238
20573
|
var ShotSchema = external_exports.object({
|
|
20239
|
-
engine: external_exports.enum(
|
|
20574
|
+
engine: external_exports.enum(VISUALIZER_ENGINE_IDS),
|
|
20240
20575
|
preset_id: external_exports.string().min(1).max(120),
|
|
20241
20576
|
overrides: external_exports.record(external_exports.string(), external_exports.union([external_exports.string(), external_exports.number(), external_exports.boolean()])).default({}),
|
|
20242
20577
|
camera: external_exports.enum(["still", "drift", "push", "pull", "orbit", "roll"]),
|
|
@@ -20295,6 +20630,11 @@ var BackgroundSchema = external_exports.discriminatedUnion("kind", [
|
|
|
20295
20630
|
ink: hex3,
|
|
20296
20631
|
scale: external_exports.number().min(0.5).max(3),
|
|
20297
20632
|
motion: external_exports.enum(["still", "drift", "spin"])
|
|
20633
|
+
}).strict(),
|
|
20634
|
+
// No picture: the visualizer fills the frame behind the lyrics and cards, over this dark ground.
|
|
20635
|
+
external_exports.object({
|
|
20636
|
+
kind: external_exports.literal("visualizer"),
|
|
20637
|
+
ground: hex3
|
|
20298
20638
|
}).strict()
|
|
20299
20639
|
]);
|
|
20300
20640
|
var LookSpecSchema = external_exports.object({
|
|
@@ -20326,7 +20666,8 @@ var LookSpecSchema = external_exports.object({
|
|
|
20326
20666
|
overlay: external_exports.object({ kind: external_exports.enum(OVERLAYS), density: external_exports.number().min(0).max(1) }).strict(),
|
|
20327
20667
|
visualizer: external_exports.object({
|
|
20328
20668
|
blend: external_exports.enum(["screen", "lighten", "normal"]),
|
|
20329
|
-
|
|
20669
|
+
// 0 = none: the picture alone (over a picture each visual is also capped at its own measured maximum).
|
|
20670
|
+
intensity: external_exports.number().min(0).max(1),
|
|
20330
20671
|
shots: external_exports.object(Object.fromEntries(SECTION_TYPES.map((t) => [t, ShotSchema]))).strict()
|
|
20331
20672
|
}).strict(),
|
|
20332
20673
|
motion: external_exports.object({
|
|
@@ -20429,6 +20770,15 @@ var OutroDesignSchema = external_exports.object({
|
|
|
20429
20770
|
}).strict();
|
|
20430
20771
|
var OutroDisplaySchema = DisplaySchema.omit({ lyrics: true, headline: true });
|
|
20431
20772
|
|
|
20773
|
+
// ../composition/src/visualizers/choice-schema.ts
|
|
20774
|
+
var VisualKeySchema = external_exports.string().regex(/^[A-Za-z0-9-]+\/[a-z0-9-]+$/, 'A visual key from GET /v1/options (visualizers), like "liquid/amber-aurora"');
|
|
20775
|
+
var VisualChoiceSchema = external_exports.object({
|
|
20776
|
+
/** The visual for the whole song, or "none" (no visual at all). */
|
|
20777
|
+
preset: external_exports.union([external_exports.literal("none"), VisualKeySchema]),
|
|
20778
|
+
/** Another visual for some sections (intro, verse, chorus, bridge, drop, outro). */
|
|
20779
|
+
sections: external_exports.partialRecord(external_exports.enum(SECTION_TYPES), VisualKeySchema).optional()
|
|
20780
|
+
}).strict();
|
|
20781
|
+
|
|
20432
20782
|
// ../video-types/src/kit.ts
|
|
20433
20783
|
var KIT_KINDS = ["outfit", "place", "prop"];
|
|
20434
20784
|
var KIT_ANGLES = ["three-quarter", "side", "low"];
|
|
@@ -20581,7 +20931,9 @@ var TrimSchema = external_exports.object({
|
|
|
20581
20931
|
start_seconds: external_exports.number().min(0),
|
|
20582
20932
|
end_seconds: external_exports.number().positive()
|
|
20583
20933
|
}).strict().refine((v) => v.end_seconds > v.start_seconds, { message: "end_seconds must be greater than start_seconds" }).refine((v) => v.end_seconds - v.start_seconds >= MIN_TRIM_SECONDS - 1e-6, { message: `The trimmed section must be at least ${MIN_TRIM_SECONDS} seconds` });
|
|
20584
|
-
var
|
|
20934
|
+
var FREE_VIDEO_MAX_SECONDS = 60;
|
|
20935
|
+
var FREE_VIDEO_RULE = `Your free video is one lyric video of your free song, up to ${FREE_VIDEO_MAX_SECONDS} seconds of it, with a Look from the library, in one format.`;
|
|
20936
|
+
var BACKGROUND_SOURCE_IDS = ["ai-image", "ai-video", "stock-photo", "stock-video", "upload-photo", "upload-video", "designed", "visualizer"];
|
|
20585
20937
|
var MEDIA_BACKGROUND_SOURCES = ["ai-image", "ai-video", "stock-photo", "stock-video", "upload-photo", "upload-video"];
|
|
20586
20938
|
var BACKGROUND_SOURCES2 = {
|
|
20587
20939
|
"ai-image": { label: "AI image", description: "An image made for this Look, moving slowly across the song.", kind: "image", source: "generated" },
|
|
@@ -20590,7 +20942,8 @@ var BACKGROUND_SOURCES2 = {
|
|
|
20590
20942
|
"stock-video": { label: "Stock video", description: "A stock clip made into a seamless loop.", kind: "video", source: "stock" },
|
|
20591
20943
|
"upload-photo": { label: "Your photo", description: "A photo you upload, moving slowly across the song.", kind: "image", source: "upload" },
|
|
20592
20944
|
"upload-video": { label: "Your video", description: "A clip you upload, made into a seamless loop.", kind: "video", source: "upload" },
|
|
20593
|
-
designed: { label: "Designed", description: "A moving gradient or pattern the director designs
|
|
20945
|
+
designed: { label: "Designed", description: "A moving gradient or pattern the director designs for your song.", kind: null, source: null },
|
|
20946
|
+
visualizer: { label: "Visualizer", description: "No picture: a visual that moves with your music fills the frame behind the words.", kind: null, source: null }
|
|
20594
20947
|
};
|
|
20595
20948
|
var MAX_BACKGROUND_SCENES = 4;
|
|
20596
20949
|
var SINGLE_SCENE_STYLES = ["behind", "screen"];
|
|
@@ -20621,7 +20974,7 @@ var UploadCreateSchema = external_exports.object({
|
|
|
20621
20974
|
size_bytes: external_exports.number().int().min(1).max(UPLOAD_MAX_BYTES)
|
|
20622
20975
|
}).strict();
|
|
20623
20976
|
var isUploadSource = (source) => BACKGROUND_SOURCES2[source].source === "upload";
|
|
20624
|
-
var backgroundSourcesFor = (category) => categoryUsesImages(category) ? [...MEDIA_BACKGROUND_SOURCES, "designed"] : ["designed", ...MEDIA_BACKGROUND_SOURCES];
|
|
20977
|
+
var backgroundSourcesFor = (category) => categoryUsesImages(category) ? [...MEDIA_BACKGROUND_SOURCES, "designed", "visualizer"] : ["designed", ...MEDIA_BACKGROUND_SOURCES, "visualizer"];
|
|
20625
20978
|
var backgroundSourceFor = (category, background) => background.source ?? backgroundSourcesFor(category)[0];
|
|
20626
20979
|
var LOOK_FEATURE_ARTIST_MODES = ["never", "always"];
|
|
20627
20980
|
var CANVAS_FEATURE_ARTIST_MODES = ["auto", "always", "never"];
|
|
@@ -20633,9 +20986,11 @@ var LookRequestSchema = external_exports.discriminatedUnion("mode", [
|
|
|
20633
20986
|
visibility: external_exports.enum(["private", "public"]).default("private"),
|
|
20634
20987
|
direction: external_exports.string().trim().max(2e3).optional(),
|
|
20635
20988
|
feature_artist: external_exports.enum(LOOK_FEATURE_ARTIST_MODES).default("never"),
|
|
20636
|
-
lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional()
|
|
20989
|
+
lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional(),
|
|
20990
|
+
/** The visual the person picked (GET /v1/options visualizers); omitted: the director picks one per section. */
|
|
20991
|
+
visual: VisualChoiceSchema.optional()
|
|
20637
20992
|
}).strict(),
|
|
20638
|
-
external_exports.object({ mode: external_exports.literal("existing"), id: external_exports.string().min(1).max(120), lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional() }).strict()
|
|
20993
|
+
external_exports.object({ mode: external_exports.literal("existing"), id: external_exports.string().min(1).max(120), lyric_style: external_exports.enum(LYRIC_STYLE_IDS).optional(), visual: VisualChoiceSchema.optional() }).strict()
|
|
20639
20994
|
]);
|
|
20640
20995
|
var common = {
|
|
20641
20996
|
song_id: external_exports.string().min(1).max(120),
|
|
@@ -20688,8 +21043,8 @@ var CANVAS_MIN_SECONDS = 5;
|
|
|
20688
21043
|
var CANVAS_MAX_SECONDS = 8;
|
|
20689
21044
|
var CANVAS_SOURCE_IDS = ["ai-video", "ai-image", "stock-photo", "stock-video"];
|
|
20690
21045
|
var CANVAS_SOURCES = {
|
|
20691
|
-
"ai-video": { label: "AI video", description: "An image made
|
|
20692
|
-
"ai-image": { label: "AI image", description: "An image made
|
|
21046
|
+
"ai-video": { label: "AI video", description: "An image made for your song, brought to life by a video model.", kind: "video", source: "generated" },
|
|
21047
|
+
"ai-image": { label: "AI image", description: "An image made for your song, moved by our motion model.", kind: "image", source: "generated" },
|
|
20693
21048
|
"stock-photo": { label: "Stock photo", description: "A stock photo moved by our motion model.", kind: "image", source: "stock" },
|
|
20694
21049
|
"stock-video": { label: "Stock video", description: "A stock clip cut into a seamless loop.", kind: "video", source: "stock" }
|
|
20695
21050
|
};
|
|
@@ -21017,6 +21372,7 @@ var SCOPE_DESCRIPTIONS = {
|
|
|
21017
21372
|
"organizations:read": "See the workspaces you belong to",
|
|
21018
21373
|
"organizations:write": "Create workspaces you own, and rename or switch the type of one you own or run"
|
|
21019
21374
|
};
|
|
21375
|
+
var ARTIST_LINK_KINDS = ["apple_music", "spotify", "youtube", "instagram", "tiktok", "website"];
|
|
21020
21376
|
var id = (what) => external_exports.string().min(1).max(120).describe(`The ${what} id`);
|
|
21021
21377
|
var songId = id("song");
|
|
21022
21378
|
var artistId = id("artist");
|
|
@@ -21068,7 +21424,7 @@ var lyricInput = external_exports.object({
|
|
|
21068
21424
|
song_id: songId,
|
|
21069
21425
|
callback_url: CALLBACK,
|
|
21070
21426
|
metadata: METADATA,
|
|
21071
|
-
look: lyricShape.look.describe(`{"mode":"existing","id":"look_\u2026"} to reuse a saved Look (add "lyric_style" to render it in another lyric style, at no extra cost), or {"mode":"new","category":"\u2026","lyric_style":"\u2026","background":{"source":"ai-image","quality":"high"},"visibility":"private","direction":"\u2026"} to have one designed (any category takes any background.source, "designed" being a free moving gradient the director draws; background.source "upload-photo"/"upload-video" with background.upload_id from upload_background designs it around your own media; such a Look stays private. "stock-photo"/"stock-video" with background.stock_id from search_stock uses that stock photo or clip instead of the director's pick). lyric_style (optional, from get_options) sets how the lyrics are presented and animated: block-stack, punch, player, neon, terminal, cinematic\u2026 Omit it and the director picks one. background.scenes (2\u20134, AI image only) makes that many shots of the same world that cut on the song's sections, each priced like the first. background.references "stock" (AI image or AI video, default "none") with feature_artist "always" makes the background one real stock photo of a place the director picks, with the artist put into it and restyled a little for the Look; no extra cost. The singer is left out unless asked: feature_artist "always" (default "never") makes them the subject of the background, recognizable from their character (list_characters; start_character makes one); it needs an AI image or AI video background, a private Look and display.cover false (the cover would hide them), and that Look then only serves this artist's songs. A saved Look that shows an artist (featured_artist) only serves that artist's songs, also with display.cover false`),
|
|
21427
|
+
look: lyricShape.look.describe(`{"mode":"existing","id":"look_\u2026"} to reuse a saved Look (add "lyric_style" to render it in another lyric style, at no extra cost), or {"mode":"new","category":"\u2026","lyric_style":"\u2026","background":{"source":"ai-image","quality":"high"},"visibility":"private","direction":"\u2026"} to have one designed (any category takes any background.source, "designed" being a free moving gradient the director draws; background.source "upload-photo"/"upload-video" with background.upload_id from upload_background designs it around your own media; such a Look stays private. "stock-photo"/"stock-video" with background.stock_id from search_stock uses that stock photo or clip instead of the director's pick). lyric_style (optional, from get_options) sets how the lyrics are presented and animated: block-stack, punch, player, neon, terminal, cinematic\u2026 Omit it and the director picks one. visual (both modes, optional) picks the visual that moves with the music: {"preset":"liquid/amber-aurora"} for the whole song, "sections":{"chorus":"\u2026"} for some sections, or {"preset":"none"} for no visual; keys from get_options visualizers.presets; omit it and the director picks per section. background.source "visualizer" has no picture: the visual fills the frame behind the words (free). background.scenes (2\u20134, AI image only) makes that many shots of the same world that cut on the song's sections, each priced like the first. background.references "stock" (AI image or AI video, default "none") with feature_artist "always" makes the background one real stock photo of a place the director picks, with the artist put into it and restyled a little for the Look; no extra cost. The singer is left out unless asked: feature_artist "always" (default "never") makes them the subject of the background, recognizable from their character (list_characters; start_character makes one); it needs an AI image or AI video background, a private Look and display.cover false (the cover would hide them), and that Look then only serves this artist's songs. A saved Look that shows an artist (featured_artist) only serves that artist's songs, also with display.cover false`),
|
|
21072
21428
|
aspect_ratios: lyricShape.aspect_ratios.describe('Formats to render, each its own file: "9:16" (vertical), "16:9" (wide), "1:1" (square)'),
|
|
21073
21429
|
display: lyricShape.display.describe("Which elements show (title, artist, cover, lyrics, badges, headline) and their sizes. cover must be false to show the artist in the background"),
|
|
21074
21430
|
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)"),
|
|
@@ -21301,7 +21657,7 @@ var OPERATIONS = [
|
|
|
21301
21657
|
group: "account",
|
|
21302
21658
|
title: "Get the account",
|
|
21303
21659
|
summary: "Who you are signed in as, the organization (workspace) and its credit balance",
|
|
21304
|
-
description: "Returns the organization the credentials act for (the workspace, as the app calls it; type artist holds one artist, label a roster, creator projects), how they authenticate and their scopes, the credit balance (available, monthly, top-ups) and its plan, if any: active says whether it lets the workspace create (without an active plan, creating answers 402 plan_required), storage (used_bytes against limit_bytes: an upload or new video that does not fit answers 402 storage_full, and deleting videos or archiving songs frees space at once), where it is billed, when the period ends, and a downgrade or interval switch waiting for the renewal as scheduled_change. Without a plan, free_song says where the person's one free song stands (signed in as them, never with an API key, where it is null, as it is with a plan): available (upload one song now, with create_song; it plays in the Looks), unverified (they confirm their email first), used (its song_id and title, and video: available true while its one free video is still to make, video_id once it is) or taken (it went to another workspace or account). The free video is a lyric video of the free song with an existing Look (look.mode existing) in one aspect ratio, quoted and created as usual: it holds no credits; anything else answers 402 plan_required. Monthly credits reset every month; top-ups never expire. On the organization, " + IMAGE_FALLBACK + " Check it before creating anything.",
|
|
21660
|
+
description: "Returns the organization the credentials act for (the workspace, as the app calls it; type artist holds one artist, label a roster, creator projects), how they authenticate and their scopes, the credit balance (available, monthly, top-ups) and its plan, if any: active says whether it lets the workspace create (without an active plan, creating answers 402 plan_required), storage (used_bytes against limit_bytes: an upload or new video that does not fit answers 402 storage_full, and deleting videos or archiving songs frees space at once), where it is billed, when the period ends, and a downgrade or interval switch waiting for the renewal as scheduled_change. Without a plan, free_song says where the person's one free song stands (signed in as them, never with an API key, where it is null, as it is with a plan): available (upload one song now, with create_song; it plays in the Looks), unverified (they confirm their email first), used (its song_id and title, and video: available true while its one free video is still to make, video_id once it is) or taken (it went to another workspace or account). The free video is a lyric video of the free song with an existing Look (look.mode existing) in one aspect ratio, of at most " + FREE_VIDEO_MAX_SECONDS + " seconds of it (a trim: a part of a longer song), quoted and created as usual: it holds no credits; anything else answers 402 plan_required. Monthly credits reset every month; top-ups never expire. On the organization, " + IMAGE_FALLBACK + " Check it before creating anything.",
|
|
21305
21661
|
method: "GET",
|
|
21306
21662
|
path: "/api/v1/account",
|
|
21307
21663
|
scopes: ["videos:read", "music:read", "library:read"],
|
|
@@ -21339,7 +21695,7 @@ var OPERATIONS = [
|
|
|
21339
21695
|
group: "account",
|
|
21340
21696
|
title: "List the options",
|
|
21341
21697
|
summary: "Video types, Look categories, background sources, formats and the current credit prices",
|
|
21342
|
-
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). Use it to pick a category or source and to explain prices.",
|
|
21698
|
+
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, by how its Look is made (saved_look, new_look, new_look_ai_video), and clips: the same for the parts of a song people post (seconds: 15, 30, 60). Use it to pick a category or source and to explain prices.",
|
|
21343
21699
|
method: "GET",
|
|
21344
21700
|
path: "/api/v1/options",
|
|
21345
21701
|
scopes: ["videos:read", "music:read", "library:read"],
|
|
@@ -21459,18 +21815,59 @@ var OPERATIONS = [
|
|
|
21459
21815
|
{
|
|
21460
21816
|
id: "artists.update",
|
|
21461
21817
|
group: "artists",
|
|
21462
|
-
title: "
|
|
21463
|
-
summary: "
|
|
21464
|
-
description: "",
|
|
21818
|
+
title: "Change an artist",
|
|
21819
|
+
summary: "Rename an artist, or set their catalog profile, Spotify id and links",
|
|
21820
|
+
description: "Send only what changes. catalog_artist_id: their profile in the music catalog (find_artist_in_catalog; link_artist does the same), null unlinks. spotify_artist_id: their Spotify artist id or open.spotify.com link. links: their pages, shown on their artist page: apple_music, spotify, youtube, instagram, tiktok (https links to that site) and website (any https link); a link set to null is removed, the others are kept.",
|
|
21465
21821
|
method: "PATCH",
|
|
21466
21822
|
path: "/api/v1/artists/{artist_id}",
|
|
21467
21823
|
scopes: ["music:write", "videos:write"],
|
|
21468
|
-
input: external_exports.object({
|
|
21824
|
+
input: external_exports.object({
|
|
21825
|
+
artist_id: artistId,
|
|
21826
|
+
name: external_exports.string().trim().min(1).max(200).optional().describe("The new name"),
|
|
21827
|
+
catalog_artist_id: external_exports.string().regex(/^\d{1,15}$/).nullable().optional().describe("Their catalog profile id (find_artist_in_catalog), or null to unlink"),
|
|
21828
|
+
spotify_artist_id: external_exports.string().max(200).nullable().optional().describe("Their Spotify artist id or open.spotify.com/artist link, or null"),
|
|
21829
|
+
links: external_exports.record(external_exports.enum(ARTIST_LINK_KINDS), external_exports.string().max(500).nullable()).optional().describe("Their pages by site: apple_music, spotify, youtube, instagram, tiktok, website (https); null removes one")
|
|
21830
|
+
}),
|
|
21469
21831
|
readOnly: false,
|
|
21470
21832
|
destructive: false,
|
|
21471
21833
|
idempotent: true,
|
|
21472
21834
|
cli: ["artists", "rename"],
|
|
21473
|
-
mcp: "rename_artist"
|
|
21835
|
+
mcp: "rename_artist",
|
|
21836
|
+
example: { artist_id: "artist_\u2026", links: { instagram: "https://www.instagram.com/novalane" } }
|
|
21837
|
+
},
|
|
21838
|
+
{
|
|
21839
|
+
id: "artists.find_in_catalog",
|
|
21840
|
+
group: "artists",
|
|
21841
|
+
title: "Find an artist\u2019s released songs",
|
|
21842
|
+
summary: "Search the music catalog for an artist by name, to link their released songs",
|
|
21843
|
+
description: "The public music catalog (Apple Music\u2019s; no account or login): each match with its id, name, song_count, newest_release and up to five covers of their releases (picture_url, covers), so the user can tell which profile is theirs. Search by the full name they release under (partial names often miss), or pass their Apple Music artist link. Then link_artist with the id the user confirms. Only for the user\u2019s own music: they must own or have the rights to the songs they bring in.",
|
|
21844
|
+
method: "GET",
|
|
21845
|
+
path: "/api/v1/catalog/artists",
|
|
21846
|
+
scopes: ["music:read", "videos:read"],
|
|
21847
|
+
input: external_exports.object({ q: external_exports.string().trim().min(1).max(200).describe("The artist name, or their Apple Music artist link") }),
|
|
21848
|
+
readOnly: true,
|
|
21849
|
+
destructive: false,
|
|
21850
|
+
idempotent: true,
|
|
21851
|
+
cli: ["artists", "find"],
|
|
21852
|
+
mcp: "find_artist_in_catalog",
|
|
21853
|
+
example: { q: "Nina Kazora" }
|
|
21854
|
+
},
|
|
21855
|
+
{
|
|
21856
|
+
id: "artists.link",
|
|
21857
|
+
group: "artists",
|
|
21858
|
+
title: "Link an artist to their released songs",
|
|
21859
|
+
summary: "Set the artist\u2019s catalog profile, once: their released songs are then listed to import",
|
|
21860
|
+
description: "catalog_artist_id from find_artist_in_catalog, confirmed by the user. Also sets their Apple Music link (links.apple_music) unless one is set. Linking again replaces it; unlink with update_artist catalog_artist_id null. Then list_released_songs and import_songs.",
|
|
21861
|
+
method: "POST",
|
|
21862
|
+
path: "/api/v1/artists/{artist_id}/catalog",
|
|
21863
|
+
scopes: ["music:write", "videos:write"],
|
|
21864
|
+
input: external_exports.object({ artist_id: artistId, catalog_artist_id: external_exports.string().regex(/^\d{1,15}$/).describe("Their catalog profile id (find_artist_in_catalog)") }),
|
|
21865
|
+
readOnly: false,
|
|
21866
|
+
destructive: false,
|
|
21867
|
+
idempotent: true,
|
|
21868
|
+
cli: ["artists", "link"],
|
|
21869
|
+
mcp: "link_artist",
|
|
21870
|
+
example: { artist_id: "artist_\u2026", catalog_artist_id: "6803333408" }
|
|
21474
21871
|
},
|
|
21475
21872
|
{
|
|
21476
21873
|
id: "artists.archive",
|
|
@@ -21874,13 +22271,13 @@ var OPERATIONS = [
|
|
|
21874
22271
|
group: "songs",
|
|
21875
22272
|
title: "Upload a song",
|
|
21876
22273
|
summary: "Add a song: master audio, and square cover art if it has one",
|
|
21877
|
-
description: `Audio: MP3, WAV or M4A up to 250 MB. Cover (optional): a square JPEG or PNG, 1000\u20136000 px (3000\xD73000 recommended), up to 20 MB; it is kept at 1536, 640 and 160 px, not as uploaded. Without one the song has no cover (cover_art null) and every video still works; set_song_cover adds one later. The song is analyzed next (lyrics, beats, sections): poll get_song until analysis.status is "ready", usually about a minute. Pass lyrics (or set them later with set_song_lyrics) to have the videos spell every word right. ${NEEDS_PLAN}`,
|
|
22274
|
+
description: `Audio: MP3, WAV or M4A up to 250 MB. Cover (optional): a square JPEG or PNG, 1000\u20136000 px (3000\xD73000 recommended), up to 20 MB; it is kept at 1536, 640 and 160 px, not as uploaded. Without one the song has no cover (cover_art null) and every video still works; set_song_cover adds one later. The song is analyzed next (lyrics, beats, sections): poll get_song until analysis.status is "ready", usually about a minute. Pass lyrics (or set them later with set_song_lyrics) to have the videos spell every word right. The file\u2019s tags fill what is left out: its title, ISRC, embedded lyrics and embedded cover (a square one, 1000 px or more). The same song already in the workspace (the same audio file, or the same ISRC) is refused with 409, code duplicate, and its song_id. A released song of a linked artist can be imported instead of uploaded (import_songs). ${NEEDS_PLAN}`,
|
|
21878
22275
|
method: "POST",
|
|
21879
22276
|
path: "/api/v1/songs",
|
|
21880
22277
|
scopes: ["music:write", "videos:write"],
|
|
21881
22278
|
input: external_exports.object({
|
|
21882
22279
|
artist_id: artistId.optional().describe("The artist id. An artist workspace may leave it out: its songs are its artist's"),
|
|
21883
|
-
title: external_exports.string().trim().min(1).max(300).describe("The song title"),
|
|
22280
|
+
title: external_exports.string().trim().min(1).max(300).optional().describe("The song title; left out, the file\u2019s title tag, then its file name"),
|
|
21884
22281
|
language: external_exports.string().regex(/^[a-z]{2,3}$/).optional().describe('Lyrics language (ISO 639-1, e.g. "en"); detected when omitted'),
|
|
21885
22282
|
audio_url: httpsUrl("the master audio").optional(),
|
|
21886
22283
|
cover_art_url: httpsUrl("the square cover art").optional().describe("Optional: a public https URL of the square cover art (a file on your computer: create_upload's file_url, or upload it with the CLI). Leave it out for a song without cover art"),
|
|
@@ -21898,6 +22295,104 @@ var OPERATIONS = [
|
|
|
21898
22295
|
cli: ["songs", "create"],
|
|
21899
22296
|
mcp: "create_song"
|
|
21900
22297
|
},
|
|
22298
|
+
{
|
|
22299
|
+
id: "songs.list_released",
|
|
22300
|
+
group: "songs",
|
|
22301
|
+
title: "List an artist\u2019s released songs",
|
|
22302
|
+
summary: "The linked artist\u2019s songs in the music catalog, each saying whether it is already in Kinetune",
|
|
22303
|
+
description: "Newest release first; an EP or album\u2019s tracks in order. Each has id (the track_id to import), title, release (name, kind single, ep or album, date; a date of null is announced, not out yet), track_number, duration_seconds, cover_url (up to 3000 px), song_id when it is already in the workspace (uploaded or imported) and import while it is being imported (status, error). q narrows them to a title or release. The artist must be linked first (409 artist_not_linked: find_artist_in_catalog, then link_artist).",
|
|
22304
|
+
method: "GET",
|
|
22305
|
+
path: "/api/v1/artists/{artist_id}/releases",
|
|
22306
|
+
scopes: ["music:read", "videos:read"],
|
|
22307
|
+
input: external_exports.object({ artist_id: artistId, q: external_exports.string().max(100).optional().describe("Part of a title or release name") }),
|
|
22308
|
+
readOnly: true,
|
|
22309
|
+
destructive: false,
|
|
22310
|
+
idempotent: true,
|
|
22311
|
+
cli: ["songs", "released"],
|
|
22312
|
+
mcp: "list_released_songs"
|
|
22313
|
+
},
|
|
22314
|
+
{
|
|
22315
|
+
id: "songs.import",
|
|
22316
|
+
group: "songs",
|
|
22317
|
+
title: "Import released songs",
|
|
22318
|
+
summary: "Bring in released songs of a linked artist by their track ids, without uploading",
|
|
22319
|
+
description: `Each track (list_released_songs: id) becomes an import: Kinetune fetches the song\u2019s audio (about half a minute each), then the song is made with the release\u2019s title and cover and analyzed like an upload; poll get_song_import or list_song_imports (status queued, fetching, done with song_id, or failed with why). A song we can\u2019t fetch fails, and the user adds the file to it instead (add_song_import_audio). Songs already in the workspace or being imported are skipped (skipped: track_id and reason). Up to 50 at once, and a daily number per workspace (429 daily_limit). Only the user\u2019s own songs: confirm they own or have the rights to them. ${NEEDS_PLAN} Without a plan, the user\u2019s free song covers one import.`,
|
|
22320
|
+
method: "POST",
|
|
22321
|
+
path: "/api/v1/song-imports",
|
|
22322
|
+
scopes: ["music:write", "videos:write"],
|
|
22323
|
+
input: external_exports.object({ artist_id: artistId, track_ids: external_exports.array(external_exports.string().regex(/^\d{1,15}$/)).min(1).max(50).describe("The released songs\u2019 ids (list_released_songs)") }),
|
|
22324
|
+
readOnly: false,
|
|
22325
|
+
destructive: false,
|
|
22326
|
+
idempotent: false,
|
|
22327
|
+
cli: ["songs", "import"],
|
|
22328
|
+
mcp: "import_songs",
|
|
22329
|
+
example: { artist_id: "artist_\u2026", track_ids: ["6817595861", "6816549264"] }
|
|
22330
|
+
},
|
|
22331
|
+
{
|
|
22332
|
+
id: "imports.list",
|
|
22333
|
+
group: "songs",
|
|
22334
|
+
title: "List song imports",
|
|
22335
|
+
summary: "Released songs being imported, failed ones waiting for a file, and today\u2019s done ones",
|
|
22336
|
+
description: "Newest first. status: queued, fetching, done (song_id: the song made) or failed (error says why; add_song_import_audio with the file, or cancel_song_import).",
|
|
22337
|
+
method: "GET",
|
|
22338
|
+
path: "/api/v1/song-imports",
|
|
22339
|
+
scopes: ["music:read", "videos:read"],
|
|
22340
|
+
input: external_exports.object({ artist_id: artistId.optional().describe("Only this artist\u2019s imports"), status: external_exports.enum(["queued", "fetching", "failed", "done"]).optional().describe("Only imports with this status") }),
|
|
22341
|
+
readOnly: true,
|
|
22342
|
+
destructive: false,
|
|
22343
|
+
idempotent: true,
|
|
22344
|
+
cli: ["songs", "imports"],
|
|
22345
|
+
mcp: "list_song_imports"
|
|
22346
|
+
},
|
|
22347
|
+
{
|
|
22348
|
+
id: "imports.get",
|
|
22349
|
+
group: "songs",
|
|
22350
|
+
title: "Get a song import",
|
|
22351
|
+
summary: "One import: queued, fetching, done (with its song) or failed (and why)",
|
|
22352
|
+
description: "",
|
|
22353
|
+
method: "GET",
|
|
22354
|
+
path: "/api/v1/song-imports/{import_id}",
|
|
22355
|
+
scopes: ["music:read", "videos:read"],
|
|
22356
|
+
input: external_exports.object({ import_id: external_exports.string().min(1).max(120).describe("The import id (import_\u2026)") }),
|
|
22357
|
+
readOnly: true,
|
|
22358
|
+
destructive: false,
|
|
22359
|
+
idempotent: true,
|
|
22360
|
+
cli: ["songs", "import-status"],
|
|
22361
|
+
mcp: "get_song_import"
|
|
22362
|
+
},
|
|
22363
|
+
{
|
|
22364
|
+
id: "imports.add_audio",
|
|
22365
|
+
group: "songs",
|
|
22366
|
+
title: "Add the file to a song import",
|
|
22367
|
+
summary: "Give the audio of a released song Kinetune couldn\u2019t fetch",
|
|
22368
|
+
description: "The song is made from the file with the release\u2019s title and cover (MP3, WAV or M4A up to 250 MB), and analyzed. For a failed import (or one still queued).",
|
|
22369
|
+
method: "POST",
|
|
22370
|
+
path: "/api/v1/song-imports/{import_id}/audio",
|
|
22371
|
+
scopes: ["music:write", "videos:write"],
|
|
22372
|
+
input: external_exports.object({ import_id: external_exports.string().min(1).max(120).describe("The import id (import_\u2026)"), audio_url: httpsUrl("the song\u2019s audio").optional() }),
|
|
22373
|
+
files: [{ field: "audio", urlField: "audio_url", accept: ["audio/mpeg", "audio/wav", "audio/mp4"], description: "The song\u2019s audio (MP3, WAV or M4A)" }],
|
|
22374
|
+
readOnly: false,
|
|
22375
|
+
destructive: false,
|
|
22376
|
+
idempotent: false,
|
|
22377
|
+
cli: ["songs", "import-audio"],
|
|
22378
|
+
mcp: "add_song_import_audio"
|
|
22379
|
+
},
|
|
22380
|
+
{
|
|
22381
|
+
id: "imports.cancel",
|
|
22382
|
+
group: "songs",
|
|
22383
|
+
title: "Let a song import go",
|
|
22384
|
+
summary: "Remove a failed (or queued) import from the list",
|
|
22385
|
+
description: "Its song isn\u2019t made; it can be imported again later.",
|
|
22386
|
+
method: "DELETE",
|
|
22387
|
+
path: "/api/v1/song-imports/{import_id}",
|
|
22388
|
+
scopes: ["music:write", "videos:write"],
|
|
22389
|
+
input: external_exports.object({ import_id: external_exports.string().min(1).max(120).describe("The import id (import_\u2026)") }),
|
|
22390
|
+
readOnly: false,
|
|
22391
|
+
destructive: true,
|
|
22392
|
+
idempotent: true,
|
|
22393
|
+
cli: ["songs", "import-cancel"],
|
|
22394
|
+
mcp: "cancel_song_import"
|
|
22395
|
+
},
|
|
21901
22396
|
{
|
|
21902
22397
|
id: "songs.get",
|
|
21903
22398
|
group: "songs",
|
|
@@ -21989,7 +22484,7 @@ var OPERATIONS = [
|
|
|
21989
22484
|
group: "songs",
|
|
21990
22485
|
title: "Make covers",
|
|
21991
22486
|
summary: "Kinetune\u2019s cover art director makes 1 to 4 covers for a song, each a different idea",
|
|
21992
|
-
description: `The director reads the song (its meaning, never a lyric drawn literally), the user's choices and the artist's character, and the image model draws each cover; each is checked (no letters in the picture, reads as a thumbnail) and kept on the song (list_song_covers) as it is drawn, in about a minute. Only covers that pass are charged; the song keeps its cover until the user picks one (use_cover). style: how it is made (auto: the director picks); vibes: up to ${COVER_VIBES_MAX} moods (dark, sad, hood, luxury\u2026); artist: auto (the director decides), always (needs their character), never; idea: the user's own words; words: none, title, or artist_title, lettered into the cover in the artist's typeface and read back letter by letter, always spelled as the song (the type style needs words); look: overrides the artist's colours and typeface. Ask the user for their choices rather than guessing, and quote first (quote_cover): credits must match. Needs a paid plan (402 plan_required) and an analysed song (409 song_not_ready); one round per song at a time (409 covers_in_progress).`,
|
|
22487
|
+
description: `The director reads the song (its meaning, never a lyric drawn literally), the user's choices and the artist's character, and the image model draws each cover; each is checked (no letters in the picture, reads as a thumbnail) and kept on the song (list_song_covers) as it is drawn, in about a minute. Only covers that pass are charged; the song keeps its cover until the user picks one (use_cover). style: how it is made (auto: the director picks); vibes: up to ${COVER_VIBES_MAX} moods (dark, sad, hood, luxury\u2026); artist: auto (the director decides), always (needs their character), never; when the song is about two people (a love song, a duet) the director may show the other person beside the artist, partly or fully, always an invented person, never a real likeness (never with artist never); idea: the user's own words; words: none, title, or artist_title, lettered into the cover in the artist's typeface and read back letter by letter, always spelled as the song (the type style needs words); look: overrides the artist's colours and typeface. Ask the user for their choices rather than guessing, and quote first (quote_cover): credits must match. Needs a paid plan (402 plan_required) and an analysed song (409 song_not_ready); one round per song at a time (409 covers_in_progress).`,
|
|
21993
22488
|
method: "POST",
|
|
21994
22489
|
path: "/api/v1/cover-requests",
|
|
21995
22490
|
scopes: ["music:write", "videos:write"],
|
|
@@ -21998,7 +22493,7 @@ var OPERATIONS = [
|
|
|
21998
22493
|
count: external_exports.number().int().min(COVER_COUNT.min).max(COVER_COUNT.max).optional().describe("How many covers, each a different idea (1 to 4, default 1)"),
|
|
21999
22494
|
style: external_exports.enum(COVER_STYLE_IDS).optional().describe("How it is made (default auto: the director picks)"),
|
|
22000
22495
|
vibes: external_exports.array(external_exports.enum(COVER_VIBE_IDS)).max(COVER_VIBES_MAX).optional().describe("Up to two moods or worlds"),
|
|
22001
|
-
artist: external_exports.enum(COVER_ARTIST_MODES).optional().describe("Who is on it: auto (the director decides), always (the artist), never"),
|
|
22496
|
+
artist: external_exports.enum(COVER_ARTIST_MODES).optional().describe("Who is on it: auto (the director decides), always (the artist), never (no one). With the artist, a song about two people may also show the other person, always invented"),
|
|
22002
22497
|
idea: external_exports.string().trim().max(COVER_IDEA_MAX).optional().describe("The user's idea, in their words"),
|
|
22003
22498
|
words: external_exports.enum(COVER_WORDS).optional().describe("Words on the cover, spelled exactly as the song: none (default), title, artist_title"),
|
|
22004
22499
|
look: CoverLookSchema.optional().describe("The artist's colours (hex) and typeface for this round"),
|
|
@@ -22301,7 +22796,7 @@ var OPERATIONS = [
|
|
|
22301
22796
|
group: "looks",
|
|
22302
22797
|
title: "Upload a background",
|
|
22303
22798
|
summary: "Upload your own photo or video, or use one of your music videos, to design a New Look around",
|
|
22304
|
-
description: `Photo: JPEG, PNG or WebP, at least 720 px on the short side, up to 25 MB. Video: MP4, MOV or WebM, 4\u2013180 seconds, at least 720 px on the short side, up to 300 MB; it becomes a seamless loop of up to 20 s. Only with the rights to use it. Or video_id: one of this workspace's delivered music videos (list_videos with type music-video and the song's song_id), copied in as a video background (no rights_confirmed needed); the answer's music_video names its song and section (trim). A lyric video with it must be of that song: it takes that section (send that trim, or leave trim out), and the music video plays once from its first frame in step with the lyrics, with its own sound. Then quote a lyric video with look {"mode":"new","category":"\u2026","background":{"source":"upload-photo" or "upload-video","upload_id":"\u2026"},"visibility":"private"}. ${NEEDS_PLAN}`,
|
|
22799
|
+
description: `Photo: JPEG, PNG or WebP, at least 720 px on the short side, up to 25 MB. Video: MP4, MOV or WebM, 4\u2013180 seconds, at least 720 px on the short side, up to 300 MB; it becomes a seamless loop of up to 20 s. Only with the rights to use it. Or video_id: one of this workspace's delivered music videos (list_videos with type music-video and the song's song_id), copied in as a video background (no rights_confirmed needed); the answer's music_video names its song and section (trim). preview_url is a still (a photo, or a video's poster) and video_url the video itself (null for a photo), both signed for about a week. A lyric video with it must be of that song: it takes that section (send that trim, or leave trim out), and the music video plays once from its first frame in step with the lyrics, with its own sound. Then quote a lyric video with look {"mode":"new","category":"\u2026","background":{"source":"upload-photo" or "upload-video","upload_id":"\u2026"},"visibility":"private"}. ${NEEDS_PLAN}`,
|
|
22305
22800
|
method: "POST",
|
|
22306
22801
|
path: "/api/v1/backgrounds",
|
|
22307
22802
|
scopes: ["library:write", "videos:write"],
|
|
@@ -25861,7 +26356,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
25861
26356
|
const negativeNumberArg = (arg) => {
|
|
25862
26357
|
if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg)) return false;
|
|
25863
26358
|
return !this._getCommandAndAncestors().some(
|
|
25864
|
-
(cmd) => cmd.options.map((opt) => opt.short).some((
|
|
26359
|
+
(cmd) => cmd.options.map((opt) => opt.short).some((short2) => /^-\d$/.test(short2))
|
|
25865
26360
|
);
|
|
25866
26361
|
};
|
|
25867
26362
|
let activeVariadicOption = null;
|
|
@@ -26812,7 +27307,7 @@ async function revoke(config2, auth = config2.auth) {
|
|
|
26812
27307
|
// package.json
|
|
26813
27308
|
var package_default = {
|
|
26814
27309
|
name: "@kinetune/cli",
|
|
26815
|
-
version: "2.
|
|
27310
|
+
version: "2.11.0",
|
|
26816
27311
|
description: "Command line for Kinetune: lyric videos, Spotify Canvas loops and AI music videos from your songs, for people and AI agents.",
|
|
26817
27312
|
license: "MIT",
|
|
26818
27313
|
homepage: "https://kinetune.com/developers#cli",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinetune/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.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",
|