@clipwright/core 0.59.0 → 0.61.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 (586) hide show
  1. package/dist/account-actors.d.ts +0 -43
  2. package/dist/account-actors.js +0 -55
  3. package/dist/account.d.ts +0 -6
  4. package/dist/account.js +0 -18
  5. package/dist/actor-bounds.d.ts +0 -5
  6. package/dist/actor-bounds.js +0 -6
  7. package/dist/actor-qualities.d.ts +0 -3
  8. package/dist/actor-qualities.js +0 -4
  9. package/dist/actors.d.ts +0 -16
  10. package/dist/actors.js +0 -21
  11. package/dist/ad-guide.js +0 -2
  12. package/dist/ad-pause-trim.d.ts +0 -5
  13. package/dist/ad-pause-trim.js +0 -8
  14. package/dist/api-failure.d.ts +0 -44
  15. package/dist/api-failure.js +0 -62
  16. package/dist/aspect.d.ts +0 -29
  17. package/dist/aspect.js +1 -34
  18. package/dist/asset-identity.d.ts +0 -2
  19. package/dist/asset-identity.js +0 -3
  20. package/dist/assets.d.ts +0 -34
  21. package/dist/assets.js +0 -42
  22. package/dist/billing-terms.d.ts +6 -3
  23. package/dist/billing-terms.js +0 -4
  24. package/dist/brand-styles.d.ts +0 -6
  25. package/dist/brand-styles.js +0 -13
  26. package/dist/broll-policy.js +0 -1
  27. package/dist/canvas-fit.d.ts +0 -2
  28. package/dist/canvas-fit.js +0 -4
  29. package/dist/caption-funnel.d.ts +0 -2
  30. package/dist/caption-funnel.js +0 -15
  31. package/dist/caption-geometry.d.ts +0 -6
  32. package/dist/caption-geometry.js +0 -10
  33. package/dist/caption-language.d.ts +0 -3
  34. package/dist/caption-language.js +0 -6
  35. package/dist/contract-dispositions.d.ts +0 -61
  36. package/dist/contract-dispositions.js +3 -96
  37. package/dist/contracts/v1/workflow-brief.d.ts +61 -3
  38. package/dist/contracts/v1/workflow-brief.js +0 -13
  39. package/dist/contracts/v1/workflow-catalog.d.ts +118 -0
  40. package/dist/contracts/v1/workflow-catalog.js +0 -3
  41. package/dist/contracts/v1/workflow-client.d.ts +116 -0
  42. package/dist/contracts/v1/workflow-client.js +0 -1
  43. package/dist/contracts/v1/workflow-dto.js +0 -1
  44. package/dist/contracts/v1/workflow-evidence.js +0 -1
  45. package/dist/contracts/v1/workflow-execution.d.ts +47 -1
  46. package/dist/contracts/v1/workflow-execution.js +0 -4
  47. package/dist/contracts/v1/workflow-next.d.ts +13 -2
  48. package/dist/contracts/v1/workflow-next.js +0 -3
  49. package/dist/contracts/v1/workflow-plan.d.ts +177 -0
  50. package/dist/contracts/v1/workflow-plan.js +0 -1
  51. package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
  52. package/dist/contracts/v1/workflow-primitives.js +0 -2
  53. package/dist/contracts/v1/workflow-run-read.d.ts +15 -1
  54. package/dist/contracts/v1/workflow-run-read.js +0 -3
  55. package/dist/creator-profile.d.ts +0 -30
  56. package/dist/creator-profile.js +0 -45
  57. package/dist/default-actor.js +0 -2
  58. package/dist/design.d.ts +0 -17
  59. package/dist/design.js +0 -18
  60. package/dist/edit-billing.d.ts +0 -6
  61. package/dist/edit-billing.js +0 -10
  62. package/dist/edit-candidate.d.ts +0 -6
  63. package/dist/edit-candidate.js +0 -9
  64. package/dist/edit-document.d.ts +0 -12
  65. package/dist/edit-document.js +0 -15
  66. package/dist/edit-faceless.d.ts +0 -3
  67. package/dist/edit-faceless.js +0 -4
  68. package/dist/edit-long-form.d.ts +0 -13
  69. package/dist/edit-long-form.js +0 -17
  70. package/dist/edit-operations.d.ts +0 -1
  71. package/dist/edit-operations.js +0 -2
  72. package/dist/edit-primitives.d.ts +0 -3
  73. package/dist/edit-primitives.js +0 -5
  74. package/dist/edit-revision.d.ts +0 -4
  75. package/dist/edit-revision.js +0 -6
  76. package/dist/edit-rules.d.ts +0 -3
  77. package/dist/edit-rules.js +0 -9
  78. package/dist/edit-shots.d.ts +45 -5
  79. package/dist/edit-shots.js +7 -11
  80. package/dist/edit-validate.d.ts +0 -10
  81. package/dist/edit-validate.js +0 -14
  82. package/dist/edit.js +0 -3
  83. package/dist/endpoint-notes.d.ts +0 -2
  84. package/dist/endpoint-notes.js +0 -3
  85. package/dist/endpoints.d.ts +0 -11
  86. package/dist/endpoints.js +7 -21
  87. package/dist/errors.d.ts +0 -42
  88. package/dist/errors.js +0 -54
  89. package/dist/explainer-fit.d.ts +0 -7
  90. package/dist/explainer-fit.js +0 -10
  91. package/dist/face-billing.d.ts +29 -11
  92. package/dist/face-billing.js +6 -25
  93. package/dist/face-delivery.d.ts +0 -1
  94. package/dist/face-delivery.js +0 -2
  95. package/dist/faceless-action-shots.d.ts +0 -8
  96. package/dist/faceless-action-shots.js +0 -8
  97. package/dist/faceless-customer-anchors.d.ts +0 -1
  98. package/dist/faceless-customer-anchors.js +0 -2
  99. package/dist/faceless-cut-style.js +0 -1
  100. package/dist/faceless-direction-summary.d.ts +27 -0
  101. package/dist/faceless-direction-summary.js +8 -0
  102. package/dist/faceless-image-placement.d.ts +0 -2
  103. package/dist/faceless-image-placement.js +0 -3
  104. package/dist/faceless-image-qualification.js +0 -2
  105. package/dist/faceless-media-record.d.ts +0 -6
  106. package/dist/faceless-media-record.js +0 -11
  107. package/dist/faceless-price.d.ts +40 -35
  108. package/dist/faceless-price.js +35 -49
  109. package/dist/faceless-public-plan.d.ts +0 -13
  110. package/dist/faceless-public-plan.js +0 -11
  111. package/dist/faceless-public.d.ts +63 -22
  112. package/dist/faceless-public.js +23 -58
  113. package/dist/faceless-short-61.js +0 -1
  114. package/dist/faceless-storyboard-timing.js +0 -1
  115. package/dist/faceless-storyboard-v2-plan.js +0 -1
  116. package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
  117. package/dist/faceless-storyboard-v2-timing.js +0 -3
  118. package/dist/faceless-storyboard-v2.js +0 -1
  119. package/dist/faceless-storyboard.js +0 -1
  120. package/dist/faceless-voices.d.ts +0 -16
  121. package/dist/faceless-voices.js +0 -18
  122. package/dist/feedback.d.ts +0 -4
  123. package/dist/feedback.js +0 -5
  124. package/dist/film-directions.d.ts +0 -2
  125. package/dist/film-directions.js +0 -7
  126. package/dist/film-drafts.d.ts +0 -8
  127. package/dist/film-drafts.js +0 -19
  128. package/dist/film-guide.d.ts +0 -3
  129. package/dist/film-guide.js +0 -6
  130. package/dist/film-styles.d.ts +0 -5
  131. package/dist/film-styles.js +0 -8
  132. package/dist/generation-shot.d.ts +0 -5
  133. package/dist/generation-shot.js +0 -8
  134. package/dist/generations-output.d.ts +0 -2
  135. package/dist/generations-output.js +0 -5
  136. package/dist/generations.d.ts +0 -22
  137. package/dist/generations.js +21 -44
  138. package/dist/idempotency.d.ts +1 -21
  139. package/dist/idempotency.js +8 -29
  140. package/dist/index.d.ts +3 -0
  141. package/dist/index.js +3 -28
  142. package/dist/live-shot-kinds.d.ts +16 -25
  143. package/dist/live-shot-kinds.js +12 -28
  144. package/dist/long-form-pricing.d.ts +0 -5
  145. package/dist/long-form-pricing.js +0 -6
  146. package/dist/long-form-profile.d.ts +0 -3
  147. package/dist/long-form-profile.js +0 -4
  148. package/dist/long-form-revision.d.ts +0 -9
  149. package/dist/long-form-revision.js +0 -11
  150. package/dist/markdown-quote.d.ts +0 -2
  151. package/dist/markdown-quote.js +0 -3
  152. package/dist/mascots.d.ts +0 -5
  153. package/dist/mascots.js +0 -10
  154. package/dist/max-credits.d.ts +0 -1
  155. package/dist/max-credits.js +0 -2
  156. package/dist/mcp-ugc-descriptions.d.ts +0 -2
  157. package/dist/mcp-ugc-descriptions.js +1 -6
  158. package/dist/media-timebase.d.ts +0 -2
  159. package/dist/media-timebase.js +0 -6
  160. package/dist/motion-styles.d.ts +0 -8
  161. package/dist/motion-styles.js +0 -11
  162. package/dist/moves.d.ts +0 -7
  163. package/dist/moves.js +0 -9
  164. package/dist/music.d.ts +0 -5
  165. package/dist/music.js +2 -9
  166. package/dist/naming.d.ts +0 -3
  167. package/dist/naming.js +0 -19
  168. package/dist/openapi.d.ts +0 -13
  169. package/dist/openapi.js +6 -11
  170. package/dist/output-provenance.d.ts +0 -4
  171. package/dist/output-provenance.js +0 -5
  172. package/dist/own-agent-price.d.ts +19 -22
  173. package/dist/own-agent-price.js +30 -25
  174. package/dist/own-agent-runs.d.ts +111 -11
  175. package/dist/own-agent-runs.js +89 -24
  176. package/dist/pacing.d.ts +3 -15
  177. package/dist/pacing.js +18 -18
  178. package/dist/parts-pricing.d.ts +8 -24
  179. package/dist/parts-pricing.js +19 -30
  180. package/dist/post-text.d.ts +0 -2
  181. package/dist/post-text.js +0 -4
  182. package/dist/presenter-beats.d.ts +0 -10
  183. package/dist/presenter-beats.js +0 -14
  184. package/dist/presenter-matte.d.ts +0 -7
  185. package/dist/presenter-matte.js +0 -9
  186. package/dist/presenter-takes.d.ts +0 -3
  187. package/dist/presenter-takes.js +0 -8
  188. package/dist/prices.d.ts +2 -8
  189. package/dist/prices.js +13 -23
  190. package/dist/public-endpoints.d.ts +0 -11
  191. package/dist/public-endpoints.js +0 -14
  192. package/dist/public-responses.d.ts +0 -2
  193. package/dist/public-responses.js +0 -3
  194. package/dist/rate-limit.d.ts +0 -24
  195. package/dist/rate-limit.js +0 -29
  196. package/dist/reference-analysis.d.ts +57 -34
  197. package/dist/reference-analysis.js +0 -69
  198. package/dist/reference-bring.d.ts +33 -0
  199. package/dist/reference-bring.js +28 -0
  200. package/dist/reference-display.d.ts +0 -3
  201. package/dist/reference-display.js +37 -4
  202. package/dist/reference-kinds.d.ts +0 -4
  203. package/dist/reference-kinds.js +0 -6
  204. package/dist/reference-lyrics.d.ts +0 -6
  205. package/dist/reference-lyrics.js +0 -6
  206. package/dist/reference-profile.d.ts +270 -39
  207. package/dist/reference-profile.js +64 -50
  208. package/dist/reference-staging.d.ts +0 -10
  209. package/dist/reference-staging.js +0 -14
  210. package/dist/reference-text-spans.d.ts +0 -4
  211. package/dist/reference-text-spans.js +0 -7
  212. package/dist/reference-voice-over.d.ts +0 -6
  213. package/dist/reference-voice-over.js +0 -7
  214. package/dist/reference-voice.d.ts +0 -7
  215. package/dist/reference-voice.js +0 -12
  216. package/dist/render-backend.d.ts +0 -30
  217. package/dist/render-backend.js +0 -5
  218. package/dist/resolved-timeline.d.ts +4 -5
  219. package/dist/resolved-timeline.js +1 -31
  220. package/dist/run-media.d.ts +0 -1
  221. package/dist/run-media.js +0 -2
  222. package/dist/run-preflight.d.ts +0 -4
  223. package/dist/run-preflight.js +0 -11
  224. package/dist/run-static-warnings.d.ts +0 -8
  225. package/dist/run-static-warnings.js +0 -38
  226. package/dist/runs.d.ts +16 -32
  227. package/dist/runs.js +0 -50
  228. package/dist/scene-bible.d.ts +15 -7
  229. package/dist/scene-bible.js +15 -10
  230. package/dist/scene-graph.d.ts +0 -12
  231. package/dist/scene-graph.js +0 -24
  232. package/dist/scene-place.d.ts +0 -25
  233. package/dist/scene-place.js +0 -24
  234. package/dist/scene-proposal.d.ts +0 -3
  235. package/dist/scene-proposal.js +0 -9
  236. package/dist/script-integrity.d.ts +0 -6
  237. package/dist/script-integrity.js +0 -8
  238. package/dist/script-voice.d.ts +0 -7
  239. package/dist/script-voice.js +0 -16
  240. package/dist/semantic-inserts.d.ts +0 -7
  241. package/dist/semantic-inserts.js +0 -10
  242. package/dist/skill-theme-explainer.js +0 -5
  243. package/dist/skill-theme.d.ts +0 -13
  244. package/dist/skill-theme.js +0 -25
  245. package/dist/skills.d.ts +22 -86
  246. package/dist/skills.js +21 -167
  247. package/dist/speech-rhythm-contract.js +0 -1
  248. package/dist/speech-rhythm.d.ts +0 -4
  249. package/dist/speech-rhythm.js +0 -2
  250. package/dist/templates/backdrop.d.ts +0 -3
  251. package/dist/templates/backdrop.js +0 -5
  252. package/dist/templates/callout.d.ts +0 -4
  253. package/dist/templates/callout.js +0 -6
  254. package/dist/templates/chart.d.ts +0 -4
  255. package/dist/templates/chart.js +0 -6
  256. package/dist/templates/chat-window.d.ts +0 -8
  257. package/dist/templates/chat-window.js +0 -10
  258. package/dist/templates/checklist.d.ts +0 -3
  259. package/dist/templates/checklist.js +0 -6
  260. package/dist/templates/comment-cta.d.ts +0 -14
  261. package/dist/templates/comment-cta.js +0 -19
  262. package/dist/templates/compare.d.ts +0 -6
  263. package/dist/templates/compare.js +0 -7
  264. package/dist/templates/cover-story.d.ts +0 -1
  265. package/dist/templates/cover-story.js +0 -3
  266. package/dist/templates/end-card.d.ts +0 -2
  267. package/dist/templates/end-card.js +0 -3
  268. package/dist/templates/hand-title.d.ts +0 -5
  269. package/dist/templates/hand-title.js +0 -9
  270. package/dist/templates/index.d.ts +0 -57
  271. package/dist/templates/index.js +0 -60
  272. package/dist/templates/lower-third.d.ts +0 -4
  273. package/dist/templates/lower-third.js +0 -5
  274. package/dist/templates/notification.d.ts +0 -6
  275. package/dist/templates/notification.js +0 -7
  276. package/dist/templates/phone-call.d.ts +0 -2
  277. package/dist/templates/phone-call.js +0 -6
  278. package/dist/templates/phone-screen.d.ts +0 -5
  279. package/dist/templates/phone-screen.js +0 -7
  280. package/dist/templates/pointer-chips.d.ts +0 -4
  281. package/dist/templates/pointer-chips.js +0 -6
  282. package/dist/templates/progress.d.ts +0 -3
  283. package/dist/templates/progress.js +0 -5
  284. package/dist/templates/quote.d.ts +0 -3
  285. package/dist/templates/quote.js +0 -4
  286. package/dist/templates/race.d.ts +0 -5
  287. package/dist/templates/race.js +0 -7
  288. package/dist/templates/rating.d.ts +0 -3
  289. package/dist/templates/rating.js +0 -5
  290. package/dist/templates/series-frame.d.ts +0 -16
  291. package/dist/templates/series-frame.js +0 -19
  292. package/dist/templates/size.d.ts +0 -7
  293. package/dist/templates/size.js +0 -8
  294. package/dist/templates/slot.d.ts +0 -2
  295. package/dist/templates/slot.js +0 -2
  296. package/dist/templates/sounds.d.ts +0 -12
  297. package/dist/templates/sounds.js +0 -16
  298. package/dist/templates/stat.d.ts +0 -3
  299. package/dist/templates/stat.js +0 -5
  300. package/dist/templates/tag.d.ts +0 -3
  301. package/dist/templates/tag.js +0 -5
  302. package/dist/templates/terminal.d.ts +0 -6
  303. package/dist/templates/terminal.js +0 -8
  304. package/dist/templates/theme.d.ts +0 -7
  305. package/dist/templates/theme.js +0 -9
  306. package/dist/templates/title-card.d.ts +0 -3
  307. package/dist/templates/title-card.js +0 -5
  308. package/dist/templates/video-grid.d.ts +0 -5
  309. package/dist/templates/video-grid.js +0 -8
  310. package/dist/templates/word-fill.d.ts +0 -3
  311. package/dist/templates/word-fill.js +0 -4
  312. package/dist/templates/word-title.d.ts +0 -2
  313. package/dist/templates/word-title.js +0 -4
  314. package/dist/trend-niches.d.ts +0 -11
  315. package/dist/trend-niches.js +0 -16
  316. package/dist/trend-search.d.ts +0 -66
  317. package/dist/trend-search.js +0 -70
  318. package/dist/tts-backend.d.ts +0 -19
  319. package/dist/tts-backend.js +0 -7
  320. package/dist/ugc-call.d.ts +0 -16
  321. package/dist/ugc-call.js +0 -21
  322. package/dist/ugc-delivery.d.ts +0 -2
  323. package/dist/ugc-delivery.js +0 -4
  324. package/dist/ugc-framing.d.ts +0 -4
  325. package/dist/ugc-framing.js +0 -6
  326. package/dist/ugc-interview.d.ts +0 -18
  327. package/dist/ugc-interview.js +0 -24
  328. package/dist/ugc-layers.d.ts +0 -39
  329. package/dist/ugc-layers.js +0 -39
  330. package/dist/ugc-scenes.d.ts +0 -2
  331. package/dist/ugc-scenes.js +0 -5
  332. package/dist/ugc-video-media.d.ts +0 -5
  333. package/dist/ugc-video-media.js +0 -7
  334. package/dist/uploads.d.ts +1 -15
  335. package/dist/uploads.js +3 -20
  336. package/dist/vendor-response.d.ts +0 -19
  337. package/dist/vendor-response.js +0 -22
  338. package/dist/video-size.d.ts +0 -4
  339. package/dist/video-size.js +0 -7
  340. package/dist/voice-admission.d.ts +2 -11
  341. package/dist/voice-admission.js +0 -13
  342. package/dist/voice-catalog-data.d.ts +0 -2
  343. package/dist/voice-catalog-data.js +0 -3
  344. package/dist/voice-catalog.d.ts +0 -6
  345. package/dist/voice-catalog.js +0 -8
  346. package/dist/voice-listing.d.ts +0 -6
  347. package/dist/voice-listing.js +0 -14
  348. package/dist/voice-pace.d.ts +0 -4
  349. package/dist/voice-pace.js +0 -7
  350. package/dist/voice-preview-approval.js +0 -1
  351. package/dist/voices.d.ts +4 -69
  352. package/dist/voices.js +3 -88
  353. package/dist/workflows/catalog.d.ts +0 -2
  354. package/dist/workflows/catalog.js +0 -4
  355. package/dist/workflows/film-directions.d.ts +0 -3
  356. package/dist/workflows/film-directions.js +0 -4
  357. package/dist/workflows/index.js +0 -1
  358. package/dist/workflows/methods/faceless-explainer.d.ts +33 -0
  359. package/dist/workflows/methods/faceless-explainer.js +0 -1
  360. package/dist/workflows/methods/kinetic-launch.d.ts +66 -1
  361. package/dist/workflows/methods/kinetic-launch.js +0 -2
  362. package/dist/workflows/methods/product-image-story.d.ts +33 -0
  363. package/dist/workflows/methods/product-image-story.js +0 -1
  364. package/dist/workflows/methods/reference-remake.d.ts +33 -0
  365. package/dist/workflows/methods/reference-remake.js +0 -1
  366. package/dist/workflows/methods/shared.d.ts +33 -1
  367. package/dist/workflows/methods/shared.js +0 -3
  368. package/dist/workflows/methods/ugc-faq-answer.d.ts +33 -0
  369. package/dist/workflows/methods/ugc-faq-answer.js +0 -1
  370. package/dist/workflows/methods/ugc-product-intro.d.ts +33 -0
  371. package/dist/workflows/methods/ugc-product-intro.js +0 -1
  372. package/dist/workflows/methods/website-proof-demo.d.ts +66 -1
  373. package/dist/workflows/methods/website-proof-demo.js +0 -2
  374. package/dist/workflows/motion-director.d.ts +0 -11
  375. package/dist/workflows/motion-director.js +0 -11
  376. package/dist/workflows/product-references.js +0 -1
  377. package/dist/workflows/reference-remake.d.ts +114 -17
  378. package/dist/workflows/reference-remake.js +0 -167
  379. package/dist/workflows/remake-chooser.d.ts +0 -6
  380. package/dist/workflows/remake-chooser.js +0 -4
  381. package/dist/workflows/remake-motion.d.ts +0 -16
  382. package/dist/workflows/remake-motion.js +0 -19
  383. package/dist/workflows/validate.d.ts +0 -1
  384. package/dist/workflows/validate.js +0 -5
  385. package/dist/workflows.js +0 -1
  386. package/package.json +1 -1
  387. package/dist/account-actors.js.map +0 -1
  388. package/dist/account.js.map +0 -1
  389. package/dist/actor-bounds.js.map +0 -1
  390. package/dist/actor-qualities.js.map +0 -1
  391. package/dist/actors.js.map +0 -1
  392. package/dist/ad-guide.js.map +0 -1
  393. package/dist/ad-pause-trim.js.map +0 -1
  394. package/dist/api-failure.js.map +0 -1
  395. package/dist/aspect.js.map +0 -1
  396. package/dist/asset-identity.js.map +0 -1
  397. package/dist/assets.js.map +0 -1
  398. package/dist/billing-terms.js.map +0 -1
  399. package/dist/brand-styles.js.map +0 -1
  400. package/dist/broll-policy.js.map +0 -1
  401. package/dist/canvas-fit.js.map +0 -1
  402. package/dist/caption-funnel.js.map +0 -1
  403. package/dist/caption-geometry.js.map +0 -1
  404. package/dist/caption-language.js.map +0 -1
  405. package/dist/contract-dispositions.js.map +0 -1
  406. package/dist/contracts/v1/workflow-brief.js.map +0 -1
  407. package/dist/contracts/v1/workflow-catalog.js.map +0 -1
  408. package/dist/contracts/v1/workflow-client.js.map +0 -1
  409. package/dist/contracts/v1/workflow-dto.js.map +0 -1
  410. package/dist/contracts/v1/workflow-evidence.js.map +0 -1
  411. package/dist/contracts/v1/workflow-execution.js.map +0 -1
  412. package/dist/contracts/v1/workflow-next.js.map +0 -1
  413. package/dist/contracts/v1/workflow-plan.js.map +0 -1
  414. package/dist/contracts/v1/workflow-primitives.js.map +0 -1
  415. package/dist/contracts/v1/workflow-run-read.js.map +0 -1
  416. package/dist/creator-profile.js.map +0 -1
  417. package/dist/default-actor.js.map +0 -1
  418. package/dist/design.js.map +0 -1
  419. package/dist/edit-billing.js.map +0 -1
  420. package/dist/edit-candidate.js.map +0 -1
  421. package/dist/edit-document.js.map +0 -1
  422. package/dist/edit-faceless.js.map +0 -1
  423. package/dist/edit-long-form.js.map +0 -1
  424. package/dist/edit-operations.js.map +0 -1
  425. package/dist/edit-primitives.js.map +0 -1
  426. package/dist/edit-revision.js.map +0 -1
  427. package/dist/edit-rules.js.map +0 -1
  428. package/dist/edit-shots.js.map +0 -1
  429. package/dist/edit-validate.js.map +0 -1
  430. package/dist/edit.js.map +0 -1
  431. package/dist/endpoint-notes.js.map +0 -1
  432. package/dist/endpoints.js.map +0 -1
  433. package/dist/errors.js.map +0 -1
  434. package/dist/explainer-fit.js.map +0 -1
  435. package/dist/face-billing.js.map +0 -1
  436. package/dist/face-delivery.js.map +0 -1
  437. package/dist/faceless-action-shots.js.map +0 -1
  438. package/dist/faceless-customer-anchors.js.map +0 -1
  439. package/dist/faceless-cut-style.js.map +0 -1
  440. package/dist/faceless-image-placement.js.map +0 -1
  441. package/dist/faceless-image-qualification.js.map +0 -1
  442. package/dist/faceless-media-record.js.map +0 -1
  443. package/dist/faceless-price.js.map +0 -1
  444. package/dist/faceless-public-plan.js.map +0 -1
  445. package/dist/faceless-public.js.map +0 -1
  446. package/dist/faceless-short-61.js.map +0 -1
  447. package/dist/faceless-storyboard-timing.js.map +0 -1
  448. package/dist/faceless-storyboard-v2-plan.js.map +0 -1
  449. package/dist/faceless-storyboard-v2-timing.js.map +0 -1
  450. package/dist/faceless-storyboard-v2.js.map +0 -1
  451. package/dist/faceless-storyboard.js.map +0 -1
  452. package/dist/faceless-voices.js.map +0 -1
  453. package/dist/feedback.js.map +0 -1
  454. package/dist/film-directions.js.map +0 -1
  455. package/dist/film-drafts.js.map +0 -1
  456. package/dist/film-guide.js.map +0 -1
  457. package/dist/film-styles.js.map +0 -1
  458. package/dist/generation-shot.js.map +0 -1
  459. package/dist/generations-output.js.map +0 -1
  460. package/dist/generations.js.map +0 -1
  461. package/dist/idempotency.js.map +0 -1
  462. package/dist/index.js.map +0 -1
  463. package/dist/live-shot-kinds.js.map +0 -1
  464. package/dist/long-form-pricing.js.map +0 -1
  465. package/dist/long-form-profile.js.map +0 -1
  466. package/dist/long-form-revision.js.map +0 -1
  467. package/dist/markdown-quote.js.map +0 -1
  468. package/dist/mascots.js.map +0 -1
  469. package/dist/max-credits.js.map +0 -1
  470. package/dist/mcp-ugc-descriptions.js.map +0 -1
  471. package/dist/media-timebase.js.map +0 -1
  472. package/dist/motion-styles.js.map +0 -1
  473. package/dist/moves.js.map +0 -1
  474. package/dist/music.js.map +0 -1
  475. package/dist/naming.js.map +0 -1
  476. package/dist/openapi.js.map +0 -1
  477. package/dist/output-provenance.js.map +0 -1
  478. package/dist/own-agent-price.js.map +0 -1
  479. package/dist/own-agent-runs.js.map +0 -1
  480. package/dist/pacing.js.map +0 -1
  481. package/dist/parts-pricing.js.map +0 -1
  482. package/dist/post-text.js.map +0 -1
  483. package/dist/presenter-beats.js.map +0 -1
  484. package/dist/presenter-matte.js.map +0 -1
  485. package/dist/presenter-takes.js.map +0 -1
  486. package/dist/prices.js.map +0 -1
  487. package/dist/public-endpoints.js.map +0 -1
  488. package/dist/public-responses.js.map +0 -1
  489. package/dist/rate-limit.js.map +0 -1
  490. package/dist/reference-analysis.js.map +0 -1
  491. package/dist/reference-display.js.map +0 -1
  492. package/dist/reference-kinds.js.map +0 -1
  493. package/dist/reference-lyrics.js.map +0 -1
  494. package/dist/reference-profile.js.map +0 -1
  495. package/dist/reference-staging.js.map +0 -1
  496. package/dist/reference-text-spans.js.map +0 -1
  497. package/dist/reference-voice-over.js.map +0 -1
  498. package/dist/reference-voice.js.map +0 -1
  499. package/dist/render-backend.js.map +0 -1
  500. package/dist/resolved-timeline.js.map +0 -1
  501. package/dist/run-media.js.map +0 -1
  502. package/dist/run-preflight.js.map +0 -1
  503. package/dist/run-static-warnings.js.map +0 -1
  504. package/dist/runs.js.map +0 -1
  505. package/dist/scene-bible.js.map +0 -1
  506. package/dist/scene-graph.js.map +0 -1
  507. package/dist/scene-place.js.map +0 -1
  508. package/dist/scene-proposal.js.map +0 -1
  509. package/dist/script-integrity.js.map +0 -1
  510. package/dist/script-voice.js.map +0 -1
  511. package/dist/semantic-inserts.js.map +0 -1
  512. package/dist/skill-theme-explainer.js.map +0 -1
  513. package/dist/skill-theme.js.map +0 -1
  514. package/dist/skills.js.map +0 -1
  515. package/dist/speech-rhythm-contract.js.map +0 -1
  516. package/dist/speech-rhythm.js.map +0 -1
  517. package/dist/templates/backdrop.js.map +0 -1
  518. package/dist/templates/callout.js.map +0 -1
  519. package/dist/templates/chart.js.map +0 -1
  520. package/dist/templates/chat-window.js.map +0 -1
  521. package/dist/templates/checklist.js.map +0 -1
  522. package/dist/templates/comment-cta.js.map +0 -1
  523. package/dist/templates/compare.js.map +0 -1
  524. package/dist/templates/cover-story.js.map +0 -1
  525. package/dist/templates/end-card.js.map +0 -1
  526. package/dist/templates/hand-title.js.map +0 -1
  527. package/dist/templates/index.js.map +0 -1
  528. package/dist/templates/lower-third.js.map +0 -1
  529. package/dist/templates/notification.js.map +0 -1
  530. package/dist/templates/phone-call.js.map +0 -1
  531. package/dist/templates/phone-screen.js.map +0 -1
  532. package/dist/templates/pointer-chips.js.map +0 -1
  533. package/dist/templates/progress.js.map +0 -1
  534. package/dist/templates/quote.js.map +0 -1
  535. package/dist/templates/race.js.map +0 -1
  536. package/dist/templates/rating.js.map +0 -1
  537. package/dist/templates/series-frame.js.map +0 -1
  538. package/dist/templates/size.js.map +0 -1
  539. package/dist/templates/slot.js.map +0 -1
  540. package/dist/templates/sounds.js.map +0 -1
  541. package/dist/templates/stat.js.map +0 -1
  542. package/dist/templates/tag.js.map +0 -1
  543. package/dist/templates/terminal.js.map +0 -1
  544. package/dist/templates/theme.js.map +0 -1
  545. package/dist/templates/title-card.js.map +0 -1
  546. package/dist/templates/video-grid.js.map +0 -1
  547. package/dist/templates/word-fill.js.map +0 -1
  548. package/dist/templates/word-title.js.map +0 -1
  549. package/dist/trend-niches.js.map +0 -1
  550. package/dist/trend-search.js.map +0 -1
  551. package/dist/tts-backend.js.map +0 -1
  552. package/dist/ugc-call.js.map +0 -1
  553. package/dist/ugc-delivery.js.map +0 -1
  554. package/dist/ugc-framing.js.map +0 -1
  555. package/dist/ugc-interview.js.map +0 -1
  556. package/dist/ugc-layers.js.map +0 -1
  557. package/dist/ugc-scenes.js.map +0 -1
  558. package/dist/ugc-video-media.js.map +0 -1
  559. package/dist/uploads.js.map +0 -1
  560. package/dist/vendor-response.js.map +0 -1
  561. package/dist/video-size.js.map +0 -1
  562. package/dist/voice-admission.js.map +0 -1
  563. package/dist/voice-catalog-data.js.map +0 -1
  564. package/dist/voice-catalog.js.map +0 -1
  565. package/dist/voice-listing.js.map +0 -1
  566. package/dist/voice-pace.js.map +0 -1
  567. package/dist/voice-preview-approval.js.map +0 -1
  568. package/dist/voices.js.map +0 -1
  569. package/dist/workflows/catalog.js.map +0 -1
  570. package/dist/workflows/film-directions.js.map +0 -1
  571. package/dist/workflows/index.js.map +0 -1
  572. package/dist/workflows/methods/faceless-explainer.js.map +0 -1
  573. package/dist/workflows/methods/kinetic-launch.js.map +0 -1
  574. package/dist/workflows/methods/product-image-story.js.map +0 -1
  575. package/dist/workflows/methods/reference-remake.js.map +0 -1
  576. package/dist/workflows/methods/shared.js.map +0 -1
  577. package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
  578. package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
  579. package/dist/workflows/methods/website-proof-demo.js.map +0 -1
  580. package/dist/workflows/motion-director.js.map +0 -1
  581. package/dist/workflows/product-references.js.map +0 -1
  582. package/dist/workflows/reference-remake.js.map +0 -1
  583. package/dist/workflows/remake-chooser.js.map +0 -1
  584. package/dist/workflows/remake-motion.js.map +0 -1
  585. package/dist/workflows/validate.js.map +0 -1
  586. package/dist/workflows.js.map +0 -1
