@clipwright/core 0.34.0 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/README.md +6 -3
  2. package/dist/account-actors.d.ts +173 -15
  3. package/dist/account-actors.js +142 -11
  4. package/dist/account-actors.js.map +1 -1
  5. package/dist/actor-bounds.d.ts +4 -0
  6. package/dist/actor-bounds.js +4 -0
  7. package/dist/actor-bounds.js.map +1 -1
  8. package/dist/actors.d.ts +31 -0
  9. package/dist/actors.js +26 -0
  10. package/dist/actors.js.map +1 -1
  11. package/dist/api-failure.d.ts +1 -1
  12. package/dist/api-failure.js +2 -2
  13. package/dist/api-failure.js.map +1 -1
  14. package/dist/aspect.d.ts +1 -1
  15. package/dist/aspect.js +5 -5
  16. package/dist/aspect.js.map +1 -1
  17. package/dist/assets.d.ts +30 -6
  18. package/dist/assets.js +26 -8
  19. package/dist/assets.js.map +1 -1
  20. package/dist/billing-terms.d.ts +69 -0
  21. package/dist/billing-terms.js +8 -0
  22. package/dist/billing-terms.js.map +1 -1
  23. package/dist/canvas-fit.js +1 -1
  24. package/dist/canvas-fit.js.map +1 -1
  25. package/dist/contract-dispositions.d.ts +493 -9
  26. package/dist/contract-dispositions.js +38 -14
  27. package/dist/contract-dispositions.js.map +1 -1
  28. package/dist/contracts/v1/workflow-brief.d.ts +1441 -0
  29. package/dist/contracts/v1/workflow-brief.js +4 -0
  30. package/dist/contracts/v1/workflow-brief.js.map +1 -1
  31. package/dist/contracts/v1/workflow-catalog.d.ts +2181 -103
  32. package/dist/contracts/v1/workflow-catalog.js +4 -2
  33. package/dist/contracts/v1/workflow-catalog.js.map +1 -1
  34. package/dist/contracts/v1/workflow-client.d.ts +1673 -3
  35. package/dist/contracts/v1/workflow-client.js +6 -3
  36. package/dist/contracts/v1/workflow-client.js.map +1 -1
  37. package/dist/contracts/v1/workflow-execution.d.ts +164 -12
  38. package/dist/contracts/v1/workflow-execution.js +15 -7
  39. package/dist/contracts/v1/workflow-execution.js.map +1 -1
  40. package/dist/contracts/v1/workflow-plan.d.ts +3228 -140
  41. package/dist/contracts/v1/workflow-primitives.d.ts +3 -1
  42. package/dist/contracts/v1/workflow-primitives.js +1 -1
  43. package/dist/contracts/v1/workflow-primitives.js.map +1 -1
  44. package/dist/contracts/v1/workflow-run-read.d.ts +116 -3
  45. package/dist/edit-billing.d.ts +12 -0
  46. package/dist/edit-billing.js +7 -0
  47. package/dist/edit-billing.js.map +1 -1
  48. package/dist/edit-candidate.d.ts +2 -2
  49. package/dist/edit-candidate.js +2 -2
  50. package/dist/edit-candidate.js.map +1 -1
  51. package/dist/edit-long-form.d.ts +3 -3
  52. package/dist/edit-long-form.js +14 -4
  53. package/dist/edit-long-form.js.map +1 -1
  54. package/dist/edit-revision.d.ts +1 -1
  55. package/dist/edit-revision.js +1 -1
  56. package/dist/edit-revision.js.map +1 -1
  57. package/dist/endpoint-notes.d.ts +3 -0
  58. package/dist/endpoint-notes.js +70 -0
  59. package/dist/endpoint-notes.js.map +1 -0
  60. package/dist/endpoints.d.ts +4 -0
  61. package/dist/endpoints.js +16 -0
  62. package/dist/endpoints.js.map +1 -1
  63. package/dist/errors.d.ts +2 -2
  64. package/dist/errors.js +11 -2
  65. package/dist/errors.js.map +1 -1
  66. package/dist/face-billing.d.ts +55 -0
  67. package/dist/face-billing.js +24 -2
  68. package/dist/face-billing.js.map +1 -1
  69. package/dist/face-delivery.d.ts +1 -1
  70. package/dist/face-delivery.js +1 -1
  71. package/dist/face-delivery.js.map +1 -1
  72. package/dist/faceless-media-record.d.ts +1 -1
  73. package/dist/faceless-media-record.js +1 -1
  74. package/dist/faceless-media-record.js.map +1 -1
  75. package/dist/faceless-price.d.ts +49 -6
  76. package/dist/faceless-price.js +44 -10
  77. package/dist/faceless-price.js.map +1 -1
  78. package/dist/faceless-public-plan.d.ts +6 -2
  79. package/dist/faceless-public-plan.js +11 -7
  80. package/dist/faceless-public-plan.js.map +1 -1
  81. package/dist/faceless-public.d.ts +7 -2
  82. package/dist/faceless-public.js +5 -5
  83. package/dist/faceless-public.js.map +1 -1
  84. package/dist/faceless-voices.d.ts +6 -6
  85. package/dist/faceless-voices.js +5 -5
  86. package/dist/faceless-voices.js.map +1 -1
  87. package/dist/feedback.d.ts +29 -0
  88. package/dist/feedback.js +29 -0
  89. package/dist/feedback.js.map +1 -0
  90. package/dist/generations.d.ts +2 -19
  91. package/dist/generations.js +28 -49
  92. package/dist/generations.js.map +1 -1
  93. package/dist/idempotency.d.ts +2 -0
  94. package/dist/idempotency.js +7 -4
  95. package/dist/idempotency.js.map +1 -1
  96. package/dist/index.d.ts +12 -0
  97. package/dist/index.js +15 -0
  98. package/dist/index.js.map +1 -1
  99. package/dist/long-form-pricing.d.ts +7 -4
  100. package/dist/long-form-pricing.js +13 -10
  101. package/dist/long-form-pricing.js.map +1 -1
  102. package/dist/long-form-revision.js +1 -1
  103. package/dist/long-form-revision.js.map +1 -1
  104. package/dist/media-timebase.js +2 -2
  105. package/dist/media-timebase.js.map +1 -1
  106. package/dist/openapi.d.ts +155 -0
  107. package/dist/openapi.js +339 -0
  108. package/dist/openapi.js.map +1 -0
  109. package/dist/pacing.d.ts +15 -0
  110. package/dist/pacing.js +30 -0
  111. package/dist/pacing.js.map +1 -1
  112. package/dist/parts-pricing.d.ts +84 -0
  113. package/dist/parts-pricing.js +105 -0
  114. package/dist/parts-pricing.js.map +1 -0
  115. package/dist/presenter-beats.d.ts +45 -0
  116. package/dist/presenter-beats.js +144 -0
  117. package/dist/presenter-beats.js.map +1 -0
  118. package/dist/prices.d.ts +98 -0
  119. package/dist/prices.js +193 -0
  120. package/dist/prices.js.map +1 -0
  121. package/dist/public-responses.d.ts +23 -0
  122. package/dist/public-responses.js +11 -0
  123. package/dist/public-responses.js.map +1 -0
  124. package/dist/rate-limit.d.ts +2 -2
  125. package/dist/rate-limit.js +2 -2
  126. package/dist/rate-limit.js.map +1 -1
  127. package/dist/reference-analysis.d.ts +915 -0
  128. package/dist/reference-analysis.js +210 -0
  129. package/dist/reference-analysis.js.map +1 -0
  130. package/dist/reference-kinds.d.ts +8 -0
  131. package/dist/reference-kinds.js +10 -0
  132. package/dist/reference-kinds.js.map +1 -0
  133. package/dist/reference-profile.d.ts +671 -0
  134. package/dist/reference-profile.js +198 -0
  135. package/dist/reference-profile.js.map +1 -0
  136. package/dist/reference-staging.d.ts +583 -0
  137. package/dist/reference-staging.js +153 -0
  138. package/dist/reference-staging.js.map +1 -0
  139. package/dist/reference-voice.d.ts +305 -0
  140. package/dist/reference-voice.js +108 -0
  141. package/dist/reference-voice.js.map +1 -0
  142. package/dist/render-backend.d.ts +1 -1
  143. package/dist/resolved-timeline.d.ts +54 -2
  144. package/dist/resolved-timeline.js +52 -6
  145. package/dist/resolved-timeline.js.map +1 -1
  146. package/dist/run-static-warnings.js +15 -6
  147. package/dist/run-static-warnings.js.map +1 -1
  148. package/dist/runs.d.ts +78 -6
  149. package/dist/runs.js +9 -4
  150. package/dist/runs.js.map +1 -1
  151. package/dist/semantic-inserts.d.ts +1 -1
  152. package/dist/semantic-inserts.js +2 -2
  153. package/dist/semantic-inserts.js.map +1 -1
  154. package/dist/skills.d.ts +1810 -29
  155. package/dist/skills.js +148 -35
  156. package/dist/skills.js.map +1 -1
  157. package/dist/templates/callout.d.ts +2 -2
  158. package/dist/templates/callout.js +6 -6
  159. package/dist/templates/callout.js.map +1 -1
  160. package/dist/templates/checklist.js +2 -2
  161. package/dist/templates/checklist.js.map +1 -1
  162. package/dist/templates/index.d.ts +15 -8
  163. package/dist/templates/index.js +30 -18
  164. package/dist/templates/index.js.map +1 -1
  165. package/dist/templates/notification.js +2 -2
  166. package/dist/templates/notification.js.map +1 -1
  167. package/dist/templates/phone-call.d.ts +3 -0
  168. package/dist/templates/phone-call.js +14 -7
  169. package/dist/templates/phone-call.js.map +1 -1
  170. package/dist/templates/progress.js +2 -2
  171. package/dist/templates/progress.js.map +1 -1
  172. package/dist/templates/size.d.ts +1 -1
  173. package/dist/templates/size.js +1 -1
  174. package/dist/templates/size.js.map +1 -1
  175. package/dist/templates/sounds.d.ts +357 -7
  176. package/dist/templates/sounds.js +34 -12
  177. package/dist/templates/sounds.js.map +1 -1
  178. package/dist/ugc-call.d.ts +89 -0
  179. package/dist/ugc-call.js +111 -0
  180. package/dist/ugc-call.js.map +1 -0
  181. package/dist/ugc-delivery.d.ts +1 -1
  182. package/dist/ugc-delivery.js +1 -1
  183. package/dist/ugc-delivery.js.map +1 -1
  184. package/dist/ugc-framing.d.ts +26 -0
  185. package/dist/ugc-framing.js +64 -0
  186. package/dist/ugc-framing.js.map +1 -0
  187. package/dist/ugc-layers.d.ts +5 -1
  188. package/dist/ugc-layers.js +6 -1
  189. package/dist/ugc-layers.js.map +1 -1
  190. package/dist/ugc-video-media.d.ts +1 -1
  191. package/dist/ugc-video-media.js +1 -1
  192. package/dist/ugc-video-media.js.map +1 -1
  193. package/dist/uploads.d.ts +2 -2
  194. package/dist/uploads.js +2 -2
  195. package/dist/uploads.js.map +1 -1
  196. package/dist/vendor-response.d.ts +4 -0
  197. package/dist/vendor-response.js +12 -0
  198. package/dist/vendor-response.js.map +1 -1
  199. package/dist/voice-admission.d.ts +836 -420
  200. package/dist/voice-admission.js +22 -5
  201. package/dist/voice-admission.js.map +1 -1
  202. package/dist/voice-listing.d.ts +4 -4
  203. package/dist/voice-listing.js +11 -6
  204. package/dist/voice-listing.js.map +1 -1
  205. package/dist/voice-pace.d.ts +34 -0
  206. package/dist/voice-pace.generated.json +72 -0
  207. package/dist/voice-pace.js +34 -0
  208. package/dist/voice-pace.js.map +1 -0
  209. package/dist/voices.d.ts +32 -19
  210. package/dist/voices.js +81 -35
  211. package/dist/voices.js.map +1 -1
  212. package/dist/workflows/catalog.js +2 -1
  213. package/dist/workflows/catalog.js.map +1 -1
  214. package/dist/workflows/index.d.ts +2 -0
  215. package/dist/workflows/index.js +2 -0
  216. package/dist/workflows/index.js.map +1 -1
  217. package/dist/workflows/methods/faceless-explainer.d.ts +388 -10
  218. package/dist/workflows/methods/kinetic-launch.d.ts +388 -10
  219. package/dist/workflows/methods/kinetic-launch.js +1 -1
  220. package/dist/workflows/methods/product-image-story.d.ts +388 -10
  221. package/dist/workflows/methods/reference-remake.d.ts +881 -0
  222. package/dist/workflows/methods/reference-remake.js +26 -0
  223. package/dist/workflows/methods/reference-remake.js.map +1 -0
  224. package/dist/workflows/methods/shared.d.ts +388 -10
  225. package/dist/workflows/methods/shared.js +2 -2
  226. package/dist/workflows/methods/shared.js.map +1 -1
  227. package/dist/workflows/methods/ugc-faq-answer.d.ts +388 -10
  228. package/dist/workflows/methods/ugc-product-intro.d.ts +388 -10
  229. package/dist/workflows/methods/website-proof-demo.d.ts +388 -10
  230. package/dist/workflows/methods/website-proof-demo.js +1 -1
  231. package/dist/workflows/reference-remake.d.ts +684 -0
  232. package/dist/workflows/reference-remake.js +602 -0
  233. package/dist/workflows/reference-remake.js.map +1 -0
  234. package/dist/workflows/validate.js +10 -7
  235. package/dist/workflows/validate.js.map +1 -1
  236. package/package.json +9 -4
  237. package/CHANGELOG.md +0 -1393
