@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
@@ -0,0 +1,397 @@
1
+ import { z } from "zod";
2
+ export declare const EDIT_MUSIC_GENRES: readonly ["fashion", "tech", "food", "beauty", "sport", "lofi", "cinematic", "corporate", "playful", "acoustic", "ambient", "hiphop_light"];
3
+ export declare const EDIT_MUSIC_ENERGIES: readonly ["calm", "medium", "driving"];
4
+ export declare const EDIT_MUSIC_TRACKS: {
5
+ readonly runway_house: {
6
+ readonly genre: "fashion";
7
+ readonly energy: "medium";
8
+ readonly bpm: 122;
9
+ readonly seconds: 30.7;
10
+ };
11
+ readonly fashion_calm: {
12
+ readonly genre: "fashion";
13
+ readonly energy: "calm";
14
+ readonly bpm: 100;
15
+ readonly seconds: 28.4;
16
+ };
17
+ readonly fashion_driving: {
18
+ readonly genre: "fashion";
19
+ readonly energy: "driving";
20
+ readonly bpm: 126;
21
+ readonly seconds: 30.7;
22
+ };
23
+ readonly fashion_disco: {
24
+ readonly genre: "fashion";
25
+ readonly energy: "medium";
26
+ readonly bpm: 116;
27
+ readonly seconds: 30.7;
28
+ };
29
+ readonly fashion_luxe: {
30
+ readonly genre: "fashion";
31
+ readonly energy: "calm";
32
+ readonly bpm: 95;
33
+ readonly seconds: 30.7;
34
+ };
35
+ readonly tech_minimal: {
36
+ readonly genre: "tech";
37
+ readonly energy: "medium";
38
+ readonly bpm: 110;
39
+ readonly seconds: 30.7;
40
+ };
41
+ readonly tech_calm: {
42
+ readonly genre: "tech";
43
+ readonly energy: "calm";
44
+ readonly bpm: 90;
45
+ readonly seconds: 29.1;
46
+ };
47
+ readonly tech_driving: {
48
+ readonly genre: "tech";
49
+ readonly energy: "driving";
50
+ readonly bpm: 128;
51
+ readonly seconds: 30.7;
52
+ };
53
+ readonly tech_future: {
54
+ readonly genre: "tech";
55
+ readonly energy: "medium";
56
+ readonly bpm: 115;
57
+ readonly seconds: 30.7;
58
+ };
59
+ readonly tech_synthwave: {
60
+ readonly genre: "tech";
61
+ readonly energy: "driving";
62
+ readonly bpm: 118;
63
+ readonly seconds: 30.7;
64
+ };
65
+ readonly food_calm: {
66
+ readonly genre: "food";
67
+ readonly energy: "calm";
68
+ readonly bpm: 85;
69
+ readonly seconds: 30.7;
70
+ };
71
+ readonly food_medium: {
72
+ readonly genre: "food";
73
+ readonly energy: "medium";
74
+ readonly bpm: 105;
75
+ readonly seconds: 30.7;
76
+ };
77
+ readonly food_driving: {
78
+ readonly genre: "food";
79
+ readonly energy: "driving";
80
+ readonly bpm: 124;
81
+ readonly seconds: 30.7;
82
+ };
83
+ readonly food_bossa: {
84
+ readonly genre: "food";
85
+ readonly energy: "calm";
86
+ readonly bpm: 95;
87
+ readonly seconds: 30.7;
88
+ };
89
+ readonly luxe_cinematic: {
90
+ readonly genre: "beauty";
91
+ readonly energy: "calm";
92
+ readonly bpm: 75;
93
+ readonly seconds: 30.7;
94
+ };
95
+ readonly beauty_medium: {
96
+ readonly genre: "beauty";
97
+ readonly energy: "medium";
98
+ readonly bpm: 110;
99
+ readonly seconds: 30.7;
100
+ };
101
+ readonly beauty_driving: {
102
+ readonly genre: "beauty";
103
+ readonly energy: "driving";
104
+ readonly bpm: 122;
105
+ readonly seconds: 30.7;
106
+ };
107
+ readonly beauty_dreamy: {
108
+ readonly genre: "beauty";
109
+ readonly energy: "calm";
110
+ readonly bpm: 80;
111
+ readonly seconds: 30.7;
112
+ };
113
+ readonly sport_drive: {
114
+ readonly genre: "sport";
115
+ readonly energy: "driving";
116
+ readonly bpm: 130;
117
+ readonly seconds: 30.7;
118
+ };
119
+ readonly sport_calm: {
120
+ readonly genre: "sport";
121
+ readonly energy: "calm";
122
+ readonly bpm: 95;
123
+ readonly seconds: 30.7;
124
+ };
125
+ readonly sport_medium: {
126
+ readonly genre: "sport";
127
+ readonly energy: "medium";
128
+ readonly bpm: 115;
129
+ readonly seconds: 30.4;
130
+ };
131
+ readonly sport_epic: {
132
+ readonly genre: "sport";
133
+ readonly energy: "driving";
134
+ readonly bpm: 130;
135
+ readonly seconds: 30.7;
136
+ };
137
+ readonly lofi_calm: {
138
+ readonly genre: "lofi";
139
+ readonly energy: "calm";
140
+ readonly bpm: 75;
141
+ readonly seconds: 30.7;
142
+ };
143
+ readonly lofi_medium: {
144
+ readonly genre: "lofi";
145
+ readonly energy: "medium";
146
+ readonly bpm: 90;
147
+ readonly seconds: 30.7;
148
+ };
149
+ readonly lofi_jazzy: {
150
+ readonly genre: "lofi";
151
+ readonly energy: "calm";
152
+ readonly bpm: 75;
153
+ readonly seconds: 29;
154
+ };
155
+ readonly lofi_rainy: {
156
+ readonly genre: "lofi";
157
+ readonly energy: "calm";
158
+ readonly bpm: 70;
159
+ readonly seconds: 29.3;
160
+ };
161
+ readonly cinematic_calm: {
162
+ readonly genre: "cinematic";
163
+ readonly energy: "calm";
164
+ readonly bpm: 70;
165
+ readonly seconds: 30;
166
+ };
167
+ readonly cinematic_medium: {
168
+ readonly genre: "cinematic";
169
+ readonly energy: "medium";
170
+ readonly bpm: 100;
171
+ readonly seconds: 30.7;
172
+ };
173
+ readonly cinematic_driving: {
174
+ readonly genre: "cinematic";
175
+ readonly energy: "driving";
176
+ readonly bpm: 120;
177
+ readonly seconds: 29.8;
178
+ };
179
+ readonly cinematic_tension: {
180
+ readonly genre: "cinematic";
181
+ readonly energy: "medium";
182
+ readonly bpm: 90;
183
+ readonly seconds: 30.7;
184
+ };
185
+ readonly corporate_calm: {
186
+ readonly genre: "corporate";
187
+ readonly energy: "calm";
188
+ readonly bpm: 90;
189
+ readonly seconds: 30.6;
190
+ };
191
+ readonly corporate_medium: {
192
+ readonly genre: "corporate";
193
+ readonly energy: "medium";
194
+ readonly bpm: 110;
195
+ readonly seconds: 29.1;
196
+ };
197
+ readonly corporate_driving: {
198
+ readonly genre: "corporate";
199
+ readonly energy: "driving";
200
+ readonly bpm: 124;
201
+ readonly seconds: 30.7;
202
+ };
203
+ readonly corporate_bright: {
204
+ readonly genre: "corporate";
205
+ readonly energy: "medium";
206
+ readonly bpm: 105;
207
+ readonly seconds: 30.7;
208
+ };
209
+ readonly bright_pop: {
210
+ readonly genre: "playful";
211
+ readonly energy: "driving";
212
+ readonly bpm: 118;
213
+ readonly seconds: 30.7;
214
+ };
215
+ readonly playful_quirky: {
216
+ readonly genre: "playful";
217
+ readonly energy: "medium";
218
+ readonly bpm: 110;
219
+ readonly seconds: 30.7;
220
+ };
221
+ readonly playful_calm: {
222
+ readonly genre: "playful";
223
+ readonly energy: "calm";
224
+ readonly bpm: 85;
225
+ readonly seconds: 27.2;
226
+ };
227
+ readonly playful_cartoon: {
228
+ readonly genre: "playful";
229
+ readonly energy: "driving";
230
+ readonly bpm: 128;
231
+ readonly seconds: 30.7;
232
+ };
233
+ readonly warm_acoustic: {
234
+ readonly genre: "acoustic";
235
+ readonly energy: "medium";
236
+ readonly bpm: 100;
237
+ readonly seconds: 30.7;
238
+ };
239
+ readonly acoustic_calm: {
240
+ readonly genre: "acoustic";
241
+ readonly energy: "calm";
242
+ readonly bpm: 75;
243
+ readonly seconds: 30.7;
244
+ };
245
+ readonly acoustic_driving: {
246
+ readonly genre: "acoustic";
247
+ readonly energy: "driving";
248
+ readonly bpm: 120;
249
+ readonly seconds: 30.7;
250
+ };
251
+ readonly acoustic_piano: {
252
+ readonly genre: "acoustic";
253
+ readonly energy: "medium";
254
+ readonly bpm: 95;
255
+ readonly seconds: 30.7;
256
+ };
257
+ readonly ambient_calm: {
258
+ readonly genre: "ambient";
259
+ readonly energy: "calm";
260
+ readonly bpm: 60;
261
+ readonly seconds: 28.3;
262
+ };
263
+ readonly ambient_medium: {
264
+ readonly genre: "ambient";
265
+ readonly energy: "medium";
266
+ readonly bpm: 90;
267
+ readonly seconds: 30.7;
268
+ };
269
+ readonly ambient_driving: {
270
+ readonly genre: "ambient";
271
+ readonly energy: "driving";
272
+ readonly bpm: 118;
273
+ readonly seconds: 30.7;
274
+ };
275
+ readonly ambient_shimmer: {
276
+ readonly genre: "ambient";
277
+ readonly energy: "calm";
278
+ readonly bpm: 70;
279
+ readonly seconds: 28.3;
280
+ };
281
+ readonly hiphop_calm: {
282
+ readonly genre: "hiphop_light";
283
+ readonly energy: "calm";
284
+ readonly bpm: 80;
285
+ readonly seconds: 30.7;
286
+ };
287
+ readonly hiphop_medium: {
288
+ readonly genre: "hiphop_light";
289
+ readonly energy: "medium";
290
+ readonly bpm: 92;
291
+ readonly seconds: 30.7;
292
+ };
293
+ readonly hiphop_driving: {
294
+ readonly genre: "hiphop_light";
295
+ readonly energy: "driving";
296
+ readonly bpm: 140;
297
+ readonly seconds: 30.7;
298
+ };
299
+ readonly hiphop_funky: {
300
+ readonly genre: "hiphop_light";
301
+ readonly energy: "medium";
302
+ readonly bpm: 98;
303
+ readonly seconds: 27.6;
304
+ };
305
+ };
306
+ export type EditMusicTrack = keyof typeof EDIT_MUSIC_TRACKS;
307
+ export declare const EDIT_MUSIC_TRACK_NAMES: [EditMusicTrack, ...EditMusicTrack[]];
308
+ export declare const editMusicBed: z.ZodObject<{
309
+ id: z.ZodString;
310
+ genre: z.ZodEnum<{
311
+ acoustic: "acoustic";
312
+ ambient: "ambient";
313
+ beauty: "beauty";
314
+ cinematic: "cinematic";
315
+ corporate: "corporate";
316
+ fashion: "fashion";
317
+ food: "food";
318
+ hiphop_light: "hiphop_light";
319
+ lofi: "lofi";
320
+ playful: "playful";
321
+ sport: "sport";
322
+ tech: "tech";
323
+ }>;
324
+ energy: z.ZodEnum<{
325
+ calm: "calm";
326
+ driving: "driving";
327
+ medium: "medium";
328
+ }>;
329
+ bpm: z.ZodNumber;
330
+ seconds: z.ZodNumber;
331
+ }, z.core.$strict>;
332
+ export type EditMusicBed = z.infer<typeof editMusicBed>;
333
+ export declare const listEditMusicBeds: () => EditMusicBed[];
334
+ export declare const EDIT_MUSIC_MIN_VOLUME_DB = -24, EDIT_MUSIC_MAX_VOLUME_DB = 3;
335
+ export declare const EDIT_MUSIC_MIN_SECONDS = 3, EDIT_MUSIC_LONGEST_FADE_OUT = 5, EDIT_MUSIC_DEFAULT_FADE_OUT = 1.5;
336
+ export declare const editMusic: z.ZodObject<{
337
+ track: z.ZodOptional<z.ZodEnum<{
338
+ acoustic_calm: "acoustic_calm";
339
+ acoustic_driving: "acoustic_driving";
340
+ acoustic_piano: "acoustic_piano";
341
+ ambient_calm: "ambient_calm";
342
+ ambient_driving: "ambient_driving";
343
+ ambient_medium: "ambient_medium";
344
+ ambient_shimmer: "ambient_shimmer";
345
+ beauty_dreamy: "beauty_dreamy";
346
+ beauty_driving: "beauty_driving";
347
+ beauty_medium: "beauty_medium";
348
+ bright_pop: "bright_pop";
349
+ cinematic_calm: "cinematic_calm";
350
+ cinematic_driving: "cinematic_driving";
351
+ cinematic_medium: "cinematic_medium";
352
+ cinematic_tension: "cinematic_tension";
353
+ corporate_bright: "corporate_bright";
354
+ corporate_calm: "corporate_calm";
355
+ corporate_driving: "corporate_driving";
356
+ corporate_medium: "corporate_medium";
357
+ fashion_calm: "fashion_calm";
358
+ fashion_disco: "fashion_disco";
359
+ fashion_driving: "fashion_driving";
360
+ fashion_luxe: "fashion_luxe";
361
+ food_bossa: "food_bossa";
362
+ food_calm: "food_calm";
363
+ food_driving: "food_driving";
364
+ food_medium: "food_medium";
365
+ hiphop_calm: "hiphop_calm";
366
+ hiphop_driving: "hiphop_driving";
367
+ hiphop_funky: "hiphop_funky";
368
+ hiphop_medium: "hiphop_medium";
369
+ lofi_calm: "lofi_calm";
370
+ lofi_jazzy: "lofi_jazzy";
371
+ lofi_medium: "lofi_medium";
372
+ lofi_rainy: "lofi_rainy";
373
+ luxe_cinematic: "luxe_cinematic";
374
+ playful_calm: "playful_calm";
375
+ playful_cartoon: "playful_cartoon";
376
+ playful_quirky: "playful_quirky";
377
+ runway_house: "runway_house";
378
+ sport_calm: "sport_calm";
379
+ sport_drive: "sport_drive";
380
+ sport_epic: "sport_epic";
381
+ sport_medium: "sport_medium";
382
+ tech_calm: "tech_calm";
383
+ tech_driving: "tech_driving";
384
+ tech_future: "tech_future";
385
+ tech_minimal: "tech_minimal";
386
+ tech_synthwave: "tech_synthwave";
387
+ warm_acoustic: "warm_acoustic";
388
+ }>>;
389
+ generate: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"auto">, z.ZodObject<{
390
+ mood: z.ZodString;
391
+ }, z.core.$strict>]>>;
392
+ volume: z.ZodDefault<z.ZodNumber>;
393
+ at: z.ZodDefault<z.ZodNumber>;
394
+ fade_out: z.ZodDefault<z.ZodNumber>;
395
+ duck: z.ZodOptional<z.ZodBoolean>;
396
+ }, z.core.$strict>;
397
+ export type EditMusicInput = z.infer<typeof editMusic>;
@@ -0,0 +1,77 @@
1
+ import { z } from "zod";
2
+ import { musicRequest } from "./music.js";
3
+ export const EDIT_MUSIC_GENRES = ["fashion", "tech", "food", "beauty", "sport", "lofi", "cinematic", "corporate", "playful", "acoustic", "ambient",
4
+ "hiphop_light"];
5
+ export const EDIT_MUSIC_ENERGIES = ["calm", "medium", "driving"];
6
+ export const EDIT_MUSIC_TRACKS = {
7
+ runway_house: { genre: "fashion", energy: "medium", bpm: 122, seconds: 30.7 },
8
+ fashion_calm: { genre: "fashion", energy: "calm", bpm: 100, seconds: 28.4 },
9
+ fashion_driving: { genre: "fashion", energy: "driving", bpm: 126, seconds: 30.7 },
10
+ fashion_disco: { genre: "fashion", energy: "medium", bpm: 116, seconds: 30.7 },
11
+ fashion_luxe: { genre: "fashion", energy: "calm", bpm: 95, seconds: 30.7 },
12
+ tech_minimal: { genre: "tech", energy: "medium", bpm: 110, seconds: 30.7 },
13
+ tech_calm: { genre: "tech", energy: "calm", bpm: 90, seconds: 29.1 },
14
+ tech_driving: { genre: "tech", energy: "driving", bpm: 128, seconds: 30.7 },
15
+ tech_future: { genre: "tech", energy: "medium", bpm: 115, seconds: 30.7 },
16
+ tech_synthwave: { genre: "tech", energy: "driving", bpm: 118, seconds: 30.7 },
17
+ food_calm: { genre: "food", energy: "calm", bpm: 85, seconds: 30.7 },
18
+ food_medium: { genre: "food", energy: "medium", bpm: 105, seconds: 30.7 },
19
+ food_driving: { genre: "food", energy: "driving", bpm: 124, seconds: 30.7 },
20
+ food_bossa: { genre: "food", energy: "calm", bpm: 95, seconds: 30.7 },
21
+ luxe_cinematic: { genre: "beauty", energy: "calm", bpm: 75, seconds: 30.7 },
22
+ beauty_medium: { genre: "beauty", energy: "medium", bpm: 110, seconds: 30.7 },
23
+ beauty_driving: { genre: "beauty", energy: "driving", bpm: 122, seconds: 30.7 },
24
+ beauty_dreamy: { genre: "beauty", energy: "calm", bpm: 80, seconds: 30.7 },
25
+ sport_drive: { genre: "sport", energy: "driving", bpm: 130, seconds: 30.7 },
26
+ sport_calm: { genre: "sport", energy: "calm", bpm: 95, seconds: 30.7 },
27
+ sport_medium: { genre: "sport", energy: "medium", bpm: 115, seconds: 30.4 },
28
+ sport_epic: { genre: "sport", energy: "driving", bpm: 130, seconds: 30.7 },
29
+ lofi_calm: { genre: "lofi", energy: "calm", bpm: 75, seconds: 30.7 },
30
+ lofi_medium: { genre: "lofi", energy: "medium", bpm: 90, seconds: 30.7 },
31
+ lofi_jazzy: { genre: "lofi", energy: "calm", bpm: 75, seconds: 29 },
32
+ lofi_rainy: { genre: "lofi", energy: "calm", bpm: 70, seconds: 29.3 },
33
+ cinematic_calm: { genre: "cinematic", energy: "calm", bpm: 70, seconds: 30 },
34
+ cinematic_medium: { genre: "cinematic", energy: "medium", bpm: 100, seconds: 30.7 },
35
+ cinematic_driving: { genre: "cinematic", energy: "driving", bpm: 120, seconds: 29.8 },
36
+ cinematic_tension: { genre: "cinematic", energy: "medium", bpm: 90, seconds: 30.7 },
37
+ corporate_calm: { genre: "corporate", energy: "calm", bpm: 90, seconds: 30.6 },
38
+ corporate_medium: { genre: "corporate", energy: "medium", bpm: 110, seconds: 29.1 },
39
+ corporate_driving: { genre: "corporate", energy: "driving", bpm: 124, seconds: 30.7 },
40
+ corporate_bright: { genre: "corporate", energy: "medium", bpm: 105, seconds: 30.7 },
41
+ bright_pop: { genre: "playful", energy: "driving", bpm: 118, seconds: 30.7 },
42
+ playful_quirky: { genre: "playful", energy: "medium", bpm: 110, seconds: 30.7 },
43
+ playful_calm: { genre: "playful", energy: "calm", bpm: 85, seconds: 27.2 },
44
+ playful_cartoon: { genre: "playful", energy: "driving", bpm: 128, seconds: 30.7 },
45
+ warm_acoustic: { genre: "acoustic", energy: "medium", bpm: 100, seconds: 30.7 },
46
+ acoustic_calm: { genre: "acoustic", energy: "calm", bpm: 75, seconds: 30.7 },
47
+ acoustic_driving: { genre: "acoustic", energy: "driving", bpm: 120, seconds: 30.7 },
48
+ acoustic_piano: { genre: "acoustic", energy: "medium", bpm: 95, seconds: 30.7 },
49
+ ambient_calm: { genre: "ambient", energy: "calm", bpm: 60, seconds: 28.3 },
50
+ ambient_medium: { genre: "ambient", energy: "medium", bpm: 90, seconds: 30.7 },
51
+ ambient_driving: { genre: "ambient", energy: "driving", bpm: 118, seconds: 30.7 },
52
+ ambient_shimmer: { genre: "ambient", energy: "calm", bpm: 70, seconds: 28.3 },
53
+ hiphop_calm: { genre: "hiphop_light", energy: "calm", bpm: 80, seconds: 30.7 },
54
+ hiphop_medium: { genre: "hiphop_light", energy: "medium", bpm: 92, seconds: 30.7 },
55
+ hiphop_driving: { genre: "hiphop_light", energy: "driving", bpm: 140, seconds: 30.7 },
56
+ hiphop_funky: { genre: "hiphop_light", energy: "medium", bpm: 98, seconds: 27.6 },
57
+ };
58
+ export const EDIT_MUSIC_TRACK_NAMES = Object.keys(EDIT_MUSIC_TRACKS);
59
+ export const editMusicBed = z.strictObject({ id: z.string().min(1), genre: z.enum(EDIT_MUSIC_GENRES), energy: z.enum(EDIT_MUSIC_ENERGIES),
60
+ bpm: z.number().int().positive(), seconds: z.number().positive() });
61
+ export const listEditMusicBeds = () => EDIT_MUSIC_TRACK_NAMES.map(id => ({ id, ...EDIT_MUSIC_TRACKS[id] }));
62
+ export const EDIT_MUSIC_MIN_VOLUME_DB = -24, EDIT_MUSIC_MAX_VOLUME_DB = 3;
63
+ export const EDIT_MUSIC_MIN_SECONDS = 3, EDIT_MUSIC_LONGEST_FADE_OUT = 5, EDIT_MUSIC_DEFAULT_FADE_OUT = 1.5;
64
+ export const editMusic = z.strictObject({
65
+ track: z.enum(EDIT_MUSIC_TRACK_NAMES).optional().describe("A bed from our library, free: its id from list_template_sounds (music_beds, with " +
66
+ "genre, energy, tempo and length)"),
67
+ generate: musicRequest.optional().describe('Instead of track, only when no library bed fits: a track made for this cut by AI, paid on ' +
68
+ 'delivery: "auto" takes the mood from the captions and the voice, { mood } says it in your words, such as "moody deep house"; it may ' +
69
+ "carry an invisible watermark"),
70
+ volume: z.number().min(EDIT_MUSIC_MIN_VOLUME_DB).max(EDIT_MUSIC_MAX_VOLUME_DB).default(0)
71
+ .describe("dB from the music's own level: 0 plays it at full level where no voice speaks, -6 half as loud"),
72
+ at: z.number().min(0).max(600).default(0).describe("The second of the edit the music starts at"),
73
+ fade_out: z.number().min(0).max(EDIT_MUSIC_LONGEST_FADE_OUT).default(EDIT_MUSIC_DEFAULT_FADE_OUT)
74
+ .describe("Seconds the music fades out over at the cut's end"),
75
+ duck: z.boolean().optional().describe("With voice: true (the default) lowers the music under each spoken line and lifts it between them; " +
76
+ "false keeps it low under the whole voice"),
77
+ }).refine(music => (music.track === undefined) !== (music.generate === undefined), "music takes one source: track or generate");
@@ -2,7 +2,6 @@ import { z } from "zod";
2
2
  export { shotId } from "./edit-primitives.js";
