@clipwright/core 0.60.0 → 0.62.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 (596) 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.d.ts +27 -0
  12. package/dist/ad-guide.js +7 -2
  13. package/dist/ad-ids.d.ts +3 -0
  14. package/dist/ad-ids.js +4 -0
  15. package/dist/ad-pause-trim.d.ts +0 -5
  16. package/dist/ad-pause-trim.js +0 -8
  17. package/dist/ads.d.ts +145 -0
  18. package/dist/ads.js +56 -0
  19. package/dist/api-failure.d.ts +6 -44
  20. package/dist/api-failure.js +16 -67
  21. package/dist/aspect.d.ts +0 -29
  22. package/dist/aspect.js +1 -34
  23. package/dist/asset-identity.d.ts +0 -2
  24. package/dist/asset-identity.js +0 -3
  25. package/dist/assets.d.ts +0 -34
  26. package/dist/assets.js +0 -42
  27. package/dist/billing-terms.d.ts +0 -3
  28. package/dist/billing-terms.js +0 -4
  29. package/dist/brand-styles.d.ts +0 -6
  30. package/dist/brand-styles.js +0 -13
  31. package/dist/broll-policy.js +0 -1
  32. package/dist/canvas-fit.d.ts +0 -2
  33. package/dist/canvas-fit.js +0 -4
  34. package/dist/caption-funnel.d.ts +0 -2
  35. package/dist/caption-funnel.js +0 -15
  36. package/dist/caption-geometry.d.ts +0 -6
  37. package/dist/caption-geometry.js +0 -10
  38. package/dist/caption-language.d.ts +0 -3
  39. package/dist/caption-language.js +0 -6
  40. package/dist/contract-dispositions.d.ts +0 -61
  41. package/dist/contract-dispositions.js +3 -96
  42. package/dist/contracts/v1/workflow-brief.d.ts +57 -3
  43. package/dist/contracts/v1/workflow-brief.js +0 -13
  44. package/dist/contracts/v1/workflow-catalog.d.ts +114 -0
  45. package/dist/contracts/v1/workflow-catalog.js +0 -3
  46. package/dist/contracts/v1/workflow-client.d.ts +114 -0
  47. package/dist/contracts/v1/workflow-client.js +0 -1
  48. package/dist/contracts/v1/workflow-dto.js +0 -1
  49. package/dist/contracts/v1/workflow-evidence.js +0 -1
  50. package/dist/contracts/v1/workflow-execution.d.ts +0 -1
  51. package/dist/contracts/v1/workflow-execution.js +0 -4
  52. package/dist/contracts/v1/workflow-next.d.ts +0 -2
  53. package/dist/contracts/v1/workflow-next.js +0 -3
  54. package/dist/contracts/v1/workflow-plan.d.ts +171 -0
  55. package/dist/contracts/v1/workflow-plan.js +0 -1
  56. package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
  57. package/dist/contracts/v1/workflow-primitives.js +0 -2
  58. package/dist/contracts/v1/workflow-run-read.d.ts +0 -1
  59. package/dist/contracts/v1/workflow-run-read.js +0 -3
  60. package/dist/creator-profile.d.ts +0 -30
  61. package/dist/creator-profile.js +0 -45
  62. package/dist/default-actor.js +0 -2
  63. package/dist/design.d.ts +0 -17
  64. package/dist/design.js +0 -18
  65. package/dist/diy-next.d.ts +18 -0
  66. package/dist/diy-next.js +13 -0
  67. package/dist/edit-billing.d.ts +0 -6
  68. package/dist/edit-billing.js +0 -10
  69. package/dist/edit-candidate.d.ts +0 -6
  70. package/dist/edit-candidate.js +0 -9
  71. package/dist/edit-document.d.ts +0 -12
  72. package/dist/edit-document.js +0 -15
  73. package/dist/edit-faceless.d.ts +0 -3
  74. package/dist/edit-faceless.js +0 -4
  75. package/dist/edit-long-form.d.ts +0 -13
  76. package/dist/edit-long-form.js +0 -17
  77. package/dist/edit-music.d.ts +397 -0
  78. package/dist/edit-music.js +77 -0
  79. package/dist/edit-operations.d.ts +0 -1
  80. package/dist/edit-operations.js +0 -2
  81. package/dist/edit-primitives.d.ts +0 -3
  82. package/dist/edit-primitives.js +0 -5
  83. package/dist/edit-revision.d.ts +0 -4
  84. package/dist/edit-revision.js +0 -6
  85. package/dist/edit-rules.d.ts +0 -3
  86. package/dist/edit-rules.js +0 -9
  87. package/dist/edit-shots.d.ts +45 -5
  88. package/dist/edit-shots.js +7 -11
  89. package/dist/edit-validate.d.ts +0 -10
  90. package/dist/edit-validate.js +0 -14
  91. package/dist/edit.js +0 -3
  92. package/dist/endpoint-notes.d.ts +0 -2
  93. package/dist/endpoint-notes.js +0 -3
  94. package/dist/endpoints.d.ts +0 -11
  95. package/dist/endpoints.js +11 -21
  96. package/dist/errors.d.ts +29 -43
  97. package/dist/errors.js +18 -54
  98. package/dist/explainer-fit.d.ts +0 -7
  99. package/dist/explainer-fit.js +0 -10
  100. package/dist/face-billing.d.ts +0 -9
  101. package/dist/face-billing.js +0 -23
  102. package/dist/face-delivery.d.ts +0 -1
  103. package/dist/face-delivery.js +0 -2
  104. package/dist/faceless-action-shots.d.ts +0 -8
  105. package/dist/faceless-action-shots.js +0 -8
  106. package/dist/faceless-customer-anchors.d.ts +0 -1
  107. package/dist/faceless-customer-anchors.js +0 -2
  108. package/dist/faceless-cut-style.js +0 -1
  109. package/dist/faceless-direction-summary.d.ts +0 -2
  110. package/dist/faceless-direction-summary.js +0 -3
  111. package/dist/faceless-image-placement.d.ts +0 -2
  112. package/dist/faceless-image-placement.js +0 -3
  113. package/dist/faceless-image-qualification.js +0 -2
  114. package/dist/faceless-media-record.d.ts +0 -6
  115. package/dist/faceless-media-record.js +0 -11
  116. package/dist/faceless-price.d.ts +0 -45
  117. package/dist/faceless-price.js +0 -64
  118. package/dist/faceless-public-plan.d.ts +0 -13
  119. package/dist/faceless-public-plan.js +0 -11
  120. package/dist/faceless-public.d.ts +0 -26
  121. package/dist/faceless-public.js +0 -59
  122. package/dist/faceless-short-61.js +0 -1
  123. package/dist/faceless-storyboard-timing.js +0 -1
  124. package/dist/faceless-storyboard-v2-plan.js +0 -1
  125. package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
  126. package/dist/faceless-storyboard-v2-timing.js +0 -3
  127. package/dist/faceless-storyboard-v2.js +0 -1
  128. package/dist/faceless-storyboard.js +0 -1
  129. package/dist/faceless-voices.d.ts +0 -16
  130. package/dist/faceless-voices.js +0 -18
  131. package/dist/feedback.d.ts +0 -4
  132. package/dist/feedback.js +0 -5
  133. package/dist/film-directions.d.ts +0 -2
  134. package/dist/film-directions.js +0 -7
  135. package/dist/film-drafts.d.ts +0 -8
  136. package/dist/film-drafts.js +0 -19
  137. package/dist/film-guide.d.ts +0 -3
  138. package/dist/film-guide.js +0 -6
  139. package/dist/film-styles.d.ts +0 -5
  140. package/dist/film-styles.js +0 -8
  141. package/dist/generation-shot.d.ts +0 -5
  142. package/dist/generation-shot.js +0 -8
  143. package/dist/generations-output.d.ts +0 -2
  144. package/dist/generations-output.js +0 -5
  145. package/dist/generations.d.ts +0 -22
  146. package/dist/generations.js +21 -44
  147. package/dist/idempotency.d.ts +1 -21
  148. package/dist/idempotency.js +8 -29
  149. package/dist/index.d.ts +4 -0
  150. package/dist/index.js +4 -28
  151. package/dist/live-shot-kinds.d.ts +16 -25
  152. package/dist/live-shot-kinds.js +12 -28
  153. package/dist/long-form-pricing.d.ts +0 -5
  154. package/dist/long-form-pricing.js +0 -6
  155. package/dist/long-form-profile.d.ts +0 -3
  156. package/dist/long-form-profile.js +0 -4
  157. package/dist/long-form-revision.d.ts +0 -9
  158. package/dist/long-form-revision.js +0 -11
  159. package/dist/markdown-quote.d.ts +0 -2
  160. package/dist/markdown-quote.js +0 -3
  161. package/dist/mascots.d.ts +0 -5
  162. package/dist/mascots.js +0 -10
  163. package/dist/max-credits.d.ts +0 -1
  164. package/dist/max-credits.js +0 -2
  165. package/dist/mcp-ugc-descriptions.d.ts +0 -2
  166. package/dist/mcp-ugc-descriptions.js +1 -6
  167. package/dist/media-timebase.d.ts +0 -2
  168. package/dist/media-timebase.js +0 -6
  169. package/dist/motion-styles.d.ts +0 -8
  170. package/dist/motion-styles.js +0 -11
  171. package/dist/moves.d.ts +0 -7
  172. package/dist/moves.js +0 -9
  173. package/dist/music.d.ts +0 -5
  174. package/dist/music.js +0 -8
  175. package/dist/naming.d.ts +0 -3
  176. package/dist/naming.js +0 -19
  177. package/dist/openapi.d.ts +0 -13
  178. package/dist/openapi.js +9 -11
  179. package/dist/output-provenance.d.ts +0 -4
  180. package/dist/output-provenance.js +0 -5
  181. package/dist/own-agent-price.d.ts +21 -22
  182. package/dist/own-agent-price.js +34 -25
  183. package/dist/own-agent-runs.d.ts +351 -11
  184. package/dist/own-agent-runs.js +144 -24
  185. package/dist/pacing.d.ts +3 -15
  186. package/dist/pacing.js +18 -18
  187. package/dist/parts-pricing.d.ts +0 -28
  188. package/dist/parts-pricing.js +0 -32
  189. package/dist/post-text.d.ts +0 -2
  190. package/dist/post-text.js +0 -4
  191. package/dist/presenter-beats.d.ts +0 -10
  192. package/dist/presenter-beats.js +0 -14
  193. package/dist/presenter-matte.d.ts +0 -7
  194. package/dist/presenter-matte.js +0 -9
  195. package/dist/presenter-takes.d.ts +0 -3
  196. package/dist/presenter-takes.js +0 -8
  197. package/dist/prices.d.ts +2 -8
  198. package/dist/prices.js +13 -23
  199. package/dist/public-endpoints.d.ts +0 -11
  200. package/dist/public-endpoints.js +0 -14
  201. package/dist/public-responses.d.ts +0 -2
  202. package/dist/public-responses.js +0 -3
  203. package/dist/rate-limit.d.ts +0 -24
  204. package/dist/rate-limit.js +0 -29
  205. package/dist/reference-analysis.d.ts +57 -34
  206. package/dist/reference-analysis.js +0 -69
  207. package/dist/reference-bring.d.ts +33 -0
  208. package/dist/reference-bring.js +28 -0
  209. package/dist/reference-display.d.ts +0 -3
  210. package/dist/reference-display.js +37 -4
  211. package/dist/reference-kinds.d.ts +0 -4
  212. package/dist/reference-kinds.js +0 -6
  213. package/dist/reference-lyrics.d.ts +0 -6
  214. package/dist/reference-lyrics.js +0 -6
  215. package/dist/reference-profile.d.ts +270 -39
  216. package/dist/reference-profile.js +64 -50
  217. package/dist/reference-staging.d.ts +0 -10
  218. package/dist/reference-staging.js +0 -14
  219. package/dist/reference-text-spans.d.ts +0 -4
  220. package/dist/reference-text-spans.js +0 -7
  221. package/dist/reference-voice-over.d.ts +0 -6
  222. package/dist/reference-voice-over.js +0 -7
  223. package/dist/reference-voice.d.ts +0 -7
  224. package/dist/reference-voice.js +0 -12
  225. package/dist/render-backend.d.ts +0 -30
  226. package/dist/render-backend.js +0 -5
  227. package/dist/resolved-timeline.d.ts +0 -4
  228. package/dist/resolved-timeline.js +1 -31
  229. package/dist/run-media.d.ts +0 -1
  230. package/dist/run-media.js +0 -2
  231. package/dist/run-preflight.d.ts +0 -4
  232. package/dist/run-preflight.js +0 -11
  233. package/dist/run-static-warnings.d.ts +0 -8
  234. package/dist/run-static-warnings.js +0 -38
  235. package/dist/runs.d.ts +0 -32
  236. package/dist/runs.js +0 -50
  237. package/dist/scene-bible.d.ts +15 -7
  238. package/dist/scene-bible.js +15 -10
  239. package/dist/scene-graph.d.ts +0 -12
  240. package/dist/scene-graph.js +0 -24
  241. package/dist/scene-place.d.ts +0 -25
  242. package/dist/scene-place.js +0 -24
  243. package/dist/scene-proposal.d.ts +0 -3
  244. package/dist/scene-proposal.js +0 -9
  245. package/dist/script-integrity.d.ts +0 -6
  246. package/dist/script-integrity.js +0 -8
  247. package/dist/script-voice.d.ts +0 -7
  248. package/dist/script-voice.js +0 -16
  249. package/dist/semantic-inserts.d.ts +0 -7
  250. package/dist/semantic-inserts.js +0 -10
  251. package/dist/skill-theme-explainer.js +0 -5
  252. package/dist/skill-theme.d.ts +0 -13
  253. package/dist/skill-theme.js +0 -25
  254. package/dist/skills.d.ts +22 -86
  255. package/dist/skills.js +21 -167
  256. package/dist/speech-rhythm-contract.js +0 -1
  257. package/dist/speech-rhythm.d.ts +0 -4
  258. package/dist/speech-rhythm.js +0 -2
  259. package/dist/templates/backdrop.d.ts +0 -3
  260. package/dist/templates/backdrop.js +0 -5
  261. package/dist/templates/callout.d.ts +0 -4
  262. package/dist/templates/callout.js +0 -6
  263. package/dist/templates/chart.d.ts +0 -4
  264. package/dist/templates/chart.js +0 -6
  265. package/dist/templates/chat-window.d.ts +0 -8
  266. package/dist/templates/chat-window.js +0 -10
  267. package/dist/templates/checklist.d.ts +0 -3
  268. package/dist/templates/checklist.js +0 -6
  269. package/dist/templates/comment-cta.d.ts +0 -14
  270. package/dist/templates/comment-cta.js +0 -19
  271. package/dist/templates/compare.d.ts +0 -6
  272. package/dist/templates/compare.js +0 -7
  273. package/dist/templates/cover-story.d.ts +0 -1
  274. package/dist/templates/cover-story.js +0 -3
  275. package/dist/templates/end-card.d.ts +0 -2
  276. package/dist/templates/end-card.js +0 -3
  277. package/dist/templates/hand-title.d.ts +0 -5
  278. package/dist/templates/hand-title.js +0 -9
  279. package/dist/templates/index.d.ts +0 -57
  280. package/dist/templates/index.js +0 -60
  281. package/dist/templates/lower-third.d.ts +0 -4
  282. package/dist/templates/lower-third.js +0 -5
  283. package/dist/templates/notification.d.ts +0 -6
  284. package/dist/templates/notification.js +0 -7
  285. package/dist/templates/phone-call.d.ts +0 -2
  286. package/dist/templates/phone-call.js +0 -6
  287. package/dist/templates/phone-screen.d.ts +0 -5
  288. package/dist/templates/phone-screen.js +0 -7
  289. package/dist/templates/pointer-chips.d.ts +0 -4
  290. package/dist/templates/pointer-chips.js +0 -6
  291. package/dist/templates/progress.d.ts +0 -3
  292. package/dist/templates/progress.js +0 -5
  293. package/dist/templates/quote.d.ts +0 -3
  294. package/dist/templates/quote.js +0 -4
  295. package/dist/templates/race.d.ts +0 -5
  296. package/dist/templates/race.js +0 -7
  297. package/dist/templates/rating.d.ts +0 -3
  298. package/dist/templates/rating.js +0 -5
  299. package/dist/templates/series-frame.d.ts +0 -16
  300. package/dist/templates/series-frame.js +0 -19
  301. package/dist/templates/size.d.ts +0 -7
  302. package/dist/templates/size.js +0 -8
  303. package/dist/templates/slot.d.ts +0 -2
  304. package/dist/templates/slot.js +0 -2
  305. package/dist/templates/sounds.d.ts +24 -12
  306. package/dist/templates/sounds.js +2 -16
  307. package/dist/templates/stat.d.ts +0 -3
  308. package/dist/templates/stat.js +0 -5
  309. package/dist/templates/tag.d.ts +0 -3
  310. package/dist/templates/tag.js +0 -5
  311. package/dist/templates/terminal.d.ts +0 -6
  312. package/dist/templates/terminal.js +0 -8
  313. package/dist/templates/theme.d.ts +0 -7
  314. package/dist/templates/theme.js +0 -9
  315. package/dist/templates/title-card.d.ts +0 -3
  316. package/dist/templates/title-card.js +0 -5
  317. package/dist/templates/video-grid.d.ts +0 -5
  318. package/dist/templates/video-grid.js +0 -8
  319. package/dist/templates/word-fill.d.ts +0 -3
  320. package/dist/templates/word-fill.js +0 -4
  321. package/dist/templates/word-title.d.ts +0 -2
  322. package/dist/templates/word-title.js +0 -4
  323. package/dist/trend-niches.d.ts +0 -11
  324. package/dist/trend-niches.js +0 -16
  325. package/dist/trend-search.d.ts +0 -66
  326. package/dist/trend-search.js +0 -70
  327. package/dist/tts-backend.d.ts +0 -19
  328. package/dist/tts-backend.js +0 -7
  329. package/dist/ugc-call.d.ts +0 -16
  330. package/dist/ugc-call.js +0 -21
  331. package/dist/ugc-delivery.d.ts +0 -2
  332. package/dist/ugc-delivery.js +0 -4
  333. package/dist/ugc-framing.d.ts +0 -4
  334. package/dist/ugc-framing.js +0 -6
  335. package/dist/ugc-interview.d.ts +0 -18
  336. package/dist/ugc-interview.js +0 -24
  337. package/dist/ugc-layers.d.ts +0 -39
  338. package/dist/ugc-layers.js +0 -39
  339. package/dist/ugc-scenes.d.ts +0 -2
  340. package/dist/ugc-scenes.js +0 -5
  341. package/dist/ugc-video-media.d.ts +0 -5
  342. package/dist/ugc-video-media.js +0 -7
  343. package/dist/uploads.d.ts +0 -14
  344. package/dist/uploads.js +0 -17
  345. package/dist/vendor-response.d.ts +0 -19
  346. package/dist/vendor-response.js +0 -22
  347. package/dist/video-size.d.ts +0 -4
  348. package/dist/video-size.js +0 -7
  349. package/dist/voice-admission.d.ts +0 -11
  350. package/dist/voice-admission.js +0 -13
  351. package/dist/voice-catalog-data.d.ts +0 -2
  352. package/dist/voice-catalog-data.js +0 -3
  353. package/dist/voice-catalog.d.ts +0 -6
  354. package/dist/voice-catalog.js +0 -8
  355. package/dist/voice-listing.d.ts +0 -6
  356. package/dist/voice-listing.js +0 -14
  357. package/dist/voice-pace.d.ts +0 -4
  358. package/dist/voice-pace.js +0 -7
  359. package/dist/voice-preview-approval.js +0 -1
  360. package/dist/voices.d.ts +4 -69
  361. package/dist/voices.js +3 -88
  362. package/dist/workflows/catalog.d.ts +0 -2
  363. package/dist/workflows/catalog.js +0 -4
  364. package/dist/workflows/film-directions.d.ts +0 -3
  365. package/dist/workflows/film-directions.js +0 -4
  366. package/dist/workflows/index.js +0 -1
  367. package/dist/workflows/methods/faceless-explainer.d.ts +31 -0
  368. package/dist/workflows/methods/faceless-explainer.js +0 -1
  369. package/dist/workflows/methods/kinetic-launch.d.ts +62 -1
  370. package/dist/workflows/methods/kinetic-launch.js +0 -2
  371. package/dist/workflows/methods/product-image-story.d.ts +31 -0
  372. package/dist/workflows/methods/product-image-story.js +0 -1
  373. package/dist/workflows/methods/reference-remake.d.ts +31 -0
  374. package/dist/workflows/methods/reference-remake.js +0 -1
  375. package/dist/workflows/methods/shared.d.ts +31 -1
  376. package/dist/workflows/methods/shared.js +0 -3
  377. package/dist/workflows/methods/ugc-faq-answer.d.ts +31 -0
  378. package/dist/workflows/methods/ugc-faq-answer.js +0 -1
  379. package/dist/workflows/methods/ugc-product-intro.d.ts +31 -0
  380. package/dist/workflows/methods/ugc-product-intro.js +0 -1
  381. package/dist/workflows/methods/website-proof-demo.d.ts +62 -1
  382. package/dist/workflows/methods/website-proof-demo.js +0 -2
  383. package/dist/workflows/motion-director.d.ts +0 -11
  384. package/dist/workflows/motion-director.js +0 -11
  385. package/dist/workflows/product-references.js +0 -1
  386. package/dist/workflows/reference-remake.d.ts +114 -17
  387. package/dist/workflows/reference-remake.js +0 -167
  388. package/dist/workflows/remake-chooser.d.ts +0 -6
  389. package/dist/workflows/remake-chooser.js +0 -4
  390. package/dist/workflows/remake-motion.d.ts +0 -16
  391. package/dist/workflows/remake-motion.js +0 -19
  392. package/dist/workflows/validate.d.ts +0 -1
  393. package/dist/workflows/validate.js +0 -5
  394. package/dist/workflows.js +0 -1
  395. package/package.json +1 -1
  396. package/dist/account-actors.js.map +0 -1
  397. package/dist/account.js.map +0 -1
  398. package/dist/actor-bounds.js.map +0 -1
  399. package/dist/actor-qualities.js.map +0 -1
  400. package/dist/actors.js.map +0 -1
  401. package/dist/ad-guide.js.map +0 -1
  402. package/dist/ad-pause-trim.js.map +0 -1
  403. package/dist/api-failure.js.map +0 -1
  404. package/dist/aspect.js.map +0 -1
  405. package/dist/asset-identity.js.map +0 -1
  406. package/dist/assets.js.map +0 -1
  407. package/dist/billing-terms.js.map +0 -1
  408. package/dist/brand-styles.js.map +0 -1
  409. package/dist/broll-policy.js.map +0 -1
  410. package/dist/canvas-fit.js.map +0 -1
  411. package/dist/caption-funnel.js.map +0 -1
  412. package/dist/caption-geometry.js.map +0 -1
  413. package/dist/caption-language.js.map +0 -1
  414. package/dist/contract-dispositions.js.map +0 -1
  415. package/dist/contracts/v1/workflow-brief.js.map +0 -1
  416. package/dist/contracts/v1/workflow-catalog.js.map +0 -1
  417. package/dist/contracts/v1/workflow-client.js.map +0 -1
  418. package/dist/contracts/v1/workflow-dto.js.map +0 -1
  419. package/dist/contracts/v1/workflow-evidence.js.map +0 -1
  420. package/dist/contracts/v1/workflow-execution.js.map +0 -1
  421. package/dist/contracts/v1/workflow-next.js.map +0 -1
  422. package/dist/contracts/v1/workflow-plan.js.map +0 -1
  423. package/dist/contracts/v1/workflow-primitives.js.map +0 -1
  424. package/dist/contracts/v1/workflow-run-read.js.map +0 -1
  425. package/dist/creator-profile.js.map +0 -1
  426. package/dist/default-actor.js.map +0 -1
  427. package/dist/design.js.map +0 -1
  428. package/dist/edit-billing.js.map +0 -1
  429. package/dist/edit-candidate.js.map +0 -1
  430. package/dist/edit-document.js.map +0 -1
  431. package/dist/edit-faceless.js.map +0 -1
  432. package/dist/edit-long-form.js.map +0 -1
  433. package/dist/edit-operations.js.map +0 -1
  434. package/dist/edit-primitives.js.map +0 -1
  435. package/dist/edit-revision.js.map +0 -1
  436. package/dist/edit-rules.js.map +0 -1
  437. package/dist/edit-shots.js.map +0 -1
  438. package/dist/edit-validate.js.map +0 -1
  439. package/dist/edit.js.map +0 -1
  440. package/dist/endpoint-notes.js.map +0 -1
  441. package/dist/endpoints.js.map +0 -1
  442. package/dist/errors.js.map +0 -1
  443. package/dist/explainer-fit.js.map +0 -1
  444. package/dist/face-billing.js.map +0 -1
  445. package/dist/face-delivery.js.map +0 -1
  446. package/dist/faceless-action-shots.js.map +0 -1
  447. package/dist/faceless-customer-anchors.js.map +0 -1
  448. package/dist/faceless-cut-style.js.map +0 -1
  449. package/dist/faceless-direction-summary.js.map +0 -1
  450. package/dist/faceless-image-placement.js.map +0 -1
  451. package/dist/faceless-image-qualification.js.map +0 -1
  452. package/dist/faceless-media-record.js.map +0 -1
  453. package/dist/faceless-price.js.map +0 -1
  454. package/dist/faceless-public-plan.js.map +0 -1
  455. package/dist/faceless-public.js.map +0 -1
  456. package/dist/faceless-short-61.js.map +0 -1
  457. package/dist/faceless-storyboard-timing.js.map +0 -1
  458. package/dist/faceless-storyboard-v2-plan.js.map +0 -1
  459. package/dist/faceless-storyboard-v2-timing.js.map +0 -1
  460. package/dist/faceless-storyboard-v2.js.map +0 -1
  461. package/dist/faceless-storyboard.js.map +0 -1
  462. package/dist/faceless-voices.js.map +0 -1
  463. package/dist/feedback.js.map +0 -1
  464. package/dist/film-directions.js.map +0 -1
  465. package/dist/film-drafts.js.map +0 -1
  466. package/dist/film-guide.js.map +0 -1
  467. package/dist/film-styles.js.map +0 -1
  468. package/dist/generation-shot.js.map +0 -1
  469. package/dist/generations-output.js.map +0 -1
  470. package/dist/generations.js.map +0 -1
  471. package/dist/idempotency.js.map +0 -1
  472. package/dist/index.js.map +0 -1
  473. package/dist/live-shot-kinds.js.map +0 -1
  474. package/dist/long-form-pricing.js.map +0 -1
  475. package/dist/long-form-profile.js.map +0 -1
  476. package/dist/long-form-revision.js.map +0 -1
  477. package/dist/markdown-quote.js.map +0 -1
  478. package/dist/mascots.js.map +0 -1
  479. package/dist/max-credits.js.map +0 -1
  480. package/dist/mcp-ugc-descriptions.js.map +0 -1
  481. package/dist/media-timebase.js.map +0 -1
  482. package/dist/motion-styles.js.map +0 -1
  483. package/dist/moves.js.map +0 -1
  484. package/dist/music.js.map +0 -1
  485. package/dist/naming.js.map +0 -1
  486. package/dist/openapi.js.map +0 -1
  487. package/dist/output-provenance.js.map +0 -1
  488. package/dist/own-agent-price.js.map +0 -1
  489. package/dist/own-agent-runs.js.map +0 -1
  490. package/dist/pacing.js.map +0 -1
  491. package/dist/parts-pricing.js.map +0 -1
  492. package/dist/post-text.js.map +0 -1
  493. package/dist/presenter-beats.js.map +0 -1
  494. package/dist/presenter-matte.js.map +0 -1
  495. package/dist/presenter-takes.js.map +0 -1
  496. package/dist/prices.js.map +0 -1
  497. package/dist/public-endpoints.js.map +0 -1
  498. package/dist/public-responses.js.map +0 -1
  499. package/dist/rate-limit.js.map +0 -1
  500. package/dist/reference-analysis.js.map +0 -1
  501. package/dist/reference-display.js.map +0 -1
  502. package/dist/reference-kinds.js.map +0 -1
  503. package/dist/reference-lyrics.js.map +0 -1
  504. package/dist/reference-profile.js.map +0 -1
  505. package/dist/reference-staging.js.map +0 -1
  506. package/dist/reference-text-spans.js.map +0 -1
  507. package/dist/reference-voice-over.js.map +0 -1
  508. package/dist/reference-voice.js.map +0 -1
  509. package/dist/render-backend.js.map +0 -1
  510. package/dist/resolved-timeline.js.map +0 -1
  511. package/dist/run-media.js.map +0 -1
  512. package/dist/run-preflight.js.map +0 -1
  513. package/dist/run-static-warnings.js.map +0 -1
  514. package/dist/runs.js.map +0 -1
  515. package/dist/scene-bible.js.map +0 -1
  516. package/dist/scene-graph.js.map +0 -1
  517. package/dist/scene-place.js.map +0 -1
  518. package/dist/scene-proposal.js.map +0 -1
  519. package/dist/script-integrity.js.map +0 -1
  520. package/dist/script-voice.js.map +0 -1
  521. package/dist/semantic-inserts.js.map +0 -1
  522. package/dist/skill-theme-explainer.js.map +0 -1
  523. package/dist/skill-theme.js.map +0 -1
  524. package/dist/skills.js.map +0 -1
  525. package/dist/speech-rhythm-contract.js.map +0 -1
  526. package/dist/speech-rhythm.js.map +0 -1
  527. package/dist/templates/backdrop.js.map +0 -1
  528. package/dist/templates/callout.js.map +0 -1
  529. package/dist/templates/chart.js.map +0 -1
  530. package/dist/templates/chat-window.js.map +0 -1
  531. package/dist/templates/checklist.js.map +0 -1
  532. package/dist/templates/comment-cta.js.map +0 -1
  533. package/dist/templates/compare.js.map +0 -1
  534. package/dist/templates/cover-story.js.map +0 -1
  535. package/dist/templates/end-card.js.map +0 -1
  536. package/dist/templates/hand-title.js.map +0 -1
  537. package/dist/templates/index.js.map +0 -1
  538. package/dist/templates/lower-third.js.map +0 -1
  539. package/dist/templates/notification.js.map +0 -1
  540. package/dist/templates/phone-call.js.map +0 -1
  541. package/dist/templates/phone-screen.js.map +0 -1
  542. package/dist/templates/pointer-chips.js.map +0 -1
  543. package/dist/templates/progress.js.map +0 -1
  544. package/dist/templates/quote.js.map +0 -1
  545. package/dist/templates/race.js.map +0 -1
  546. package/dist/templates/rating.js.map +0 -1
  547. package/dist/templates/series-frame.js.map +0 -1
  548. package/dist/templates/size.js.map +0 -1
  549. package/dist/templates/slot.js.map +0 -1
  550. package/dist/templates/sounds.js.map +0 -1
  551. package/dist/templates/stat.js.map +0 -1
  552. package/dist/templates/tag.js.map +0 -1
  553. package/dist/templates/terminal.js.map +0 -1
  554. package/dist/templates/theme.js.map +0 -1
  555. package/dist/templates/title-card.js.map +0 -1
  556. package/dist/templates/video-grid.js.map +0 -1
  557. package/dist/templates/word-fill.js.map +0 -1
  558. package/dist/templates/word-title.js.map +0 -1
  559. package/dist/trend-niches.js.map +0 -1
  560. package/dist/trend-search.js.map +0 -1
  561. package/dist/tts-backend.js.map +0 -1
  562. package/dist/ugc-call.js.map +0 -1
  563. package/dist/ugc-delivery.js.map +0 -1
  564. package/dist/ugc-framing.js.map +0 -1
  565. package/dist/ugc-interview.js.map +0 -1
  566. package/dist/ugc-layers.js.map +0 -1
  567. package/dist/ugc-scenes.js.map +0 -1
  568. package/dist/ugc-video-media.js.map +0 -1
  569. package/dist/uploads.js.map +0 -1
  570. package/dist/vendor-response.js.map +0 -1
  571. package/dist/video-size.js.map +0 -1
  572. package/dist/voice-admission.js.map +0 -1
  573. package/dist/voice-catalog-data.js.map +0 -1
  574. package/dist/voice-catalog.js.map +0 -1
  575. package/dist/voice-listing.js.map +0 -1
  576. package/dist/voice-pace.js.map +0 -1
  577. package/dist/voice-preview-approval.js.map +0 -1
  578. package/dist/voices.js.map +0 -1
  579. package/dist/workflows/catalog.js.map +0 -1
  580. package/dist/workflows/film-directions.js.map +0 -1
  581. package/dist/workflows/index.js.map +0 -1
  582. package/dist/workflows/methods/faceless-explainer.js.map +0 -1
  583. package/dist/workflows/methods/kinetic-launch.js.map +0 -1
  584. package/dist/workflows/methods/product-image-story.js.map +0 -1
  585. package/dist/workflows/methods/reference-remake.js.map +0 -1
  586. package/dist/workflows/methods/shared.js.map +0 -1
  587. package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
  588. package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
  589. package/dist/workflows/methods/website-proof-demo.js.map +0 -1
  590. package/dist/workflows/motion-director.js.map +0 -1
  591. package/dist/workflows/product-references.js.map +0 -1
  592. package/dist/workflows/reference-remake.js.map +0 -1
  593. package/dist/workflows/remake-chooser.js.map +0 -1
  594. package/dist/workflows/remake-motion.js.map +0 -1
  595. package/dist/workflows/validate.js.map +0 -1
  596. package/dist/workflows.js.map +0 -1