package/CHANGELOG.md DELETED
@@ -1,1393 +0,0 @@
1
- # Changelog
2
-
3
- The four client packages — `@clipwright/core`, `@clipwright/sdk`,
4
- `@clipwright/cli` and `@clipwright/mcp-server` — are released together and always
5
- share one version, so each section below covers all four. The format follows
6
- [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The HTTP API reports its
7
- contract version in the `X-Clipwright-Contract` response header and in the
8
- `contract_version` field of a quote. Entries marked **Breaking:** require a change
9
- on the client side. Entries marked *Server-side* changed the API itself: every
10
- client version sees them from the day the API was deployed, not from the package
11
- release they are listed under.
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
- ## [Unreleased]
20
-
21
- ## [0.34.0] - 2026-10-24
22
-
23
- ### Added
24
-
25
- - `@clipwright/core` exports `PUBLIC_MCP_URL`, the hosted MCP server address `https://mcp.clipwright.io/mcp`.
26
- - *Dashboard:* a public `/mcp` page answers "Yes, Clipwright has an MCP server": the hosted address with the
27
- `claude mcp add` command (sign in, no key), the local package with a key, and the tool list. `llms.txt` names the
28
- hosted MCP address, the `/mcp` page and the CLI. The home page and `/pricing` carry schema.org data with the price
29
- of the cheapest credit pack, and the sitemap dates the comparison pages by the day their facts were checked.
30
-
31
- - *Server-side:* video assets. An MP4 in h264 or hevc up to 120 seconds and 100 MB comes from an own `generate_video`
32
- run, a public url (`{ url, kind: "video" }`), a presigned PUT (`{ put: { media_type, bytes, sha256 } }`, also for
33
- pictures) or `POST /v1/assets/bytes` up to 32 MB. A url or a PUT answers `202` with `state: "processing"` or
34
- `"awaiting_upload"`; the worker task `ingest-asset-media` measures frames, fps, codec and `pix_fmt` from the bytes
35
- and publishes the asset, and `GET /v1/assets/{id}` says `ready` or `failed` with the reason. Clips are kept for
36
- assembly and are no generation reference.
37
- - MCP: `create_asset` takes `put` and a url clip; on stdio a local MP4 `path` is uploaded through a PUT.
38
- - `generate_video` and `quote_video` take an optional `camera`: `static`, `push_in`, `pull_back` or `pan`. It
39
- becomes the first line of the prompt the model gets and does not change the price.
40
- - `GET /v1/generations/models` lists `duration_values` for a model that takes only some lengths inside its
41
- `duration_s` range; the schema and the quote refuse the others. The resolution `360p` is part of the contract.
42
- - New clip models: `kling-3.0` at 720p in 9:16 and 16:9, 3 to 15 seconds, and `gemini-omni-flash-1.1` at 720p in both
43
- formats and 360p 16:9, for 4, 6, 8 or 10 seconds. `seedance-2.5` adds 480p 9:16 and 720p 16:9.
44
- - *Server-side:* a clip refused for a real face in its input picture, or turned away as rate-limited before it was
45
- accepted, is made by a second provider at the same quote where that row was measured there. A clip is always
46
- delivered without an audio track.
47
- - *Dashboard:* the Assets page. It lists the account's pictures and clips in a grid of small, medium or large tiles,
48
- with filters by role and kind, a name search and the usage of the 2,000 assets and 20 GB. A selected asset opens on
49
- the right: rename it, change its role, copy its `asset_id`, open the file or delete it. Pictures up to 10 MB and MP4
50
- clips up to 32 MB upload from the page; a clip shows as processing until it is checked.
51
- - *Server-side:* each asset gets a preview of at most 512 pixels on the long side, made by the worker after the asset
52
- is saved and caught up hourly. The Assets page shows the preview, never the original, in its grid. The API does not
53
- return the preview yet.
54
- - *Server-side:* more clip formats. `seedance-2.0` adds 480p in 9:16 and 16:9 at 18 credits a second and 720p 16:9;
55
- `seedance-2.0-fast` adds 480p in both formats and 720p 16:9; `seedance-2.0-mini` and `seedance-2.5` add 480p 16:9.
56
- The 480p clip of `seedance-2.0`, `-mini` and `-fast` is 496×864 or 864×496, and `warnings[]` says so.
57
- - A `make_ugc` image insert can name `asset_id` instead of `media_url`, exactly one of the two. The quote and the run
58
- accept only a ready PNG or JPEG asset of the same account, with a `media_type` that matches it. A foreign, deleted
59
- or unfinished asset answers `400 reference_not_usable` before any credits are reserved. The worker reads the
60
- file admission recorded and checks its sha256, so a later delete does not change a started run.
61
- - `get_run` in the MCP server returns `created_actor` on a succeeded `create_actor` run, so an agent sees the
62
- `actor_id` to pass to `make_ugc`.
63
- - `make_ugc` takes `overlays`: pictures anchored to words like inserts, drawn over the presenter in a corner or as a
64
- band across the top or bottom, entering with `cut`, `fade`, `slide` or `tilt_in`. At most two show at once, and two
65
- on screen together need positions that share no corner. Captions move to the middle or the bottom of the frame when
66
- an overlay meets them, never up over the face, and hide when neither place is free. An overlay steps aside while a full-frame insert is on screen, and one wholly under inserts is refused.
67
- - `make_ugc` takes `layout_windows`: `split` puts the presenter in the top half and the picture in the bottom half with
68
- captions on the seam (9:16 only); `card` shows the picture in a centred card, and `blur_presenter` blurs the
69
- presenter behind it. Windows may not overlap one another or an insert.
70
- - Inserts take `transition`: `cut`, `wipe`, `flash` or `zoom`. It plays inside the insert's own frames and never moves
71
- its start or end. A `caption_emphasis` item takes `punch_in: true` to zoom into the presenter while the quote is
72
- spoken.
73
- - *Server-side:* overlays and layout windows follow the insert rules: `script`, long-form qualification, 1080p and
74
- `broll_policy=anyone`, exactly one of `media_url` and `asset_id`, and ids unique across inserts, overlays and
75
- windows. A script with overlays or windows alone runs as long form. They change
76
- neither the presenter's slots nor the price: a blurred or covered presenter is billed face time. A run whose
77
- composition is off, skipped or failed names undrawn overlays, windows, transitions and punch-in in `warnings[]`.
78
- - `make_ugc` inserts, overlays and layout windows take `media_type: "video"`, by `media_url` or by the `asset_id` of an
79
- MP4 asset. The clip plays muted from its first frame and is cut by time where its words end, so a variable frame
80
- rate does not shift it. A clip shorter than its words holds its last frame, and `warnings[]` names the insert or
81
- layer: in the quote for an `asset_id` the slow speech edge may outlast, otherwise on the run. H.264 and HEVC in 8 bits
82
- without HDR are accepted.
83
- - *Server-side:* a 10-bit video asset answers `400 reference_not_usable` before any credits are reserved. A
84
- `media_url` clip, and the colour transfer of an asset clip, are measured by the worker before the first paid call:
85
- another codec, 10 bits or more, or a PQ or HLG transfer fails the run uncharged with `media_source_rejected` naming
86
- the insert or layer. A video `segments` item is still refused. Customer video costs nothing: the same script with a
87
- picture or a clip quotes and bills the same face seconds.
88
- - *Server-side:* graphic templates on `make_ugc`. `templates[]` takes up to 12 items
89
- `{ id, kind, anchor, cover_words?, placement?, transition?, data }` of three kinds: `tag` (a gradient pill, also
90
- over an insert), `lower_third` (a name and role bar) and `end_card` (a site pill with an optional call to action);
91
- captions are hidden under the last two and under a tag without `position`, which sits in the caption spot. Each kind
92
- takes `size` small, medium (the default) or large, and long text shrinks to fit. Templates are accepted on any
93
- `script` run without `segments` and never change its tariff or price: a plain run is billed 30 credits a second of
94
- finished video, and a run with inserts, overlays or layout windows is billed long-form-v1 (#840). Text over its
95
- limit (a wide CJK character counts 2), emoji, letters the run's fonts cannot draw, overlapping footprints and the
96
- other refusals answer 400 with a path before any hold. `@clipwright/core` exports the catalog (`TEMPLATE_KINDS`)
97
- and `@clipwright/mcp-server` offers a slim template item with the catalog in its description.
98
- - *Server-side:* full-frame templates and template pictures. `title_card` (a hook card: a title in up to two lines on
99
- a white card, an optional logo picture shown whole and a gradient chip) and `quote` (up to four lines, an author and
100
- an optional round photo) fill the frame; `stat` counts a number up from zero, on a full frame or over the presenter.
101
- A full-frame template hides captions, overlays and over-presenter templates while it shows, takes a `wipe`, `flash`
102
- or `zoom` drawn over the live presenter, and on a long-form run the presenter under it is still billed as face time.
103
- `logo` and `photo` take `{ asset_id }`: pinned at admission under the template id and slot, a video or another
104
- account's asset is refused 400 `reference_not_usable` before any hold, and a photo cut to its circle is named in
105
- `warnings[]`. On a plain run a template picture needs explicit `broll_policy=anyone`, like a layer (#840).
106
- - *Server-side:* templates on a plain script run (#840). A `script` run without inserts, overlays or layout windows
107
- takes `templates`, `template_theme` and `template_sounds` at 30 credits a second, with no minimum and no face
108
- seconds. The templates are drawn over its one take; if they cannot be drawn, the video is delivered at the same
109
- price and `warnings[]` says `templates was not drawn: <reason>`.
110
- - Quotes carry `tariff`: `ugc-per-second-v1` on a plain run, or long form's `pricingVersion` (`long-form-v1`). The
111
- field is an optional string, so older clients and stored quotes still parse; templates never change it.
112
- - *Server-side:* the `callout` template and template looks. `callout` draws an arrow or a ring onto a point given
113
- as `target { x, y }` in percent of the frame, pulses twice and rests, with an optional label pill below the point,
114
- or above it when there is no room or the face is below; the point may sit anywhere, the face rule covers the label.
115
- A run-level `template_theme { preset?, accent? }` picks `clean_light` (the default when absent) or `bold_dark`, and
116
- `accent` takes a `#RRGGBB` colour for the pills and accent text. A customer accent under 3:1 against the colours it
117
- meets is refused 400 at `template_theme.accent` before any hold, never shifted. The look freezes into the timeline,
118
- so a resumed run draws what it was admitted with, and footprints come from the frozen kind version.
119
- - *Server-side:* three interactive templates with inner quotes. `checklist` draws 2–4 rows of switches or check boxes
120
- that a cursor clicks in turn; `phone_call` rings an incoming call on a neutral phone at the side and answers it; and
121
- `compare` sweeps an after picture in over a before picture on a diagonal, full frame. An inner quote
122
- (`clicks[].quote`, `answer_at`, `reveal_at`) names words inside the template's own: the click, answer or reveal lands
123
- on their first word, and a click without one is spread evenly. A quote missing from the script, outside the item's
124
- words, out of the script's order, or on words an insert or full-frame template covers is refused 400 by its path
125
- before any hold. `compare` takes two pictures, pinned apart as `before` and `after`. Templates still change no price.
126
- - *Server-side:* three more templates and three more looks. `notification` drops a phone notification (an icon, the
127
- app, a title and a body line) into the band above the face, holds it at least 1.2 s and takes it away before its
128
- span ends; `progress` completes 2–5 steps in turn, each on its `advance_at` quote (exactly one per step) or spread
129
- evenly; `rating` fills five stars in turn up to a score in halves. `advance_at` is refused like the other inner
130
- quotes, and a list of the wrong length too. `template_theme.preset` adds `neon`, `paper` and `mono`, and a customer
131
- accent is checked against each look's own colours.
132
- - *Server-side:* templates play sounds, well under the voice, from a library of 31 bundled with the composition: a
133
- checklist click and its switch landing, a phone ringing until it is answered and the answer, a notification dropping
134
- in, each progress step and rating star, a compare reveal, and a full-frame wipe, zoom or flash. A run plays the
135
- defaults; `template_sounds: { beat: name }` swaps a beat's sound and `template_sounds: false` plays none. An unknown
136
- beat or name, or `template_sounds` without templates, is refused 400 by its path before any hold. `GET
137
- /v1/template-sounds` and the MCP tool `list_template_sounds` list each beat, its default and its names, free. A run
138
- frozen before this plays none. Sounds change no price. `@clipwright/sdk` adds `listTemplateSounds()`.
139
-
140
- ### Changed
141
-
142
- - *Server-side:* in `mono` the callout's ring and arrow have a white outline, so they read over a dark suit.
143
- - *Server-side:* a template beat spoken before its template has entered (a checklist click before its rows and cursor are
144
- in, or an answer, step or reveal during the enter) moves to the first frame after the enter, the beats after it keep
145
- 6 frames apart, and `warnings[]` names each move. Runs already rendered keep their frames.
146
- - *Server-side:* captions and the light template look are blue, with no purple: the two-tier and pill captions and the
147
- `punch` keyword use the reference's periwinkle-to-sky blue, `clean_light` follows it, `bold_dark` sits on a neutral
148
- near-black ground, `checklist` switches are green when on and red when off in every look, and the `phone_call` screen
149
- is the device's own teal-to-blue.
150
- - *Server-side:* a template no longer moves captions. While it meets their band it hides them, as the checklist and
151
- the phone do; a small one elsewhere, such as a notification at the top, leaves them on screen.
152
- - *Server-side:* `generate_image` and `generate_video` cost less. A `seedream-5.0-flash` image costs 5 credits instead
153
- of 12 and a `flare` image 6 instead of 18; a second of `seedance-2.0-mini` at 720p costs 10 instead of 50,
154
- `seedance-2.0` at 1080p 91 instead of 250, `kling-3.0` 17 instead of 50 and `gemini-omni-flash-1.1` 19 instead of 55.
155
- A run already admitted keeps its quoted price.
156
- - *Server-side:* a second of `seedance-2.5` at 480p costs 25 credits instead of 34.
157
- - *Server-side:* every delivered video is encoded once, at a quality setting chosen by eye on text frames, so a
158
- 35-second 1080×1920 video is about 11 MB instead of 27 MB. The resolution is unchanged (#845).
159
-
160
- ### Fixed
161
-
162
- - *Server-side:* a dropped connection while the worker checks on an ordered `make_ugc` clip no longer fails the run
163
- and charges for it. The worker checks again until its wait deadline, and a run that stays cut off ends with no charge.
164
-
165
- ## [0.33.0] - 2026-10-20
166
-
167
- ### Added
168
-
169
- - *Server-side:* `POST /v1/uploads/import` downloads a public https PNG or JPEG (up to 10 MB, 20 seconds, up to 3
170
- redirects) and returns an `upload_id`; private and link-local addresses are refused, and downloads are limited to 30
171
- attempts per hour per account.
172
- - *Server-side:* `POST /v1/uploads/intents` returns a presigned PUT url for a local PNG or JPEG; the `upload_id`
173
- becomes usable once the PUT lands, and `GET /v1/uploads/{id}` confirms it. Before the PUT, generations answer
174
- `upload_not_finished`.
175
- - MCP: `upload_image` takes `url`, and the new `create_upload` and `get_upload` tools work on the hosted server, so a
176
- remote agent can pass its own picture as `first_frame` or a reference.
177
- - *Server-side:* account assets, switched on since 2026-10-20. `POST /v1/assets` saves a picture from an own
178
- `generate_image` run, an upload, a public https url or base64, kept until the customer deletes it, and
179
- `{ asset_id }` works in `references` of both generations and in `first_frame` and `last_frame` of `generate_video`. `GET /v1/assets`,
180
- `GET /v1/assets/{id}`, `POST /v1/assets/{id}` and `DELETE /v1/assets/{id}` list, read, rename and delete them; an
181
- account keeps up to 2000 assets and 20 GB and makes up to 100 new ones a day. Free.
182
- - MCP: `create_asset`, `list_assets`, `get_asset`, `update_asset` and `delete_asset`; SDK: `createAsset`,
183
- `createAssetFromBytes`, `listAssets`, `getAsset`, `updateAsset` and `deleteAsset`.
184
-
185
- ### Changed
186
-
187
- - MCP: on the hosted server, `upload_image` with a `path` now points to `upload_image({url})` and `create_upload`
188
- instead of `quote_ugc`.
189
- - The n8n workflow `n8n/clipwright-ugc.json` carries sticky notes: an overview with setup and requirements, and one
190
- note per step, as n8n's template gallery asks. Its whole path, render included, ran on n8n Cloud on 2026-10-20.
191
-
192
- ### Fixed
193
-
194
- - SDK, CLI and MCP no longer retry `url_import_disabled` and `assets_disabled`: both mean the feature is switched off,
195
- and a repeat gets the same answer.
196
- - `upload_not_finished` tells the agent to PUT the file to its `put_url`, confirm it with `get_upload`, and repeat
197
- the call.
198
- - *Server-side:* a generation whose `first_frame` or `last_frame` names an unknown source fails before any vendor
199
- call, at zero credits, instead of running without the frame.
200
-
201
- ## [0.32.0] - 2026-10-20
202
-
203
- ### Added
204
-
205
- - The public repository ships an n8n workflow, `n8n/clipwright-ugc.json`, built on n8n's own MCP Client node with
206
- an API key; no community node is needed. It quotes a script, stops when the quote is above `max_credits`, starts the
207
- render and polls `get_run` every 15 seconds until the run ends. The quote and polling steps ran in n8n 2.43.8; the
208
- render step and n8n's OAuth credential have not been tried. Setup is in the `@clipwright/mcp-server` README.
209
- - The public repository is a Claude Code and Cursor plugin marketplace: `claude plugin marketplace add
210
- seocombat/clipwright-mcp`, then `claude plugin install clipwright@clipwright`. The plugin connects the hosted server
211
- at `https://mcp.clipwright.io/mcp`, which signs in with OAuth, and adds a skill that quotes before it spends credits.
212
- - `SKILL.md` in `@clipwright/mcp-server` carries OpenClaw frontmatter: it needs `node` and `npx` and reads
213
- `CLIPWRIGHT_API_KEY`. The skill is on ClawHub as `seocombat/clipwright`.
214
- - The four packages name their source repository, `seocombat/clipwright-mcp`, in `package.json`.
215
- - `@clipwright/core` exports `facelessMaxGeneratedImages` and `FACELESS_PUBLIC_MAX_GENERATED_IMAGES` (31): how many
216
- pictures a faceless video may generate, one per two selected seconds plus four.
217
- - *Server-side:* single generations are on since 2026-10-19: `quote_image`, `generate_image`, `quote_video` and
218
- `generate_video` no longer answer `generations_disabled`. The 0.31.0 entry announced them as pending.
219
- - *Dashboard:* credits come in three one-time packs: 1,000 for $10, 2,750 for $25 and 6,000 for $50. The dashboard
220
- has one buy button per pack, and a payment buys one pack.
221
- - *Dashboard:* the landing page is rebuilt. It starts with installing Clipwright in your agent, then shows the kinds
222
- of video an agent can make with their prices, a quickstart, a real run, actors and voices, and the three packs.
223
-
224
- ## [0.31.0] - 2026-10-19
225
-
226
- ### Added
227
-
228
- - *Server-side:* the remote MCP server at `https://mcp.clipwright.io/mcp` signs in with OAuth 2.1 and needs no API key.
229
- A client registers itself, either with a metadata document or with dynamic registration. You approve it at
230
- app.clipwright.io, and its token carries `mcp:read`, or `mcp:write` for tools that spend credits. Headless agents
231
- sign in with a device code as the client `clipwright-agent`.
232
- - *Dashboard:* the API keys page lists your connected apps and revokes them, effective on the app's next request.
233
- Signing in and signing up return you to the page that sent you there.
234
- - `@clipwright/mcp-server` exports `createServer(client, { fileAccess })`, so the same tools can be served over HTTP;
235
- with `fileAccess: "refuse"`, `upload_image` refuses a local `path`. `ClipwrightClient` in the SDK takes an explicit
236
- `clientId` (it then ignores `CLIPWRIGHT_CLIENT_ID` and `~/.clipwright`) and an `apiKey` function called per
237
- request. *Server-side:* a new error code, `insufficient_scope` (403).
238
- - *Server-side (activation pending):* new jobs admitted with required output marking verify signed provenance and a separate
239
- hidden watermark before delivering generated MP4/PNG/JPEG files; unverifiable required output is withheld with zero charge
240
- for the failed delivery. Optional `visible_ai_label` defaults to true for newly marked presenter videos, including long form;
241
- false hides only the visible label. Required machine marking stays enabled, and original uploads and historical files remain
242
- unchanged. Public contract version: `2026-10-18`. Marking is closed and the P2 video profile remains inactive pending native
243
- qualification; this entry does not announce deployment or activation.
244
- - *Server-side (activation pending):* single paid generations. `generate_image` makes one image and `generate_video`
245
- makes one silent clip from a prompt, with optional reference images or a first frame. MCP tools: `list_generation_models`,
246
- `quote_image`, `generate_image`, `quote_video` and `generate_video`. SDK methods: `listGenerationModels`, `quoteImage`,
247
- `generateImage`, `quoteVideo` and `generateVideo`. An image costs one unit; a clip is priced per requested second. A
248
- failed generation costs nothing. The routes answer `generations_disabled` until the feature is switched on; this entry
249
- does not announce activation.
250
-
251
- - *Server-side:* upload responses and the upload list include `content_digest`, the SHA-256 of the original bytes, alongside
252
- `upload_id`. CLI `upload --json` prints both for direct workflow asset binding; the default still prints the URL.
253
- SDK and MCP preserve the metadata, and the workflow docs show how to copy it without a digest lookup.
254
- Hand-built TypeScript `UploadResponse` values, including mocks, must supply the new required digest.
255
- - Edit rules for long videos in `@clipwright/core`. The rules gain `cover_min_frames`, the shortest picture over a
256
- presenter take and the shortest presenter gap between two such pictures; it is `null` where it does not apply, and
257
- read as `null` when absent. `upload_aspect` may be `{ mode: "exact", epsilon }`, and `max_generated_per_revision`
258
- may be 0. *Server-side:* `GET /v1/runs/{id}/shots` of a long video carries these rules; the video stays view-only.
259
- - **Breaking:** `SKILLS` gains `revise_long_form`, the revision of a long video that a later release opens. Code with
260
- an exhaustive `Record<Skill, …>` or `switch` over skills must add it. No run of this skill exists yet.
261
- - *Server-side:* four workflow methods now render: `ugc-product-intro`, `ugc-faq-answer`, `faceless-explainer` and
262
- `product-image-story`. `plan-run` in the CLI, `run_workflow_plan` in MCP and `runWorkflowPlan` in the SDK buy the
263
- quoted plan, charged like the video type the method makes. `website-proof-demo` and `kinetic-launch` still only
264
- plan.
265
- - *Dashboard:* the quickstart names the four workflow methods, and the Workflows section of the docs shows the CLI
266
- steps from a method's example to a finished run, and how to add your own product photos.
267
- - *Dashboard:* a link to clipwright.io shared in a chat, a social post or a directory shows a preview picture: the
268
- Clipwright mark and name.
269
-
270
- ### Changed
271
-
272
- - *Dashboard:* a long video's button says **View** instead of **Edit**, because the editor only shows long videos for
273
- now. The button appears only while the API shows long videos.
274
-
275
- ### Fixed
276
-
277
- - The SDK reads server responses tolerantly: a field that a newer server adds to a quote, the generation models list,
278
- a run or a workflow answer no longer makes `ClipwrightResponseError` throw in an installed client. A response
279
- missing a required field still fails.
280
- - *Server-side:* UGC output evidence accepts the measured AAC-LC tail beyond the last video frame, up to two
281
- AAC frames at the measured sample rate. It retains the container duration and existing billing behavior.
282
- - *Server-side:* a short UGC video is charged for its picture, not for the audio that runs past the last frame.
283
- An 8.96-second video whose AAC track ends 0.04 s later was charged for 10 seconds; it is now charged for 9.
284
- `duration_seconds` still reports the file's full length.
285
- - *Server-side:* UGC workflow quotes explicitly warn that duration and credits are estimates, so the final charge
286
- may differ. Short UGC keeps measured-duration rounding; long-form keeps its separate frozen face-time tariff.
287
- SDK, CLI and MCP retain the advice in the native quote warnings. Billing calculations are unchanged.
288
- - UGC workflow outcomes expose the measured final-file format, duration and
289
- digest after verified delivery. Missing or damaged evidence stays explicit;
290
- the native video result and settlement remain available.
291
- - *Server-side:* generated scenes in `product-image-story` use up to two distinct original product photos as
292
- references, including the opener image. The first anchors shape; extra originals keep their image placements.
293
- Plan readiness and the quote disclose the selection and possible visual differences. Older paid checkpoints
294
- reuse their existing scenes with a warning when product-photo conditioning cannot be verified. Revisions and
295
- candidates retain that known limitation through later edits.
296
- - The examples of `ugc-product-intro` and `ugc-faq-answer` named the actor `actor_male`, which does not exist, so a
297
- plan built from either example was refused at the quote with `actor_unavailable`. They name `actor_marcus` now. Both
298
- cards get a new `content_digest`; a plan pinned to the old one needs a new revision.
299
-
300
- ## [0.30.0] - 2026-10-17
301
-
302
- ### Added
303
-
304
- - Upload list: `listUploads` in the SDK and `uploads` in the CLI read the account's uploads that a revision still
305
- takes, newest first and one per picture. Each comes with a freshly signed url and `usable_until`, its creation plus
306
- 30 days of storage less a two-hour margin. Free. *Server-side:* `GET /v1/uploads`.
307
- - *Dashboard:* the editor's **Edit shot** dialog makes a new picture or clip for one shot and shows it beside the one in
308
- the video; you keep it or discard it. A result costs its price once it is made, kept or discarded; nothing if it fails.
309
- **Replace with a file** and the **Uploads** tab place your own picture in a shot at no cost, and **Generated assets**
310
- lists what you made for the video.
311
- - *Dashboard:* long videos open in the editor to view. Each presenter take and each inserted picture or clip is a shot
312
- you can select and play, with the words said over it; a take also shows how many seconds of the video have the face
313
- on screen. Editing long videos comes later. *Server-side:* `GET /v1/runs/{id}/shots` answers a delivered long-form
314
- run with `planned: true` and the new `editable.state` `view_only`; a draft save of such a run gets 409
315
- `run_not_editable`.
316
-
317
- ### Fixed
318
-
319
- - *Server-side:* uploads made before 2026-10-05T19:49Z are no longer listed or taken by a revision. The storage rule of
320
- that time deleted their files after 7 days, so a revision that named one failed at no charge.
321
-
322
- ## [0.29.0] - 2026-10-16
323
-
324
- ### Added
325
-
326
- - Workflow plans: a method from the public workflow catalog becomes a plan that you prepare, save, approve and
327
- quote for free, and then start as one paid UGC or faceless run with an explicit idempotency key. `listWorkflows`,
328
- `getWorkflow`, `createWorkflowPlan`, `getWorkflowPlan`, `saveWorkflowPlan`, `approveWorkflowPlan`,
329
- `quoteWorkflowPlan` and `runWorkflowPlan` in the SDK; `workflows`, `workflow-show`, `plan-create`, `plan-show`,
330
- `plan-save`, `plan-approve`, `plan-quote` and `plan-run` in the CLI; the MCP tools `list_workflows`, `get_workflow`,
331
- `prepare_workflow_plan`, `get_workflow_plan`, `approve_workflow_plan`, `quote_workflow_plan` and
332
- `run_workflow_plan`. Approval and the paid start are separate explicit calls; nothing quotes, approves or starts on
333
- its own. A method starts only once it is enabled on the server; until then its availability says why. `getRun` of a
334
- workflow run carries the purchased plan revision and its receipt. *Dashboard:* the videos list labels a workflow
335
- run with its plan, method and revision. (clipwright#631)
336
- - *Dashboard:* the editor of a faceless video edits its draft: move a cut by dragging it or with the keys, set a shot's
337
- start, end or length, start or end it on a word, remove a picture, and regenerate a picture or describe a new one.
338
- The draft saves itself. "Copy as API call" copies the revision as `curl` and as the MCP `revise_run` call, and
339
- "Render new version" shows the quote and starts the revision, which the header then follows to "Version ready".
340
- An answer that does not come is held in the browser, so a retry starts no second revision. (clipwright#604)
341
- - A shot of a faceless video can get a candidate: one picture or clip made for that shot, to keep or discard in a
342
- revision. `quoteCandidate`, `createCandidate` and `listCandidates` in the SDK, `candidate-quote`, `candidate` and
343
- `candidates` in the CLI, and the MCP tools `quote_candidate` and `create_candidate`. The quote charges nothing. A
344
- delivered candidate is charged its one unit whether it is kept or discarded; one that fails is charged nothing,
345
- even when its paid work was already done. An identical request returns the same run; `take` (`--take` in the CLI)
346
- makes another candidate on purpose. `candidate` prints the quote and starts nothing without `--yes`. While shot
347
- candidates are closed on the server, every call answers `editing_disabled`. (clipwright#604)
348
-
349
- ### Changed
350
-
351
- - **Breaking:** `ApiFailure` gains the kinds `workflow_invalid`, `workflow_conflict` and `workflow_not_ready`, for
352
- TypeScript callers that switch on the kind. Each keeps every issue and warning of the refusal. (clipwright#631)
353
- - The agent report of `edit_ceiling_reached` and `edit_invalid` names a paid edit and the request, not a revision and
354
- a document, since shot candidates are refused with the same codes. *Dashboard:* the docs page lists the prices of a
355
- shot candidate. (clipwright#604)
356
-
357
- ## [0.28.0] - 2026-10-15
358
-
359
- The revision of a faceless video is paid and open: `quoteRevision` and `startRevision` in the SDK, `revise-quote` and
360
- `revise` in the CLI, and the MCP tools `quote_revision` and `revise_run`, which make the server list 17 tools. Three
361
- failure kinds are new: `editing_closed`, `edit_ceiling_reached` and `edit_invalid`.
362
-
363
- ### Added
364
-
365
- - A finished faceless video can be revised: `quoteRevision` and `startRevision` in the SDK, `revise-quote` and
366
- `revise` in the CLI, and the MCP tools `quote_revision` and `revise_run`. A revision is a new run made from the
367
- edited document, or from shots named to be generated anew. The quote charges nothing. An identical request returns
368
- the same run; `attempt` (`--retry` in the CLI) starts a second revision on purpose. A revision that delivers is
369
- charged its quoted total; one that fails is charged nothing, even when its paid work was already done. While paid
370
- edits are closed on the server, both calls answer `editing_disabled`. (clipwright#604)
371
-
372
- ### Changed
373
-
374
- - **Breaking:** `@clipwright/core`, for TypeScript callers: the union `ApiFailure` has three more members,
375
- `editing_closed`, `edit_ceiling_reached` and `edit_invalid`. A `switch` over `failure.kind` that is checked for
376
- exhaustiveness does not compile until it handles them. Code that does not switch on the kind is not affected.
377
- (clipwright#604)
378
- - The refusals of the revision routes have failure kinds of their own: `editing_closed` for the 503s
379
- `editing_disabled`, `editing_not_priced` and `editing_window_not_set`, which are no longer retried as server errors;
380
- `edit_ceiling_reached` with the limit, the count and the runs counted; `edit_invalid` with the issues of the
381
- document. They were `server_error` and a `client_error` without their fields. (clipwright#604)
382
- - *Dashboard:* `/videos` lists faceless videos as well as UGC videos. A faceless video has no still frame, so its
383
- tile says that no preview was recorded, and a click plays it like any other tile. "Get video link" on the Balance
384
- page now gives the link of a faceless video, where it used to answer "No video for this run.". (clipwright#604)
385
- - *Dashboard:* a revision is labelled with the run it revises on the Balance page and on `/videos`, and the docs page
386
- lists the prices of a revision. (clipwright#604)
387
-
388
- ## [0.27.0] - 2026-10-13
389
-
390
- The shots of a finished video can be read, and the draft of an edit can be kept: `getRunShots`, `getRunEdit` and
391
- `saveRunEdit` in the SDK, `shots`, `edit-show` and `edit-save` in the CLI, and the MCP tool `get_run_shots`. A draft
392
- charges nothing and renders nothing, and no call makes a video from it yet.
393
-
394
- ### Added
395
-
396
- - *Server-side:* the API reads the shots of a run and keeps the draft of an edit. `GET /v1/runs/{id}/shots` returns
397
- each shot of a finished video: its span in frames, its kind, the words it covers, its description and a signed link
398
- to its source picture or clip. A run with no shots to show answers `planned: false` with the reason, which is an
399
- answer and not an error. `GET` and `POST /v1/runs/{id}/edit` read and save a draft: a document of the wanted
400
- timeline, stored with a version. A save names the version it was written against and is refused with 409
401
- `edit_conflict` when the draft has another. The three calls are free. A draft charges nothing and renders
402
- nothing, and no call makes a video from it. (clipwright#604)
403
- - `@clipwright/sdk`: `getRunShots(runId)`, `getRunEdit(runId)` and `saveRunEdit(runId, { base_version, document })`.
404
- The two 409 refusals of a draft arrive as `ClipwrightApiError` with their fields: `failure.version` on
405
- `edit_conflict`, `failure.state` and `failure.reason` on `run_not_editable`. `saveRunEdit` sends one request and
406
- never repeats it. (clipwright#604)
407
- - `@clipwright/cli`: `shots <run>` lists the shots of a run, `edit-show <run>` prints the draft as JSON, and
408
- `edit-save <run> --file <path>` saves the file `edit-show` printed. A save answered 409 reads the draft once: when
409
- the draft already holds the file's document one version later, an earlier send went through and the save is
410
- reported as done; otherwise the command reports the conflict and the stored version. (clipwright#604)
411
- - `@clipwright/mcp-server`: the tool `get_run_shots`, read-only. The MCP server now lists fifteen tools. The draft
412
- of an edit has no tool: it is read and saved over REST, the SDK and the CLI. (clipwright#604)
413
- - `@clipwright/core` exports the contract of these calls, also on the subpath `@clipwright/core/edit`: `runShots`,
414
- `runEdit` and `saveRunEdit`, which the API emits and takes, and `runShotsRead` and `runEditRead`, which a client
415
- parses a response with. The read schemas take as plain strings the names a later API may add: a kind of shot, an
416
- action, a line, the code of an issue. The document of a draft keeps the keys a client does not know.
417
- `parseApiFailure` returns the kinds `edit_conflict` and `run_not_editable` for the two 409 bodies, and
418
- `agentFailureReport` carries `version`, `state` and `reason`. (clipwright#604)
419
-
420
- ### Changed
421
-
422
- - **Breaking:** `@clipwright/core`, for TypeScript callers: the union `ApiFailure` has two more members,
423
- `edit_conflict` and `run_not_editable`. A `switch` over `failure.kind` that is checked for exhaustiveness does not
424
- compile until it handles them, and a 409 body with either code no longer parses as `client_error`. Code that
425
- does not switch on the kind is not affected. (clipwright#604)
426
- - `@clipwright/sdk`: a `ClipwrightResponseError` of a call that starts no run now reads "No run was created and no
427
- credits were spent, and a retry creates no run and spends none." in place of "Nothing was created; retrying is
428
- safe.". The old sentence was false of `setActorDefaults` and would be of `saveRunEdit`: such a call may have
429
- stored what it was sent. (clipwright#604)
430
- - *Dashboard:* the table "When a call fails" of the API docs lists the two refusals of a draft, and its row of
431
- ordinary refusals names status 422, which an upload that is not a readable image is answered with.
432
- (clipwright#604)
433
- - *Server-side:* an uploaded image is kept for 30 days instead of 7, as long as the media of a finished run. The
434
- link returned by `POST /v1/uploads` is still valid for 24 hours; upload the same file again to get a fresh one.
435
- `@clipwright/core` states the period as `UPLOAD_OBJECT_RETENTION_DAYS`, now 30. (clipwright#607)
436
-
437
- ## [0.26.1] - 2026-10-09
438
-
439
- A metadata patch: the npm description of `@clipwright/mcp-server` no longer carries a catalog claim token.
440
-
441
- ### Changed
442
-
443
- - `@clipwright/mcp-server`: the package description on npm returns to its text before 0.26.0. That release appended
444
- a one-time token, which a catalog read to confirm who owns its listing of the server. The catalog has confirmed it,
445
- so the token is gone. No tool, flag or behavior changed. (clipwright#570)
446
-
447
- ## [0.26.0] - 2026-10-09
448
-
449
- `make_faceless` takes a narration voice by name: `list_voices` with `skill=make_faceless` lists seventeen voices in
450
- six languages. The MCP tools `make_faceless` and `quote_faceless` refuse a key they do not declare, and the MCP
451
- server requires a patched `@modelcontextprotocol/sdk`.
452
-
453
- ### Changed
454
-
455
- - *Dashboard:* a guide at `/guides/ai-ugc-ads` says what UGC ads and AI UGC ads are, and what the rules of the
456
- United States, the European Union and the large platforms ask of them. Every source is listed with its date.
457
- (clipwright#569)
458
- - *Server-side:* a faceless video file carries its AI disclosure: the statement is embedded in the MP4 and stored in
459
- the object metadata beside `ai-generated: true` and `generator: clipwright`. When the tag cannot be embedded, the
460
- video is still delivered and the run says so, with the cause, in `warnings[]`. Faceless files delivered on or before
461
- 2026-10-04 may carry the storage flag alone. (clipwright#489)
462
- - `@clipwright/core` exports `aiDisclosureObjectMetadata(text, embedded?)`, the builder of that object metadata, and
463
- `AI_DISCLOSURE_EMBEDDED_METADATA_KEY`. `AI_DISCLOSURE_OBJECT_METADATA` stays the metadata of a video with a
464
- presenter. (clipwright#489)
465
- - *Dashboard:* The AI Disclosure page describes one marking for both kinds of video and names the date before which
466
- a faceless file may carry less. (clipwright#489)
467
- - *Server-side:* a finished faceless video is delivered even when our own check of the picture objects. The run ends
468
- `succeeded`, is charged by the delivered duration, and says in `warnings[]` what the check could not confirm and at
469
- which second: the captions, a scene change, text in the caption area with captions off, or that the check did not
470
- run. Such a run used to wait for an operator, and the customer got no video. A file that is not the video we
471
- rendered (wrong length, size or sound) is still refused without a charge. (clipwright#498)
472
- - *Server-side:* the narration of a faceless video is levelled to -16 LUFS, and quiet and loud phrases are brought
473
- closer together. It used to keep the level of the speech vendor: about 4 LU quieter, with phrases up to 5 dB apart,
474
- so a later phrase could sound much louder than the opening. Timing is unchanged. (clipwright#333)
475
- - *Server-side:* pictures in a faceless video change faster and less evenly: about every two and a half seconds on
476
- average, where they used to hold for three to four, and a short phrase gets a short shot of its own. A video uses
477
- more generated pictures, so it takes longer to make; the price is unchanged. (clipwright#519)
478
- - *Server-side:* a faceless shot that covers two phrases shows one scene. It used to ask for both scenes in one
479
- picture, which could come back as two pictures stacked in one frame. (clipwright#517)
480
- - *Server-side:* the step that writes the scene descriptions of a faceless video is told to ask for readable words
481
- and figures only when the script says them. It used to invent some, such as figures on a blackboard that
482
- contradicted the narration. This makes invented writing rarer, not impossible; the writing in a finished picture
483
- is compared with the script by the check of generated pictures described further down. (clipwright#516)
484
- - *Server-side:* a faceless video file is smaller and closer to the rendered picture. A local render of one
485
- 43-second video with the new settings came to 29 MB at about 5 Mbit/s, where the old settings gave 75 MB at 14.
486
- Resolution, frame rate, colour and audio are unchanged. (clipwright#518)
487
- - *Server-side:* a faceless video whose opening clip shows text is delivered, with a `warnings[]` line saying so. It
488
- used to fail with `opening_clip_rejected: the generated opening clip shows text`, or wait for an operator when the
489
- frame held a lot of text, so a scene set in a shop or a café often could not be made: the image model draws signs
490
- and price tags on its own. An opening clip that ends on a fade or is one flat colour still fails without a charge.
491
- (clipwright#524)
492
- - *Server-side:* a faceless video may run up to a quarter past `duration_seconds`, never past 90 seconds. It used to
493
- fail with `voice_outside_selected_duration` when its narration ran more than 5 seconds over, and one script is
494
- spoken at a different length from run to run, so a script that fitted once could fail the next time. A video more
495
- than 5 seconds longer than selected says so in `warnings[]`, with both lengths. The price is unchanged: seconds
496
- past the selection are free. A script is still accepted when its estimated length is 21 seconds to
497
- `duration_seconds` plus 5, at most 90. (clipwright#529)
498
- - `@clipwright/core`: `facelessMaxOutputFrames(selected)` returns a quarter past the selection, and the new
499
- `facelessMaxEstimateFrames(selected)` returns the selection plus 5 seconds, the bound a script estimate must fit.
500
- (clipwright#529)
501
- - *Server-side:* a faceless video is ready sooner. After the first picture the others are generated three at a time,
502
- beside the opening clip, where they used to be made one after another. The price and the result are unchanged.
503
- (clipwright#520)
504
- - *Server-side:* at most two faceless videos of one account are made at once; a third waits its turn and is not
505
- refused. Faceless runs had no such limit. Each line also has a limit across all accounts now, so when many accounts
506
- render at once a run may wait behind theirs instead of failing at a vendor. Three videos with a presenter per
507
- account, as before. (clipwright#534)
508
- - `@clipwright/core` exports `MAX_CONCURRENT_FACELESS_PER_ACCOUNT`. (clipwright#534)
509
- - *Server-side:* captions of a faceless video break at the script's punctuation. A caption line used to be filled to
510
- the width of the frame, so it could end one word into the next sentence: "NEXT MORNING A SIGN SOLD", then "OUT BY
511
- NOON". A line now ends at a sentence mark, crosses a comma only with whole clauses, and a clause too long for one
512
- line is split into parts of similar width instead of a full line and a leftover word. An abbreviation written with a
513
- full stop before a capital or a figure ("Dr. Smith", "No. 1") still reads as a sentence end and can leave a one-word
514
- line. (clipwright#535)
515
- - *Server-side:* a video with a presenter (`make_ugc` or long-form) comes in a smaller file that is closer to the
516
- rendered picture. A local render of one 69-second long-form video with the new settings came to 45 MB, where the
517
- old settings gave 54 MB. Resolution, frame rate, colour and audio are unchanged. (clipwright#526)
518
- - *Server-side:* a character who appears in several scenes of a faceless video is now described the same way in every
519
- scene that shows them. The step that writes the scenes fixes one description of every recurring person or animal
520
- (apparent age, build, hair, clothing), and the picture of each such scene is asked for with it. A secondary character
521
- used to be a different person in every scene; only the main character, shown in the first picture, stayed the same.
522
- Faces can still differ a little between scenes. (clipwright#532)
523
- - `make_faceless` takes `voice`, the narration voice by name: `voice` on `quote_faceless` and `make_faceless`,
524
- `--voice` on `quote-faceless` and `make-faceless`. `list_voices` with `skill=make_faceless` (`--skill
525
- make_faceless` on `voices`) lists seventeen narration voices for it, in English, Russian, Spanish, Portuguese,
526
- French and Italian, each with a language and a gender. Every listed voice now names the one skill that speaks it
527
- in `skill`. Without `voice` the narration is read as before, by `narrator_en_wise_lady`. An unknown name,
528
- a `make_ugc` voice and `voice_id` are refused before any charge, and `make_ugc` refuses a faceless voice the same
529
- way, naming the skill that speaks it. A named voice whose language is written in another alphabet than the
530
- script adds a line to `warnings[]` of the quote and of the run: the voice may mispronounce the text, and the
531
- video may come out longer than its length limit and fail. A brief written in the other alphabet, with no letter
532
- of the voice's, adds that line as a condition, since a brief may ask for the narration's language in words. The faceless voices have
533
- no audio sample yet. (clipwright#530)
534
- - **Breaking:** `@clipwright/mcp-server`: `make_faceless` and `quote_faceless` refuse a key they do not declare,
535
- `voice_id` first of all, before any request is sent. Such a key used to be dropped silently. (clipwright#530)
536
- - *Server-side:* `GET /v1/voices` without `skill` returns the `make_ugc` voices only, the same list as before, to
537
- every client version; `skill=make_ugc` returns it too. The faceless voices come only with `skill=make_faceless`,
538
- as `kind: "faceless_voice"`. (clipwright#530)
539
- - `@clipwright/core` exports `FACELESS_VOICES`, `FACELESS_VOICE_NAMES`, `DEFAULT_FACELESS_VOICE`,
540
- `FACELESS_SPEECH_MODEL`, `isFacelessVoiceName`, `buildFacelessVoiceWarnings`, `VOICE_SKILLS`,
541
- `FACELESS_REJECTED_FIELDS` and `offeredFacelessInput`; `@clipwright/core/voice-admission` exports
542
- `serverFacelessInput` and `facelessVoiceRefusal`. (clipwright#530)
543
- - *Server-side:* a generated picture of a faceless video can be checked before the video is assembled: for writing that
544
- neither the script nor the run's `character_details` contain, and for a frame cut into several pictures. The check
545
- sits behind a server switch, which was turned on after its first production run had been read; that run, of eighteen
546
- pictures, took a minute and a half longer than the same video unchecked. A picture
547
- with either is drawn once more when the run has time and budget for it, and the cleaner of the two is used. What
548
- remains is named in `warnings[]` with the seconds it is on screen, one line for each thing found; a finding by itself
549
- does not fail the run. A picture whose check cannot run in its time or within the run's budget is used as it is, and
550
- one `warnings[]` line says how many pictures went unchecked. The check is a paid step like the others: when its cost
551
- cannot be established, the run waits for an operator. Scene pictures are also asked for no writing unless the scene
552
- quotes the script, which removed invented signs and figures from 10 of 10 test pictures. A customer's own image is
553
- not checked. Writing on a `character_reference` picture is not known to the check: a generated picture that repeats
554
- it is reported when the writing has a figure or more than two words. (clipwright#516, clipwright#517)
555
- - *Server-side:* the narration of a faceless video is delivered in two identical channels instead of one. It sounds the
556
- same, and a loudness meter now reads the -16 LUFS the narration is levelled to; a meter that measured the single
557
- channel read 3 LU lower. The file grows by about 1 %. (clipwright#526)
558
-
559
- ### Security
560
-
561
- - `@clipwright/mcp-server` requires `@modelcontextprotocol/sdk` 1.31.0 or newer. Earlier versions let an OAuth client
562
- send credentials to an authorization server chosen by the MCP server (GHSA-6qxp-vccf-f47h). The server speaks stdio
563
- and uses no OAuth; a fresh install of 0.25.0 already resolves to a patched version. (clipwright#510)
564
-
565
- ### Fixed
566
-
567
- - *Server-side:* a faceless video whose opening clip has to end in the middle of a phrase keeps the words a
568
- `scene_images` picture is anchored to on that picture: the narration starts later, by under three seconds, so the
569
- clip ends before those words. When no such start exists, the video is still delivered, and `warnings[]` names the image and
570
- the anchored words spoken while the opening clip was on screen. It used to say nothing. (clipwright#521)
571
- - *Server-side:* a faceless narration that comes out longer than the video may run is spoken once more, a little
572
- faster. The run used to fail with `voice_outside_selected_duration` after the story and the speech were made, and
573
- one script is spoken at a different length from run to run, so a script that fitted once could fail the next time.
574
- A script that would not fit even at the fastest speech still fails, without a charge. (clipwright#529)
575
- - *Server-side:* a faceless run no longer stops for review when one picture takes the image service about two minutes.
576
- Such a picture is rare, about two in a hundred, but a video has eighteen or more, and since the pictures are made
577
- three at a time (clipwright#520) one slow picture was enough to hold the whole run for an operator. A picture now has
578
- four minutes before the run gives up on it. (clipwright#544)
579
- - *Server-side:* two faceless videos made at the same time are much less likely to stop for review. To record what a
580
- picture cost we ask the image service, which answers only a few such questions a minute; with two videos in work it
581
- refused some, and a picture with no recorded cost held the whole run for an operator. A refused question now waits
582
- as long as the service asks and is put again. Under load a video can take a few minutes longer; the limit itself
583
- stays, so several videos at once can still meet it. (clipwright#553)
584
- - *Server-side:* at most two faceless videos are made at once across all accounts; a third waits in the queue and
585
- starts when one of them is done. Three at once asked the image service for more cost records than it answers, and
586
- two of the three stopped for review. The limit per account stays at two, so one account's two videos can hold the
587
- line while another account's video waits. (clipwright#553)
588
- - *Server-side:* the voice preset `owner_ru_clone` speaks again. The cloned voice behind it was replaced at the
589
- vendor, and a run that named the preset was refused before any charge. The preset now maps to the new voice, still
590
- on `eleven_v4`, and `list_voices` links a sample spoken by it. (clipwright#497)
591
- - *Server-side:* the delivery check of a faceless video no longer mistakes a yellow or amber picture for a caption
592
- fault. It refused a correct video whose picture glowed behind the captions: a lamp, a sunset, fire, gold. The check
593
- now compares neighbouring frames, so only yellow that moves with the spoken word counts. (clipwright#496)
594
- - *Server-side:* a video file keeps one metadata box. The AI disclosure used to be added as a second box next to the
595
- encoder's own, so a reader that takes the first box saw the encoder's comment and no disclosure. The disclosure now
596
- replaces that comment in the one box, and the encoder tag stays. (clipwright#493)
597
-
598
- ## [0.25.0] - 2026-10-04
599
-
600
- The AI disclosure names what each video holds, and the clients show it: `get_run` of the MCP server and
601
- `clipwright runs <id>` carry `ai_disclosure`. The visible "AI-generated" label is gone, and the clients no longer
602
- offer `disclosure_overlay`.
603
-
604
- ### Removed
605
-
606
- - **Breaking:** *Server-side:* `disclosure_overlay` is gone: no video carries the visible "AI-generated" label. Quote
607
- and run refuse the field with 400 `rejected_field` before any charge, and the refusal says where the disclosure is:
608
- the run response and the file metadata. Clients up to 0.24.0 still list the field in their input schema; stop
609
- passing it. Label the publication with the platform's own control. The contract version is `2026-10-04`.
610
- (clipwright#488)
611
-
612
- ### Changed
613
-
614
- - *Dashboard:* The Privacy Policy says that we keep the site that referred you and any marker in the link that
615
- brought you to sign-up, and that a notification of each sign-up, with the email address, reaches us through
616
- Telegram. (clipwright#482)
617
- - *Server-side:* `ai_disclosure` of a faceless run names what that video holds: "This video was generated with AI:
618
- the voice, the opening clip and the images are synthetic." A faceless run with `scene_images` says instead that the
619
- voice and the opening clip are synthetic, and so is every image its author did not supply. Until now a faceless run
620
- carried the sentence of a video with a presenter, about an actor and lip sync it does not have. A run with a
621
- presenter keeps its sentence. (clipwright#488)
622
- - `get_run` of the MCP server returns `ai_disclosure` with a finished video, and `clipwright runs <id>` prints it
623
- under the video link. Until now neither showed the statement. (clipwright#488)
624
- - *Server-side:* a run accepted with `disclosure_overlay: true` before the label was removed and composed after it
625
- says so in `warnings[]`. (clipwright#488)
626
- - `@clipwright/core` exports `aiDisclosureText(skill, input)` and the two faceless sentences,
627
- `FACELESS_AI_DISCLOSURE_TEXT` and `FACELESS_OWN_IMAGES_AI_DISCLOSURE_TEXT`. `AI_DISCLOSURE_TEXT` stays the sentence
628
- of a video with a presenter. (clipwright#488)
629
- - *Dashboard:* The AI Disclosure page gives the three wordings of the statement, says that a faceless file carries a
630
- storage flag alone, and no longer describes a visible label. (clipwright#488)
631
-
632
- ## [0.24.0] - 2026-10-03
633
-
634
- A second speech model, `gemini-3.8-flash-tts`, with thirty voices of its own and a sample of each in English and
635
- Russian. Nothing changes unless you name the model or one of its voices. The CLI and the MCP server accept the new
636
- `tts_model` value from this release on.
637
-
638
- ### Added
639
-
640
- - `tts_model` accepts `gemini-3.8-flash-tts`, a speech model of a second vendor. Nothing changes unless you name it:
641
- every default stays as it was, and Russian speech without `tts_model` still uses `eleven_v4`. The model speaks only
642
- its own voices: without `voice`, `kore` for a female actor and `charon` otherwise. It reads Russian stress marks,
643
- and it gets the text with `<break time="…" />` tags cut, which the response names in a warning. Its script limit is
644
- 5,000 characters. The price per finished second is the same as on every other model. (clipwright#453)
645
- - `voice` accepts the thirty voices of `gemini-3.8-flash-tts` by name: `kore`, `puck`, `zephyr` and the rest, as
646
- `list_voices` returns them. Naming one selects that model without `tts_model`, and the quote names the model.
647
- `clipwright voices` prints the model on the line of such a voice. (clipwright#453)
648
- - *Server-side:* `list_voices` returns those thirty voices after the presets as entries of kind `model_voice`. Each
649
- names one model in `model` and `supported_models`, has no `language`, and carries `gender` only where it is known:
650
- `kore` is female and `charon` is male. The filters `model=gemini-3.8-flash-tts`, `language=ru` and `language=en`
651
- find them; any other language does not. (clipwright#453)
652
- - *Server-side:* each of those thirty voices carries `preview_url`, a short sample spoken by that voice on its model.
653
- The sample is in English; a request filtered by `language=ru` gets the Russian one. `clipwright voices` prints the
654
- link under the voice, as it does for every other voice with a sample. (clipwright#453)
655
- - *Server-side:* with `gemini-3.8-flash-tts` the API refuses a preset or catalog `voice`, `voice_id`, `captions=true`,
656
- `segments` and `inserts` before any charge: the model does not speak the preset and catalog voices and returns no
657
- word timings. It refuses the same when a voice names the model instead of `tts_model`, and it refuses one of the
658
- model's voices next to any other `tts_model`. Each refusal names what to pass instead. `list_voices` lists the
659
- model in `models[]` with the languages `en` and `ru`; no preset or catalog voice names it in `supported_models`.
660
- (clipwright#453)
661
- - *Server-side:* a warning about stress marks on `eleven_flash_v2_5` or `eleven_turbo_v2_5` names only the models
662
- that speak the voice of the run: with an explicit `voice` or `voice_id` these are `eleven_v3` and `eleven_v4`.
663
- (clipwright#453)
664
- - *Server-side:* the quote and the reserve for a Russian script on `gemini-3.8-flash-tts` assume 2.2 words per second,
665
- the pace measured on its two default voices: 153 Russian words are quoted at 70 seconds and 2,100 credits. A script
666
- in Latin letters on this model is quoted at 2.6 words per second, as on every other model. The charge follows the
667
- measured duration. (clipwright#453)
668
- - *Dashboard:* the Privacy Policy, the Cookie Policy and the AI disclosure page name the speech provider of a run
669
- that chooses this model. (clipwright#453)
670
-
671
- ## [0.23.0] - 2026-10-02
672
-
673
- Russian speech moves to `eleven_v4`: the server names it by default, and the client texts say which voices speak it.
674
- Clients older than 0.22.0 fail on the new model name.
675
-
676
- ### Changed
677
-
678
- - **Breaking:** *Server-side:* Russian speech uses `eleven_v4` when you name no `tts_model`. That covers the presets
679
- `owner_ru_clone` and `daria_ru_female`, the catalog voices named `ru_*`, and a raw `voice_id` whose script is mostly
680
- Cyrillic. Every other voice stays on `eleven_v3`, and an explicit `tts_model` always wins. Clients older than 0.22.0
681
- read the model as one of three fixed values and fail on a response that names `eleven_v4`: `list_voices` fails
682
- whenever the listing holds a Russian voice, as the unfiltered one always does, and `quote` fails for those Russian
683
- voices. Upgrade to 0.22.0 or later. The contract version is `2026-10-02`. (clipwright#452)
684
- - **Breaking:** `resolveTtsModel` in `@clipwright/core` requires `script`, the whole spoken text of the run: a raw
685
- `voice_id` takes its model from it. (clipwright#452)
686
- - *Server-side:* a script, or the line of one actor segment, that holds nothing but `<break time="…" />` tags is
687
- refused before any charge on `eleven_v4`. The model gets the text with those tags cut, and nothing would be left
688
- to say. (clipwright#452)
689
- - *Server-side:* the warnings for a model that misreads stress marks name both models that read them, `eleven_v4`
690
- and `eleven_v3`, instead of advising `eleven_v3` alone. (clipwright#452)
691
- - *Server-side:* the quote and the reserve for a Russian script on `eleven_v4` assume 2.18 words per second, the
692
- measured pace, instead of 2.3. `duration_estimate_sec` and `credits_estimate` come out about 5% higher: 153 Russian
693
- words are quoted at 70 seconds and 2,100 credits instead of 67 seconds and 2,010. The charge still follows the
694
- measured duration. A Russian script on an explicit `eleven_v3` and every other language are quoted as before.
695
- (clipwright#452)
696
- - *Server-side:* the long-form qualification ceiling (`segments` or `inserts`) moves from 300 to 327 seconds of
697
- estimated output, for every run. A Russian script on an `eleven_v4` voice passes up to 713 words, against the 691
698
- that passed while Russian voices spoke `eleven_v3`. A Russian script on an explicit `eleven_v3` passes up to 753
699
- words and an English one up to 851. A longer script is refused before any charge. (clipwright#452)
700
- - The `tts_model` and `script` descriptions say which voices speak `eleven_v4` by default, name both models that read
701
- stress marks, and say that break tags are not counted toward the `eleven_v4` script limit. (clipwright#452)
702
-
703
- ### Fixed
704
-
705
- - `SKILL.md` and the CLI README no longer say that every preset and catalog voice speaks `eleven_v3`, and no longer
706
- advise keeping Russian scripts on `eleven_v3`. They name the voices that speak `eleven_v4` when you name no model:
707
- the presets `owner_ru_clone` and `daria_ru_female`, the catalog voices named `ru_*`, and a raw `voice_id` with a
708
- mostly Cyrillic script. They name both models that read stress marks, `eleven_v4` and `eleven_v3`, and say that
709
- `eleven_v4` gives no pause for a `<break time="…" />` tag and gets the text with the tag cut. `SKILL.md` lists the
710
- 5,000-character script limit of `eleven_v4`. The behavior is the one the entries above describe; only these texts
711
- were out of date. (clipwright#452)
712
- - The `--tts-model` help of `clipwright make` says that an omitted flag means the voice's default model. It said
713
- "the preset's model", which was wrong for a catalog voice and for `--voice-id`. (clipwright#452)
714
-
715
- ## [0.22.0] - 2026-10-01
716
-
717
- A new speech model: `tts_model` accepts `eleven_v4`, and the clients no longer fail on a model they do not know.
718
-
719
- ### Added
720
-
721
- - *Server-side:* a new sign-up gets a one-time trial of 420 credits, enough for one 90-second faceless video. An
722
- account gets one trial at most. (clipwright#58)
723
- - `tts_model` accepts `eleven_v4`, with a script limit of 5,000 characters. No voice speaks it by default: presets,
724
- catalog voices and a raw `voice_id` stay on `eleven_v3` until you name it. It reads stress marks as `eleven_v3`
725
- does. It gives no pause for a `<break time="…" />` tag, so the tag is cut from the text and `warnings[]` says so
726
- in the quote and on the run. `list_voices` reports its languages. (clipwright#452)
727
-
728
- ### Changed
729
-
730
- - The clients read `tts_model` in a quote and `model` in `list_voices` as text, not as one of a fixed list. A client
731
- released before a new speech model no longer fails on a response that names it. (clipwright#452)
732
-
733
- ## [0.21.1] - 2026-09-27
734
-
735
- A wording patch: the clients now describe the faceless length the way the API delivers it.
736
-
737
- ### Fixed
738
-
739
- - The `make_faceless` tool description, the `make-faceless` CLI help, the `.mcpb` manifest, `SKILL.md` and the
740
- package READMEs no longer call a faceless video a fixed 30–90 seconds. You select `duration_seconds` from 30 to 90;
741
- the video ends with its narration and runs from 25 seconds to 5 seconds past the selection, never past 90. The
742
- behavior is unchanged from 0.21.0; only the text was wrong.
743
-
744
- ### Changed
745
-
746
- - *Dashboard:* The Acceptable Use Policy allows a faceless video to show a recognisable public figure when the story
747
- is about that person (news, history, biography, commentary). It still may not make them appear to say, do or
748
- endorse anything they did not. Showing a real person speaking your script still requires that person's consent.
749
-
750
- ## [0.21.0] - 2026-09-27
751
-
752
- Faceless videos: an agent can now make a video of up to 90 seconds without an on-camera presenter, from a script or
753
- from a short brief, and see the price before anything is made.
754
-
755
- ### Added
756
-
757
- - `quote_faceless` and `make_faceless` MCP tools, `quoteFaceless` and `startFaceless` in the SDK, and the
758
- `quote-faceless` and `make-faceless` CLI commands. The video is narration over an opening animated clip and image
759
- scenes, with captions on by default. `duration_seconds` (30 to 90) is a target: the video ends with its narration
760
- and runs from 25 seconds to 5 seconds past `duration_seconds`, never past 90. `quote_faceless` is free;
761
- `make_faceless` returns a `run_id`, and `get_run` reports progress. The MCP server now lists fourteen tools.
762
-
763
- ### Server-side
764
-
765
- - A faceless run is charged for the video it delivers, by its actual length, and never more than its quote: seconds
766
- past `duration_seconds` are free. A failed
767
- run is charged nothing, including one we stop ourselves because a step did not meet our checks. A run held for
768
- review keeps its credit hold until it is resolved.
769
- - Captions drop surrounding punctuation, keep accents and other diacritics, and show numbers as written (`$3.50`,
770
- `10:30`, `1,000`, `50%`, `-20`).
771
- - With captions on, the script is checked against the caption font before speech is generated; a character the font
772
- cannot draw fails the run without a customer charge.
773
- - Narration uses automatic language detection.
774
- - Pictures change about every three seconds, between spoken words.
775
-
776
- ### Changed
777
-
778
- - *Server-side* Voice catalog: `cs_female_jana` is now listed with use case `advertisement` (was `narrative_story`);
779
- the notice period is 4015 days for `en_female_cassidy` (was 730) and 730 days for `fi_male_jaakko` (was 365).
780
- `es_male_benjamin` is unchanged and remains available.
781
-
782
- ### Known limits
783
-
784
- - The voice reads some abbreviations literally: write "1.5 million" rather than "1.5M".
785
- - A generated picture can come out as a collage of two or three panels, and small character details (glasses,
786
- for instance) can change between pictures.
787
- - Narration is not loudness-normalized yet, so a video can play quieter than other clips in the same feed.
788
- - *Server-side* A faceless run can fail when the opening clip shows a pattern our text check mistakes for lettering
789
- (a chain, for instance). The run is charged nothing; running it again produces a new video.
790
-
791
- ## [0.20.0] - 2026-09-25
792
-
793
- The MCP server is ready for directories: it has a name in the official MCP
794
- Registry, and every tool tells the host whether it only reads or writes.
795
-
796
- ### Added
797
-
798
- - Every MCP tool now carries a `title` and the `readOnlyHint`/`destructiveHint`
799
- annotations: quotes, lists and reads are read-only, `delete_actor` is
800
- destructive, and `make_ugc`, `create_actor`, `upload_image` and
801
- `set_actor_defaults` write.
802
- - `@clipwright/mcp-server` declares `mcpName: io.clipwright/mcp` for the official
803
- MCP Registry.
804
-
805
- ## [0.19.0] - 2026-09-22
806
-
807
- A paid video that arrived after we stopped waiting can now be collected: the run
808
- goes back to `queued` and drives the pipeline again. The server side was live
809
- from the day it was deployed; this release carries the contract change to the
810
- MCP tool description, which is where an agent reads the promise.
811
-
812
- ### Changed
813
-
814
- - **Breaking:** `failed` is no longer always final. A run whose paid vendor job
815
- we still hold can be reopened: it goes back to `queued` and may reach
816
- `succeeded`. Every reopening is named in `warnings[]`, and one run is reopened
817
- at most three times. An agent that stops polling the moment it reads `failed`
818
- will miss a video that was paid for and delivered.
819
- - *Server-side* A run that lost the video while the vendor was still working on
820
- it no longer says its paid job "was retained for recovery" when this run's
821
- terms cannot support recovery. Reading the terms fails soft: when they cannot
822
- be read at all, the run promises nothing either way.
823
- - *Server-side* A recovered delivery is written to the ledger under its own
824
- reason, `run_recovered_delivery`, because the vendor spend was already counted
825
- on the day the run first failed.
826
-
827
- ### Operations
828
-
829
- - Migration 0036 adds `recovery_attempt` and `recovery_reopened_at` to `runs`,
830
- and both are read on the main render path. **Apply the migration before
831
- deploying any service**: an early deploy fails every `make_ugc` run, not one
832
- feature. Order forward is migration, api, worker, web; backwards it is worker
833
- and api first, then drop the columns.
834
-
835
- ## [0.18.0] - 2026-09-21
836
-
837
- Long-form clips can now show a face for a fifth of their length instead of nearly
838
- all of it, which is what the face-second meter was priced for.
839
-
840
- ### Added
841
-
842
- - `cover_words` on an insert says how many spoken words it covers, counted from
843
- the first word of its anchor. The share of words left uncovered decides the
844
- share of the clip that shows a face, and it does not move with the speed the
845
- voice reads at. Word length still varies: at a 560-word script, asking for 19%
846
- delivered 16 to 22 in nine hundred and ninety-seven simulated runs out of a
847
- thousand, measured on this profile's voice. A shorter script scatters wider.
848
- - A quote for a narrated clip carries `estimatedFaceWordShare`: the share of the
849
- clip that will show a face, known before anything is synthesised.
850
-
851
- ### Changed
852
-
853
- - **Up to 49 inserts per clip**, not two, and at most six appearances of the
854
- actor between them. Both are counted from the word indexes you send, so an
855
- input asking for more is refused before anything is paid for.
856
- - *Server-side* An insert now ends where its first uncovered word begins rather
857
- than where its last covered word ends, so the pause between two words belongs
858
- to the insert. Inserts whose coverage meets are adjacent frame for frame and
859
- no longer leave a fragment of actor footage between them.
860
- - *Server-side* The credit hold for a narrated clip reserves the words you leave
861
- uncovered instead of the whole narration. On a clip that covers four fifths of
862
- its script the hold falls from 2170 credits to 630. Billing is unchanged: it
863
- has always used the face intervals actually delivered.
864
-
865
- ## [0.17.0] - 2026-09-16
866
-
867
- Everything here came out of the second dry run by a tester who had not seen the
868
- product before.
869
-
870
- ### Added
871
-
872
- - The MCP server reports money. `make_ugc` carries `credits_reserved` and
873
- `get_run` carries `credits_charged`, in every state, so an agent no longer has
874
- to call `get_account` before and after and subtract. The field names come from
875
- the run schema, so REST and MCP cannot drift apart. (clipwright#209)
876
- - *Server-side:* in `GET /v1/voices`, each entry of `models` carries
877
- `vendor_verifies_voices` — whether the vendor's library listing marks any voice
878
- as verified for that model. It is `false` for `eleven_v3` (measured: none of
879
- 303 live catalog voices), so an empty `verified_models` on that model says
880
- nothing about the voice. (clipwright#208)
881
- - *Server-side:* a voice whose gender differs from the actor's is named in
882
- `warnings`, in the quote and in the run. The combination still runs as asked —
883
- voicing a man with a female voice is sometimes deliberate — but it is no longer
884
- silent. (clipwright#210)
885
- - *Server-side:* an `image` smaller than the output on its short side gets a
886
- warning that the source is upscaled, with both sizes and the size to send
887
- instead. The default actor is silent: its size is a property of our own image,
888
- stated once in the docs. (clipwright#211)
889
-
890
- ### Fixed
891
-
892
- - *Server-side:* a request body that is not valid JSON answers 400
893
- `malformed_body`, not 500. A 500 says the failure is ours, so an agent retries
894
- bytes that will never parse; the new message says both what to fix and that a
895
- retry fails the same way. (clipwright#212)
896
- - *Server-side:* a source we cannot use — private or loopback host, http,
897
- unreachable, redirecting, over 10 MB, or not PNG/JPEG/WebP — is refused with
898
- 400 `unusable_source` before any charge, in the quote and in the run alike.
899
- It used to be priced: a loopback url answered 200 and an estimate, while the
900
- tool description promised a refusal. (clipwright#213)
901
- - *Server-side:* refusals on `script`, `voice`, `voice_id` and `image` are
902
- written in the product's words instead of the schema library's, and the
903
- description of `script` no longer names a field the API rejects.
904
- (clipwright#212)
905
- - *Dashboard:* the root of the cabinet host sends a signed-in visitor to their
906
- dashboard instead of showing the landing page with a "Sign in" button.
907
- (clipwright#214)
908
- - *Dashboard:* every tile on `/videos` prints its `run_id` and links to the
909
- support form with it. The id used to live only in the preview image's alt
910
- text, so tiles without a preview had none at all. (clipwright#215)
911
- - *Dashboard:* the REST example on `/quickstart` runs unchanged in any shell: one
912
- line, no backslash continuations and no shell substitution. (clipwright#211)
913
-
914
- ## [0.16.0] - 2026-09-16
915
-
916
- ### Added
917
-
918
- - *Server-side:* a new skill, `create_actor`, builds a personal actor for the
919
- account from a description of a fictional adult: a 9:16 portrait with exactly
920
- one face, plus the other requested formats edited from it. `POST
921
- /v1/skills/create_actor/quote` and `/run` take the description, `gender`,
922
- `approximate_age`, `name`, `quality` and `aspect_ratios`; the run reports
923
- `created_actor` when it succeeds, and the returned `actor_id` goes to
924
- `make_ugc` in the same field a catalog actor does. `GET /v1/actors` lists the
925
- account's own actors after the catalog, and `DELETE /v1/actors/{id}` takes one
926
- out of the choice. The skill appears in `GET /v1/public/skills` only while
927
- generation is switched on; until then quote and run answer 503
928
- `actor_generation_disabled` and no run is created. (clipwright#120)
929
- - *Server-side:* runs have a new state, `generating`, which only `create_actor`
930
- enters. The set of terminal states is unchanged: `succeeded` and `failed`, and
931
- nothing else. (clipwright#120)
932
- - Personal actors reached the clients. The SDK gained `quoteActor`,
933
- `createActor` and `deleteActor`; the CLI gained `quote-actor`, `create-actor`
934
- and `delete-actor`; the MCP server gained `quote_actor`, `create_actor` and
935
- `delete_actor`, so `tools/list` now returns ten tools instead of seven. The
936
- idempotency key of an actor run is built from the actor's own schema: two
937
- different descriptions are two different keys, and a repeated call with the
938
- same description returns the run already paid for. (clipwright#120)
939
- - *Dashboard:* `/actors` shows the account's personal actors next to the
940
- catalog and deletes one on confirmation. A deleted actor stops being offered
941
- at once; its images are removed by a daily cleanup. (clipwright#120)
942
-
943
- ### Changed
944
-
945
- - *Server-side:* a request with `person` and generation switched on gets a
946
- warning that points at `create_actor` instead of only saying the field is not
947
- honored. (clipwright#120)
948
- - *Server-side:* `create_actor` is charged per published image, not per second:
949
- the portrait and each extra format cost what the quote showed, a partial
950
- result charges only what was published and names the rest in `warnings`, and a
951
- failed run costs nothing at all. Refused descriptions and unusable portraits
952
- are free. (clipwright#120)
953
-
954
- ## [0.15.0] - 2026-09-14
955
-
956
- ### Changed
957
-
958
- - *Server-side:* in `GET /v1/voices`, a catalog voice carries `preview_url` and
959
- `preview_expires_at` once its sample is recorded: a short clip of that voice on
960
- `eleven_v3`, in the voice's own language. The link is signed by us and
961
- expires like a preset's. A voice without a recorded sample for its current
962
- model and sample text still has neither field, and the list never links to
963
- the vendor. The sample texts outside English and Russian are machine
964
- translations that no native speaker has checked. (clipwright#164)
965
- - *Server-side:* without `voice` or `voice_id`, the voice follows the actor's
966
- gender: a woman from `actor_id` speaks `sarah`, a man speaks `george`. The
967
- default actor still speaks `george`, and an explicit voice always wins.
968
- (clipwright#183)
969
- - *Server-side:* a request with `image` and no voice gets a warning that the
970
- male `george` voice is used, naming `voice` and `actor_gender` as the fix.
971
- `GET /v1/runs/{id}` derives it from the stored input, so runs started before
972
- this change show it too. A request with `actor_gender` next to `voice` or
973
- `voice_id` gets a warning that the hint changed nothing. (clipwright#183)
974
- - *Server-side:* the contract version moved to `2026-09-14`. (clipwright#183)
975
- - *Dashboard:* `/actors` says that an actor without a chosen voice speaks the
976
- default voice of their gender. (clipwright#183)
977
-
978
- ### Added
979
-
980
- - `actor_gender` (`female` or `male`) in the `make_ugc` input: next to `image`
981
- it picks the default voice of that gender. It is refused with `actor_id` and
982
- without `image`, and the remote fetch killswitch turns it off together with
983
- `image`. The REST API accepts it from the day the API is deployed; the MCP
984
- tool schema, the SDK types and the CLI flag `--actor-gender` arrive with this
985
- release. (clipwright#183)
986
-
987
- - *Dashboard:* `/actors` shows the actor library as a gallery: every published portrait with
988
- its `actor_id` to copy, next to gender, approximate age, description and version. A person
989
- can pick a face without calling `GET /v1/actors` first. (clipwright#148)
990
- - *Dashboard:* `/videos` lists the finished videos of the account. Each one is a still frame
991
- taken from the delivered file, with the length of the clip and the day it finished, and a
992
- tile with a frame plays the video. Runs that are still going or that failed stay on the
993
- Balance page. (clipwright#138)
994
- - *Dashboard:* `/changelog` renders this file as a public page, so the release notes are
995
- readable without installing a package. (clipwright#102)
996
-
997
- ## [0.14.0] - 2026-09-13
998
-
999
- ### Changed
1000
-
1001
- - **Breaking:** *Server-side:* `GET /v1/voices` lists the catalog voices after
1002
- the five presets, by language and then by rank; a voice retired from the
1003
- catalog is not listed. Every entry gains `kind` (`preset` or `catalog`) and
1004
- `supported_models`, the contract models that know the voice's language. A
1005
- catalog voice also carries `verified_models` and whichever of `locale`,
1006
- `accent`, `gender`, `age` and `use_case` the catalog has. The response gains
1007
- `models`: each contract model with its `char_limit` and `languages`. Only a
1008
- preset carries `preview_url`; a catalog voice has no sample yet. Clients
1009
- 0.11.0 and 0.12.0 cannot read this response and fail in `listVoices()`,
1010
- `list_voices` and `clipwright voices`: upgrade to 0.13.0 or later. The
1011
- contract version moved to `2026-09-13.2`. (clipwright#164)
1012
- - *Server-side:* `GET /v1/voices` takes the filters `language`, `gender`, `age`,
1013
- `use_case` and `model`. `model` keeps the voices whose language the model
1014
- knows. A voice without a label matches no value of that filter. An unknown
1015
- value gets 400 `invalid_request` that names the allowed values, and an
1016
- unknown query key gets 400 `unknown_field`; neither returns an empty list.
1017
- (clipwright#164)
1018
- - `listVoices()` takes the same filters as an object, MCP `list_voices` as
1019
- arguments, and `clipwright voices` as `--language`, `--gender`, `--age`,
1020
- `--use-case` and `--model`. `clipwright voices` prints age and use case next
1021
- to language and gender, and cuts a description longer than 100 characters.
1022
- (clipwright#164)
1023
-
1024
- ### Added
1025
-
1026
- - `@clipwright/core` exports `voicesQuery`, `voicesQueryShape`, `VoicesQuery`
1027
- and `VOICES_QUERY_FIELDS`. `unknownFields` takes an optional list of accepted
1028
- keys, and `UnknownFieldHit.suggestion` is typed `string`. The subpath
1029
- `@clipwright/core/voice-listing` exports `listVoices`, `serverVoicesQuery`
1030
- and `serverVoicesQueryFor`. (clipwright#164)
1031
-
1032
- ## [0.13.0] - 2026-09-13
1033
-
1034
- ### Changed
1035
-
1036
- - `listVoices()`, MCP `list_voices` and `clipwright voices` accept a voice name
1037
- outside the five presets, a `gender` other than `female` or `male`, a voice
1038
- without `language`, and the new optional fields `kind`, `locale`, `accent`,
1039
- `age`, `use_case`, `supported_models` and `verified_models`, plus a top-level
1040
- `models` list. Unknown keys are dropped, as before. Until now the first such
1041
- voice made all three fail. (clipwright#164)
1042
- - A voice name the client does not know goes to the API, which decides.
1043
- `clipwright make --voice` checks only the form of the name: letters, digits,
1044
- `_` and `-`, up to 64 characters. The SDK and MCP `make_ugc` no longer refuse
1045
- such a name before sending it. In `tools/list`, `voice` is a string with a
1046
- pattern instead of an enum of preset names. The API itself is unchanged: a
1047
- name that is not a preset still gets 400 `invalid_request` with the same
1048
- message, before any charge. (clipwright#164)
1049
- - In `VoiceCatalogEntry`, `name` and `gender` are typed `string`, and
1050
- `language` is optional. In `MakeUgcInputArgs`, `voice` is typed `string`.
1051
- (clipwright#164)
1052
- - *Server-side:* quote and run accept a voice from the catalog by its name, as
1053
- well as a preset. A catalog voice speaks `eleven_v3` unless `tts_model` names
1054
- another model, and its script limit follows that model: 5,001 characters
1055
- without `tts_model` get 400 before any charge, as with a preset. A name that
1056
- is neither a preset nor a catalog voice gets 400 `invalid_request` that says
1057
- the voice is unknown; a voice retired from the catalog gets 400 that says it
1058
- was retired. Both point to `list_voices`. The language of a voice limits
1059
- nothing: any catalog voice speaks any language. A run already stored with a
1060
- voice that was later retired still reads, with its warnings.
1061
- (clipwright#164)
1062
-
1063
- ### Added
1064
-
1065
- - `@clipwright/core` exports `VOICE_NAME_PATTERN`, `isVoicePresetName`,
1066
- `serverUgcInputWith` and `voiceModelEntry`. The subpath
1067
- `@clipwright/core/voice-admission` exports `serverUgcInput`, which checks a
1068
- voice name against the catalog, and `catalogVoiceRefusal`. The catalog stays
1069
- out of the main entry point. (clipwright#164)
1070
-
1071
- ## [0.12.0] - 2026-09-13
1072
-
1073
- ### Changed
1074
-
1075
- - **Breaking:** *Server-side:* quote and run refuse a key that is not part of
1076
- the contract with 400 `unknown_field`, before any charge. Such keys were
1077
- dropped silently before, so a misspelled field fell back to its default:
1078
- `aspectRatio: "16:9"` rendered 9:16 without a warning. `fields` names each
1079
- unknown key, and the message suggests the matching field (`aspect_ratio`).
1080
- Fix the key name. The contract version moved to `2026-09-13`.
1081
- (clipwright#166)
1082
- - *Server-side:* the duration estimate for a Cyrillic script uses 2.3 words a
1083
- second instead of 2.6, measured on `eleven_v3`. A Russian script now
1084
- quotes and reserves about 13% more credits, closer to what the run is
1085
- charged. Other scripts keep 2.6. (clipwright#164)
1086
- - A stress mark (U+0301) at the start of a word is no longer counted as its
1087
- first letter, so a capital right after the mark stays a capital. A capital
1088
- vowel later in the same word still marks stress. (clipwright#164)
1089
- - Each package ships this changelog as `CHANGELOG.md`. (clipwright#102)
1090
-
1091
- ### Added
1092
-
1093
- - Quote returns `tts_model`, the speech model the run will use.
1094
- (clipwright#164)
1095
- - `@clipwright/core` exports `unknownFields`, `unknownFieldError`,
1096
- `unknownFieldBody` and `ACCEPTED_UGC_FIELDS`, and `unknown_field` is part of
1097
- `API_ERROR_CODES`. (clipwright#166)
1098
-
1099
- ### Fixed
1100
-
1101
- - *Server-side:* a body with an empty key name gets 400 `unknown_field`
1102
- instead of 500 `internal_error`. (clipwright#167)
1103
-
1104
- ## [0.11.0] - 2026-09-13
1105
-
1106
- ### Removed
1107
-
1108
- - **Breaking:** `eleven_multilingual_v2` is no longer a valid `tts_model`. Quote
1109
- and run refuse it with 400 before any charge. Pass `eleven_v3`,
1110
- `eleven_flash_v2_5` or `eleven_turbo_v2_5`, or omit the field. Runs stored with
1111
- the old value still read. (clipwright#145)
1112
-
1113
- ### Changed
1114
-
1115
- - **Breaking:** every voice preset and a raw `voice_id` now speak on `eleven_v3`.
1116
- Before, four of five presets and a raw `voice_id` used `eleven_multilingual_v2`,
1117
- with a 10,000-character script ceiling. The default ceiling is now 5,000
1118
- characters. A script of 5,001–10,000 characters that passed before is refused;
1119
- send it with `tts_model: "eleven_flash_v2_5"` or `"eleven_turbo_v2_5"` (10,000
1120
- each). The refusal names these models when the script fits them. The voices
1121
- sound different, and the samples from `list_voices` were re-recorded.
1122
- (clipwright#145)
1123
- - **Breaking:** on `eleven_v3`, a single capital vowel after the first letter of a
1124
- Cyrillic word marks stress: `потОм` is sent as `пото́м` (lowercase vowel plus
1125
- U+0301). A script that used such a capital for another reason is now spoken
1126
- differently; write that word in lowercase. A capital at the start of a word, a
1127
- word in capitals, and a word with a second capital stay as written. Stress marks
1128
- count toward the character limit. (clipwright#145)
1129
- - The contract version moved from `2026-08` to `2026-09`. (clipwright#145)
1130
-
1131
- ### Added
1132
-
1133
- - `tts_model` accepts `eleven_flash_v2_5` and `eleven_turbo_v2_5`, 10,000
1134
- characters each. (clipwright#145)
1135
- - *Server-side:* quote and run return a warning when a script with stress marks or
1136
- in Cyrillic goes to a 2.5 model. The default path stays silent. (clipwright#145)
1137
- - `@clipwright/core` exports the stress helpers (`STRESS_MARK`,
1138
- `stressMarksFromCapitals`, `speechTextFor`) and the run preflight schema
1139
- (`runPreflight`, `parseRunPreflight`). (clipwright#145, clipwright#146)
1140
-
1141
- ### Fixed
1142
-
1143
- - *Server-side:* for a body with `image`, the 202 response of a run and the quote
1144
- now return the same `warnings[]`. Warnings that depend on a network probe no
1145
- longer disappear when a run fails. (clipwright#146)
1146
-
1147
- ## [0.10.0] - 2026-09-11
1148
-
1149
- ### Added
1150
-
1151
- - MCP tool `get_account`, SDK `getAccount()` and CLI `clipwright account`. All
1152
- three read `GET /v1/account` (balance, debt, holds, grants) and spend nothing.
1153
- (clipwright#135)
1154
- - *Server-side:* quote adds a warning when a run with the same input would be
1155
- refused with `account_not_admitted`, `debt_outstanding` or
1156
- `insufficient_credits`. The warning carries the same numbers as the refusal.
1157
- (clipwright#134)
1158
- - `@clipwright/core` exports `API_ENDPOINTS`, `QUICKSTART_ENDPOINTS`,
1159
- `endpointLabel` and `NODE_MIN_MAJOR` (the Node.js major the clients require).
1160
- (clipwright#135, clipwright#129)
1161
-
1162
- ### Fixed
1163
-
1164
- - *Server-side:* the `error` of a failed run in `GET /v1/runs/{id}` no longer
1165
- contains stack frames or internal file paths. (clipwright#133)
1166
- - *Server-side:* when our wait for the avatar vendor times out, the run is charged
1167
- nothing, and its warning says what happened. (clipwright#150)
1168
-
1169
- ## [0.9.0] - 2026-09-09
1170
-
1171
- ### Added
1172
-
1173
- - Each voice in `GET /v1/voices`, `list_voices` and `listVoices()` carries
1174
- `preview_url` and `preview_expires_at`: a signed link to a sample recorded with
1175
- that voice and its model. The link is valid for one hour. A voice without a
1176
- sample has neither field. A 0.8.0 client drops both fields. (clipwright#147)
1177
- - CLI `clipwright voices` prints the sample link on its own line. (clipwright#147)
1178
-
1179
- ## [0.8.0] - 2026-09-09
1180
-
1181
- ### Added
1182
-
1183
- - Actor library: `GET /v1/actors`, MCP tool `list_actors`, SDK `listActors()` and
1184
- CLI `clipwright actors`. Each actor has a stable `actor_id`, a name, a gender,
1185
- an approximate age, a version and verified image variants. (clipwright#120)
1186
- - `actor_id` input on quote and run, and CLI `--actor-id` on `make` and `quote`.
1187
- Do not combine it with `image` or `person`. (clipwright#120)
1188
- - Quote and run responses carry `actor`: the selected `actor_id`, `version` and
1189
- `gender`; `{gender}` for the default actor; `null` when you pass your own
1190
- `image`. (clipwright#64, clipwright#120)
1191
-
1192
- ## [0.7.0] - 2026-09-09
1193
-
1194
- ### Removed
1195
-
1196
- - **Breaking:** `daily_remaining_credits` is gone from `GET /v1/account` and from
1197
- the `account` schema in `@clipwright/core`. The per-account daily spend cap it
1198
- reported was removed. A client that read the field now gets `undefined`; read
1199
- `balance_credits`, and `debt_credits` for a block. The contract version was not
1200
- moved for this change: it stayed `2026-08` until 0.11.0, so the header gave no
1201
- signal. (clipwright#139)
1202
- - **Breaking:** `@clipwright/core` no longer exports `MAX_SCRIPT_WORDS` or
1203
- `SCRIPT_SECONDS_BASIS`. Code that imports them fails; use `TTS_MODEL_CHAR_CAP`
1204
- or `MAX_SCRIPT_CHARS`. (clipwright#128)
1205
- - *Server-side:* the refusal `daily_cap_exceeded` is no longer produced. Runs
1206
- refused before keep it in their history. (clipwright#139)
1207
- - *Server-side:* the refusal `global_cap_exceeded` is no longer produced. The
1208
- service-wide daily spend cap became an internal alert. (clipwright#141)
1209
-
1210
- ### Changed
1211
-
1212
- - The 180-word script ceiling is replaced by a character limit per speech model:
1213
- `eleven_v3` 5,000, `eleven_multilingual_v2` 10,000. Length is counted as
1214
- JavaScript `.length`, spaces and audio tags included; an emoji may count as two.
1215
- Longer scripts than before are accepted. The refusal text changed from
1216
- `script is ~N words; ceiling is 180 words` to
1217
- `script has N characters; <model> allows at most N characters`; update code
1218
- that matches on it. (clipwright#128)
1219
- - **Breaking:** *Server-side:* quote and run refuse a script whose text contains
1220
- U+FFFD with 400 `script_encoding_lost`, before any charge. Such a script was
1221
- accepted before and billed for about a second of speech. The bytes were lost
1222
- before the request left the client: send the script as valid UTF-8.
1223
- (clipwright#131)
1224
- - *Server-side:* a run whose speech is impossibly short for its script fails with
1225
- `speech_too_short_for_script` and is charged nothing, instead of succeeding.
1226
- Retrying rarely helps. (clipwright#131)
1227
- - *Server-side:* a new sign-up gets an admitted account with zero credits, so it
1228
- is no longer refused with `account_not_admitted` until the owner admits it.
1229
- (clipwright#112)
1230
-
1231
- ## [0.6.0] - 2026-09-06
1232
-
1233
- ### Added
1234
-
1235
- - `@clipwright/cli` installs a second binary, `clipwright-cli`, next to
1236
- `clipwright`. An unrelated npm package also ships a `clipwright` binary; the
1237
- second name avoids that collision. `core`, `sdk` and `mcp-server` have no
1238
- changes in this release and moved to keep one version. (clipwright#105)
1239
-
1240
- ## [0.5.0] - 2026-09-06
1241
-
1242
- ### Added
1243
-
1244
- - `POST /v1/uploads` takes a local PNG or JPEG of up to 10 MB and returns
1245
- `upload_id`, `url`, `media_type`, `bytes`, `width`, `height` and `expires_at`.
1246
- Pass the https `url` as `image`. The url is valid for 24 hours and the object is
1247
- kept for 7 days. An account may upload 20 images a day. New refusal codes:
1248
- `invalid_image`, `unsupported_media_type`, `upload_cap_exceeded`.
1249
- (clipwright#99)
1250
- - MCP tool `upload_image`, SDK `uploadImage()`, CLI `clipwright upload <path>`, and
1251
- `--image`, `--image-file`, `--aspect-ratio`, `--resolution` on CLI `make` and
1252
- `quote`. (clipwright#99)
1253
- - `tts_model` input (`eleven_v3` or `eleven_multilingual_v2`) and CLI
1254
- `--tts-model`. Without it the preset's model is used. Each voice in the catalog
1255
- names its `model`. A script over the model's character limit (v3 5,000, v2
1256
- 10,000) is refused before any charge, in addition to the 180-word ceiling.
1257
- (clipwright#101)
1258
- - MCP `tools/list` describes `image`, `aspect_ratio`, `resolution`, `voice` and
1259
- `voice_id`; the descriptions were empty before. (clipwright#99)
1260
-
1261
- ### Changed
1262
-
1263
- - *Server-side:* the `owner_ru_clone` preset speaks on `eleven_v3`. All presets
1264
- used `eleven_multilingual_v2` before. (clipwright#101)
1265
-
1266
- ## [0.4.0] - 2026-08-28
1267
-
1268
- ### Changed
1269
-
1270
- - **Breaking:** the default API address in the SDK, CLI and MCP server moved to
1271
- `https://api.clipwright.io`. The old address
1272
- `https://api-production-7e69.up.railway.app` still answers, so older clients
1273
- keep working. If your network allowlists hosts, add `api.clipwright.io`, or pin
1274
- the old address with `CLIPWRIGHT_API_URL` or the SDK `baseUrl` option. (US-613)
1275
-
1276
- ## [0.3.0] - 2026-08-28
1277
-
1278
- ### Removed
1279
-
1280
- - **Breaking:** `@clipwright/core` no longer exports `MAX_SCRIPT_SECONDS`. Code
1281
- that imports it fails; `SCRIPT_SECONDS_BASIS` holds the value (and was removed
1282
- in turn in 0.7.0).
1283
-
1284
- ### Changed
1285
-
1286
- - **Breaking:** the CLI and the MCP server refuse a `CLIPWRIGHT_API_URL` that is
1287
- not `https`. Loopback addresses may stay `http`. Point the variable at an https
1288
- address. (clipwright#85)
1289
- - **Breaking:** every URL field of the input is limited to 2,048 characters
1290
- (`MAX_URL_LENGTH`). A longer URL is refused with 400. Pass a URL of at most
1291
- 2,048 characters, for example by hosting the file at a shorter address.
1292
- (clipwright#85)
1293
- - **Breaking:** SDK requests now have deadlines. `requestTimeoutMs` (per client,
1294
- default 30 s) bounds every request, and `maxWaitMs` (per `makeUgc` call, default
1295
- 10 min) bounds the whole call, including the request in flight. A call that used
1296
- to hang now rejects. A start request cut off mid-flight throws
1297
- `ClipwrightResponseError` with `mayHaveTakenEffect: true`: check the run before
1298
- retrying with a new idempotency key. Raise `requestTimeoutMs` behind a slow
1299
- proxy.
1300
- - **Breaking:** *Server-side:* a run from an account not admitted to the beta is
1301
- refused with 403 `account_not_admitted` before any charge. Topping up does not
1302
- lift it. The clients parse this refusal from 0.3.0 on. (US-620)
1303
- - The voice catalog is in English, and the SDK validates the `GET /v1/voices`
1304
- response. Each voice has `name`, `language`, `gender` and `description`.
1305
- (clipwright#85)
1306
- - The MCP server checks the shape of `run_id` in `get_run`. (clipwright#85)
1307
- - *Server-side:* the video link in a finished run is signed for 7 days instead of
1308
- 1. (clipwright#22)
1309
- - *Server-side:* a failed run is charged only if the vendor accepted the work that
1310
- produces the clip. A run that paid only for speech is charged nothing.
1311
- (clipwright#46)
1312
- - *Server-side:* credits bought while an account has debt pay the debt first; only
1313
- the rest reaches the balance. (US-611)
1314
-
1315
- ### Fixed
1316
-
1317
- - *Server-side:* 401 and validation refusals use the declared error body.
1318
- Validation errors return `invalid_request` and list each problem as
1319
- `field: reason`, up to 12. Before, clients reported these bodies as "not a
1320
- Clipwright error object". (US-616)
1321
- - *Server-side:* the 202 response of a run carries its `warnings[]`; it always
1322
- returned an empty list before. (clipwright#64)
1323
-
1324
- ## [0.2.0] - 2026-07-29
1325
-
1326
- ### Added
1327
-
1328
- - `@clipwright/cli` is published for the first time, under MIT. Commands:
1329
- `quote`, `make`, `runs <id>`, `voices`. `make` takes `--script`, `--person`,
1330
- `--captions`, `--voice`, `--voice-id` and `--retry`. (US-622)
1331
- - *Server-side:* `GET /v1/account` returns `account_id`, `balance_credits`,
1332
- `debt_credits`, `holds_credits`, `daily_remaining_credits` and `grants`.
1333
- (US-602)
1334
- - `@clipwright/core` exports the refusal schemas and the retry policy:
1335
- `parseApiFailure`, `isRetryableFailure`, `retryDelayMs`, `agentFailureReport`,
1336
- `apiError`, the 402 and 429 bodies, the rate-limit header names, `account` and
1337
- `creditGrant`. (US-622)
1338
- - *Server-side:* a service-wide daily spend cap; a run past it is refused with
1339
- `global_cap_exceeded`. (US-603)
1340
-
1341
- ### Changed
1342
-
1343
- - **Breaking:** *Server-side:* a run reserves credits before rendering. Without
1344
- enough balance the API answers 402 `insufficient_credits`; with unpaid debt, 402
1345
- `debt_outstanding`, whatever the balance. Buy credits to lift either. (US-602)
1346
- - **Breaking:** *Server-side:* rate limits per account: 60 requests a minute for
1347
- starting runs, 300 for quote, voices, run status and account. Over the limit
1348
- the API answers 429 `rate_limited` with `Retry-After` and `X-RateLimit-*`
1349
- headers; wait and repeat the same call. At most 3 renders run at once per
1350
- account; a fourth queues and still returns 202. (US-605)
1351
- - **Breaking:** the SDK throws `ClipwrightApiError` or `ClipwrightResponseError`
1352
- (both extend `Error`) instead of a plain `Error`, and reads the status before
1353
- the body. Code that parsed the message text should read the error's status and
1354
- code instead. `makeUgc` now waits out 429 and 5xx while polling; money refusals
1355
- and other 4xx still throw at once. `attempt` must be a positive safe integer and
1356
- is checked before any request. (US-622)
1357
- - **Breaking:** MCP tools return a refusal as a JSON report inside the text block,
1358
- with `isError: true`, instead of one sentence. Agents should branch on its
1359
- `retryable` field, not on prose. (US-622)
1360
- - The MCP server starts when `~/.clipwright` is read-only; only `make_ugc`
1361
- refuses, naming the variable that fixes it. (US-622)
1362
- - `SKILL.md` inside `@clipwright/mcp-server` is in English. (US-622)
1363
- - *Server-side:* idempotency keys are scoped to the account, so two accounts can
1364
- use the same key. (US-604)
1365
-
1366
- ## [0.1.0] - 2026-07-26
1367
-
1368
- ### Added
1369
-
1370
- - First publication of `@clipwright/core`, `@clipwright/sdk` and
1371
- `@clipwright/mcp-server` under MIT. `@clipwright/cli` was not published.
1372
- - API: quote (`POST /v1/skills/make_ugc/quote`), run
1373
- (`POST /v1/skills/make_ugc/run`, `Idempotency-Key` required), run status
1374
- (`GET /v1/runs/{id}`), voice catalog (`GET /v1/voices`). Requests carry a
1375
- `cw_*` bearer token. (US-205, US-516, US-550)
1376
- - MCP tools `quote_ugc`, `make_ugc`, `get_run`, `list_voices`. `make_ugc` returns
1377
- a `run_id` at once, and the agent polls `get_run`. (US-206, US-512, US-516)
1378
- - SDK `ClipwrightClient` with `quoteUgc`, `startUgc`, `makeUgc`, `getRun` and
1379
- `listVoices`. The idempotency key comes from the input and
1380
- `CLIPWRIGHT_CLIENT_ID`; `attempt` starts a deliberate new run. (US-201, US-202)
1381
- - Input: `script` (up to 180 words), `voice`, `voice_id`, `image`,
1382
- `aspect_ratio` (default 9:16, 16:9 supported), `resolution`, `captions`,
1383
- `disclosure_overlay`. Parameters that are not honoured come back in
1384
- `warnings[]`; `webhook_url` is refused with 400. (US-533, US-535, US-539)
1385
- - Quote returns `credits_estimate`, `duration_estimate_sec`, `warnings`,
1386
- `contract_version`, `source` and `resolved_aspect_ratio`. A source whose aspect
1387
- ratio differs from the request by more than 15% is refused before any charge;
1388
- up to 15% it is snapped with a warning. (US-525)
1389
- - Credits: 30 per second of video, reserved at start and charged on the measured
1390
- duration. *Server-side:* a per-account daily spend cap refuses runs with
1391
- `daily_cap_exceeded`. (US-538, US-537)
1392
- - Contract version `2026-08` in `X-Clipwright-Contract` and `contract_version`.
1393
- (US-533)