3
3
  export declare const SHOT_OPERATION_MODES: readonly ["retake", "new_picture", "edit_picture", "animate"];
4
4
  export type ShotOperationMode = (typeof SHOT_OPERATION_MODES)[number];
5
- /** What to generate for one shot. */
6
5
  export declare const shotOperation: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
6
  mode: z.ZodLiteral<"retake">;
8
7
  }, z.core.$strict>, z.ZodObject<{
@@ -2,7 +2,6 @@ import { z } from "zod";
2
2
  import { shotId, text } from "./edit-primitives.js";
3
3
  export { shotId } from "./edit-primitives.js";
4
4
  export const SHOT_OPERATION_MODES = ["retake", "new_picture", "edit_picture", "animate"];
5
- /** What to generate for one shot. */
6
5
  export const shotOperation = z.discriminatedUnion("mode", [
7
6
  z.strictObject({ mode: z.literal("retake") }),
8
7
  z.strictObject({ mode: z.literal("new_picture"), description: text(600) }),
@@ -10,4 +9,3 @@ export const shotOperation = z.discriminatedUnion("mode", [
10
9
  z.strictObject({ mode: z.literal("animate"), motion: text(300).optional() }),
11
10
  ]);
12
11
  export const shotChange = z.strictObject({ shot_id: shotId, operation: shotOperation });
13
- //# sourceMappingURL=edit-operations.js.map
@@ -1,8 +1,5 @@
1
1
  import { z } from "zod";
2
- /** A frame index, a word index, a millisecond count. */
3
2
  export declare const frame: z.ZodNumber;
4
- /** A length in frames, a pixel size. */
5
3
  export declare const frameCount: z.ZodNumber;
6
- /** A JSON column refuses U+0000 and half of a surrogate pair, so the schema does first. */
7
4
  export declare const text: (max: number) => z.ZodString;
8
5
  export declare const shotId: z.ZodString;
@@ -1,12 +1,7 @@
1
1
  import { z } from "zod";
2
- // Shared by the edit modules only: these generic names stay out of the public barrel.
3
- /** A frame index, a word index, a millisecond count. */
4
2
  export const frame = z.number().int().nonnegative().safe();
5
- /** A length in frames, a pixel size. */
6
3
  export const frameCount = z.number().int().positive().safe();
7
4
  const HALF_PAIR = /[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?<![\uD800-\uDBFF])[\uDC00-\uDFFF]/;
8
- /** A JSON column refuses U+0000 and half of a surrogate pair, so the schema does first. */
9
5
  export const text = (max) => z.string().trim().min(1).max(max)
10
6
  .refine(value => !value.includes("\u0000") && !HALF_PAIR.test(value), { error: "holds U+0000 or half of a surrogate pair, which cannot be stored" });
11
7
  export const shotId = z.string().regex(/^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/);
12
- //# sourceMappingURL=edit-primitives.js.map
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod";
2
- /** A revision asks for exactly one of: the whole document, or a list of shot changes over the run as it is. */
3
2
  export declare const revisionRequest: z.ZodUnion<readonly [z.ZodObject<{
4
3
  document: z.ZodObject<{
5
4
  v: z.ZodLiteral<1>;
@@ -76,7 +75,6 @@ export declare const revisionRequest: z.ZodUnion<readonly [z.ZodObject<{
76
75
  max_credits: z.ZodOptional<z.ZodNumber>;
77
76
  }, z.core.$strict>]>;
78
77
  export type RevisionRequest = z.infer<typeof revisionRequest>;
79
- /** What a revision would change and cost. The run route refuses what the quote refuses. */
80
78
  export declare const revisionQuote: z.ZodObject<{
81
79
  source_run_id: z.ZodString;
82
80
  root_run_id: z.ZodString;
@@ -167,8 +165,6 @@ export declare const revisionQuoteRead: z.ZodObject<{
167
165
  }, z.core.$loose>;
168
166
  }, z.core.$loose>;
169
167
  export type RevisionQuoteRead = z.infer<typeof revisionQuoteRead>;
170
- /** The one sentence every client and the docs page state a revision's charge by. */
171
168
  export declare const REVISION_CHARGE_TEXT = "A revision that delivers is charged its quoted total; one that fails is charged nothing.";
172
- /** The paths of a run's revision quote and start. The id is encoded, since it comes from the caller. */
173
169
  export declare const runRevisionsQuotePath: (id: string) => string;
174
170
  export declare const runRevisionsPath: (id: string) => string;
@@ -5,12 +5,10 @@ import { shotChange } from "./edit-operations.js";
5
5
  import { EDIT_MAX_SHOTS } from "./edit-rules.js";
6
6
  import { maxCreditsField } from "./max-credits.js";
7
7
  import { runId } from "./runs.js";
8
- /** A revision asks for exactly one of: the whole document, or a list of shot changes over the run as it is. */
9
8
  export const revisionRequest = z.union([
10
9
  z.strictObject({ document: editDocument, max_credits: maxCreditsField }),
11
10
  z.strictObject({ changes: z.array(shotChange).min(1).max(EDIT_MAX_SHOTS), max_credits: maxCreditsField }),
12
11
  ]);
13
- /** What a revision would change and cost. The run route refuses what the quote refuses. */
14
12
  export const revisionQuote = z.strictObject({
15
13
  source_run_id: runId,
16
14
  root_run_id: runId,
@@ -19,7 +17,6 @@ export const revisionQuote = z.strictObject({
19
17
  warnings: z.array(z.string()),
20
18
  contract_version: z.string().min(1),
21
19
  });
22
- // What installed clients parse: units, zero rules, kinds, modes and origins are open strings, and unknown keys are kept.
23
20
  const priceLineRead = revisionPriceLine.extend({ unit: z.string().min(1) }).loose();
24
21
  const summaryRead = editSummaryWire.extend({
25
22
  replaced: z.array(editSummaryWire.shape.replaced.element.extend({ from: z.string().min(1) }).loose()),
@@ -29,9 +26,6 @@ export const revisionQuoteRead = revisionQuote.extend({
29
26
  summary: summaryRead,
30
27
  billing: revisionBilling.extend({ lines: z.array(priceLineRead), zero_unit: z.string().min(1).nullable() }).loose(),
31
28
  }).loose();
32
- /** The one sentence every client and the docs page state a revision's charge by. */
33
29
  export const REVISION_CHARGE_TEXT = "A revision that delivers is charged its quoted total; one that fails is charged nothing.";
34
- /** The paths of a run's revision quote and start. The id is encoded, since it comes from the caller. */
35
30
  export const runRevisionsQuotePath = (id) => `/v1/runs/${encodeURIComponent(id)}/revisions/quote`;
36
31
  export const runRevisionsPath = (id) => `/v1/runs/${encodeURIComponent(id)}/revisions`;
37
- //# sourceMappingURL=edit-revision.js.map
@@ -9,7 +9,6 @@ export declare const SHOT_SOURCES: readonly ["generated", "customer", "candidate
9
9
  export type ShotSource = (typeof SHOT_SOURCES)[number];
10
10
  export declare const SHOT_ACTIONS: readonly ["retake", "new_picture", "edit_picture", "animate", "upload", "retime", "delete", "cover"];
11
11
  export type ShotAction = (typeof SHOT_ACTIONS)[number];
12
- /** Above today's 100 slots and the 420 of clipwright#275. */
13
12
  export declare const EDIT_MAX_SHOTS = 500;
14
13
  export declare const EDIT_MAX_DISCARDED = 500;
15
14
  export declare const kindRule: z.ZodObject<{
@@ -18,7 +17,6 @@ export declare const kindRule: z.ZodObject<{
18
17
  movable: z.ZodBoolean;
19
18
  resizable: z.ZodBoolean;
20
19
  }, z.core.$strict>;
21
- /** What a line allows on its timeline. The validator reads these and never the line's name. */
22
20
  export declare const editRules: z.ZodObject<{
23
21
  kinds: z.ZodRecord<z.ZodEnum<{
24
22
  clip: "clip";
@@ -58,7 +56,6 @@ export declare const editRules: z.ZodObject<{
58
56
  }, z.core.$strict>;
59
57
  export type EditRules = z.infer<typeof editRules>;
60
58
  export declare const FACELESS_EDIT_RULES: EditRules;
61
- /** The actions a faceless shot offers: the opener by its place, a picture by where its image came from. */
62
59
  export declare function facelessShotActions(shot: {
63
60
  index: number;
64
61
  source: ShotSource;
@@ -6,13 +6,10 @@ export const SHOT_KINDS = ["picture", "clip", "presenter"];
6
6
  export const SHOT_TRACKS = ["visual", "presenter"];
7
7
  export const SHOT_SOURCES = ["generated", "customer", "candidate", "upload", "unknown"];
8
8
  export const SHOT_ACTIONS = ["retake", "new_picture", "edit_picture", "animate", "upload", "retime", "delete", "cover"];
9
- /** Above today's 100 slots and the 420 of clipwright#275. */
10
9
  export const EDIT_MAX_SHOTS = 500;
11
10
  export const EDIT_MAX_DISCARDED = 500;
12
11
  export const kindRule = z.strictObject({ min_frames: frameCount, max_frames: frameCount, movable: z.boolean(), resizable: z.boolean() });
13
- /** What a line allows on its timeline. The validator reads these and never the line's name. */
14
12
  export const editRules = z.strictObject({
15
- // A kind without an entry is not allowed on this timeline.
16
13
  kinds: z.partialRecord(z.enum(SHOT_KINDS), kindRule),
17
14
  output_coverage: z.enum(["visual", "union"]),
18
15
  first_visual_kind: z.enum(SHOT_KINDS).nullable(),
@@ -20,14 +17,10 @@ export const editRules = z.strictObject({
20
17
  visual_covers_presenter: z.boolean(),
21
18
  add_visual: z.enum(["never", "over_presenter"]),
22
19
  reuse_source_asset: z.boolean(),
23
- // `max_distance` is relative (`aspectDistance`); `exact` is the composition's absolute ratio test (`isExactFit`).
24
20
  upload_aspect: z.union([z.strictObject({ max_distance: z.number().positive() }),
25
21
  z.strictObject({ mode: z.literal("exact"), epsilon: z.number().positive() })]).nullable(),
26
22
  max_generated_per_revision: z.number().int().nonnegative(),
27
- // The shortest added or retimed visual shot over presenter time; an unchanged source shot is exempt.
28
- // Absent reads as null, so a view from a server without the field still parses.
29
23
  cover_min_frames: frameCount.nullable().default(null),
30
- // Whether a revision may set its cut transitions; absent reads as false, as from a server without the field.
31
24
  cut_transitions: z.boolean().default(false),
32
25
  });
33
26
  export const FACELESS_EDIT_RULES = {
@@ -39,7 +32,6 @@ export const FACELESS_EDIT_RULES = {
39
32
  add_visual: "never", reuse_source_asset: false, upload_aspect: null, max_generated_per_revision: 8, cover_min_frames: null,
40
33
  cut_transitions: true,
41
34
  };
42
- /** The actions a faceless shot offers: the opener by its place, a picture by where its image came from. */
43
35
  export function facelessShotActions(shot) {
44
36
  if (shot.index === 0)
45
37
  return ["retake", "animate", "new_picture", "retime"];
@@ -49,4 +41,3 @@ export function facelessShotActions(shot) {
49
41
  return ["upload", "retime", "delete"];
50
42
  return [];
51
43
  }
52
- //# sourceMappingURL=edit-rules.js.map