@kinetune/cli 2.3.0 → 2.9.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 +100 -10
- package/dist/kinetune.mjs +698 -98
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,23 +24,28 @@ and a plan. Uploading and making videos need an active plan; without one they an
|
|
|
24
24
|
Each plan has storage (`kinetune account` shows `storage`); an upload or video that wouldn't fit answers
|
|
25
25
|
`storage_full`: delete videos or archive songs you no longer need, or move up a plan.
|
|
26
26
|
|
|
27
|
-
A sign-in acts for the workspace you picked (an "organization" in commands and fields).
|
|
28
|
-
|
|
27
|
+
A sign-in acts for the workspace you picked (an "organization" in commands and fields). Sign in to each
|
|
28
|
+
workspace you work in: the CLI keeps every sign-in, the last one is the default, and any command takes
|
|
29
|
+
`--organization` (an id or name; or `KINETUNE_ORGANIZATION` for a shell) to act for another:
|
|
29
30
|
|
|
30
31
|
```bash
|
|
31
32
|
kinetune organizations list # yours, with type and role; "current" is the one you act for
|
|
32
33
|
kinetune organizations create --name "Night Shift Records" --type label
|
|
33
34
|
kinetune organizations update --type label # switch this one (an artist workspace holds one artist)
|
|
34
|
-
kinetune auth login --organization ORG_ID # the consent screen preselects it
|
|
35
|
+
kinetune auth login --organization ORG_ID # add a workspace (the consent screen preselects it)
|
|
36
|
+
kinetune auth list # the workspaces you are signed in to
|
|
37
|
+
kinetune songs list --organization ORG_ID # act for one of them
|
|
38
|
+
kinetune auth logout --organization ORG_ID # forget one (plain logout forgets all)
|
|
35
39
|
```
|
|
36
40
|
|
|
37
|
-
In CI, set `KINETUNE_API_KEY` instead; it wins over the stored sign-in. Credentials live in `~/.config/kinetune/config.json` (mode 600
|
|
41
|
+
In CI, set `KINETUNE_API_KEY` instead; it wins over the stored sign-in. Credentials live in `~/.config/kinetune/config.json` (mode 600); `KINETUNE_CONFIG_DIR` keeps them in another folder, a separate set of sign-ins.
|
|
38
42
|
|
|
39
43
|
## Make a video
|
|
40
44
|
|
|
41
45
|
```bash
|
|
42
46
|
kinetune artists create --name "Nova Lane"
|
|
43
47
|
kinetune songs create --artist-id ARTIST_ID --title "Midnight Drive" --audio ./midnight-drive.wav --cover-art ./cover.jpg
|
|
48
|
+
# --cover-art is optional: leave it out and add one later with songs set-cover
|
|
44
49
|
# in an artist workspace, --artist-id can be left out: its songs are its artist's
|
|
45
50
|
kinetune songs get SONG_ID # wait for analysis.status "ready"
|
|
46
51
|
kinetune create canvas --song-id SONG_ID # quotes first, shows the credits and asks
|
|
@@ -54,7 +59,7 @@ kinetune videos download VIDEO_ID
|
|
|
54
59
|
|
|
55
60
|
The song's artist performs a music video, lip-synced, made from their character, so make it first: `kinetune characters start --photos ./nova-1.jpg ./nova-2.jpg --rights-confirmed`,
|
|
56
61
|
then `characters draw` for the price it shows and `characters keep REQUEST_ID --artist-id ARTIST_ID` (or add a finished sheet
|
|
57
|
-
with `--mode add`, free). Artist photos (`kinetune artists photos …`) were removed in 2.0.0: every video keeps the artist
|
|
62
|
+
with `--mode add`, free). Cast someone made up from a few words with `kinetune characters start --mode describe --description "Late twenties, a short silver bob, freckles"` (drawn for credits like photos, kept AI-made). Artist photos (`kinetune artists photos …`) were removed in 2.0.0: every video keeps the artist
|
|
58
63
|
from their character.
|
|
59
64
|
`--model` picks one of Kinetune's music video models (`one-take` by default, MiniMax H3 Max: shots cut between the lines, 15 seconds to 10 minutes, about
|
|
60
65
|
5 minutes to make per minute of song; or `seedance-2-0`, `seedance-2-0-fast`, `seedance-2-0-mini`, `seedance-2-5` when offered to you: a real person in a model that needs a face check (`face_check` in `GET /options`) passes it first: `kinetune characters face-check start CHARACTER_ID --model seedance-2-5 --consent` once they agreed, which gives the page they open on their phone); `GET /options`
|
|
@@ -67,14 +72,25 @@ The artist kit holds their outfits and the workspace's places and props, each wi
|
|
|
67
72
|
`--file ./mic.jpg --rights-confirmed`), then `--direction "the @chrome-mic in hand"`: a mentioned piece is used exactly
|
|
68
73
|
as it is, and the director designs the rest. `--scenes '{"mode":"stock"}'` sets the places it leaves open in real ones
|
|
69
74
|
the director finds (empty of people, the artist put into them); `kinetune plans swap-place --plan-id PLAN_ID --place 1 --stock-id ID`
|
|
70
|
-
changes one place's photo. Words in (parentheses) in the lyrics are backing vocals, sung off camera.
|
|
75
|
+
changes one place's photo. Words in (parentheses) in the lyrics are backing vocals, sung off camera. Once the direction
|
|
76
|
+
mentions a kit piece the video shows only what the kit's pictures show (no other place, prop, person or lighting change);
|
|
77
|
+
`--no-kit-only` lets the director add to it, `--kit-only` holds it to the kit even without a mention.
|
|
78
|
+
|
|
79
|
+
Pin a change to a lyric or a time in the direction: `--direction 'On "Drop it" cut to @rooftop-club. @grandma appears on "She said yes".'`
|
|
80
|
+
(on every "…" for each time the words are sung, or at 1:05 for the song's time). A shot starts exactly there, in the first kit place the
|
|
81
|
+
sentence names, with the characters it names appearing in it; `kinetune plans get` shows it as `shots[].cue`.
|
|
82
|
+
|
|
83
|
+
Other angles of a place: `kinetune kit angles KIT_ID --angles three-quarter,side,low` prices them; add `--confirm --credits N`
|
|
84
|
+
(the price shown) to draw the same set from those sides. Each comes back as a new place, `pending` until
|
|
85
|
+
`kinetune kit update KIT_ID --kept` keeps it or `kinetune kit delete KIT_ID` leaves it out; a brief that mentions places of
|
|
86
|
+
one set gets them as one set, and the director cuts between them.
|
|
71
87
|
|
|
72
88
|
A lookbook first if you like: `kinetune lookbook design` with the same brief (free) returns the director's
|
|
73
89
|
outfits, places and props; `kinetune lookbook render LOOKBOOK_ID --credits N` draws them for the price it shows, and
|
|
74
90
|
`--lookbook-id LOOKBOOK_ID` writes the shot list from the pieces you keep.
|
|
75
91
|
|
|
76
|
-
Plan it first, for free: the director's concept and its shots (cut between the song's lines) with their lyrics
|
|
77
|
-
|
|
92
|
+
Plan it first, for free: the director's concept and its shots (cut between the song's lines) with their lyrics,
|
|
93
|
+
how each comes in (a cut, or carrying on in a continuous take) and how it is framed (`camera`: size, angle and move), in about a minute. Rewrite it with a note until it's right, then quote and create with its plan id: the video is made from
|
|
78
94
|
exactly that plan.
|
|
79
95
|
|
|
80
96
|
```bash
|
|
@@ -84,19 +100,41 @@ kinetune plans get PLAN_ID
|
|
|
84
100
|
kinetune plans frames PLAN_ID # opening frames drawn, and the price of one
|
|
85
101
|
kinetune plans draw-frame PLAN_ID --shot 1 --credits 26 # the picture shot 1 opens on (spends credits)
|
|
86
102
|
kinetune quote music-video --song-id SONG_ID --plan-id PLAN_ID
|
|
103
|
+
kinetune create music-video --song-id SONG_ID --plan-id PLAN_ID --test # the chorus's shots first, at 480p
|
|
87
104
|
kinetune create music-video --song-id SONG_ID --plan-id PLAN_ID # quotes first and asks
|
|
88
105
|
kinetune videos wait VIDEO_ID --timeout 10800
|
|
89
106
|
```
|
|
90
107
|
|
|
108
|
+
`--test` makes only the plan's test shots (the first chorus, about 20 seconds) at 480p, with the plan's seeds and pictures, to
|
|
109
|
+
see the face, the look and the lip-sync before the whole video; its quote's `test` says which shots and seconds. A test has
|
|
110
|
+
no outro and is never revised; order the whole video from the same `--plan-id` afterwards.
|
|
111
|
+
|
|
91
112
|
`--cast '{"outfit_kit":"blue-set"}'` dresses the artist in a kit outfit in every shot (left out, the director picks).
|
|
92
113
|
Without `--plan-id`, the director plans the video while it is made.
|
|
93
114
|
|
|
115
|
+
After delivery, while `revisable_until` (`videos get`) is ahead, change it shot by shot. `videos get` lists each shot
|
|
116
|
+
with its seconds and `frame_url`, a picture of the shot as it came out. The director rewrites the shots you name, free, into
|
|
117
|
+
a plan; quote and create it with the video's quality: only the shots made again are charged, and the revision is a new video.
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
kinetune videos revision-prices VIDEO_ID # each shot's credits, and the setup paid once
|
|
121
|
+
kinetune videos revise VIDEO_ID --shot 3 --note "closer on her face"
|
|
122
|
+
kinetune videos revise VIDEO_ID --shots '[{"shot":3,"note":"closer on her face"},{"shot":7,"note":"night, not day"}]'
|
|
123
|
+
kinetune quote music-video --song-id SONG_ID --plan-id PLAN_ID --quality 768p
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
`videos get` also shows the director's notes: `music_video.review` lists each shot that needs a fix or could be better, with
|
|
127
|
+
the moment, what's wrong in one line and a revision `note` ready to pass to `videos revise` (an empty list: every shot passed).
|
|
128
|
+
`music_video.lip_sync` lists the shots whose lips were lined up with the lead vocal, free. Nothing is made again on its own.
|
|
129
|
+
|
|
94
130
|
The artist image, their picture on the artist page and in lists, is uploaded directly and never shown to a model:
|
|
95
131
|
`kinetune artists image set ARTIST_ID --image ./nova.jpg --crop '{"x":0.1,"y":0,"size":0.8}'` (or an https URL;
|
|
96
132
|
the crop is optional), and `kinetune artists image remove ARTIST_ID`.
|
|
97
133
|
|
|
98
|
-
|
|
99
|
-
`neon-night`, `noir`, `vintage`, `dreamy
|
|
134
|
+
Kinds (`--category`): `performance` (default), `cinematic`, `story`, `surreal` and the others `GET /options` lists. Visual
|
|
135
|
+
styles (`--style`): `natural`, `film`, `golden-hour`, `neon-night`, `noir`, `vintage`, `dreamy`, `super-8`, `vhs`,
|
|
136
|
+
`documentary`, `glossy-pop`, `indie`, `cyberpunk`, `y2k`, `lofi`, `painterly`, `anime`, `clay` (some models make only some;
|
|
137
|
+
`GET /options` lists each with its image); leave `--style` out and the director picks one.
|
|
100
138
|
|
|
101
139
|
## The song's own lyrics
|
|
102
140
|
|
|
@@ -110,6 +148,58 @@ kinetune songs set-lyrics SONG_ID --lyrics-file ./midnight-drive.srt # add or
|
|
|
110
148
|
kinetune songs clear-lyrics SONG_ID # back to the transcribed words
|
|
111
149
|
```
|
|
112
150
|
|
|
151
|
+
Every director reads the song's brief first: what it is about, its story, how the feeling moves through its sections.
|
|
152
|
+
`songs get` shows it (`brief`). When it reads the song wrong, correct it; your version is kept until you ask for a rewrite:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
kinetune songs edit-brief SONG_ID --theme "A daughter talking to her late father about the life he missed"
|
|
156
|
+
kinetune songs rewrite-brief SONG_ID # drop your correction, read the song again
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
A song without cover art gets one this way too. A new cover goes in use and the one before stays on the song
|
|
160
|
+
(`covers list`); videos already made keep theirs, and everything made next uses it:
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
kinetune songs set-cover SONG_ID --cover-art ./new-cover.jpg
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Cover art
|
|
167
|
+
|
|
168
|
+
Kinetune's cover art director makes 1 to 4 covers for an analysed song, each a different idea, about a minute. Price
|
|
169
|
+
the round first and send the same credits; only covers that pass their check are charged. Needs a paid plan.
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
kinetune covers quote --count 2 # credits for 2 covers, and redraw_credits
|
|
173
|
+
kinetune covers make --song-id SONG_ID --count 2 --credits 190 \
|
|
174
|
+
--style painted --vibes sad --vibes space --artist never \
|
|
175
|
+
--idea "A motel pool at night" --words title # words are lettered in, spelled exactly as the song
|
|
176
|
+
kinetune covers get REQUEST_ID # each cover as it is drawn
|
|
177
|
+
kinetune covers redraw REQUEST_ID --cover-id COVER_ID --note "Warmer, the moon bigger" --credits 40
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
`--style` is how it is made (`auto`, the director's pick, by default; `portrait`, `snapshot`, `film-still`, `object`,
|
|
181
|
+
`place`, `painted`, `illustrated`, `cartoon`, `anime`, `collage`, `3d`, `graphic`, `type`), `--vibes` up to two moods
|
|
182
|
+
(`dark`, `sad`, `romantic`, `aggressive`, `luxury`, `aesthetic`, `urban`, `hood`, `space`, `surreal`, `vintage`),
|
|
183
|
+
`--artist` `auto`, `always` (needs their character) or `never`, `--words` `none`, `title` or `artist_title` (the `type`
|
|
184
|
+
style needs words).
|
|
185
|
+
|
|
186
|
+
Every cover a song has had, made or uploaded, stays on it until you delete it. The song keeps its cover until you pick
|
|
187
|
+
another; videos already made keep theirs.
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
kinetune covers list SONG_ID # the one in use marked, and what more cost
|
|
191
|
+
kinetune covers use SONG_ID COVER_ID
|
|
192
|
+
kinetune covers delete SONG_ID COVER_ID # for good
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Save a song's files: the cover in use at full size (3000 px for a made cover) and the audio as uploaded, named
|
|
196
|
+
"Artist - Title".
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
kinetune songs download SONG_ID --out ./release # both
|
|
200
|
+
kinetune songs download SONG_ID --cover # only the cover (--audio: only the audio)
|
|
201
|
+
```
|
|
202
|
+
|
|
113
203
|
## Find artists and songs
|
|
114
204
|
|
|
115
205
|
Lists return 50 per page, sorted by name; search with `--q` and page with `--limit` (1-100) and `--offset`.
|