@clipwright/cli 0.14.0 → 0.16.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/CHANGELOG.md CHANGED
@@ -10,6 +10,95 @@ on the client side. Entries marked *Server-side* changed the API itself: every
10
10
  client version sees them from the day the API was deployed, not from the package
11
11
  release they are listed under.
12
12
 
13
+ Entries marked *Dashboard:* changed the web app (the dashboard or a public page of the site)
14
+ and no package. This file is also the public changelog at /changelog, so they are listed here:
15
+ a customer reading it should not miss what appeared in the product. Like *Server-side* entries,
16
+ they are live from the day the web app was deployed, not from the package release they are
17
+ listed under.
18
+
19
+ ## [0.16.0] - 2026-09-16
20
+
21
+ ### Added
22
+
23
+ - *Server-side:* a new skill, `create_actor`, builds a personal actor for the
24
+ account from a description of a fictional adult: a 9:16 portrait with exactly
25
+ one face, plus the other requested formats edited from it. `POST
26
+ /v1/skills/create_actor/quote` and `/run` take the description, `gender`,
27
+ `approximate_age`, `name`, `quality` and `aspect_ratios`; the run reports
28
+ `created_actor` when it succeeds, and the returned `actor_id` goes to
29
+ `make_ugc` in the same field a catalog actor does. `GET /v1/actors` lists the
30
+ account's own actors after the catalog, and `DELETE /v1/actors/{id}` takes one
31
+ out of the choice. The skill appears in `GET /v1/public/skills` only while
32
+ generation is switched on; until then quote and run answer 503
33
+ `actor_generation_disabled` and no run is created. (clipwright#120)
34
+ - *Server-side:* runs have a new state, `generating`, which only `create_actor`
35
+ enters. The set of terminal states is unchanged: `succeeded` and `failed`, and
36
+ nothing else. (clipwright#120)
37
+ - Personal actors reached the clients. The SDK gained `quoteActor`,
38
+ `createActor` and `deleteActor`; the CLI gained `quote-actor`, `create-actor`
39
+ and `delete-actor`; the MCP server gained `quote_actor`, `create_actor` and
40
+ `delete_actor`, so `tools/list` now returns ten tools instead of seven. The
41
+ idempotency key of an actor run is built from the actor's own schema: two
42
+ different descriptions are two different keys, and a repeated call with the
43
+ same description returns the run already paid for. (clipwright#120)
44
+ - *Dashboard:* `/actors` shows the account's personal actors next to the
45
+ catalog and deletes one on confirmation. A deleted actor stops being offered
46
+ at once; its images are removed by a daily cleanup. (clipwright#120)
47
+
48
+ ### Changed
49
+
50
+ - *Server-side:* a request with `person` and generation switched on gets a
51
+ warning that points at `create_actor` instead of only saying the field is not
52
+ honored. (clipwright#120)
53
+ - *Server-side:* `create_actor` is charged per published image, not per second:
54
+ the portrait and each extra format cost what the quote showed, a partial
55
+ result charges only what was published and names the rest in `warnings`, and a
56
+ failed run costs nothing at all. Refused descriptions and unusable portraits
57
+ are free. (clipwright#120)
58
+
59
+ ## [0.15.0] - 2026-09-14
60
+
61
+ ### Changed
62
+
63
+ - *Server-side:* in `GET /v1/voices`, a catalog voice carries `preview_url` and
64
+ `preview_expires_at` once its sample is recorded: a short clip of that voice on
65
+ `eleven_v3`, in the voice's own language. The link is signed by us and
66
+ expires like a preset's. A voice without a recorded sample for its current
67
+ model and sample text still has neither field, and the list never links to
68
+ the vendor. The sample texts outside English and Russian are machine
69
+ translations that no native speaker has checked. (clipwright#164)
70
+ - *Server-side:* without `voice` or `voice_id`, the voice follows the actor's
71
+ gender: a woman from `actor_id` speaks `sarah`, a man speaks `george`. The
72
+ default actor still speaks `george`, and an explicit voice always wins.
73
+ (clipwright#183)
74
+ - *Server-side:* a request with `image` and no voice gets a warning that the
75
+ male `george` voice is used, naming `voice` and `actor_gender` as the fix.
76
+ `GET /v1/runs/{id}` derives it from the stored input, so runs started before
77
+ this change show it too. A request with `actor_gender` next to `voice` or
78
+ `voice_id` gets a warning that the hint changed nothing. (clipwright#183)
79
+ - *Server-side:* the contract version moved to `2026-09-14`. (clipwright#183)
80
+ - *Dashboard:* `/actors` says that an actor without a chosen voice speaks the
81
+ default voice of their gender. (clipwright#183)
82
+
83
+ ### Added
84
+
85
+ - `actor_gender` (`female` or `male`) in the `make_ugc` input: next to `image`
86
+ it picks the default voice of that gender. It is refused with `actor_id` and
87
+ without `image`, and the remote fetch killswitch turns it off together with
88
+ `image`. The REST API accepts it from the day the API is deployed; the MCP
89
+ tool schema, the SDK types and the CLI flag `--actor-gender` arrive with this
90
+ release. (clipwright#183)
91
+
92
+ - *Dashboard:* `/actors` shows the actor library as a gallery: every published portrait with
93
+ its `actor_id` to copy, next to gender, approximate age, description and version. A person
94
+ can pick a face without calling `GET /v1/actors` first. (clipwright#148)
95
+ - *Dashboard:* `/videos` lists the finished videos of the account. Each one is a still frame
96
+ taken from the delivered file, with the length of the clip and the day it finished, and a
97
+ tile with a frame plays the video. Runs that are still going or that failed stay on the
98
+ Balance page. (clipwright#138)
99
+ - *Dashboard:* `/changelog` renders this file as a public page, so the release notes are
100
+ readable without installing a package. (clipwright#102)
101
+
13
102
  ## [0.14.0] - 2026-09-13
14
103
 
15
104
  ### Changed
package/README.md CHANGED
@@ -22,6 +22,10 @@ above name the package with `-p`, so they resolve here either way.
22
22
  | `upload <path>` | Uploads a local PNG/JPEG and prints the https url to pass as `--image`. Free. |
23
23
  | `runs <id>` | Prints the state of one run. |
24
24
  | `voices` | Lists voices for `--voice`: the presets, then the catalog. Narrow it with `--language`, `--gender`, `--age`, `--use-case` and `--model`. Free. |
25
+ | `actors` | Lists the actors this account can use: the Clipwright catalog and your own. Free. |
26
+ | `quote-actor` | Estimates the cost of a personal actor. Spends nothing. |
27
+ | `create-actor` | Creates a personal actor from a description. **Costs credits** — one charge per requested format. Prints the run; follow it with `runs <id>`. |
28
+ | `delete-actor <id>` | Deletes a personal actor of this account. Videos already made with it stay as they are. Free. |
25
29
 
26
30
  `quote` and `make` take the actor's photo as `--image <url>` or `--image-file <path>`
27
31
  (uploaded first, then passed on), plus `--aspect-ratio 9:16|1:1|16:9` and
@@ -29,9 +33,17 @@ above name the package with `-p`, so they resolve here either way.
29
33
  without it a landscape photo renders vertical, with a warning.
30
34
 
31
35
  Pick a voice with `--voice <name>` from that catalog, or `--voice-id <id>` for a
32
- vendor voice outside it (a cloned one, for instance). Set neither and the default
33
- voice already matched to the avatar is used. Each preset carries its speech model
34
- (`voices` prints it; every preset speaks `eleven_v3`). `--tts-model` overrides it with
36
+ vendor voice outside it (a cloned one, for instance). Set neither and the voice
37
+ follows the actor's gender: `sarah` for a woman, `george` for a man. The gender
38
+ comes from the `--actor-id` catalog entry, or from `--actor-gender female|male`
39
+ next to `--image`. The default actor speaks `george`. `--image` without
40
+ `--actor-gender` also gets `george`, and the response warns about it.
41
+ `--actor-gender` with `--actor-id` is refused. `voices` prints a `sample:` link under
42
+ each voice: play it before you pay for a render, and reuse the same name next time.
43
+ `--language` filters by a voice's native language; any voice speaks any supported
44
+ language.
45
+
46
+ Every preset and catalog voice speaks `eleven_v3`. `--tts-model` overrides it with
35
47
  `eleven_flash_v2_5` or `eleven_turbo_v2_5`, which cost less but misread Russian stress
36
48
  marks. In a Russian script, mark stress with a capital vowel inside the word: `потОм`.
37
49
 
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { readFileSync, realpathSync } from "node:fs";
3
3
  import { createRequire } from "node:module";
4
4
  import { fileURLToPath } from "node:url";
5
5
  import { Command, Option } from "commander";
6
- import { apiBaseUrlFromEnv, ASPECT_RATIOS, CATALOG_GENDERS, CATALOG_LANGUAGES, RESOLUTIONS, TTS_MODELS, UPLOAD_MAX_BYTES, VOICE_NAME_PATTERN, VOICE_PRESET_NAMES, sniffUploadMediaType, } from "@clipwright/core";
6
+ import { ACTOR_GENDERS_ACCEPTED, ACTOR_QUALITIES_ACCEPTED, apiBaseUrlFromEnv, ASPECT_RATIOS, CATALOG_GENDERS, CATALOG_LANGUAGES, RESOLUTIONS, TTS_MODELS, UPLOAD_MAX_BYTES, VOICE_NAME_PATTERN, VOICE_PRESET_NAMES, sniffUploadMediaType, } from "@clipwright/core";
7
7
  import { ClipwrightApiError, ClipwrightClient, ClipwrightResponseError } from "@clipwright/sdk";
8
8
  import { formatApiError, formatRun, formatSchemaError, formatVoices } from "./format.js";
9
9
  // Версия — из манифеста: литерал расходился с ним молча, а импорт JSON не проходит `rootDir`.
@@ -48,9 +48,13 @@ async function resolveImage(opts) {
48
48
  /** Картинка и формат общие у `quote` и `make`: оценка обязана видеть тот же источник, что рендер. */
49
49
  function withSourceOptions(command) {
50
50
  return command
51
- .addOption(new Option("--actor-id <id>", "saved actor from the actors catalog").conflicts(["image", "imageFile", "person"]))
51
+ .addOption(new Option("--actor-id <id>", "saved actor from the actors catalog").conflicts(["image", "imageFile", "person", "actorGender"]))
52
52
  .addOption(new Option("--image <url>", "public https url of the actor's photo").conflicts("imageFile"))
53
53
  .option("--image-file <path>", "local PNG/JPEG: uploaded first (POST /v1/uploads), then used as --image")
54
+ // «Только с --image» Commander не выражает: этот отказ приходит от схемы до сети.
55
+ .addOption(new Option("--actor-gender <gender>", "gender of the face in --image; picks the default voice of that gender")
56
+ .choices(["female", "male"])
57
+ .conflicts("actorId"))
54
58
  .addOption(new Option("--aspect-ratio <ratio>", "output format; pass it explicitly with a picture").choices(ASPECT_RATIOS))
55
59
  .addOption(new Option("--resolution <size>", "output resolution").choices(RESOLUTIONS));
56
60
  }
@@ -67,6 +71,7 @@ withSourceOptions(program
67
71
  const quote = await client().quoteUgc({
68
72
  script: opts.script,
69
73
  actor_id: opts.actorId,
74
+ actor_gender: opts.actorGender,
70
75
  image: await resolveImage(opts),
71
76
  aspect_ratio: opts.aspectRatio,
72
77
  resolution: opts.resolution,
@@ -126,6 +131,7 @@ withSourceOptions(program
126
131
  const run = await client().makeUgc({
127
132
  script: opts.script,
128
133
  actor_id: opts.actorId,
134
+ actor_gender: opts.actorGender,
129
135
  person: opts.person,
130
136
  image: await resolveImage(opts),
131
137
  aspect_ratio: opts.aspectRatio,
@@ -154,6 +160,41 @@ program
154
160
  program.command("actors").description("list saved actors and verified formats").action(async () => {
155
161
  console.log(JSON.stringify({ actors: await client().listActors() }, null, 2));
156
162
  });
163
+ /** Опции описания актёра — одни и те же у оценки и у создания. */
164
+ /** Разойдись они, оценка считала бы цену не того, что потом создаётся. */
165
+ const withActorOptions = (command) => command
166
+ .requiredOption("--name <text>", "name shown in the actor list")
167
+ .requiredOption("--description <text>", "words describing a fictional adult")
168
+ .addOption(new Option("--gender <gender>", "the actor's gender").choices([...ACTOR_GENDERS_ACCEPTED]).makeOptionMandatory())
169
+ .requiredOption("--age <years>", "approximate age in years")
170
+ .addOption(new Option("--quality <quality>", "image quality").choices([...ACTOR_QUALITIES_ACCEPTED]))
171
+ .option("--aspects <list>", `comma-separated formats to create (${ASPECT_RATIOS.join(",")})`);
172
+ function actorInput(opts) {
173
+ const aspects = opts.aspects?.split(",").map((one) => one.trim()).filter((one) => one !== "");
174
+ return {
175
+ name: opts.name,
176
+ description: opts.description,
177
+ gender: opts.gender,
178
+ approximate_age: Number(opts.age),
179
+ ...(opts.quality === undefined ? {} : { quality: opts.quality }),
180
+ ...(aspects === undefined || aspects.length === 0
181
+ ? {}
182
+ : { aspect_ratios: aspects }),
183
+ };
184
+ }
185
+ withActorOptions(program.command("quote-actor").description("estimate credits for a personal actor without spending them")).action(async (opts) => {
186
+ console.log(JSON.stringify(await client().quoteActor(actorInput(opts)), null, 2));
187
+ });
188
+ withActorOptions(program.command("create-actor").description("create a personal actor from a description (paid)")).action(async (opts) => {
189
+ console.log(JSON.stringify(await client().createActor(actorInput(opts)), null, 2));
190
+ });
191
+ program
192
+ .command("delete-actor <id>")
193
+ .description("delete a personal actor of this account")
194
+ .action(async (id) => {
195
+ await client().deleteActor(id);
196
+ console.log(JSON.stringify({ deleted: id }, null, 2));
197
+ });
157
198
  program
158
199
  .command("account")
159
200
  .description("show the account's balance, debt and holds (free)")
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,OAAO,EAAE,OAAO,EA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CAAC;AAEzB,SAAS,GAAG;IACV,OAAO,CAAC,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;QAC9C,IAAI,KAAK,YAAY,kBAAkB,EAAE,CAAC;YACxC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;YACrC,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;YACrB,OAAO;QACT,CAAC;QAED,2EAA2E;QAC3E,0EAA0E;QAC1E,0EAA0E;QAC1E,IAAI,KAAK,YAAY,uBAAuB,EAAE,CAAC;YAC7C,OAAO,CAAC,KAAK,CAAC,UAAU,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YACzC,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;YACrB,OAAO;QACT,CAAC;QAED,+EAA+E;QAC/E,MAAM,MAAM,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;QACxC,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;YACtB,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;YACrB,OAAO;QACT,CAAC;QAED,MAAM,KAAK,CAAC;IACd,CAAC,CAAC,CAAC;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipwright/cli",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "Command-line client for the Clipwright UGC video API",
5
5
  "keywords": [
6
6
  "cli",
@@ -28,8 +28,8 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "commander": "^15.0.0",
31
- "@clipwright/core": "0.14.0",
32
- "@clipwright/sdk": "0.14.0"
31
+ "@clipwright/core": "0.16.0",
32
+ "@clipwright/sdk": "0.16.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/node": "^26.1.1"