@@ -6,25 +6,20 @@ import { EXPLAINER_MAX_PRODUCT_PICTURES, facelessCustomerSceneImage } from "./fa
6
6
  import { MASCOT_POSES } from "./mascots.js";
7
7
  import { runId } from "./runs.js";
8
8
  import { resolvedSkillTheme, skillThemeOverrides } from "./skill-theme.js";
9
- // A film draft of the «own agent» mode (#1291 F2): your agent keeps its scene files, anchors and sound events here between calls, under the
10
- // brand theme frozen when the draft was made. Stills and the render read a revision of it; the draft itself is free.
11
9
  export const FILM_DRAFTS_PATH = "/v1/film-drafts";
12
10
  export const FILM_DRAFT_PATH = "/v1/film-drafts/:id";
13
11
  export const FILM_DRAFT_FILES_PATH = "/v1/film-drafts/:id/files";
14
12
  export const filmDraftId = z.string().regex(/^fdr_[a-f0-9]{32}$/);
15
13
  export const FILM_SKILLS = ["explainer"];
16
- /** The scene gate's bounds and its words for them (#1370): one source for the gate, the free check and a draft's save. */
17
14
  export const FILM_MAX_FILES = 12, FILM_FILE_MAX_BYTES = 40_000, FILM_FILE_MAX_NODES = 8_000;