@@ -77,13 +77,10 @@ export function parseFacelessPublicStory(input, expectedScript) {
77
77
  }
78
78
  return story;
79
79
  }
80
- /** Per second above the pace band: an emphasis cut is dropped only while the merged shot stays within 0.5 s of the band's top. */
81
80
  const PACE_OVER_PENALTY = 2;
82
- /** The opening VIDEO lasts 3–5 s at 25 fps. */
83
81
  export const FACELESS_OPENER_MIN_FRAMES = 75, FACELESS_OPENER_MAX_FRAMES = 125;
84
82
  export const FACELESS_IMAGE_MIN_FRAMES = 25, FACELESS_IMAGE_MAX_FRAMES = 150;
85
83
  export const FACELESS_OPENER_BOUNDS_ERROR = `mandatory opening VIDEO requires ${FACELESS_OPENER_MIN_FRAMES}–${FACELESS_OPENER_MAX_FRAMES} frames`;
86
- /** Speech boundaries and planner cuts share the native nearest-frame clock. */
87
84
  export const facelessSpeechFrame = (seconds) => Math.round(seconds * 25);
88
85
  export function planPublicFacelessStory(input, words, inputStyle, outputFrames, options = {}) {
89
86
  if (!Number.isSafeInteger(outputFrames) || outputFrames < FACELESS_MIN_OUTPUT_FRAMES || outputFrames > FACELESS_MAX_OUTPUT_FRAMES) {
@@ -136,7 +133,6 @@ export function planPublicFacelessStory(input, words, inputStyle, outputFrames,
136
133
  const openerScore = facelessCutScore(story.beats[nodes[k].beatIndex].reason, 0, { p25: 0, p75: 0 });
137
134
  states[k] = { total: openerScore.net, path: [k], scores: [openerScore] };
138
135
  };
139
- // The opener may end at any beat boundary inside its bounds, absorbing the beats before it.
140
136
  for (const [k, node] of nodes.entries()) {
141
137
  if (k > 0 && options.keepBeats?.has(k))
142
138
  break;
@@ -144,9 +140,7 @@ export function planPublicFacelessStory(input, words, inputStyle, outputFrames,
144
140
  seedOpener(k);
145
141
  }
146
142
  if (!states.some(Boolean)) {
147
- // Word-gap opener: beat 0 alone, cut at beat 1's first in-bounds gap that leaves beat 1 an IMAGE shot's minimum.
148
143
  const next = story.beats[1], nextEndFrame = nodes[1]?.frame ?? outputFrames;
149
- // A kept range reaching into beat 1 belongs to that beat's picture, so the gap falls before its first word.
150
144
  const pastKept = (cut) => options.keepTogether?.some(range => range.end > next.wordStart && range.first <= cut.afterWord) ?? false;
151
145
  const gap = options.openerWordGap ? Array.from({ length: next.wordEnd - next.wordStart - 1 }, (_, i) => cutAfter(next.wordStart + i))
152
146
  .find(cut => inOpenerBounds(cut.frame) && (options.openerGapPastKept || !pastKept(cut))) : undefined;
@@ -163,10 +157,8 @@ export function planPublicFacelessStory(input, words, inputStyle, outputFrames,
163
157
  for (let start = 0; start < end; start++) {
164
158
  const prior = states[start];
165
159
  const duration = nodes[end].frame - nodes[start].frame;
166
- // The last picture also holds the end; its own words keep to the usual bound.
167
160
  if (!prior || duration < FACELESS_IMAGE_MIN_FRAMES || duration > imageMaxFrames + (end === final ? endHoldFrames : 0))
168
161
  continue;
169
- // The shot speaks words (nodes[start].afterWord, nodes[end].afterWord]; one holding a capped range keeps to its cap.
170
162
  if (options.capFrames?.some(range => duration > range.maxFrames && range.first <= nodes[end].afterWord &&
171
163
  range.end > nodes[start].afterWord + 1))
172
164
  continue;
@@ -193,12 +185,10 @@ export function planPublicFacelessStory(input, words, inputStyle, outputFrames,
193
185
  const node = nodes[nodeIndex];
194
186
  const included = story.beats.slice(beatStart, node.beatIndex);
195
187
  const hold = style.motion.pan_transition_n > 0 && style.motion.pan_flip_probability !== null && style.motion.pan_flip_probability < .5;
196
- // One picture shows one scene: a shot of several beats takes the prompt of the beat on screen longest, the earlier on a tie.
197
188
  const onScreen = included.map((_, k) => Math.min(node.frame, beatFrame(beatStart + k + 1)) - Math.max(startFrame, beatFrame(beatStart + k)));
198
189
  const lead = onScreen.indexOf(Math.max(...onScreen));
199
190
  const shot = {
200
191
  id: included[0].id, mediaType: i ? "image" : "video", startFrame, endFrame: node.frame,
201
- // Absorbed beats carry IMAGE prompts, so the opener keeps only its own beat's prompt.
202
192
  beatIds: included.map(b => b.id), visualPrompts: [included[i ? lead : 0].visualPrompt], phase: included[0].phase,
203
193
  ...(i ? { motion: hold || i % 2 === 1 ? "PAN_UP" : "PAN_DOWN" } : {}),
204
194
  ...(nodeIndex < final ? { cutAfterWord: node.afterWord } : {}), score: selected.scores[i],
@@ -211,4 +201,3 @@ export function planPublicFacelessStory(input, words, inputStyle, outputFrames,
211
201
  narrationStartFrame: story.narrationStartFrame, captionPhrases,
212
202
  ...(imageMaxFrames > FACELESS_IMAGE_MAX_FRAMES ? { imageMaxFrames } : {}), ...(endHoldFrames > 0 ? { endHoldFrames } : {}), shots };
213
203
  }
214
- //# sourceMappingURL=faceless-public-plan.js.map
@@ -37,7 +37,6 @@ declare const scriptTransitions: z.ZodObject<{
37
37
  }, z.core.$strict>>]>>;
38
38
  }, z.core.$strict>;
39
39
  export type FacelessTransitionsInput = z.infer<typeof scriptTransitions>;
40
- /** A brief that names no transitions gets a flash on every scene change at admission (#1067); `false` keeps plain cuts. */
41
40
  export declare const FACELESS_BRIEF_DEFAULT_TRANSITIONS: Readonly<{
42
41
  readonly look: "flash";
43
42
  readonly at: "scene_changes";
@@ -45,42 +44,53 @@ export declare const FACELESS_BRIEF_DEFAULT_TRANSITIONS: Readonly<{
45
44
  export declare const FACELESS_FORMATS: readonly ["standard", "explainer"];
46
45
  export declare const FACELESS_EXPLAINER_DISABLED_MESSAGE = "format explainer is not available on make_faceless right now; omit format";
47
46
  export declare const FACELESS_EXPLAINER_BRIEF_REFUSAL = "format explainer needs input_mode script: write it as a hook, three to five steps and a result";
48
- /** The frame a faceless run delivers: 720 by 1280 when admission pinned 720p (#911), else the 1080 by 1920 of every earlier run and every revision. */
49
47
  export declare function facelessRunFrame(storedInput: unknown): {
50
48
  width: number;
51
49
  height: number;
52
50
  };
53
- /** The explainer (#1216) draws its own scene on every phrase, so the fields that place pictures, clips or graphics have no room in it. */
54
51
  export declare const EXPLAINER_OWN_FIELDS: readonly ["style_reference", "transitions", "templates", "shots", "scenes", "moves", "motion_style", "music"];
55
52
  export declare const explainerOwnFieldMessage: (field: string) => string;
56
- /** An explainer places at most this many of the customer's product pictures, each on its own words (#1322). */
57
53
  export declare const EXPLAINER_MAX_PRODUCT_PICTURES = 3;
58
54
  export declare const EXPLAINER_PRODUCT_PICTURES_REFUSAL = "format explainer places at most 3 of your pictures";
59
- /** Why an explainer's pictures cannot be placed: too many, or words of the script none or more than one of them names alone. */
60
55
  export declare function explainerPictureRefusals(script: unknown, images: unknown): {
61
56
  path: (string | number)[];
62
57
  message: string;
63
58
  }[];
64
- /** What an explainer request may not carry: a brief, a field the explainer draws itself, or pictures it cannot place. */
65
59
  export declare function explainerFieldRefusals(input: Record<string, unknown>): {
66
60
  path: (string | number)[];
67
61
  message: string;
68
62
  }[];
69
- /** A mascot is the explainer's hero already made: it needs the format, and it replaces a character the run would draw. */
70
63
  export declare function mascotFieldRefusals(input: Record<string, unknown>): {
71
64
  path: string[];
72
65
  message: string;
73
66
  }[];
74
- /** A tier picks the explainer's level, so it means nothing on another format. */
75
67
  export declare const EXPLAINER_TIER_REFUSAL = "tier needs format explainer: it picks the explainer's level";
76
- /** The line a faceless quote and run name when a style has nothing to dress: captions off and no templates or scenes (#1123). */
68
+ export declare function facelessTierRefusal(input: {
69
+ tier?: unknown;
70
+ format?: unknown;
71
+ }, directed: boolean): string | null;
72
+ export declare function directedFacelessTier(input: {
73
+ tier?: (typeof EXPLAINER_TIERS)[number] | undefined;
74
+ }): (typeof EXPLAINER_TIERS)[number];
75
+ export declare const facelessDirectedMark: z.ZodObject<{
76
+ version: z.ZodLiteral<1>;
77
+ tier: z.ZodEnum<{
78
+ pro: "pro";
79
+ standard: "standard";
80
+ }>;
81
+ pairing: z.ZodEnum<{
82
+ by_meaning: "by_meaning";
83
+ keep: "keep";
84
+ none: "none";
85
+ }>;
86
+ }, z.core.$strict>;
87
+ export type FacelessDirectedMark = z.infer<typeof facelessDirectedMark>;
77
88
  export declare function facelessMotionStyleWarnings(input: {
78
89
  motion_style?: Parameters<typeof motionStyleAsked>[0]["motion_style"];
79
90
  captions?: boolean | undefined;
80
91
  templates?: readonly unknown[] | undefined;
81
92
  scenes?: readonly unknown[] | undefined;
82
93
  }): string[];
83
- /** Action shots (#1113): a moving clip from the picture under the named words, on those words, instead of the still. */
84
94
  export declare const facelessActionShot: z.ZodObject<{
85
95
  id: z.ZodString;
86
96
  anchor: z.ZodUnion<readonly [z.ZodObject<{
@@ -3143,6 +3153,7 @@ export declare const makeFacelessInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
3143
3153
  comma_s: z.ZodOptional<z.ZodNumber>;
3144
3154
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
3145
3155
  }, z.core.$strict>]>>;
3156
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
3146
3157
  }, z.core.$strict>, z.ZodObject<{
3147
3158
  duration_seconds: z.ZodNumber;
3148
3159
  style_reference: z.ZodOptional<z.ZodString>;
@@ -3443,10 +3454,10 @@ export declare const makeFacelessInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
3443
3454
  scenes: z.ZodOptional<z.ZodNever>;
3444
3455
  moves: z.ZodOptional<z.ZodNever>;
3445
3456
  pause_trim: z.ZodOptional<z.ZodNever>;
3457
+ keep_anchors: z.ZodOptional<z.ZodNever>;
3446
3458
  }, z.core.$strict>], "input_mode">;
3447
3459
  export type MakeFacelessInput = z.infer<typeof makeFacelessInput>;
3448
3460
  export type MakeFacelessInputArgs = z.input<typeof makeFacelessInput>;
3449
- /** The stored input of a revision: the request as resolved, and what admission froze about it. */
3450
3461
  export declare const facelessRevisionInput: z.ZodObject<{
3451
3462
  input_mode: z.ZodLiteral<"revision">;
3452
3463
  revision: z.ZodObject<{
@@ -3562,7 +3573,6 @@ export declare const facelessRevisionInput: z.ZodObject<{
3562
3573
  }, z.core.$strict>;
3563
3574
  }, z.core.$strict>;
3564
3575
  export type FacelessRevisionInput = z.infer<typeof facelessRevisionInput>;
3565
- /** What a `make_faceless` run stores as its input: a generate request or a revision. */
3566
3576
  export declare const facelessStoredInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
3567
3577
  duration_seconds: z.ZodNumber;
3568
3578
  style_reference: z.ZodOptional<z.ZodString>;
@@ -6603,6 +6613,7 @@ export declare const facelessStoredInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
6603
6613
  comma_s: z.ZodOptional<z.ZodNumber>;
6604
6614
  mid_phrase_s: z.ZodOptional<z.ZodNumber>;
6605
6615
  }, z.core.$strict>]>>;
6616
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
6606
6617
  insert_assets: z.ZodOptional<z.ZodArray<z.ZodObject<{
6607
6618
  insert_id: z.ZodString;
6608
6619
  slot: z.ZodOptional<z.ZodString>;
@@ -6689,6 +6700,18 @@ export declare const facelessStoredInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
6689
6700
  }, z.core.$strict>>;
6690
6701
  knowledge: z.ZodOptional<z.ZodLiteral<"ugc_ad">>;
6691
6702
  }, z.core.$strict>>;
6703
+ directed: z.ZodOptional<z.ZodObject<{
6704
+ version: z.ZodLiteral<1>;
6705
+ tier: z.ZodEnum<{
6706
+ pro: "pro";
6707
+ standard: "standard";
6708
+ }>;
6709
+ pairing: z.ZodEnum<{
6710
+ by_meaning: "by_meaning";
6711
+ keep: "keep";
6712
+ none: "none";
6713
+ }>;
6714
+ }, z.core.$strict>>;
6692
6715
  }, z.core.$strict>, z.ZodObject<{
6693
6716
  duration_seconds: z.ZodNumber;
6694
6717
  style_reference: z.ZodOptional<z.ZodString>;
@@ -6989,6 +7012,7 @@ export declare const facelessStoredInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
6989
7012
  scenes: z.ZodOptional<z.ZodNever>;
6990
7013
  moves: z.ZodOptional<z.ZodNever>;
6991
7014
  pause_trim: z.ZodOptional<z.ZodNever>;
7015
+ keep_anchors: z.ZodOptional<z.ZodNever>;
6992
7016
  scene_direction: z.ZodOptional<z.ZodObject<{
6993
7017
  mode: z.ZodLiteral<"complete">;
6994
7018
  proposal: z.ZodOptional<z.ZodObject<{
@@ -6998,6 +7022,18 @@ export declare const facelessStoredInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
6998
7022
  }, z.core.$strict>>;
6999
7023
  knowledge: z.ZodOptional<z.ZodLiteral<"ugc_ad">>;
7000
7024
  }, z.core.$strict>>;
7025
+ directed: z.ZodOptional<z.ZodObject<{
7026
+ version: z.ZodLiteral<1>;
7027
+ tier: z.ZodEnum<{
7028
+ pro: "pro";
7029
+ standard: "standard";
7030
+ }>;
7031
+ pairing: z.ZodEnum<{
7032
+ by_meaning: "by_meaning";
7033
+ keep: "keep";
7034
+ none: "none";
7035
+ }>;
7036
+ }, z.core.$strict>>;
7001
7037
  }, z.core.$strict>, z.ZodObject<{
7002
7038
  input_mode: z.ZodLiteral<"revision">;
7003
7039
  revision: z.ZodObject<{
@@ -7113,27 +7149,19 @@ export declare const facelessStoredInput: z.ZodDiscriminatedUnion<[z.ZodObject<{
7113
7149
  }, z.core.$strict>;
7114
7150
  }, z.core.$strict>], "input_mode">;
7115
7151
  export type FacelessStoredInput = z.infer<typeof facelessStoredInput>;
7116
- /** Admission and the run validate accepted input without canonicalizing its narration again. */
7117
- /** A brief's default flash is frozen here, so the stored input names what the video draws; a stored input is read as stored. */
7118
7152
  export declare function parseFacelessInputPreservingScript(input: unknown): MakeFacelessInput;
7119
7153
  export declare function parseFacelessStoredInputPreservingScript(input: unknown): FacelessStoredInput;
7120
- /** A request's quote: what the quote shows and admission reserves, read from the same fields by the same call. */
7121
- /** `explainerBeats`: an explainer's drawn scenes are on, so the quote holds them. `explainerFilm`: the explainer is priced as one drawn film. */
7122
7154
  export declare function quoteFacelessInput(input: MakeFacelessInput, options?: {
7123
7155
  explainerBeats?: boolean;
7124
7156
  explainerFilm?: SkillFilmTariff;
7125
7157
  }): FacelessQuote;
7126
- /** Both levels' totals for one explainer request (#1291 F4), each as admission would reserve it on that level; the quote names the chosen one. */
7127
7158
  export declare function explainerTierTotals(input: MakeFacelessInput): {
7128
7159
  tier: (typeof EXPLAINER_TIERS)[number];
7129
7160
  standard: number;
7130
7161
  pro: number;
7131
7162
  };
7132
- /** The API routes repeat these paths as literals, and a test keeps them equal. */
7133
7163
  export declare const FACELESS_QUOTE_PATH = "/v1/skills/make_faceless/quote";
7134
7164
  export declare const FACELESS_RUN_PATH = "/v1/skills/make_faceless/run";
7135
- /** Flat form of `makeFacelessInput` for MCP, which needs an object shape, not a union. */
7136
- /** Clients still parse with `makeFacelessInput` before sending, so the union stays the contract. */
7137
7165
  export declare const offeredFacelessInputShape: {
7138
7166
  input_mode: z.ZodEnum<{
7139
7167
  brief: "brief";
@@ -7191,6 +7219,7 @@ export declare const offeredFacelessInputShape: {
7191
7219
  standard: "standard";
7192
7220
  }>>;
7193
7221
  pause_trim: z.ZodOptional<z.ZodUnknown>;
7222
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
7194
7223
  voice: z.ZodOptional<z.ZodString>;
7195
7224
  resolution: z.ZodOptional<z.ZodEnum<{
7196
7225
  "1080p": "1080p";
@@ -7214,8 +7243,6 @@ export declare const offeredFacelessInputShape: {
7214
7243
  }, z.core.$strict>>;
7215
7244
  propose: z.ZodOptional<z.ZodLiteral<false>>;
7216
7245
  };
7217
- /** The flat form as a tool input: an undeclared key is refused at the tool boundary, */
7218
- /** a field refused by name with its registry reason. */
7219
7246
  export declare const offeredFacelessInput: z.ZodObject<{
7220
7247
  input_mode: z.ZodEnum<{
7221
7248
  brief: "brief";
@@ -7273,6 +7300,7 @@ export declare const offeredFacelessInput: z.ZodObject<{
7273
7300
  standard: "standard";
7274
7301
  }>>;
7275
7302
  pause_trim: z.ZodOptional<z.ZodUnknown>;
7303
+ keep_anchors: z.ZodOptional<z.ZodBoolean>;
7276
7304
  voice: z.ZodOptional<z.ZodString>;
7277
7305
  resolution: z.ZodOptional<z.ZodEnum<{
7278
7306
  "1080p": "1080p";
@@ -7315,6 +7343,7 @@ export declare const facelessQuoteResponse: z.ZodObject<{
7315
7343
  tariffId: z.ZodEnum<{
7316
7344
  "faceless-image-i2v-v1": "faceless-image-i2v-v1";
7317
7345
  "faceless-parts-v1": "faceless-parts-v1";
7346
+ "faceless-parts-v2": "faceless-parts-v2";
7318
7347
  }>;
7319
7348
  captions: z.ZodBoolean;
7320
7349
  images: z.ZodOptional<z.ZodNumber>;
@@ -7322,6 +7351,9 @@ export declare const facelessQuoteResponse: z.ZodObject<{
7322
7351
  musicCredits: z.ZodOptional<z.ZodNumber>;
7323
7352
  shotSeconds: z.ZodOptional<z.ZodNumber>;
7324
7353
  shotCredits: z.ZodOptional<z.ZodNumber>;
7354
+ textShotSeconds: z.ZodOptional<z.ZodNumber>;
7355
+ textShotCredits: z.ZodOptional<z.ZodNumber>;
7356
+ totalCreditsWithoutText: z.ZodOptional<z.ZodNumber>;
7325
7357
  scenes: z.ZodOptional<z.ZodNumber>;
7326
7358
  sceneCredits: z.ZodOptional<z.ZodNumber>;
7327
7359
  posePictures: z.ZodOptional<z.ZodNumber>;
@@ -7330,6 +7362,7 @@ export declare const facelessQuoteResponse: z.ZodObject<{
7330
7362
  objectPictures: z.ZodOptional<z.ZodNumber>;
7331
7363
  objectPictureCredits: z.ZodOptional<z.ZodNumber>;
7332
7364
  filmCredits: z.ZodOptional<z.ZodNumber>;
7365
+ directionCredits: z.ZodOptional<z.ZodNumber>;
7333
7366
  skill: z.ZodLiteral<"make_faceless">;
7334
7367
  explainer_fit: z.ZodOptional<z.ZodObject<{
7335
7368
  fits: z.ZodBoolean;
@@ -7344,6 +7377,14 @@ export declare const facelessQuoteResponse: z.ZodObject<{
7344
7377
  standard: z.ZodNumber;
7345
7378
  pro: z.ZodNumber;
7346
7379
  }, z.core.$strict>>;
7380
+ tiers: z.ZodOptional<z.ZodObject<{
7381
+ tier: z.ZodEnum<{
7382
+ pro: "pro";
7383
+ standard: "standard";
7384
+ }>;
7385
+ standard: z.ZodNumber;
7386
+ pro: z.ZodNumber;
7387
+ }, z.core.$strict>>;
7347
7388
  scene_proposal: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7348
7389
  state: z.ZodLiteral<"writing">;
7349
7390
  retry_after_s: z.ZodNumber;
@@ -41,28 +41,23 @@ export const facelessCustomerSceneImage = z.object({
41
41
  anchor: facelessSceneAnchor,
42
42
  }).strict();
43
43
  const customIssue = "custom";
44
- /** Cut transitions of a new run: every scene change, or the one nearest each anchor's first word. */
45
44
  const transitionLook = z.enum(FACELESS_TRANSITION_LOOKS);
46
45
  const scriptTransitions = z.strictObject({
47
46
  look: transitionLook,
48
47
  at: z.union([z.literal("scene_changes"), z.array(z.strictObject({ anchor: facelessSceneAnchor })).min(1).max(100)]).default("scene_changes"),
49
48
  });
50
- // A brief's narration is written by the run, so no word of it can be named in advance.
51
49
  const briefTransitions = z.strictObject({
52
50
  look: transitionLook,
53
51
  at: z.literal("scene_changes", { error: "transitions.at word anchors need input_mode script; a brief takes \"scene_changes\"" })
54
52
  .default("scene_changes"),
55
53
  });
56
- /** A brief that names no transitions gets a flash on every scene change at admission (#1067); `false` keeps plain cuts. */
57
54
  export const FACELESS_BRIEF_DEFAULT_TRANSITIONS = Object.freeze({ look: "flash", at: "scene_changes" });
58
- /** `false` or the object; a union names no branch on its own, so the refusal carries the object's first issue with its path. */
59
55
  const orPlainCuts = (schema) => z.union([z.literal(false), schema], { error: issue => {
60
56
  if (issue.input === null || typeof issue.input !== "object" || Array.isArray(issue.input))
61
57
  return "transitions is false (plain cuts) or { look, at }";
62
58
  const inner = schema.safeParse(issue.input).error?.issues[0];
63
59
  return inner && `${["transitions", ...inner.path.map(String)].join(".")}: ${inner.message}`;
64
60
  } });
65
- /** Sound refusals against the look the run draws: a brief without the field draws the default flash. */
66
61
  function refuseSounds(input, context) {
67
62
  const look = input.transitions === undefined && input.input_mode === "brief" ? FACELESS_BRIEF_DEFAULT_TRANSITIONS.look
68
63
  : input.transitions ? input.transitions.look : undefined;
@@ -75,51 +70,39 @@ export const FACELESS_EXPLAINER_BRIEF_REFUSAL = "format explainer needs input_mo
75
70
  const common = {
76
71
  duration_seconds: z.number().min(FACELESS_MIN_SELECTED_SECONDS).max(FACELESS_MAX_SELECTED_SECONDS).refine((seconds) => Number.isInteger(seconds * 25), "duration_seconds must align to a 25 fps frame boundary"),
77
72
  style_reference: qualifiedImageUrl.optional(),
78
- // Described here once: the MCP shape and OpenAPI both read this schema (#1359).
79
73
  character_reference: qualifiedImageUrl.optional()
80
74
  .describe("A picture of a person or figure: a public https image, or a picture you uploaded or saved in your assets. Standard format: the figure is in every picture we generate and in the opening clip; " +
81
75
  "your own scene_images are shown as they are. Format explainer: the figure is the hero, a person's photo drawn as a cartoon unless " +
82
76
  "character_details ask for a photoreal look."),
83
77
  character_details: z.string().trim().min(1).max(2000).optional(),
84
- /** A saved mascot of this account (#1257) the explainer's hero is drawn from: its poses are not made again, and the quote shows none. */
85
78
  mascot_id: assetId.optional(),
86
79
  scene_images: z.array(facelessCustomerSceneImage).max(60).optional(),
87
80
  captions: z.boolean().default(true),
88
- // A name form only: the server checks the name, so the list grows without a client release.
89
81
  voice: z.string({ error: "voice must be a voice name from list_voices, as a string" })
90
82
  .regex(VOICE_NAME_PATTERN, "voice is not a voice name: take one from list_voices with skill=make_faceless")
91
83
  .optional(),
92
84
  voice_id: z.never({ error: FACELESS_REJECTED_FIELDS.voice_id.message }).optional(),
93
- // Opt-in, so a run that never asked keeps its silent scene changes (rule 3).
94
85
  edit_sounds: z.boolean().optional(),
95
86
  template_sounds: facelessTemplateSounds.optional(),
96
87
  music: musicRequest.optional(),
97
- // A style dresses the captions, templates and scenes over the pictures (#1123); its spans sit on a script's words.
98
88
  motion_style: motionStyle.optional(),
99
89
  format: z.enum(FACELESS_FORMATS).optional(),
100
90
  tier: z.enum(EXPLAINER_TIERS).optional(),
101
- // No .default(): admission pins it, and a stored run without it is read as the 1080p it was rendered at (#911).
102
91
  resolution: offeredResolution.optional().describe("Output resolution: 720p (720x1280) or 1080p (1080x1920). Omitted means 720p. " +
103
92
  "The price does not depend on it."),
104
93
  max_credits: maxCreditsField,
105
- // make_ugc's scene (#1491); its posture is the main character's.
106
94
  scene: sceneBible.optional(),
107
- // quote_faceless's scene proposal (#1491), as on make_ugc: admission expands an accepted one into the fields above.
108
95
  proposal: facelessSceneProposalAccept.optional(),
109
96
  propose: facelessProposeField,
110
97
  };
111
- /** The frame a faceless run delivers: 720 by 1280 when admission pinned 720p (#911), else the 1080 by 1920 of every earlier run and every revision. */
112
98
  export function facelessRunFrame(storedInput) {
113
99
  const resolution = storedInput !== null && typeof storedInput === "object" ? storedInput.resolution : undefined;
114
100
  return resolution === "720p" ? { width: 720, height: 1280 } : { width: 1080, height: 1920 };
115
101
  }
116
- /** The explainer (#1216) draws its own scene on every phrase, so the fields that place pictures, clips or graphics have no room in it. */
117
102
  export const EXPLAINER_OWN_FIELDS = ["style_reference", "transitions", "templates", "shots", "scenes", "moves", "motion_style", "music"];
118
103
  export const explainerOwnFieldMessage = (field) => `format explainer draws its own scenes; omit ${field}`;
119
- /** An explainer places at most this many of the customer's product pictures, each on its own words (#1322). */
120
104
  export const EXPLAINER_MAX_PRODUCT_PICTURES = 3;
121
105
  export const EXPLAINER_PRODUCT_PICTURES_REFUSAL = `format explainer places at most ${EXPLAINER_MAX_PRODUCT_PICTURES} of your pictures`;
122
- /** Why an explainer's pictures cannot be placed: too many, or words of the script none or more than one of them names alone. */
123
106
  export function explainerPictureRefusals(script, images) {
124
107
  if (!Array.isArray(images) || typeof script !== "string")
125
108
  return [];
@@ -143,7 +126,6 @@ export function explainerPictureRefusals(script, images) {
143
126
  }
144
127
  return [];
145
128
  }
146
- /** What an explainer request may not carry: a brief, a field the explainer draws itself, or pictures it cannot place. */
147
129
  export function explainerFieldRefusals(input) {
148
130
  if (input.format !== "explainer")
149
131
  return [];
@@ -151,7 +133,6 @@ export function explainerFieldRefusals(input) {
151
133
  ...EXPLAINER_OWN_FIELDS.filter(field => input[field] !== undefined).map(field => ({ path: [field], message: explainerOwnFieldMessage(field) })),
152
134
  ...explainerPictureRefusals(input.script, input.scene_images)];
153
135
  }
154
- /** A mascot is the explainer's hero already made: it needs the format, and it replaces a character the run would draw. */
155
136
  export function mascotFieldRefusals(input) {
156
137
  if (input.mascot_id === undefined)
157
138
  return [];
@@ -161,26 +142,28 @@ export function mascotFieldRefusals(input) {
161
142
  .map(field => ({ path: [field], message: `mascot_id is the hero already made; omit ${field}` })),
162
143
  ];
163
144
  }
164
- /** A tier picks the explainer's level, so it means nothing on another format. */
165
145
  export const EXPLAINER_TIER_REFUSAL = "tier needs format explainer: it picks the explainer's level";
166
146
  function refuseExplainerFields(input, context) {
167
- const tier = input.tier !== undefined && input.format !== "explainer" ? [{ path: ["tier"], message: EXPLAINER_TIER_REFUSAL }] : [];
168
- for (const { path, message } of [...explainerFieldRefusals(input), ...mascotFieldRefusals(input), ...tier])
147
+ for (const { path, message } of [...explainerFieldRefusals(input), ...mascotFieldRefusals(input)])
169
148
  context.addIssue({ code: customIssue, path, message });
170
149
  }
171
- /** The line a faceless quote and run name when a style has nothing to dress: captions off and no templates or scenes (#1123). */
150
+ export function facelessTierRefusal(input, directed) {
151
+ return input.tier !== undefined && input.format !== "explainer" && !directed ? EXPLAINER_TIER_REFUSAL : null;
152
+ }
153
+ export function directedFacelessTier(input) {
154
+ return input.tier ?? "standard";
155
+ }
156
+ export const facelessDirectedMark = z.strictObject({ version: z.literal(1), tier: z.enum(EXPLAINER_TIERS),
157
+ pairing: z.enum(["none", "keep", "by_meaning"]) });
172
158
  export function facelessMotionStyleWarnings(input) {
173
159
  return motionStyleAsked(input) && !motionStyleHasCanvas({ ...input, captions: input.captions !== false }) ? [MOTION_STYLE_UNUSED_WARNING] : [];
174
160
  }
175
- /** Templates over the pictures (#1113): kinds on the script's words; a slot may show the account's own picture or clip (asset_id), as on make_ugc.
176
- * A cover or a backdrop stands the subject of the picture under its words in front (#1438); a series item without a clip shows that picture. */
177
161
  function refuseTemplates(input, context) {
178
162
  if (!input.templates)
179
163
  return;
180
164
  for (const { path, message } of templateRefusals({ script: input.script, templates: input.templates, aspect_ratio: "9:16" })) {
181
165
  context.addIssue({ code: customIssue, path, message });
182
166
  }
183
- // A cover or a backdrop is behind the cut-out switch here too, refused by value before any reserve (#1438).
184
167
  if (isPresenterMatteEnabled())
185
168
  return;
186
169
  input.templates.forEach((item, index) => {
@@ -188,13 +171,11 @@ function refuseTemplates(input, context) {
188
171
  context.addIssue({ code: customIssue, path: ["templates", index, "kind"], message: PRESENTER_MATTE_DISABLED_MESSAGE });
189
172
  });
190
173
  }
191
- /** Action shots (#1113): a moving clip from the picture under the named words, on those words, instead of the still. */
192
174
  export const facelessActionShot = z.strictObject({
193
175
  id: z.string().trim().min(1).max(64),
194
176
  anchor: facelessSceneAnchor,
195
177
  action: z.string().trim().min(1).max(1500),
196
178
  transition: z.enum(FACELESS_SHOT_TRANSITIONS).optional(),
197
- /** An image asset of this account (rights_confirmed) the clip starts from, in place of a picture the run draws; that picture is not charged. */
198
179
  asset_id: assetId.optional(),
199
180
  });
200
181
  export const FACELESS_SHOTS_BRIEF_REFUSAL = "shots need input_mode script: they sit on the narration's words";
@@ -208,8 +189,8 @@ const scriptShape = { ...common,
208
189
  shots: z.array(facelessActionShot).min(1).max(FACELESS_MAX_SHOTS, `at most ${FACELESS_MAX_SHOTS} shots a video`).optional(),
209
190
  scenes: z.array(ugcScene).min(1).max(MAX_SCENES).optional(),
210
191
  moves: z.array(ugcMove).min(1).max(MAX_MOVES).optional(),
211
- // make_ugc's field (#1228): the narration's pauses are cut before its words are timed, so everything drawn on them follows the cut.
212
192
  pause_trim: z.union([z.literal(false), pauseTrim]).optional(),
193
+ keep_anchors: z.boolean().optional(),
213
194
  };
214
195
  const scriptBase = z.object(scriptShape).strict();
215
196
  function refineScript(input, context) {
@@ -218,7 +199,6 @@ function refineScript(input, context) {
218
199
  refuseTemplates(input, context);
219
200
  for (const { path, message } of moveRefusals({ script: input.script, moves: input.moves }))
220
201
  context.addIssue({ code: customIssue, path, message });
221
- // Scenes sit on the script's words as on make_ugc and share the templates' ids (#1113).
222
202
  for (const { path, message } of sceneRefusals({ script: input.script, scenes: input.scenes, templates: input.templates }, { presenter: false })) {
223
203
  context.addIssue({ code: customIssue, path, message });
224
204
  }
@@ -243,26 +223,23 @@ function refineScript(input, context) {
243
223
  }
244
224
  }
245
225
  const scriptInput = scriptBase.superRefine(refineScript);
246
- /** What a run stores for a script: the request plus the assets admission pinned for it, which a public body never carries. */
247
226
  const storedScriptInput = z.object({ ...scriptShape,
248
227
  insert_assets: z.array(pinnedInsertAsset).min(1).max(MAX_TEMPLATE_MEDIA + FACELESS_MAX_SHOTS).optional(),
249
- /** The mascot a run reuses, as admission read it (#1257). */
250
228
  mascot: pinnedMascot.optional(),
251
- /** What the workflow method the run was launched from requires of its film (#1461). */
252
229
  workflow_directions: filmDirections.optional(),
253
- /** Set when admission froze the scene director for the run (#1491). */
254
230
  scene_direction: sceneDirectionMark.optional(),
231
+ directed: facelessDirectedMark.optional(),
255
232
  }).strict().superRefine(refineScript);
256
233
  const briefShape = { ...common,
257
234
  input_mode: z.literal("brief"),
258
235
  brief: z.string().trim().min(1).max(10_000),
259
236
  transitions: orPlainCuts(briefTransitions).optional(),
260
- // A brief's narration is written by the run, so no template can name its words.
261
237
  templates: z.never({ error: "templates need input_mode script: they sit on the narration's words" }).optional(),
262
238
  shots: z.never({ error: FACELESS_SHOTS_BRIEF_REFUSAL }).optional(),
263
239
  scenes: z.never({ error: "scenes need input_mode script: they sit on the narration's words" }).optional(),
264
240
  moves: z.never({ error: "moves need input_mode script: they sit on the narration's words" }).optional(),
265
241
  pause_trim: z.never({ error: "pause_trim needs input_mode script" }).optional(),
242
+ keep_anchors: z.never({ error: "keep_anchors needs input_mode script: it keeps your scene_images on the words you anchored them to" }).optional(),
266
243
  };
267
244
  function refineBrief(input, context) {
268
245
  refuseSounds(input, context);
@@ -272,18 +249,15 @@ function refineBrief(input, context) {
272
249
  message: "motion_style spans need input_mode script: they sit on the narration's words; a brief takes style only" });
273
250
  }
274
251
  const briefInput = z.object(briefShape).strict().superRefine(refineBrief);
275
- const storedBriefInput = z.object({ ...briefShape, scene_direction: sceneDirectionMark.optional() }).strict().superRefine(refineBrief);
252
+ const storedBriefInput = z.object({ ...briefShape, scene_direction: sceneDirectionMark.optional(), directed: facelessDirectedMark.optional() })
253
+ .strict().superRefine(refineBrief);
276
254
  export const makeFacelessInput = z.discriminatedUnion("input_mode", [scriptInput, briefInput]);
277
- /** The stored input of a revision: the request as resolved, and what admission froze about it. */
278
255
  export const facelessRevisionInput = z.strictObject({
279
256
  input_mode: z.literal("revision"),
280
257
  revision: z.strictObject({ source_run_id: runId, document: editDocument }),
281
258
  resolved_revision: z.strictObject({ root_run_id: runId, own_images: z.boolean(), summary: editSummaryWire, billing: revisionBilling }),
282
259
  });
283
- /** What a `make_faceless` run stores as its input: a generate request or a revision. */
284
260
  export const facelessStoredInput = z.discriminatedUnion("input_mode", [storedScriptInput, storedBriefInput, facelessRevisionInput]);
285
- /** Admission and the run validate accepted input without canonicalizing its narration again. */
286
- /** A brief's default flash is frozen here, so the stored input names what the video draws; a stored input is read as stored. */
287
261
  export function parseFacelessInputPreservingScript(input) {
288
262
  const parsed = makeFacelessInput.parse(input);
289
263
  if (parsed.input_mode === "script")
@@ -294,29 +268,22 @@ export function parseFacelessStoredInputPreservingScript(input) {
294
268
  const parsed = facelessStoredInput.parse(input);
295
269
  return parsed.input_mode === "script" ? { ...parsed, script: input.script } : parsed;
296
270
  }
297
- /** A request's quote: what the quote shows and admission reserves, read from the same fields by the same call. */
298
- /** `explainerBeats`: an explainer's drawn scenes are on, so the quote holds them. `explainerFilm`: the explainer is priced as one drawn film. */
299
271
  export function quoteFacelessInput(input, options = {}) {
300
272
  const character = !!(input.character_reference || input.character_details);
301
- // A drawn film with no character and no mascot draws a hero that fits its script, priced as a named character's poses.
302
273
  const filmHero = character || !(input.input_mode === "script" && input.mascot_id);
303
274
  return quoteFaceless({ outputFrames: input.duration_seconds * 25, captions: input.captions, music: input.music,
304
275
  shots: input.input_mode === "script" ? input.shots?.length ?? 0 : 0, scenes: input.input_mode === "script" ? input.scenes?.length ?? 0 : 0,
305
276
  ...(input.format !== "explainer" ? {} : options.explainerFilm ? { explainer: { character: filmHero, film: options.explainerFilm } } : { explainer: { character,
306
277
  ...(options.explainerBeats ? { beats: true } : {}), ...(input.input_mode === "script" ? { objects: explainerObjectCeiling(input.script) } : {}) } }) });
307
278
  }
308
- /** Both levels' totals for one explainer request (#1291 F4), each as admission would reserve it on that level; the quote names the chosen one. */
309
279
  export function explainerTierTotals(input) {
310
280
  const total = (tier) => quoteFacelessInput(input, { explainerFilm: EXPLAINER_TIER_TARIFFS[tier] }).totalCredits;
311
281
  return { tier: input.tier ?? "standard", standard: total("standard"), pro: total("pro") };
312
282
  }
313
283
  const tierFilm = (tier) => SKILL_FILM_TARIFFS[EXPLAINER_TIER_TARIFFS[tier]];
314
284
  const tierPrice = (tier) => `${tierFilm(tier).filmCredits} credits for a film up to ${EXPLAINER_FILM_INCLUDED_SECONDS} s plus ${tierFilm(tier).perExtraSecond} each second over`;
315
- /** The API routes repeat these paths as literals, and a test keeps them equal. */
316
285
  export const FACELESS_QUOTE_PATH = "/v1/skills/make_faceless/quote";
317
286
  export const FACELESS_RUN_PATH = "/v1/skills/make_faceless/run";
318
- /** Flat form of `makeFacelessInput` for MCP, which needs an object shape, not a union. */
319
- /** Clients still parse with `makeFacelessInput` before sending, so the union stays the contract. */
320
287
  export const offeredFacelessInputShape = {
321
288
  input_mode: z.enum(["script", "brief"])
322
289
  .describe("'script' narrates your exact text; 'brief' writes the narration from a short description. Send exactly one of script or brief, matching this mode."),
@@ -342,10 +309,8 @@ export const offeredFacelessInputShape = {
342
309
  .describe("Flash or light leak on the cuts, with its sound: every scene change, or the one nearest each anchor (script only). " +
343
310
  "Omitted on a brief: a flash on every scene change; false for plain cuts. No extra charge."),
344
311
  edit_sounds: common.edit_sounds.describe("A low sound on every scene change, its peak on the cut; template_sounds.edit picks it. Price unchanged."),
345
- // The slim form keeps tools/list small; the client parses with makeFacelessInput, which checks beats and names.
346
312
  template_sounds: mcpTemplateSounds.optional().describe("false for no sounds, or { flash, whoosh (light leak), edit: name } from list_template_sounds."),
347
313
  music: common.music.describe(MUSIC_DESCRIPTION),
348
- // No shape here keeps tools/list small: the items are make_ugc's, which the client and the server check strictly.
349
314
  templates: z.unknown().optional().describe("Script only: as make_ugc, a slot may show your image or video asset (asset_id, rights_confirmed). Free."),
350
315
  shots: z.unknown().optional().describe(`Script only: 1-${FACELESS_MAX_SHOTS} {id, anchor, action, asset_id?}, 5 s max each.`),
351
316
  scenes: z.unknown().optional().describe("Script only: as make_ugc scenes."),
@@ -358,10 +323,15 @@ export const offeredFacelessInputShape = {
358
323
  "rewrite into actions before asking. The hero: mascot_id, else your brand's mascot, free; else the character you name or one that fits " +
359
324
  `the script, its ${FACELESS_EXPLAINER_POSE_PICTURES} pose pictures at ${FACELESS_IMAGE_CREDITS} each on the quote. Priced as one film by tier; ` +
360
325
  "a film takes about half an hour. Without voice, an English script is read by our fastest voice."),
361
- tier: common.tier.describe(`Format explainer only. 'standard' (default): ${tierPrice("standard")}. 'pro': more careful direction and ` +
362
- `richer scenes, ${tierPrice("pro")}. Pose pictures are on top. quote_faceless names both totals: show them and let the user pick.`),
363
- // No shape here keeps tools/list small, as for templates: the field is make_ugc's, which the client and the server check strictly.
326
+ tier: common.tier.describe(`Format explainer: 'standard' (default): ${tierPrice("standard")}. 'pro': more careful direction and ` +
327
+ `richer scenes, ${tierPrice("pro")}. Pose pictures are on top. quote_faceless names both totals: show them and let the user pick. ` +
328
+ "Other formats, where your account has the two levels: 'standard' (default) is your story in pictures that move, with captions and " +
329
+ "sound and about a third of it live; 'pro' plays every shot as live footage. quote_faceless names both totals in tiers. " +
330
+ "Elsewhere tier is refused."),
364
331
  pause_trim: z.unknown().optional().describe("Script only: as make_ugc pause_trim, same default with templates, scenes, shots or format explainer."),
332
+ keep_anchors: scriptInput.shape.keep_anchors.describe("Script only, with scene_images. true keeps each picture on the words you anchored it to. " +
333
+ "Omitted or false: a picture that plainly shows another sentence of the script may be shown on that sentence instead; warnings[] names " +
334
+ "each move, and keep_anchors true keeps yours."),
365
335
  voice: common.voice
366
336
  .describe("Narration voice: a name from list_voices with skill=make_faceless (kind faceless_voice). " +
367
337
  `Omitted means ${DEFAULT_FACELESS_VOICE}; for an English explainer, the fastest voice. Choose a voice in the language of the narration: a voice reads any ` +
@@ -376,8 +346,6 @@ export const offeredFacelessInputShape = {
376
346
  const rejectedFacelessField = (key) => Object.hasOwn(FACELESS_REJECTED_FIELDS, key)
377
347
  ? FACELESS_REJECTED_FIELDS[key].message
378
348
  : undefined;
379
- /** The flat form as a tool input: an undeclared key is refused at the tool boundary, */
380
- /** a field refused by name with its registry reason. */
381
349
  export const offeredFacelessInput = z.strictObject(offeredFacelessInputShape, {
382
350
  error: (issue) => issue.code === "unrecognized_keys"
383
351
  ? issue.keys.map((key) => rejectedFacelessField(key) ?? `"${key}" is not a field of this tool`).join("; ")
@@ -396,13 +364,10 @@ export const facelessPlannerInput = z.object({
396
364
  }).strict();
397
365
  export const facelessQuoteResponse = facelessQuote.extend({
398
366
  skill: z.literal("make_faceless"),
399
- /** Whether the script suits the explainer format, with the reason, and a rewrite into actions when it does not. */
400
367
  explainer_fit: z.strictObject({ fits: z.boolean(), reason: z.string(), rewrite: z.string().optional() }).optional(),
401
- /** An explainer's two levels on the same request: each one's total, and the level `totalCredits` is for. */
402
368
  explainer_tiers: z.strictObject({ tier: z.enum(EXPLAINER_TIERS), standard: z.number().int().positive(), pro: z.number().int().positive() }).optional(),
403
- /** The scene the quote proposes and its options with their prices (#1491); absent where the quote proposes none. */
369
+ tiers: z.strictObject({ tier: z.enum(EXPLAINER_TIERS), standard: z.number().int().positive(), pro: z.number().int().positive() }).optional(),
404
370
  scene_proposal: sceneProposal.optional(),
405
371
  warnings: z.array(z.string()).default([]),
406
372
  contract_version: z.string().min(1),
407
373
  }).strict();
408
- //# sourceMappingURL=faceless-public.js.map
@@ -149,4 +149,3 @@ export function reportShort61(input) {
149
149
  maxUsdSpend: 0,
150
150
  };
151
151
  }
152
- //# sourceMappingURL=faceless-short-61.js.map
@@ -94,4 +94,3 @@ export function planStoryboardFrames(input, words, narrationStartFrame) {
94
94
  reason: candidate.rejection ?? `unselected ${candidate.reason} boundary under timing and image budget constraints`,
95
95
  }]), imageBudget: storyboardImageBudget(imageCount, 2) };
96
96
  }
97
- //# sourceMappingURL=faceless-storyboard-timing.js.map
@@ -109,4 +109,3 @@ export function parseStoryboardV2Plan(input, words) {
109
109
  }
110
110
  return raw;
111
111
  }
112
- //# sourceMappingURL=faceless-storyboard-v2-plan.js.map
@@ -28,8 +28,6 @@ export type StoryboardV2FramePlan = {
28
28
  cutReason?: string;
29
29
  score: Score;
30
30
  }>;
31
- /** Rejected scores are local incoming-edge estimates, not alternate complete-path scores.
32
- * Null pacePenalty/net means no feasible incoming edge was reachable. */
33
31
  rejectedCandidates: Array<{
34
32
  afterWord: number;
35
33
  frame: number;
@@ -54,8 +52,6 @@ declare const semantic: {
54
52
  readonly action: 3;
55
53
  readonly emphasis: 1;
56
54
  };
57
- /** Shared semantic objective; duration feasibility belongs to each profile. */
58
- /** `overPenalty` prices a second above the pace band; a second below it always costs the base penalty. */
59
55
  export declare function facelessCutScore(reason: keyof typeof semantic | null, duration: number, range: {
60
56
  p25: number | null;
61
57
  p75: number | null;