18
15
  export const filmFilesRefusal = (count) => `the film has ${count} files; at most ${FILM_MAX_FILES}`;
19
16
  export const filmFileBytesRefusal = (name) => `${name}: over ${FILM_FILE_MAX_BYTES} bytes`;
20
17
  export const filmFileNodesRefusal = (name) => `${name}: over ${FILM_FILE_MAX_NODES} syntax nodes`;
21
18
  export const FILM_FILE_NAME = /^[A-Za-z][\w-]{0,40}\.tsx?$/;
22
- /** A draft lives this long after its last change, and an account keeps at most this many. */
23
19
  export const FILM_DRAFT_TTL_DAYS = 7, FILM_DRAFTS_PER_ACCOUNT = 20;
24
20
  export const FILM_MAX_CUES = 200, FILM_MAX_SFX = 400, FILM_SFX_MAX_REPEATS = 40, FILM_CAPTIONS_MAX_CHARS = 4000;
25
21
  const ANCHOR = z.string().regex(/^[A-Za-z_]\w{0,40}$/, "an anchor is an identifier");
26
22
  const moment = z.union([ANCHOR, z.number().min(0).max(600)]);
27
- /** One sound event: one sound, a series (`n` × `step`), or key strokes on every word between `from` and `to`. */
28
23
  export const filmSfxEvent = z.strictObject({
29
24
  s: z.string().min(1).max(80).describe("A built-in sound (thud pop tick click key swish whoosh marker stamp ding confetti popper rise) or one named in words"),
30
25
  at: moment.optional(), dt: z.number().min(-5).max(5).optional(),
@@ -34,16 +29,13 @@ export const filmSfxEvent = z.strictObject({
34
29
  }).refine(e => e.at !== undefined || e.from !== undefined || e.to !== undefined, "an event has `at`, or both `from` and `to`")
35
30
  .refine(e => (e.from === undefined) === (e.to === undefined), "`from` and `to` come together")
36
31
  .refine(e => !(e.at !== undefined && e.from !== undefined), "an event has `at` or `from`/`to`, not both");
37
- /** The storyboard's bounds: phrases a film may hold, events a phrase may hold. */
38
32
  export const FILM_STORYBOARD_MAX_ROWS = 120, FILM_STORYBOARD_MAX_EVENTS = 24;
39
- /** One thing that happens on screen in a phrase: on a spoken word (offset seconds after it starts), or on an anchor of cues. */
40
33
  export const filmStoryboardEvent = z.strictObject({
41
34
  word: z.string().trim().min(1).max(60).describe("The spoken word the event lands on"),
42
35
  anchor: ANCHOR.optional().describe("The anchor of cues your code reads for this event; every anchor the code reads needs one event"),
43
36
  offset: z.number().min(-2).max(5).optional().describe("Seconds after the word starts; omitted, on the word"),
44
37
  what: z.string().trim().min(1).max(200).describe("What happens on screen"),
45
38
  }).refine(e => !(e.anchor !== undefined && e.offset !== undefined), "an event lands on an anchor or on its word plus offset, not both");
46
- /** One phrase of the voice: its words, when the voice speaks it, and the events on its words. */
47
39
  export const filmStoryboardRow = z.strictObject({
48
40
  phrase: z.string().trim().min(1).max(400).describe("The phrase's words as the voice speaks them"),
49
41
  start: z.number().min(0).max(600).describe("When the phrase starts, from the voice's word timings"),
@@ -85,24 +77,20 @@ export const filmDraft = z.strictObject({
85
77
  theme: resolvedSkillTheme,
86
78
  theme_sha256: z.string().regex(/^[a-f0-9]{64}$/),
87
79
  mascot_id: assetId.nullable(),
88
- // An answer from before saved styles (#1364) carries none.
89
80
  brand_style: z.string().nullable().default(null),
90
81
  language: z.string().nullable(),
91
82
  files: z.array(z.strictObject({ name: z.string(), bytes: z.number().int().min(0) })),
92
83
  cues: z.record(z.string(), z.number()),
93
84
  sfx: z.array(filmSfxEvent),
94
85
  captions: z.string().nullable(),
95
- // An answer from before styled drafts (#1338) carries neither: a draft of scene files.
96
86
  style: z.enum(FILM_STYLES).nullable().default(null),
97
87
  beats: z.array(filmBeat).default([]),
98
- // An answer from before the storyboard (#1356) carries none.
99
88
  storyboard: filmStoryboard.nullable().default(null),
100
89
  warnings: z.array(z.string()),
101
90
  created_at: z.string(),
102
91
  expires_at: z.string(),
103
92
  });
104
93
  export const FILM_DRAFT_CHECK_PATH = "/v1/film-drafts/:id/check";
105
- /** The free check (#1356): a draft revision, or the same changes put_film_files takes laid over it unsaved, read on a delivered voice. */
106
94
  export const checkFilmInput = z.strictObject({
107
95
  revision: z.number().int().min(0).describe("The draft revision to check; a draft that moved on is refused with 409"),
108
96
  voice_run_id: runId.describe("A delivered make_voice run of this account: the check reads its words and length"),
@@ -115,20 +103,14 @@ export const checkFilmInput = z.strictObject({
115
103
  export const filmCheck = z.strictObject({
116
104
  draft_id: filmDraftId,
117
105
  revision: z.number().int().min(0),
118
- /** True when nothing is refused: stills and the render will take this revision's code, apart from the checks below that run with them. */
119
106
  ok: z.boolean(),
120
- /** Each refusal as `file:line: reason` where a file is named; stills and the render refuse the same, free. */
121
107
  refusals: z.array(z.string()),
122
108
  warnings: z.array(z.string()),
123
- /** Checks that run only when stills or the render draw: their refusals are free too. */
124
109
  deferred: z.array(z.string()),
125
110
  voice_end_sec: z.number().nonnegative(),
126
- /** Every anchor in cues: its second and the voice word spoken nearest it. */
127
111
  anchors: z.array(z.strictObject({ name: z.string(), seconds: z.number(), word: z.string().nullable() })),
128
- /** The storyboard's phrases and events as the check read them; zero when there is none. */
129
112
  storyboard: z.strictObject({ phrases: z.number().int().nonnegative(), events: z.number().int().nonnegative() }),
130
113
  });
131
- /** The draft's files after a patch, or the sentences saying why the patch is refused. Bytes are UTF-8, as the gate counts them. */
132
114
  export function patchFilmFiles(current, patch) {
133
115
  const refusals = [], files = { ...current };
134
116
  for (const [name, text] of Object.entries(patch)) {
@@ -151,4 +133,3 @@ export function patchFilmFiles(current, patch) {
151
133
  refusals.push(filmFilesRefusal(Object.keys(files).length));
152
134
  return refusals.length ? { refusals } : { files };
153
135
  }
154
- //# sourceMappingURL=film-drafts.js.map
@@ -1,11 +1,8 @@
1
1
  import { z } from "zod";
2
2
  export declare const FILM_GUIDE_PATH = "/v1/film-guide";
3
3
  export declare const FILM_KIT_PATH = "/v1/film-kit";
4
- /** The kit files an agent reads, relative to the kit's root, in reading order: the module a film imports, the drawers behind it, the film
5
- * frame, then the reference film. */
6
4
  export declare const FILM_KIT_FILES: readonly ["index.ts", "src/lib/motion.ts", "src/lib/frame.tsx", "src/lib/marks.tsx", "src/lib/ui.tsx", "src/lib/objects.tsx", "src/lib/product.tsx", "src/lib/depth.tsx", "src/Film.tsx", "src/types.ts", "src/theme.ts", "src/hero/HeroSticker.tsx", "films/espresso-hit/Movie.tsx", "films/espresso-hit/scenes.tsx"];
7
5
  export type FilmKitFile = (typeof FILM_KIT_FILES)[number];
8
- /** The most kept sounds the guide names, as many as the hosted writer is shown. */
9
6
  export declare const FILM_KEPT_SOUNDS_MAX = 60;
10
7
  export declare const filmGuide: z.ZodObject<{
11
8
  guide: z.ZodString;
@@ -1,10 +1,6 @@
1
1
  import { z } from "zod";
2
- // The «own agent» explainer's guide and scene kit, served read-only (#1356): the guide a customer's agent writes its film from, its method
3
- // appendix, and the kit's sources with a reference film, so the agent reads the props it draws with instead of guessing them.
4
2
  export const FILM_GUIDE_PATH = "/v1/film-guide";
5
3
  export const FILM_KIT_PATH = "/v1/film-kit";
6
- /** The kit files an agent reads, relative to the kit's root, in reading order: the module a film imports, the drawers behind it, the film
7
- * frame, then the reference film. */
8
4
  export const FILM_KIT_FILES = [
9
5
  "index.ts",
10
6
  "src/lib/motion.ts",
@@ -21,7 +17,6 @@ export const FILM_KIT_FILES = [
21
17
  "films/espresso-hit/Movie.tsx",
22
18
  "films/espresso-hit/scenes.tsx",
23
19
  ];
24
- /** The most kept sounds the guide names, as many as the hosted writer is shown. */
25
20
  export const FILM_KEPT_SOUNDS_MAX = 60;
26
21
  const kitVersion = z.string().regex(/^[a-f0-9]{12}$/).describe("The kit's version: a digest of its files, which changes when any of them does");
27
22
  export const filmGuide = z.strictObject({
@@ -40,4 +35,3 @@ export const filmKit = z.strictObject({
40
35
  kit_version: kitVersion,
41
36
  files: z.array(z.strictObject({ path: z.enum(FILM_KIT_FILES), text: z.string() })),
42
37
  });
43
- //# sourceMappingURL=film-guide.js.map
@@ -1,11 +1,8 @@
1
1
  import { z } from "zod";
2
2
  export declare const FILM_STYLES: readonly ["pixel", "ps2", "comic", "bricks", "clay", "paper", "anime", "lowpoly", "riso", "diorama", "popup", "claymation", "watercolor", "isle", "cel80s"];
3
3
  export type FilmStyle = (typeof FILM_STYLES)[number];
4
- /** What a style can draw: one subject a beat. */
5
4
  export declare const FILM_STYLE_SUBJECTS: readonly ["seed", "plant-seed", "water", "sun", "sprout", "transplant", "stake", "green-fruit", "tomato", "salad", "hook_cold", "hook_heat", "hook_how", "loop", "low", "coil_in", "coil_soak", "fan_blow", "fan_cool", "comp_travel", "comp_squeeze", "out_coil", "heat_away", "to_liquid", "valve", "pressure", "ice", "same_loop", "finale"];
6
- /** A styled film's bounds: beats, a beat's length and the film's, as the style runtime takes them. */
7
5
  export declare const FILM_MAX_BEATS = 40, FILM_BEAT_MIN_SEC = 0.5, FILM_BEAT_MAX_SEC = 20, FILM_STYLED_MAX_SEC = 90, FILM_BEAT_LINE_MAX_CHARS = 160;
8
- /** One beat: the subject drawn, the line shown, and when it starts (an anchor of the draft's cues, or seconds); it lasts until the next. */
9
6
  export declare const filmBeat: z.ZodObject<{
10
7
  subject: z.ZodEnum<{
11
8
  coil_in: "coil_in";
@@ -42,8 +39,6 @@ export declare const filmBeat: z.ZodObject<{
42
39
  at: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
43
40
  }, z.core.$strict>;
44
41
  export type FilmBeat = z.infer<typeof filmBeat>;
45
- /** What a styled draft keeps beside its theme: the style, the brand roles the brand or the call chose (none: the style's own colours), the
46
- * account's seed for the style's variation, and the beats. */
47
42
  export declare const filmDraftCanvas: z.ZodObject<{
48
43
  style: z.ZodEnum<{
49
44
  anime: "anime";
@@ -1,24 +1,17 @@
1
1
  import { z } from "zod";
2
- // The drawn styles a film draft may name (#1338): each draws the whole film from the draft's beats, in the draft's brand colours, instead of
3
- // the draft's scene code. A test holds these names equal to the styles and subjects the render site carries.
4
2
  export const FILM_STYLES = ["pixel", "ps2", "comic", "bricks", "clay", "paper", "anime", "lowpoly", "riso", "diorama",
5
3
  "popup", "claymation", "watercolor", "isle", "cel80s"];
6
- /** What a style can draw: one subject a beat. */
7
4
  export const FILM_STYLE_SUBJECTS = ["seed", "plant-seed", "water", "sun", "sprout", "transplant", "stake", "green-fruit", "tomato", "salad",
8
5
  "hook_cold", "hook_heat", "hook_how", "loop", "low", "coil_in", "coil_soak", "fan_blow", "fan_cool", "comp_travel", "comp_squeeze", "out_coil",
9
6
  "heat_away", "to_liquid", "valve", "pressure", "ice", "same_loop", "finale"];
10
- /** A styled film's bounds: beats, a beat's length and the film's, as the style runtime takes them. */
11
7
  export const FILM_MAX_BEATS = 40, FILM_BEAT_MIN_SEC = 0.5, FILM_BEAT_MAX_SEC = 20, FILM_STYLED_MAX_SEC = 90, FILM_BEAT_LINE_MAX_CHARS = 160;
12
8
  const ANCHOR = z.string().regex(/^[A-Za-z_]\w{0,40}$/, "an anchor is an identifier");
13
- /** One beat: the subject drawn, the line shown, and when it starts (an anchor of the draft's cues, or seconds); it lasts until the next. */
14
9
  export const filmBeat = z.strictObject({
15
10
  subject: z.enum(FILM_STYLE_SUBJECTS).describe("What the style draws on this beat"),
16
11
  line: z.string().trim().min(1).max(FILM_BEAT_LINE_MAX_CHARS).describe("The words shown on this beat"),
17
12
  at: z.union([ANCHOR, z.number().min(0).max(600)]).describe("When the beat starts: an anchor of the draft's cues or seconds; the first starts the film"),
18
13
  });
19
14
  const ROLE = z.string().regex(/^#[0-9a-fA-F]{6}$/);
20
- /** What a styled draft keeps beside its theme: the style, the brand roles the brand or the call chose (none: the style's own colours), the
21
- * account's seed for the style's variation, and the beats. */
22
15
  export const filmDraftCanvas = z.strictObject({
23
16
  style: z.enum(FILM_STYLES),
24
17
  roles: z.strictObject({ background: ROLE.optional(), surface: ROLE.optional(), ink: ROLE.optional(), accent: ROLE.optional(),
@@ -26,4 +19,3 @@ export const filmDraftCanvas = z.strictObject({
26
19
  seed: z.number().int().min(0).max(2 ** 31 - 1),
27
20
  beats: z.array(filmBeat).max(FILM_MAX_BEATS),
28
21
  });
29
- //# sourceMappingURL=film-styles.js.map
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- /** A clip described as a shot: framing, subject, start, timed beats, camera, light and continuity, in place of a free prompt. */
3
2
  export declare const SHOT_SIZES: readonly ["extreme_close_up", "close_up", "medium_close_up", "medium", "full", "wide"];
4
3
  export declare const SHOT_ANGLES: readonly ["eye_level", "low", "high", "overhead"];
5
4
  export declare const SHOT_DEPTHS: readonly ["shallow", "deep"];
@@ -9,7 +8,6 @@ export declare const SHOT_BEAT_MIN_S = 1;
9
8
  export declare const SHOT_BEAT_MAX_S = 5;
10
9
  export declare const SHOT_MAX_BEATS = 10;
11
10
  export declare const SHOT_MAX_OBJECTS = 6;
12
- /** All the shot's words together, so the written clip stays inside the prompt's length. */
13
11
  export declare const SHOT_TEXT_MAX_CHARS = 3000;
14
12
  export type ShotSize = (typeof SHOT_SIZES)[number];
15
13
  export type ShotAngle = (typeof SHOT_ANGLES)[number];
@@ -26,7 +24,6 @@ export declare const shotBeat: z.ZodObject<{
26
24
  end_state: z.ZodString;
27
25
  objects: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
26
  }, z.core.$strict>;
29
- /** Validated against duration_s by `shotIssues`, which the clip request and later callers run. */
30
27
  export declare const generationShot: z.ZodObject<{
31
28
  framing: z.ZodObject<{
32
29
  size: z.ZodEnum<{
@@ -94,7 +91,5 @@ export interface ShotIssue {
94
91
  path: (string | number)[];
95
92
  message: string;
96
93
  }
97
- /** The first negating word of `text`, or null; the one lint for a shot's words and any text written from them. */
98
94
  export declare function negationIn(text: string): string | null;
99
- /** Everything a shot must satisfy for a clip of `durationS` seconds; empty means the shot is sound. Paths are relative to the shot. */
100
95
  export declare function shotIssues(shot: GenerationShot, durationS: number): ShotIssue[];
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- /** A clip described as a shot: framing, subject, start, timed beats, camera, light and continuity, in place of a free prompt. */
3
2
  export const SHOT_SIZES = ["extreme_close_up", "close_up", "medium_close_up", "medium", "full", "wide"];
4
3
  export const SHOT_ANGLES = ["eye_level", "low", "high", "overhead"];
5
4
  export const SHOT_DEPTHS = ["shallow", "deep"];
@@ -9,7 +8,6 @@ export const SHOT_BEAT_MIN_S = 1;
9
8
  export const SHOT_BEAT_MAX_S = 5;
10
9
  export const SHOT_MAX_BEATS = 10;
11
10
  export const SHOT_MAX_OBJECTS = 6;
12
- /** All the shot's words together, so the written clip stays inside the prompt's length. */
13
11
  export const SHOT_TEXT_MAX_CHARS = 3000;
14
12
  const text = (max) => z.string().trim().min(1).max(max);
15
13
  const BEATS_DESCRIPTION = "The action, second by second: contiguous beats from 0 to duration_s, each 1 to 5 seconds, every second " +
@@ -32,7 +30,6 @@ export const shotBeat = z.strictObject({
32
30
  objects: z.array(text(40)).max(SHOT_MAX_OBJECTS).optional()
33
31
  .describe("The objects this beat handles, by their names in subject.objects; each name also appears in action."),
34
32
  });
35
- /** Validated against duration_s by `shotIssues`, which the clip request and later callers run. */
36
33
  export const generationShot = z.strictObject({
37
34
  framing: z.strictObject({
38
35
  size: z.enum(SHOT_SIZES),
@@ -57,9 +54,7 @@ export const generationShot = z.strictObject({
57
54
  continues_from: text(300).optional().describe("The previous clip's end_state, word for word, when this clip continues it."),
58
55
  }),
59
56
  });
60
- /** Negation and its contractions: a model reads the named thing as something to draw. */
61
57
  const NEGATION = /\b(?:no|not|never|none|nothing|nobody|nowhere|neither|nor|without|avoid(?:s|ed|ing)?|\w+n['’]t|cannot)\b/i;
62
- /** The first negating word of `text`, or null; the one lint for a shot's words and any text written from them. */
63
58
  export function negationIn(text) {
64
59
  return NEGATION.exec(text)?.[0] ?? null;
65
60
  }
@@ -83,9 +78,7 @@ function freeText(shot) {
83
78
  : [[["continuity", "continues_from"], shot.continuity.continues_from]]),
84
79
  ];
85
80
  }
86
- /** The name as a whole word, read literally: no word character on either side, so "c++" and "jar.box" match as written. */
87
81
  const mentions = (haystack, name) => new RegExp(`(?<!\\w)${name.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}(?!\\w)`, "i").test(haystack);
88
- /** Everything a shot must satisfy for a clip of `durationS` seconds; empty means the shot is sound. Paths are relative to the shot. */
89
82
  export function shotIssues(shot, durationS) {
90
83
  const issues = [];
91
84
  let at = 0;
@@ -126,4 +119,3 @@ export function shotIssues(shot, durationS) {
126
119
  issues.push({ path: [], message: `holds ${total} characters of text; a shot holds at most ${SHOT_TEXT_MAX_CHARS}` });
127
120
  return issues;
128
121
  }
129
- //# sourceMappingURL=generation-shot.js.map
@@ -1,8 +1,6 @@
1
1
  import { z } from "zod";
2
- /** Apart from `generations.ts`, which imports `runs.ts`: the run read can embed this block without a cycle. */
3
2
  export declare const GENERATION_KINDS: readonly ["image", "video"];
4
3
  export type GenerationKind = (typeof GENERATION_KINDS)[number];
5
- /** The `generation` block of `GET /v1/runs/{id}`: the delivered file and how long its id serves as a reference. */
6
4
  export declare const runGeneration: z.ZodObject<{
7
5
  kind: z.ZodEnum<{
8
6
  image: "image";
@@ -1,10 +1,7 @@
1
1
  import { z } from "zod";
2
- /** Apart from `generations.ts`, which imports `runs.ts`: the run read can embed this block without a cycle. */
3
2
  export const GENERATION_KINDS = ["image", "video"];
4
- /** The `generation` block of `GET /v1/runs/{id}`: the delivered file and how long its id serves as a reference. */
5
3
  export const runGeneration = z.strictObject({
6
4
  kind: z.enum(GENERATION_KINDS),
7
- // A string, not an enum: a model added later must not break installed clients.
8
5
  model: z.string().min(1),
9
6
  url: z.string().url(),
10
7
  mime: z.string().min(1),
@@ -12,7 +9,5 @@ export const runGeneration = z.strictObject({
12
9
  height: z.number().int().positive(),
13
10
  duration_s: z.number().positive().nullable(),
14
11
  reusable_until: z.string().datetime().describe("Until then, create_asset with source.run_id turns this file into an asset_id for templates and inserts."),
15
- /** Small JPEG links (one for a picture; start, middle and end for a clip); absent when none was made (#1245). */
16
12
  thumbnail_urls: z.array(z.string().url()).max(3).optional(),
17
13
  });
18
- //# sourceMappingURL=generations-output.js.map
@@ -13,18 +13,15 @@ export declare const GENERATION_IMAGE_ASPECTS: readonly ["9:16", "16:9", "1:1"];
13
13
  export declare const GENERATION_VIDEO_ASPECTS: readonly ["9:16", "16:9"];
14
14
  export declare const GENERATION_RESOLUTIONS: readonly ["360p", "480p", "720p", "1080p"];
15
15
  export declare const GENERATION_VIDEO_MODES: readonly ["text", "first_frame", "reference"];
16
- /** No model takes a camera parameter, so the run writes it as the prompt's first line (#761). */
17
16
  export declare const GENERATION_CAMERAS: readonly ["static", "push_in", "pull_back", "pan", "turntable"];
18
17
  export type GenerationCamera = (typeof GENERATION_CAMERAS)[number];
19
18
  export type GenerationImageAspect = (typeof GENERATION_IMAGE_ASPECTS)[number];
20
19
  export type GenerationVideoAspect = (typeof GENERATION_VIDEO_ASPECTS)[number];
21
20
  export type GenerationResolution = (typeof GENERATION_RESOLUTIONS)[number];
22
21
  export type GenerationVideoMode = (typeof GENERATION_VIDEO_MODES)[number];
23
- /** The references a model takes unless its capability names more. */
24
22
  export declare const GENERATION_MAX_REFERENCES = 4;
25
23
  export declare const GENERATION_VIDEO_FPS = 24;
26
24
  export declare const GENERATION_PROMPT_MAX_CHARS = 5000;
27
- /** One output shape. `measured: false` is refused by the API and never listed (D7). */
28
25
  export interface GenerationImageRow {
29
26
  aspect_ratio: GenerationImageAspect;
30
27
  width: number;
@@ -39,44 +36,33 @@ export interface GenerationVideoRow {
39
36
  height: number;
40
37
  codec: string | null;
41
38
  pix_fmt: string | null;
42
- /** Credits per second of the requested duration. */
43
39
  unit_credits: number;
44
40
  measured: boolean;
45
- /** A live take with references passed on this row (rule 4); reference mode is offered on such rows only. */
46
41
  reference?: true;
47
- /** Told in `warnings[]` on every request that lands here (rule 3): what the measured output differs in. */
48
42
  warning?: string;
49
43
  }
50
44
  export interface GenerationImageCapability {
51
45
  kind: "image";
52
- /** The references a request may carry, measured live; absent means `GENERATION_MAX_REFERENCES`. */
53
46
  max_references?: number;
54
47
  rows: readonly GenerationImageRow[];
55
48
  }
56
49
  export interface GenerationVideoCapability {
57
50
  kind: "video";
58
51
  fps: number;
59
- /** Whether each mode was measured live; an unmeasured mode is refused like an unmeasured row. `reference` is set when at least */
60
- /** one row is marked `reference`, and a reference request is refused on every other row. */
61
52
  modes: Readonly<Record<GenerationVideoMode, boolean>>;
62
53
  duration_s: {
63
54
  min: number;
64
55
  max: number;
65
56
  };
66
- /** The only lengths a model takes when it is not every whole second of the range. */
67
57
  duration_values?: readonly number[];
68
- /** `false` where first_frame mode takes no last_frame; absent, it takes one. */
69
58
  last_frame?: false;
70
- /** The longest clip that takes a last_frame, where it is shorter than `duration_s.max`. */
71
59
  last_frame_max_s?: number;
72
60
  rows: readonly GenerationVideoRow[];
73
61
  }
74
62
  type GenerationCapabilities = {
75
63
  readonly [M in GenerationModel]: M extends GenerationVideoModel ? GenerationVideoCapability : GenerationImageCapability;
76
64
  };
77
- /** The one table of models, shapes and prices. */
78
65
  export declare const GENERATION_CAPABILITIES: GenerationCapabilities;
79
- /** A reference: an own upload with its rights confirmed, a prior image generation, or an own asset (rights given at its creation). */
80
66
  export declare const generationReference: z.ZodUnion<readonly [z.ZodObject<{
81
67
  upload_id: z.ZodString;
82
68
  rights_confirmed: z.ZodLiteral<true>;
@@ -87,14 +73,11 @@ export declare const generationReference: z.ZodUnion<readonly [z.ZodObject<{
87
73
  rights_confirmed: z.ZodOptional<z.ZodLiteral<true>>;
88
74
  }, z.core.$strict>]>;
89
75
  export type GenerationReference = z.infer<typeof generationReference>;
90
- /** Added to a prompt that works from a reference picture, unless `keep_text` is set (#1248): models redraw a label as garbled letters. */
91
76
  export declare const GENERATION_NO_TEXT_CLAUSE = "No text, no lettering, no watermark, no logos on the object beyond the reference's plain shapes.";
92
- /** The prompt a model gets: with a reference and no `keep_text`, the no-text line follows it (a prompt that already says so is left alone). */
93
77
  export declare function withNoTextClause(promptText: string, options: {
94
78
  hasReference: boolean;
95
79
  keepText?: boolean | undefined;
96
80
  }): string;
97
- /** No `visible_ai_label`: an unknown key is refused, never passed to the provenance policy (D12). */
98
81
  export declare const generateImageRequest: z.ZodObject<{
99
82
  prompt: z.ZodString;
100
83
  keep_text: z.ZodOptional<z.ZodBoolean>;
@@ -121,7 +104,6 @@ export declare const generateImageRequest: z.ZodObject<{
121
104
  max_credits: z.ZodOptional<z.ZodNumber>;
122
105
  }, z.core.$strict>;
123
106
  export type GenerateImageRequest = z.infer<typeof generateImageRequest>;
124
- /** No audio field: the vendor is always asked for a silent clip. Exactly one of `prompt` and `shot`. */
125
107
  export declare const generateVideoRequest: z.ZodObject<{
126
108
  prompt: z.ZodOptional<z.ZodString>;
127
109
  shot: z.ZodOptional<z.ZodObject<{
@@ -263,14 +245,12 @@ export type GenerationMatch = {
263
245
  capability: GenerationVideoCapability;
264
246
  row: GenerationVideoRow;
265
247
  };
266
- /** The measured row a request falls on, or `null` for a combination we do not offer or have not measured. */
267
248
  export declare function findCapabilityRow(request: GenerationRequest): GenerationMatch | null;
268
249
  export interface GenerationPrice {
269
250
  unit_credits: number;
270
251
  units: number;
271
252
  credits: number;
272
253
  }
273
- /** The price from the same table: an image is one unit, a clip one unit per requested second. `null` where no row is offered. */
274
254
  export declare function priceGeneration(request: GenerationRequest): GenerationPrice | null;
275
255
  export declare const generationQuote: z.ZodObject<{
276
256
  skill: z.ZodEnum<{
@@ -296,7 +276,6 @@ export declare const generationQuote: z.ZodObject<{
296
276
  contract_version: z.ZodString;
297
277
  }, z.core.$strict>;
298
278
  export type GenerationQuote = z.infer<typeof generationQuote>;
299
- /** One offered model: vendors are not named, and only measured modes and rows are shown. */
300
279
  declare const listedModel: z.ZodObject<{
301
280
  model: z.ZodString;
302
281
  kind: z.ZodEnum<{
@@ -372,6 +351,5 @@ export declare const generationModels: z.ZodObject<{
372
351
  }, z.core.$strict>;
373
352
  export type GenerationModels = z.infer<typeof generationModels>;
374
353
  export type ListedGenerationModel = z.infer<typeof listedModel>;
375
- /** The models list from the table: a model with no measured row, or a video model with no measured mode, is left out. */
376
354
  export declare function listGenerationModels(): ListedGenerationModel[];
377
355
  export {};