@clipwright/core 0.60.0 → 0.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (587) hide show
  1. package/dist/account-actors.d.ts +0 -43
  2. package/dist/account-actors.js +0 -55
  3. package/dist/account.d.ts +0 -6
  4. package/dist/account.js +0 -18
  5. package/dist/actor-bounds.d.ts +0 -5
  6. package/dist/actor-bounds.js +0 -6
  7. package/dist/actor-qualities.d.ts +0 -3
  8. package/dist/actor-qualities.js +0 -4
  9. package/dist/actors.d.ts +0 -16
  10. package/dist/actors.js +0 -21
  11. package/dist/ad-guide.js +0 -2
  12. package/dist/ad-pause-trim.d.ts +0 -5
  13. package/dist/ad-pause-trim.js +0 -8
  14. package/dist/api-failure.d.ts +0 -44
  15. package/dist/api-failure.js +0 -62
  16. package/dist/aspect.d.ts +0 -29
  17. package/dist/aspect.js +1 -34
  18. package/dist/asset-identity.d.ts +0 -2
  19. package/dist/asset-identity.js +0 -3
  20. package/dist/assets.d.ts +0 -34
  21. package/dist/assets.js +0 -42
  22. package/dist/billing-terms.d.ts +0 -3
  23. package/dist/billing-terms.js +0 -4
  24. package/dist/brand-styles.d.ts +0 -6
  25. package/dist/brand-styles.js +0 -13
  26. package/dist/broll-policy.js +0 -1
  27. package/dist/canvas-fit.d.ts +0 -2
  28. package/dist/canvas-fit.js +0 -4
  29. package/dist/caption-funnel.d.ts +0 -2
  30. package/dist/caption-funnel.js +0 -15
  31. package/dist/caption-geometry.d.ts +0 -6
  32. package/dist/caption-geometry.js +0 -10
  33. package/dist/caption-language.d.ts +0 -3
  34. package/dist/caption-language.js +0 -6
  35. package/dist/contract-dispositions.d.ts +0 -61
  36. package/dist/contract-dispositions.js +3 -96
  37. package/dist/contracts/v1/workflow-brief.d.ts +57 -3
  38. package/dist/contracts/v1/workflow-brief.js +0 -13
  39. package/dist/contracts/v1/workflow-catalog.d.ts +114 -0
  40. package/dist/contracts/v1/workflow-catalog.js +0 -3
  41. package/dist/contracts/v1/workflow-client.d.ts +114 -0
  42. package/dist/contracts/v1/workflow-client.js +0 -1
  43. package/dist/contracts/v1/workflow-dto.js +0 -1
  44. package/dist/contracts/v1/workflow-evidence.js +0 -1
  45. package/dist/contracts/v1/workflow-execution.d.ts +0 -1
  46. package/dist/contracts/v1/workflow-execution.js +0 -4
  47. package/dist/contracts/v1/workflow-next.d.ts +0 -2
  48. package/dist/contracts/v1/workflow-next.js +0 -3
  49. package/dist/contracts/v1/workflow-plan.d.ts +171 -0
  50. package/dist/contracts/v1/workflow-plan.js +0 -1
  51. package/dist/contracts/v1/workflow-primitives.d.ts +0 -1
  52. package/dist/contracts/v1/workflow-primitives.js +0 -2
  53. package/dist/contracts/v1/workflow-run-read.d.ts +0 -1
  54. package/dist/contracts/v1/workflow-run-read.js +0 -3
  55. package/dist/creator-profile.d.ts +0 -30
  56. package/dist/creator-profile.js +0 -45
  57. package/dist/default-actor.js +0 -2
  58. package/dist/design.d.ts +0 -17
  59. package/dist/design.js +0 -18
  60. package/dist/edit-billing.d.ts +0 -6
  61. package/dist/edit-billing.js +0 -10
  62. package/dist/edit-candidate.d.ts +0 -6
  63. package/dist/edit-candidate.js +0 -9
  64. package/dist/edit-document.d.ts +0 -12
  65. package/dist/edit-document.js +0 -15
  66. package/dist/edit-faceless.d.ts +0 -3
  67. package/dist/edit-faceless.js +0 -4
  68. package/dist/edit-long-form.d.ts +0 -13
  69. package/dist/edit-long-form.js +0 -17
  70. package/dist/edit-operations.d.ts +0 -1
  71. package/dist/edit-operations.js +0 -2
  72. package/dist/edit-primitives.d.ts +0 -3
  73. package/dist/edit-primitives.js +0 -5
  74. package/dist/edit-revision.d.ts +0 -4
  75. package/dist/edit-revision.js +0 -6
  76. package/dist/edit-rules.d.ts +0 -3
  77. package/dist/edit-rules.js +0 -9
  78. package/dist/edit-shots.d.ts +45 -5
  79. package/dist/edit-shots.js +7 -11
  80. package/dist/edit-validate.d.ts +0 -10
  81. package/dist/edit-validate.js +0 -14
  82. package/dist/edit.js +0 -3
  83. package/dist/endpoint-notes.d.ts +0 -2
  84. package/dist/endpoint-notes.js +0 -3
  85. package/dist/endpoints.d.ts +0 -11
  86. package/dist/endpoints.js +7 -21
  87. package/dist/errors.d.ts +0 -42
  88. package/dist/errors.js +0 -54
  89. package/dist/explainer-fit.d.ts +0 -7
  90. package/dist/explainer-fit.js +0 -10
  91. package/dist/face-billing.d.ts +0 -9
  92. package/dist/face-billing.js +0 -23
  93. package/dist/face-delivery.d.ts +0 -1
  94. package/dist/face-delivery.js +0 -2
  95. package/dist/faceless-action-shots.d.ts +0 -8
  96. package/dist/faceless-action-shots.js +0 -8
  97. package/dist/faceless-customer-anchors.d.ts +0 -1
  98. package/dist/faceless-customer-anchors.js +0 -2
  99. package/dist/faceless-cut-style.js +0 -1
  100. package/dist/faceless-direction-summary.d.ts +0 -2
  101. package/dist/faceless-direction-summary.js +0 -3
  102. package/dist/faceless-image-placement.d.ts +0 -2
  103. package/dist/faceless-image-placement.js +0 -3
  104. package/dist/faceless-image-qualification.js +0 -2
  105. package/dist/faceless-media-record.d.ts +0 -6
  106. package/dist/faceless-media-record.js +0 -11
  107. package/dist/faceless-price.d.ts +0 -45
  108. package/dist/faceless-price.js +0 -64
  109. package/dist/faceless-public-plan.d.ts +0 -13
  110. package/dist/faceless-public-plan.js +0 -11
  111. package/dist/faceless-public.d.ts +0 -26
  112. package/dist/faceless-public.js +0 -59
  113. package/dist/faceless-short-61.js +0 -1
  114. package/dist/faceless-storyboard-timing.js +0 -1
  115. package/dist/faceless-storyboard-v2-plan.js +0 -1
  116. package/dist/faceless-storyboard-v2-timing.d.ts +0 -4
  117. package/dist/faceless-storyboard-v2-timing.js +0 -3
  118. package/dist/faceless-storyboard-v2.js +0 -1
  119. package/dist/faceless-storyboard.js +0 -1
  120. package/dist/faceless-voices.d.ts +0 -16
  121. package/dist/faceless-voices.js +0 -18
  122. package/dist/feedback.d.ts +0 -4
  123. package/dist/feedback.js +0 -5
  124. package/dist/film-directions.d.ts +0 -2
  125. package/dist/film-directions.js +0 -7
  126. package/dist/film-drafts.d.ts +0 -8
  127. package/dist/film-drafts.js +0 -19
  128. package/dist/film-guide.d.ts +0 -3
  129. package/dist/film-guide.js +0 -6
  130. package/dist/film-styles.d.ts +0 -5
  131. package/dist/film-styles.js +0 -8
  132. package/dist/generation-shot.d.ts +0 -5
  133. package/dist/generation-shot.js +0 -8
  134. package/dist/generations-output.d.ts +0 -2
  135. package/dist/generations-output.js +0 -5
  136. package/dist/generations.d.ts +0 -22
  137. package/dist/generations.js +21 -44
  138. package/dist/idempotency.d.ts +1 -21
  139. package/dist/idempotency.js +8 -29
  140. package/dist/index.d.ts +1 -0
  141. package/dist/index.js +1 -28
  142. package/dist/live-shot-kinds.d.ts +16 -25
  143. package/dist/live-shot-kinds.js +12 -28
  144. package/dist/long-form-pricing.d.ts +0 -5
  145. package/dist/long-form-pricing.js +0 -6
  146. package/dist/long-form-profile.d.ts +0 -3
  147. package/dist/long-form-profile.js +0 -4
  148. package/dist/long-form-revision.d.ts +0 -9
  149. package/dist/long-form-revision.js +0 -11
  150. package/dist/markdown-quote.d.ts +0 -2
  151. package/dist/markdown-quote.js +0 -3
  152. package/dist/mascots.d.ts +0 -5
  153. package/dist/mascots.js +0 -10
  154. package/dist/max-credits.d.ts +0 -1
  155. package/dist/max-credits.js +0 -2
  156. package/dist/mcp-ugc-descriptions.d.ts +0 -2
  157. package/dist/mcp-ugc-descriptions.js +1 -6
  158. package/dist/media-timebase.d.ts +0 -2
  159. package/dist/media-timebase.js +0 -6
  160. package/dist/motion-styles.d.ts +0 -8
  161. package/dist/motion-styles.js +0 -11
  162. package/dist/moves.d.ts +0 -7
  163. package/dist/moves.js +0 -9
  164. package/dist/music.d.ts +0 -5
  165. package/dist/music.js +0 -8
  166. package/dist/naming.d.ts +0 -3
  167. package/dist/naming.js +0 -19
  168. package/dist/openapi.d.ts +0 -13
  169. package/dist/openapi.js +6 -11
  170. package/dist/output-provenance.d.ts +0 -4
  171. package/dist/output-provenance.js +0 -5
  172. package/dist/own-agent-price.d.ts +19 -22
  173. package/dist/own-agent-price.js +30 -25
  174. package/dist/own-agent-runs.d.ts +111 -11
  175. package/dist/own-agent-runs.js +89 -24
  176. package/dist/pacing.d.ts +3 -15
  177. package/dist/pacing.js +18 -18
  178. package/dist/parts-pricing.d.ts +0 -28
  179. package/dist/parts-pricing.js +0 -32
  180. package/dist/post-text.d.ts +0 -2
  181. package/dist/post-text.js +0 -4
  182. package/dist/presenter-beats.d.ts +0 -10
  183. package/dist/presenter-beats.js +0 -14
  184. package/dist/presenter-matte.d.ts +0 -7
  185. package/dist/presenter-matte.js +0 -9
  186. package/dist/presenter-takes.d.ts +0 -3
  187. package/dist/presenter-takes.js +0 -8
  188. package/dist/prices.d.ts +2 -8
  189. package/dist/prices.js +13 -23
  190. package/dist/public-endpoints.d.ts +0 -11
  191. package/dist/public-endpoints.js +0 -14
  192. package/dist/public-responses.d.ts +0 -2
  193. package/dist/public-responses.js +0 -3
  194. package/dist/rate-limit.d.ts +0 -24
  195. package/dist/rate-limit.js +0 -29
  196. package/dist/reference-analysis.d.ts +57 -34
  197. package/dist/reference-analysis.js +0 -69
  198. package/dist/reference-bring.d.ts +33 -0
  199. package/dist/reference-bring.js +28 -0
  200. package/dist/reference-display.d.ts +0 -3
  201. package/dist/reference-display.js +37 -4
  202. package/dist/reference-kinds.d.ts +0 -4
  203. package/dist/reference-kinds.js +0 -6
  204. package/dist/reference-lyrics.d.ts +0 -6
  205. package/dist/reference-lyrics.js +0 -6
  206. package/dist/reference-profile.d.ts +270 -39
  207. package/dist/reference-profile.js +64 -50
  208. package/dist/reference-staging.d.ts +0 -10
  209. package/dist/reference-staging.js +0 -14
  210. package/dist/reference-text-spans.d.ts +0 -4
  211. package/dist/reference-text-spans.js +0 -7
  212. package/dist/reference-voice-over.d.ts +0 -6
  213. package/dist/reference-voice-over.js +0 -7
  214. package/dist/reference-voice.d.ts +0 -7
  215. package/dist/reference-voice.js +0 -12
  216. package/dist/render-backend.d.ts +0 -30
  217. package/dist/render-backend.js +0 -5
  218. package/dist/resolved-timeline.d.ts +0 -4
  219. package/dist/resolved-timeline.js +1 -31
  220. package/dist/run-media.d.ts +0 -1
  221. package/dist/run-media.js +0 -2
  222. package/dist/run-preflight.d.ts +0 -4
  223. package/dist/run-preflight.js +0 -11
  224. package/dist/run-static-warnings.d.ts +0 -8
  225. package/dist/run-static-warnings.js +0 -38
  226. package/dist/runs.d.ts +0 -32
  227. package/dist/runs.js +0 -50
  228. package/dist/scene-bible.d.ts +15 -7
  229. package/dist/scene-bible.js +15 -10
  230. package/dist/scene-graph.d.ts +0 -12
  231. package/dist/scene-graph.js +0 -24
  232. package/dist/scene-place.d.ts +0 -25
  233. package/dist/scene-place.js +0 -24
  234. package/dist/scene-proposal.d.ts +0 -3
  235. package/dist/scene-proposal.js +0 -9
  236. package/dist/script-integrity.d.ts +0 -6
  237. package/dist/script-integrity.js +0 -8
  238. package/dist/script-voice.d.ts +0 -7
  239. package/dist/script-voice.js +0 -16
  240. package/dist/semantic-inserts.d.ts +0 -7
  241. package/dist/semantic-inserts.js +0 -10
  242. package/dist/skill-theme-explainer.js +0 -5
  243. package/dist/skill-theme.d.ts +0 -13
  244. package/dist/skill-theme.js +0 -25
  245. package/dist/skills.d.ts +22 -86
  246. package/dist/skills.js +21 -167
  247. package/dist/speech-rhythm-contract.js +0 -1
  248. package/dist/speech-rhythm.d.ts +0 -4
  249. package/dist/speech-rhythm.js +0 -2
  250. package/dist/templates/backdrop.d.ts +0 -3
  251. package/dist/templates/backdrop.js +0 -5
  252. package/dist/templates/callout.d.ts +0 -4
  253. package/dist/templates/callout.js +0 -6
  254. package/dist/templates/chart.d.ts +0 -4
  255. package/dist/templates/chart.js +0 -6
  256. package/dist/templates/chat-window.d.ts +0 -8
  257. package/dist/templates/chat-window.js +0 -10
  258. package/dist/templates/checklist.d.ts +0 -3
  259. package/dist/templates/checklist.js +0 -6
  260. package/dist/templates/comment-cta.d.ts +0 -14
  261. package/dist/templates/comment-cta.js +0 -19
  262. package/dist/templates/compare.d.ts +0 -6
  263. package/dist/templates/compare.js +0 -7
  264. package/dist/templates/cover-story.d.ts +0 -1
  265. package/dist/templates/cover-story.js +0 -3
  266. package/dist/templates/end-card.d.ts +0 -2
  267. package/dist/templates/end-card.js +0 -3
  268. package/dist/templates/hand-title.d.ts +0 -5
  269. package/dist/templates/hand-title.js +0 -9
  270. package/dist/templates/index.d.ts +0 -57
  271. package/dist/templates/index.js +0 -60
  272. package/dist/templates/lower-third.d.ts +0 -4
  273. package/dist/templates/lower-third.js +0 -5
  274. package/dist/templates/notification.d.ts +0 -6
  275. package/dist/templates/notification.js +0 -7
  276. package/dist/templates/phone-call.d.ts +0 -2
  277. package/dist/templates/phone-call.js +0 -6
  278. package/dist/templates/phone-screen.d.ts +0 -5
  279. package/dist/templates/phone-screen.js +0 -7
  280. package/dist/templates/pointer-chips.d.ts +0 -4
  281. package/dist/templates/pointer-chips.js +0 -6
  282. package/dist/templates/progress.d.ts +0 -3
  283. package/dist/templates/progress.js +0 -5
  284. package/dist/templates/quote.d.ts +0 -3
  285. package/dist/templates/quote.js +0 -4
  286. package/dist/templates/race.d.ts +0 -5
  287. package/dist/templates/race.js +0 -7
  288. package/dist/templates/rating.d.ts +0 -3
  289. package/dist/templates/rating.js +0 -5
  290. package/dist/templates/series-frame.d.ts +0 -16
  291. package/dist/templates/series-frame.js +0 -19
  292. package/dist/templates/size.d.ts +0 -7
  293. package/dist/templates/size.js +0 -8
  294. package/dist/templates/slot.d.ts +0 -2
  295. package/dist/templates/slot.js +0 -2
  296. package/dist/templates/sounds.d.ts +0 -12
  297. package/dist/templates/sounds.js +0 -16
  298. package/dist/templates/stat.d.ts +0 -3
  299. package/dist/templates/stat.js +0 -5
  300. package/dist/templates/tag.d.ts +0 -3
  301. package/dist/templates/tag.js +0 -5
  302. package/dist/templates/terminal.d.ts +0 -6
  303. package/dist/templates/terminal.js +0 -8
  304. package/dist/templates/theme.d.ts +0 -7
  305. package/dist/templates/theme.js +0 -9
  306. package/dist/templates/title-card.d.ts +0 -3
  307. package/dist/templates/title-card.js +0 -5
  308. package/dist/templates/video-grid.d.ts +0 -5
  309. package/dist/templates/video-grid.js +0 -8
  310. package/dist/templates/word-fill.d.ts +0 -3
  311. package/dist/templates/word-fill.js +0 -4
  312. package/dist/templates/word-title.d.ts +0 -2
  313. package/dist/templates/word-title.js +0 -4
  314. package/dist/trend-niches.d.ts +0 -11
  315. package/dist/trend-niches.js +0 -16
  316. package/dist/trend-search.d.ts +0 -66
  317. package/dist/trend-search.js +0 -70
  318. package/dist/tts-backend.d.ts +0 -19
  319. package/dist/tts-backend.js +0 -7
  320. package/dist/ugc-call.d.ts +0 -16
  321. package/dist/ugc-call.js +0 -21
  322. package/dist/ugc-delivery.d.ts +0 -2
  323. package/dist/ugc-delivery.js +0 -4
  324. package/dist/ugc-framing.d.ts +0 -4
  325. package/dist/ugc-framing.js +0 -6
  326. package/dist/ugc-interview.d.ts +0 -18
  327. package/dist/ugc-interview.js +0 -24
  328. package/dist/ugc-layers.d.ts +0 -39
  329. package/dist/ugc-layers.js +0 -39
  330. package/dist/ugc-scenes.d.ts +0 -2
  331. package/dist/ugc-scenes.js +0 -5
  332. package/dist/ugc-video-media.d.ts +0 -5
  333. package/dist/ugc-video-media.js +0 -7
  334. package/dist/uploads.d.ts +0 -14
  335. package/dist/uploads.js +0 -17
  336. package/dist/vendor-response.d.ts +0 -19
  337. package/dist/vendor-response.js +0 -22
  338. package/dist/video-size.d.ts +0 -4
  339. package/dist/video-size.js +0 -7
  340. package/dist/voice-admission.d.ts +0 -11
  341. package/dist/voice-admission.js +0 -13
  342. package/dist/voice-catalog-data.d.ts +0 -2
  343. package/dist/voice-catalog-data.js +0 -3
  344. package/dist/voice-catalog.d.ts +0 -6
  345. package/dist/voice-catalog.js +0 -8
  346. package/dist/voice-listing.d.ts +0 -6
  347. package/dist/voice-listing.js +0 -14
  348. package/dist/voice-pace.d.ts +0 -4
  349. package/dist/voice-pace.js +0 -7
  350. package/dist/voice-preview-approval.js +0 -1
  351. package/dist/voices.d.ts +4 -69
  352. package/dist/voices.js +3 -88
  353. package/dist/workflows/catalog.d.ts +0 -2
  354. package/dist/workflows/catalog.js +0 -4
  355. package/dist/workflows/film-directions.d.ts +0 -3
  356. package/dist/workflows/film-directions.js +0 -4
  357. package/dist/workflows/index.js +0 -1
  358. package/dist/workflows/methods/faceless-explainer.d.ts +31 -0
  359. package/dist/workflows/methods/faceless-explainer.js +0 -1
  360. package/dist/workflows/methods/kinetic-launch.d.ts +62 -1
  361. package/dist/workflows/methods/kinetic-launch.js +0 -2
  362. package/dist/workflows/methods/product-image-story.d.ts +31 -0
  363. package/dist/workflows/methods/product-image-story.js +0 -1
  364. package/dist/workflows/methods/reference-remake.d.ts +31 -0
  365. package/dist/workflows/methods/reference-remake.js +0 -1
  366. package/dist/workflows/methods/shared.d.ts +31 -1
  367. package/dist/workflows/methods/shared.js +0 -3
  368. package/dist/workflows/methods/ugc-faq-answer.d.ts +31 -0
  369. package/dist/workflows/methods/ugc-faq-answer.js +0 -1
  370. package/dist/workflows/methods/ugc-product-intro.d.ts +31 -0
  371. package/dist/workflows/methods/ugc-product-intro.js +0 -1
  372. package/dist/workflows/methods/website-proof-demo.d.ts +62 -1
  373. package/dist/workflows/methods/website-proof-demo.js +0 -2
  374. package/dist/workflows/motion-director.d.ts +0 -11
  375. package/dist/workflows/motion-director.js +0 -11
  376. package/dist/workflows/product-references.js +0 -1
  377. package/dist/workflows/reference-remake.d.ts +114 -17
  378. package/dist/workflows/reference-remake.js +0 -167
  379. package/dist/workflows/remake-chooser.d.ts +0 -6
  380. package/dist/workflows/remake-chooser.js +0 -4
  381. package/dist/workflows/remake-motion.d.ts +0 -16
  382. package/dist/workflows/remake-motion.js +0 -19
  383. package/dist/workflows/validate.d.ts +0 -1
  384. package/dist/workflows/validate.js +0 -5
  385. package/dist/workflows.js +0 -1
  386. package/package.json +1 -1
  387. package/dist/account-actors.js.map +0 -1
  388. package/dist/account.js.map +0 -1
  389. package/dist/actor-bounds.js.map +0 -1
  390. package/dist/actor-qualities.js.map +0 -1
  391. package/dist/actors.js.map +0 -1
  392. package/dist/ad-guide.js.map +0 -1
  393. package/dist/ad-pause-trim.js.map +0 -1
  394. package/dist/api-failure.js.map +0 -1
  395. package/dist/aspect.js.map +0 -1
  396. package/dist/asset-identity.js.map +0 -1
  397. package/dist/assets.js.map +0 -1
  398. package/dist/billing-terms.js.map +0 -1
  399. package/dist/brand-styles.js.map +0 -1
  400. package/dist/broll-policy.js.map +0 -1
  401. package/dist/canvas-fit.js.map +0 -1
  402. package/dist/caption-funnel.js.map +0 -1
  403. package/dist/caption-geometry.js.map +0 -1
  404. package/dist/caption-language.js.map +0 -1
  405. package/dist/contract-dispositions.js.map +0 -1
  406. package/dist/contracts/v1/workflow-brief.js.map +0 -1
  407. package/dist/contracts/v1/workflow-catalog.js.map +0 -1
  408. package/dist/contracts/v1/workflow-client.js.map +0 -1
  409. package/dist/contracts/v1/workflow-dto.js.map +0 -1
  410. package/dist/contracts/v1/workflow-evidence.js.map +0 -1
  411. package/dist/contracts/v1/workflow-execution.js.map +0 -1
  412. package/dist/contracts/v1/workflow-next.js.map +0 -1
  413. package/dist/contracts/v1/workflow-plan.js.map +0 -1
  414. package/dist/contracts/v1/workflow-primitives.js.map +0 -1
  415. package/dist/contracts/v1/workflow-run-read.js.map +0 -1
  416. package/dist/creator-profile.js.map +0 -1
  417. package/dist/default-actor.js.map +0 -1
  418. package/dist/design.js.map +0 -1
  419. package/dist/edit-billing.js.map +0 -1
  420. package/dist/edit-candidate.js.map +0 -1
  421. package/dist/edit-document.js.map +0 -1
  422. package/dist/edit-faceless.js.map +0 -1
  423. package/dist/edit-long-form.js.map +0 -1
  424. package/dist/edit-operations.js.map +0 -1
  425. package/dist/edit-primitives.js.map +0 -1
  426. package/dist/edit-revision.js.map +0 -1
  427. package/dist/edit-rules.js.map +0 -1
  428. package/dist/edit-shots.js.map +0 -1
  429. package/dist/edit-validate.js.map +0 -1
  430. package/dist/edit.js.map +0 -1
  431. package/dist/endpoint-notes.js.map +0 -1
  432. package/dist/endpoints.js.map +0 -1
  433. package/dist/errors.js.map +0 -1
  434. package/dist/explainer-fit.js.map +0 -1
  435. package/dist/face-billing.js.map +0 -1
  436. package/dist/face-delivery.js.map +0 -1
  437. package/dist/faceless-action-shots.js.map +0 -1
  438. package/dist/faceless-customer-anchors.js.map +0 -1
  439. package/dist/faceless-cut-style.js.map +0 -1
  440. package/dist/faceless-direction-summary.js.map +0 -1
  441. package/dist/faceless-image-placement.js.map +0 -1
  442. package/dist/faceless-image-qualification.js.map +0 -1
  443. package/dist/faceless-media-record.js.map +0 -1
  444. package/dist/faceless-price.js.map +0 -1
  445. package/dist/faceless-public-plan.js.map +0 -1
  446. package/dist/faceless-public.js.map +0 -1
  447. package/dist/faceless-short-61.js.map +0 -1
  448. package/dist/faceless-storyboard-timing.js.map +0 -1
  449. package/dist/faceless-storyboard-v2-plan.js.map +0 -1
  450. package/dist/faceless-storyboard-v2-timing.js.map +0 -1
  451. package/dist/faceless-storyboard-v2.js.map +0 -1
  452. package/dist/faceless-storyboard.js.map +0 -1
  453. package/dist/faceless-voices.js.map +0 -1
  454. package/dist/feedback.js.map +0 -1
  455. package/dist/film-directions.js.map +0 -1
  456. package/dist/film-drafts.js.map +0 -1
  457. package/dist/film-guide.js.map +0 -1
  458. package/dist/film-styles.js.map +0 -1
  459. package/dist/generation-shot.js.map +0 -1
  460. package/dist/generations-output.js.map +0 -1
  461. package/dist/generations.js.map +0 -1
  462. package/dist/idempotency.js.map +0 -1
  463. package/dist/index.js.map +0 -1
  464. package/dist/live-shot-kinds.js.map +0 -1
  465. package/dist/long-form-pricing.js.map +0 -1
  466. package/dist/long-form-profile.js.map +0 -1
  467. package/dist/long-form-revision.js.map +0 -1
  468. package/dist/markdown-quote.js.map +0 -1
  469. package/dist/mascots.js.map +0 -1
  470. package/dist/max-credits.js.map +0 -1
  471. package/dist/mcp-ugc-descriptions.js.map +0 -1
  472. package/dist/media-timebase.js.map +0 -1
  473. package/dist/motion-styles.js.map +0 -1
  474. package/dist/moves.js.map +0 -1
  475. package/dist/music.js.map +0 -1
  476. package/dist/naming.js.map +0 -1
  477. package/dist/openapi.js.map +0 -1
  478. package/dist/output-provenance.js.map +0 -1
  479. package/dist/own-agent-price.js.map +0 -1
  480. package/dist/own-agent-runs.js.map +0 -1
  481. package/dist/pacing.js.map +0 -1
  482. package/dist/parts-pricing.js.map +0 -1
  483. package/dist/post-text.js.map +0 -1
  484. package/dist/presenter-beats.js.map +0 -1
  485. package/dist/presenter-matte.js.map +0 -1
  486. package/dist/presenter-takes.js.map +0 -1
  487. package/dist/prices.js.map +0 -1
  488. package/dist/public-endpoints.js.map +0 -1
  489. package/dist/public-responses.js.map +0 -1
  490. package/dist/rate-limit.js.map +0 -1
  491. package/dist/reference-analysis.js.map +0 -1
  492. package/dist/reference-display.js.map +0 -1
  493. package/dist/reference-kinds.js.map +0 -1
  494. package/dist/reference-lyrics.js.map +0 -1
  495. package/dist/reference-profile.js.map +0 -1
  496. package/dist/reference-staging.js.map +0 -1
  497. package/dist/reference-text-spans.js.map +0 -1
  498. package/dist/reference-voice-over.js.map +0 -1
  499. package/dist/reference-voice.js.map +0 -1
  500. package/dist/render-backend.js.map +0 -1
  501. package/dist/resolved-timeline.js.map +0 -1
  502. package/dist/run-media.js.map +0 -1
  503. package/dist/run-preflight.js.map +0 -1
  504. package/dist/run-static-warnings.js.map +0 -1
  505. package/dist/runs.js.map +0 -1
  506. package/dist/scene-bible.js.map +0 -1
  507. package/dist/scene-graph.js.map +0 -1
  508. package/dist/scene-place.js.map +0 -1
  509. package/dist/scene-proposal.js.map +0 -1
  510. package/dist/script-integrity.js.map +0 -1
  511. package/dist/script-voice.js.map +0 -1
  512. package/dist/semantic-inserts.js.map +0 -1
  513. package/dist/skill-theme-explainer.js.map +0 -1
  514. package/dist/skill-theme.js.map +0 -1
  515. package/dist/skills.js.map +0 -1
  516. package/dist/speech-rhythm-contract.js.map +0 -1
  517. package/dist/speech-rhythm.js.map +0 -1
  518. package/dist/templates/backdrop.js.map +0 -1
  519. package/dist/templates/callout.js.map +0 -1
  520. package/dist/templates/chart.js.map +0 -1
  521. package/dist/templates/chat-window.js.map +0 -1
  522. package/dist/templates/checklist.js.map +0 -1
  523. package/dist/templates/comment-cta.js.map +0 -1
  524. package/dist/templates/compare.js.map +0 -1
  525. package/dist/templates/cover-story.js.map +0 -1
  526. package/dist/templates/end-card.js.map +0 -1
  527. package/dist/templates/hand-title.js.map +0 -1
  528. package/dist/templates/index.js.map +0 -1
  529. package/dist/templates/lower-third.js.map +0 -1
  530. package/dist/templates/notification.js.map +0 -1
  531. package/dist/templates/phone-call.js.map +0 -1
  532. package/dist/templates/phone-screen.js.map +0 -1
  533. package/dist/templates/pointer-chips.js.map +0 -1
  534. package/dist/templates/progress.js.map +0 -1
  535. package/dist/templates/quote.js.map +0 -1
  536. package/dist/templates/race.js.map +0 -1
  537. package/dist/templates/rating.js.map +0 -1
  538. package/dist/templates/series-frame.js.map +0 -1
  539. package/dist/templates/size.js.map +0 -1
  540. package/dist/templates/slot.js.map +0 -1
  541. package/dist/templates/sounds.js.map +0 -1
  542. package/dist/templates/stat.js.map +0 -1
  543. package/dist/templates/tag.js.map +0 -1
  544. package/dist/templates/terminal.js.map +0 -1
  545. package/dist/templates/theme.js.map +0 -1
  546. package/dist/templates/title-card.js.map +0 -1
  547. package/dist/templates/video-grid.js.map +0 -1
  548. package/dist/templates/word-fill.js.map +0 -1
  549. package/dist/templates/word-title.js.map +0 -1
  550. package/dist/trend-niches.js.map +0 -1
  551. package/dist/trend-search.js.map +0 -1
  552. package/dist/tts-backend.js.map +0 -1
  553. package/dist/ugc-call.js.map +0 -1
  554. package/dist/ugc-delivery.js.map +0 -1
  555. package/dist/ugc-framing.js.map +0 -1
  556. package/dist/ugc-interview.js.map +0 -1
  557. package/dist/ugc-layers.js.map +0 -1
  558. package/dist/ugc-scenes.js.map +0 -1
  559. package/dist/ugc-video-media.js.map +0 -1
  560. package/dist/uploads.js.map +0 -1
  561. package/dist/vendor-response.js.map +0 -1
  562. package/dist/video-size.js.map +0 -1
  563. package/dist/voice-admission.js.map +0 -1
  564. package/dist/voice-catalog-data.js.map +0 -1
  565. package/dist/voice-catalog.js.map +0 -1
  566. package/dist/voice-listing.js.map +0 -1
  567. package/dist/voice-pace.js.map +0 -1
  568. package/dist/voice-preview-approval.js.map +0 -1
  569. package/dist/voices.js.map +0 -1
  570. package/dist/workflows/catalog.js.map +0 -1
  571. package/dist/workflows/film-directions.js.map +0 -1
  572. package/dist/workflows/index.js.map +0 -1
  573. package/dist/workflows/methods/faceless-explainer.js.map +0 -1
  574. package/dist/workflows/methods/kinetic-launch.js.map +0 -1
  575. package/dist/workflows/methods/product-image-story.js.map +0 -1
  576. package/dist/workflows/methods/reference-remake.js.map +0 -1
  577. package/dist/workflows/methods/shared.js.map +0 -1
  578. package/dist/workflows/methods/ugc-faq-answer.js.map +0 -1
  579. package/dist/workflows/methods/ugc-product-intro.js.map +0 -1
  580. package/dist/workflows/methods/website-proof-demo.js.map +0 -1
  581. package/dist/workflows/motion-director.js.map +0 -1
  582. package/dist/workflows/product-references.js.map +0 -1
  583. package/dist/workflows/reference-remake.js.map +0 -1
  584. package/dist/workflows/remake-chooser.js.map +0 -1
  585. package/dist/workflows/remake-motion.js.map +0 -1
  586. package/dist/workflows/validate.js.map +0 -1
  587. package/dist/workflows.js.map +0 -1
@@ -19,19 +19,16 @@ export const GENERATION_IMAGE_ASPECTS = ["9:16", "16:9", "1:1"];
19
19
  export const GENERATION_VIDEO_ASPECTS = ["9:16", "16:9"];
20
20
  export const GENERATION_RESOLUTIONS = ["360p", "480p", "720p", "1080p"];
21
21
  export const GENERATION_VIDEO_MODES = ["text", "first_frame", "reference"];
22
- /** No model takes a camera parameter, so the run writes it as the prompt's first line (#761). */
23
22
  export const GENERATION_CAMERAS = ["static", "push_in", "pull_back", "pan", "turntable"];
24
23
  const GENERATION_CAMERA_DESCRIPTION = "The camera, written as the prompt's first line: static, push_in, pull_back, pan, or turntable " +
25
24
  "(the camera stays still while the subject turns in place, for a product shot). For a product turntable pass the product's " +
26
25
  "picture as first_frame and again as last_frame, so the clip ends where it began and loops; seedance-2.0-mini makes the " +
27
26
  "full turn, while kling-3.0 given the same last frame barely turns. The price does not depend on it.";
28
- /** The references a model takes unless its capability names more. */
29
27
  export const GENERATION_MAX_REFERENCES = 4;
30
28
  export const GENERATION_VIDEO_FPS = 24;
31
29
  export const GENERATION_PROMPT_MAX_CHARS = 5000;
32
30
  const image = (aspect_ratio, width, height, unit_credits, measured = false) => ({ aspect_ratio, width, height, unit_credits, measured });
33
31
  const H264 = { codec: "h264", pix_fmt: "yuv420p" };
34
- /** Rows in both aspects of one resolution; `measured` holds the aspects probed live on rendered clips. */
35
32
  function video(resolution, short, long, unit_credits, probed, measured = {}, warning) {
36
33
  const extra = warning === undefined ? {} : { warning };
37
34
  return [
@@ -45,87 +42,81 @@ const DRAFT_480P = {
45
42
  "9:16": "480p draft is 496x864 (2.1% off 9:16), as the model renders it; we do not crop it",
46
43
  "16:9": "480p draft is 864x496 (2.0% off 16:9), as the model renders it; we do not crop it",
47
44
  };
48
- /** Seedance 2.0 renders 480p as 496x864 vertical and 864x496 horizontal, as measured. */
49
45
  function draft480p(unit_credits) {
50
46
  return video("480p", 496, 864, unit_credits, H264, { vertical: true, horizontal: true })
51
47
  .map((row) => ({ ...row, warning: DRAFT_480P[row.aspect_ratio] }));
52
48
  }
53
- /** One aspect of a pair changed: a measure that saw only that aspect. */
54
49
  function only(rows, aspect, change) {
55
50
  return rows.map((row) => (row.aspect_ratio === aspect ? { ...row, ...change } : row));
56
51
  }
57
- /** The vertical row of a pair, where the live take with references was made. */
58
52
  const referenceVertical = (rows) => only(rows, "9:16", { reference: true });
59
- /** The one table of models, shapes and prices. */
60
53
  export const GENERATION_CAPABILITIES = deepFreeze({
61
54
  "seedream-5.0-flash": {
62
55
  kind: "image",
63
- rows: [image("9:16", 1440, 2560, 4, true), image("16:9", 2560, 1440, 4, true), image("1:1", 2048, 2048, 4, true)],
56
+ rows: [image("9:16", 1440, 2560, 5, true), image("16:9", 2560, 1440, 5, true), image("1:1", 2048, 2048, 5, true)],
64
57
  },
65
58
  flare: {
66
59
  kind: "image",
67
- rows: [image("9:16", 1008, 1792, 5, true), image("16:9", 1792, 1008, 5), image("1:1", 1024, 1024, 5)],
60
+ rows: [image("9:16", 1008, 1792, 6, true), image("16:9", 1792, 1008, 6), image("1:1", 1024, 1024, 6)],
68
61
  },
69
- // An editor of up to 14 pictures (product, person, place, prop); 9:16 is 0.8% off, inside the 2% match.
70
62
  "gemini-3-pro-image": {
71
63
  kind: "image",
72
64
  max_references: 14,
73
- rows: [image("9:16", 1536, 2752, 30, true), image("16:9", 2752, 1536, 30, true), image("1:1", 2048, 2048, 30, true)],
65
+ rows: [image("9:16", 1536, 2752, 38, true), image("16:9", 2752, 1536, 38, true), image("1:1", 2048, 2048, 38, true)],
74
66
  },
75
67
  "gemini-nano-banana-2.1": {
76
68
  kind: "image",
77
69
  max_references: 14,
78
- rows: [image("9:16", 768, 1376, 16, true), image("16:9", 1376, 768, 16, true), image("1:1", 1024, 1024, 16, true)],
70
+ rows: [image("9:16", 768, 1376, 21, true), image("16:9", 1376, 768, 21, true), image("1:1", 1024, 1024, 21, true)],
79
71
  },
80
72
  "seedance-2.0": {
81
73
  kind: "video",
82
74
  fps: GENERATION_VIDEO_FPS,
83
75
  modes: SEEDANCE_2_0_MODES,
84
76
  duration_s: { min: 4, max: 15 },
85
- rows: [...referenceVertical(draft480p(14)),
86
- ...referenceVertical(video("720p", 720, 1280, 30, H264, { vertical: true, horizontal: true })),
87
- ...video("1080p", 1080, 1920, 75, H264, { vertical: true, horizontal: true })],
77
+ rows: [...referenceVertical(draft480p(18)),
78
+ ...referenceVertical(video("720p", 720, 1280, 38, H264, { vertical: true, horizontal: true })),
79
+ ...video("1080p", 1080, 1920, 94, H264, { vertical: true, horizontal: true })],
88
80
  },
89
81
  "seedance-2.0-mini": {
90
82
  kind: "video",
91
83
  fps: GENERATION_VIDEO_FPS,
92
84
  modes: SEEDANCE_2_0_MODES,
93
85
  duration_s: { min: 4, max: 15 },
94
- rows: [...referenceVertical(draft480p(4)),
95
- ...referenceVertical(video("720p", 720, 1280, 9, H264, { vertical: true, horizontal: true }))],
86
+ rows: [...referenceVertical(draft480p(5)),
87
+ ...referenceVertical(video("720p", 720, 1280, 11, H264, { vertical: true, horizontal: true }))],
96
88
  },
97
89
  "seedance-2.0-fast": {
98
90
  kind: "video",
99
91
  fps: GENERATION_VIDEO_FPS,
100
92
  modes: SEEDANCE_2_0_MODES,
101
93
  duration_s: { min: 4, max: 15 },
102
- rows: [...referenceVertical(draft480p(12)),
103
- ...referenceVertical(video("720p", 720, 1280, 24, H264, { vertical: true, horizontal: true }))],
94
+ rows: [...referenceVertical(draft480p(15)),
95
+ ...referenceVertical(video("720p", 720, 1280, 31, H264, { vertical: true, horizontal: true }))],
104
96
  },
105
97
  "seedance-2.5": {
106
98
  kind: "video",
107
99
  fps: GENERATION_VIDEO_FPS,
108
100
  modes: { text: false, first_frame: true, reference: true },
109
101
  duration_s: { min: 4, max: 30 },
110
- // 2.5 renders a true 480x854.
111
- rows: [...referenceVertical(video("480p", 480, 854, 22, H264, { vertical: true, horizontal: true })),
112
- ...referenceVertical(video("720p", 720, 1280, 46, H264, { vertical: true, horizontal: true })),
113
- ...video("1080p", 1080, 1920, 113, HEVC10, { vertical: true }, "seedance-2.5 at 1080p is HEVC 10-bit (yuv420p10le); some browsers and editors do not play it")],
102
+ rows: [...referenceVertical(video("480p", 480, 854, 26, H264, { vertical: true, horizontal: true })),
103
+ ...referenceVertical(video("720p", 720, 1280, 59, H264, { vertical: true, horizontal: true })),
104
+ ...video("1080p", 1080, 1920, 143, HEVC10, { vertical: true }, "seedance-2.5 at 1080p is HEVC 10-bit (yuv420p10le); some browsers and editors do not play it")],
114
105
  },
115
106
  "kling-3.0": {
116
107
  kind: "video",
117
108
  fps: GENERATION_VIDEO_FPS,
118
109
  modes: { text: true, first_frame: true, reference: true },
119
110
  duration_s: { min: 3, max: 15 },
120
- rows: referenceVertical(video("720p", 720, 1280, 15, H264, { vertical: true, horizontal: true })),
111
+ rows: referenceVertical(video("720p", 720, 1280, 19, H264, { vertical: true, horizontal: true })),
121
112
  },
122
113
  "kling-4.0": {
123
114
  kind: "video",
124
115
  fps: GENERATION_VIDEO_FPS,
125
116
  modes: { text: true, first_frame: true, reference: true },
126
117
  duration_s: { min: 3, max: 30 },
127
- rows: [...referenceVertical(video("720p", 720, 1280, 28, H264, { vertical: true, horizontal: true })),
128
- ...video("1080p", 1080, 1920, 42, H264, { vertical: true, horizontal: true })],
118
+ rows: [...referenceVertical(video("720p", 720, 1280, 36, H264, { vertical: true, horizontal: true })),
119
+ ...video("1080p", 1080, 1920, 53, H264, { vertical: true, horizontal: true })],
129
120
  },
130
121
  "kling-4.0-flash": {
131
122
  kind: "video",
@@ -133,17 +124,16 @@ export const GENERATION_CAPABILITIES = deepFreeze({
133
124
  modes: { text: true, first_frame: true, reference: true },
134
125
  duration_s: { min: 3, max: 20 },
135
126
  last_frame: false,
136
- rows: referenceVertical(video("720p", 720, 1280, 17, H264, { vertical: true, horizontal: true })),
127
+ rows: referenceVertical(video("720p", 720, 1280, 22, H264, { vertical: true, horizontal: true })),
137
128
  },
138
- // 360p 9:16 is not yet seen live.
139
129
  "gemini-omni-flash-1.1": {
140
130
  kind: "video",
141
131
  fps: GENERATION_VIDEO_FPS,
142
132
  modes: { text: true, first_frame: true, reference: true },
143
133
  duration_s: { min: 4, max: 10 },
144
134
  duration_values: [4, 6, 8, 10],
145
- rows: [...only(video("360p", 360, 640, 16, H264), "16:9", { measured: true }),
146
- ...referenceVertical(video("720p", 720, 1280, 16, H264, { vertical: true, horizontal: true }))],
135
+ rows: [...only(video("360p", 360, 640, 20, H264), "16:9", { measured: true }),
136
+ ...referenceVertical(video("720p", 720, 1280, 20, H264, { vertical: true, horizontal: true }))],
147
137
  },
148
138
  "gemini-omni-flash-1.2": {
149
139
  kind: "video",
@@ -151,7 +141,7 @@ export const GENERATION_CAPABILITIES = deepFreeze({
151
141
  modes: { text: true, first_frame: true, reference: true },
152
142
  duration_s: { min: 3, max: 15 },
153
143
  last_frame_max_s: 10,
154
- rows: referenceVertical(video("720p", 720, 1280, 9, H264, { vertical: true, horizontal: true })),
144
+ rows: referenceVertical(video("720p", 720, 1280, 12, H264, { vertical: true, horizontal: true })),
155
145
  },
156
146
  });
157
147
  function deepFreeze(value) {
@@ -162,24 +152,20 @@ function deepFreeze(value) {
162
152
  }
163
153
  return value;
164
154
  }
165
- /** A reference: an own upload with its rights confirmed, a prior image generation, or an own asset (rights given at its creation). */
166
155
  export const generationReference = z.union([
167
156
  z.strictObject({ upload_id: uploadId, rights_confirmed: z.literal(true) }),
168
157
  z.strictObject({ run_id: runId }),
169
158
  z.strictObject({ asset_id: assetId, rights_confirmed: z.literal(true).optional() }),
170
159
  ]);
171
160
  const prompt = z.string().trim().min(1).max(GENERATION_PROMPT_MAX_CHARS);
172
- /** Added to a prompt that works from a reference picture, unless `keep_text` is set (#1248): models redraw a label as garbled letters. */
173
161
  export const GENERATION_NO_TEXT_CLAUSE = "No text, no lettering, no watermark, no logos on the object beyond the reference's plain shapes.";
174
162
  const keepText = z.boolean().optional().describe("Keep the reference's own lettering; by default a no-text line is added to the prompt.");
175
- /** 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). */
176
163
  export function withNoTextClause(promptText, options) {
177
164
  if (!options.hasReference || options.keepText === true || /\bno (?:text|lettering)\b/i.test(promptText))
178
165
  return promptText;
179
166
  return `${promptText}\n${GENERATION_NO_TEXT_CLAUSE}`;
180
167
  }
181
168
  const imageMaxReferences = (model) => GENERATION_CAPABILITIES[model].max_references ?? GENERATION_MAX_REFERENCES;
182
- /** No `visible_ai_label`: an unknown key is refused, never passed to the provenance policy (D12). */
183
169
  export const generateImageRequest = z.strictObject({
184
170
  prompt,
185
171
  keep_text: keepText,
@@ -196,7 +182,6 @@ export const generateImageRequest = z.strictObject({
196
182
  });
197
183
  const SHOT_DESCRIPTION = "The clip as a shot, in place of prompt: framing, subject, start_state, timed beats, camera, light and " +
198
184
  "continuity. Write every field as what the frame shows: a state reads \"her fingertips are clean\", never as an absence.";
199
- /** No audio field: the vendor is always asked for a silent clip. Exactly one of `prompt` and `shot`. */
200
185
  export const generateVideoRequest = z.strictObject({
201
186
  prompt: prompt.optional().describe("What the clip shows, in your words; or pass shot instead."),
202
187
  shot: generationShot.optional().describe(SHOT_DESCRIPTION),
@@ -204,13 +189,11 @@ export const generateVideoRequest = z.strictObject({
204
189
  model: z.enum(GENERATION_VIDEO_MODELS),
205
190
  mode: z.enum(GENERATION_VIDEO_MODES),
206
191
  aspect_ratio: z.enum(GENERATION_VIDEO_ASPECTS),
207
- // Every video model has a measured 720p row in both aspects, so the default always lands on one (#911).
208
192
  resolution: z.enum(GENERATION_RESOLUTIONS).default("720p").describe("The clip's resolution; omitted means 720p. Rows and prices per resolution: list_generation_models."),
209
193
  duration_s: z.number().int().positive().safe(),
210
194
  first_frame: generationReference.optional(),
211
195
  last_frame: generationReference.optional(),
212
196
  references: z.array(generationReference).min(1).max(GENERATION_MAX_REFERENCES).optional(),
213
- /** Compiled into the prompt's first line; the price does not depend on it. */
214
197
  camera: z.enum(GENERATION_CAMERAS).optional().describe(GENERATION_CAMERA_DESCRIPTION),
215
198
  max_credits: maxCreditsField,
216
199
  }).superRefine((request, context) => {
@@ -253,7 +236,6 @@ export const generateVideoRequest = z.strictObject({
253
236
  function isVideoRequest(request) {
254
237
  return GENERATION_VIDEO_MODELS.includes(request.model);
255
238
  }
256
- /** The measured row a request falls on, or `null` for a combination we do not offer or have not measured. */
257
239
  export function findCapabilityRow(request) {
258
240
  if (isVideoRequest(request)) {
259
241
  const capability = GENERATION_CAPABILITIES[request.model];
@@ -275,7 +257,6 @@ export function findCapabilityRow(request) {
275
257
  const row = capability.rows.find((one) => one.aspect_ratio === request.aspect_ratio);
276
258
  return row?.measured ? { kind: "image", model: request.model, capability, row } : null;
277
259
  }
278
- /** The price from the same table: an image is one unit, a clip one unit per requested second. `null` where no row is offered. */
279
260
  export function priceGeneration(request) {
280
261
  const match = findCapabilityRow(request);
281
262
  if (match === null)
@@ -305,14 +286,12 @@ const listedRow = z.strictObject({
305
286
  unit_credits: z.number().int().positive(),
306
287
  reference: z.literal(true).optional().describe("Present on a clip row that takes reference mode; other rows refuse it."),
307
288
  });
308
- /** One offered model: vendors are not named, and only measured modes and rows are shown. */
309
289
  const listedModel = z.strictObject({
310
290
  model: z.string().min(1),
311
291
  kind: z.enum(GENERATION_KINDS),
312
292
  unit: z.enum(["image", "second"]),
313
293
  modes: z.array(z.enum(GENERATION_VIDEO_MODES)).nullable(),
314
294
  duration_s: z.strictObject({ min: z.number().int().positive(), max: z.number().int().positive() }).nullable(),
315
- /** Present when the model takes only these lengths inside `duration_s`. */
316
295
  duration_values: z.array(z.number().int().positive()).min(1).optional(),
317
296
  max_references: z.number().int().nonnegative(),
318
297
  rows: z.array(listedRow).min(1),
@@ -321,7 +300,6 @@ export const generationModels = z.strictObject({
321
300
  models: z.array(listedModel),
322
301
  contract_version: z.string().min(1),
323
302
  });
324
- /** The models list from the table: a model with no measured row, or a video model with no measured mode, is left out. */
325
303
  export function listGenerationModels() {
326
304
  return Object.keys(GENERATION_CAPABILITIES).flatMap((model) => {
327
305
  const capability = GENERATION_CAPABILITIES[model];
@@ -341,4 +319,3 @@ export function listGenerationModels() {
341
319
  max_references: modes.includes("reference") ? GENERATION_MAX_REFERENCES : 0, rows }];
342
320
  });
343
321
  }
344
- //# sourceMappingURL=generations.js.map
@@ -1,48 +1,28 @@
1
1
  import type { OwnAgentSkill } from "./own-agent-price.js";
2
2
  import { type RunVideo } from "./video-size.js";
3
- /** Canonical JSON: object keys sorted, array order kept (order is part of an array's value), */
4
- /** `undefined` dropped. Semantically equal bodies must hash alike, or a retry gets a 409. */
5
3
  export declare function canonicalize(value: unknown): unknown;
6
- /** Hashes the input AFTER zod parsing, defaults filled in: "captions omitted" and */
7
- /** "captions: false" are one request. Hashing the raw body would 409 on extra whitespace. */
8
4
  export declare function requestHash(input: unknown): string;
9
- /** A stored output's measured video size, its delivery proof counted only when its seal matches (#1188). */
10
5
  export declare function measuredRunVideo(finalOutput: unknown): RunVideo | null;
11
- /** Idempotency key from input AND client identity. Parses inside so defaults are filled */
12
- /** before hashing; `clientId` prefixes the hash so clients never share a run. */
13
6
  export declare function idempotencyKeyFor(input: unknown, clientId: string): string;
14
- /** The same key for `create_actor`, with its own schema and defaults: the `make_ugc` */
15
- /** parse would strip every actor field. */
16
7
  export declare function actorIdempotencyKeyFor(input: unknown, clientId: string): string;
17
- /** The key of a revision: the source run and the request, parsed, under the client's prefix. */
18
8
  export declare function revisionIdempotencyKeyFor(sourceRunId: string, request: unknown, clientId: string): string;
19
- /** The key of a shot candidate: the source run and the request with its take, parsed, under the client's prefix. */
20
9
  export declare function candidateIdempotencyKeyFor(sourceRunId: string, request: unknown, clientId: string): string;
21
- /** The key of a single generation: the skill and its request, parsed, under the client's prefix. */
22
10
  export declare function generationIdempotencyKeyFor(skill: "generate_image" | "generate_video", request: unknown, clientId: string): string;
23
- /** The key of an own-agent run (#1337): the client, the skill and its parsed request, so a retry of the same ask is the same run. */
24
11
  export declare function ownAgentIdempotencyKeyFor(skill: OwnAgentSkill, request: unknown, clientId: string): string;
25
- /** What identifies an upload request: the url of an import, the declared file of an intent (`filename` is only a hint). */
26
12
  export declare function uploadRequestIdentity(kind: "import" | "intent", input: unknown): unknown;
27
- /** The key of an import or an intent: its identity under the client's prefix. */
28
13
  export declare function uploadRequestIdempotencyKeyFor(kind: "import" | "intent", input: unknown, clientId: string): string;
29
- /** What identifies an asset creation: role, name and source; inline base64 by its digest, and the confirmation is no part. */
30
- export declare function assetRequestIdentity(input: unknown): unknown;
31
- /** The identity of `POST /v1/assets/bytes`: the picture's digest with its role and name. */
14
+ export declare function assetRequestIdentity(input: unknown, legacy?: boolean): unknown;
32
15
  export declare function assetBytesIdentity(input: {
33
16
  role: string;
34
17
  name: string;
35
18
  sha256: string;
36
19
  analysis_only?: boolean | undefined;
37
20
  }): unknown;
38
- /** The key of `POST /v1/assets/bytes` for these bytes, as the server derives their identity. */
39
21
  export declare function assetBytesIdempotencyKeyFor(input: {
40
22
  role: string;
41
23
  name: string;
42
24
  bytes: Uint8Array;
43
25
  analysis_only?: boolean;
44
26
  }, clientId: string): string;
45
- /** The key of an asset creation: its identity under the client's prefix. */
46
27
  export declare function assetRequestIdempotencyKeyFor(input: unknown, clientId: string): string;
47
- /** The same key for `make_faceless`, parsed by its own union schema. */
48
28
  export declare function facelessIdempotencyKeyFor(input: unknown, clientId: string): string;
@@ -5,15 +5,11 @@ import { candidateRequest } from "./edit-candidate.js";
5
5
  import { revisionRequest } from "./edit-revision.js";
6
6
  import { makeFacelessInput } from "./faceless-public.js";
7
7
  import { generateImageRequest, generateVideoRequest } from "./generations.js";
8
- import { filmHeroInput, filmRenderInput, filmStillsInput, filmVoiceInput } from "./own-agent-runs.js";
8
+ import { filmEditInput, filmHeroInput, filmRenderInput, filmStillsInput, filmVoiceInput, takeCheckInput, takeFramesInput } from "./own-agent-runs.js";
9
9
  import { runId } from "./runs.js";
10
10
  import { measuredVideoSize } from "./video-size.js";
11
11
  import { makeUgcInput } from "./skills.js";
12
12
  import { uploadImportRequest, uploadIntentRequest } from "./uploads.js";
13
- // Request fingerprint and per-client idempotency key. A subpath export, not the barrel:
14
- // `node:crypto` in the barrel would break Next client bundles.
15
- /** Canonical JSON: object keys sorted, array order kept (order is part of an array's value), */
16
- /** `undefined` dropped. Semantically equal bodies must hash alike, or a retry gets a 409. */
17
13
  export function canonicalize(value) {
18
14
  if (Array.isArray(value)) {
19
15
  return value.map(canonicalize);
@@ -30,86 +26,72 @@ export function canonicalize(value) {
30
26
  }
31
27
  return value;
32
28
  }
33
- /** Hashes the input AFTER zod parsing, defaults filled in: "captions omitted" and */
34
- /** "captions: false" are one request. Hashing the raw body would 409 on extra whitespace. */
35
29
  export function requestHash(input) {
36
30
  return createHash("sha256")
37
31
  .update(JSON.stringify(canonicalize(input)))
38
32
  .digest("hex");
39
33
  }
40
- /** A stored output's measured video size, its delivery proof counted only when its seal matches (#1188). */
41
34
  export function measuredRunVideo(finalOutput) {
42
35
  return measuredVideoSize(finalOutput, (proof) => requestHash(proof.record) === proof.record_hash);
43
36
  }
44
- /** Idempotency key from input AND client identity. Parses inside so defaults are filled */
45
- /** before hashing; `clientId` prefixes the hash so clients never share a run. */
46
37
  export function idempotencyKeyFor(input, clientId) {
47
38
  const parsed = makeUgcInput.parse(input);
48
39
  return createHash("sha256")
49
40
  .update(clientId + JSON.stringify(canonicalize(parsed)))
50
41
  .digest("hex");
51
42
  }
52
- /** The same key for `create_actor`, with its own schema and defaults: the `make_ugc` */
53
- /** parse would strip every actor field. */
54
43
  export function actorIdempotencyKeyFor(input, clientId) {
55
44
  const parsed = createActorInput.parse(input);
56
45
  return createHash("sha256")
57
46
  .update(clientId + JSON.stringify(canonicalize(parsed)))
58
47
  .digest("hex");
59
48
  }
60
- /** The key of a revision: the source run and the request, parsed, under the client's prefix. */
61
49
  export function revisionIdempotencyKeyFor(sourceRunId, request, clientId) {
62
50
  const parsed = { source_run_id: runId.parse(sourceRunId), request: revisionRequest.parse(request) };
63
51
  return createHash("sha256")
64
52
  .update(clientId + JSON.stringify(canonicalize(parsed)))
65
53
  .digest("hex");
66
54
  }
67
- /** The key of a shot candidate: the source run and the request with its take, parsed, under the client's prefix. */
68
55
  export function candidateIdempotencyKeyFor(sourceRunId, request, clientId) {
69
56
  const parsed = { source_run_id: runId.parse(sourceRunId), candidate: candidateRequest.parse(request) };
70
57
  return createHash("sha256")
71
58
  .update(clientId + JSON.stringify(canonicalize(parsed)))
72
59
  .digest("hex");
73
60
  }
74
- /** The key of a single generation: the skill and its request, parsed, under the client's prefix. */
75
61
  export function generationIdempotencyKeyFor(skill, request, clientId) {
76
62
  const parsed = { skill, request: skill === "generate_image" ? generateImageRequest.parse(request) : generateVideoRequest.parse(request) };
77
63
  return createHash("sha256")
78
64
  .update(clientId + JSON.stringify(canonicalize(parsed)))
79
65
  .digest("hex");
80
66
  }
81
- /** The key of an own-agent run (#1337): the client, the skill and its parsed request, so a retry of the same ask is the same run. */
82
67
  export function ownAgentIdempotencyKeyFor(skill, request, clientId) {
83
- const schema = skill === "film_stills" ? filmStillsInput : skill === "film_voice" ? filmVoiceInput : skill === "film_hero" ? filmHeroInput : filmRenderInput;
68
+ const schema = skill === "film_stills" ? filmStillsInput : skill === "film_voice" ? filmVoiceInput : skill === "film_hero" ? filmHeroInput
69
+ : skill === "film_edit" ? filmEditInput : skill === "film_take_frames" ? takeFramesInput : skill === "film_take_check" ? takeCheckInput
70
+ : filmRenderInput;
84
71
  return createHash("sha256").update(clientId + JSON.stringify(canonicalize({ skill, request: schema.parse(request) }))).digest("hex");
85
72
  }
86
- /** What identifies an upload request: the url of an import, the declared file of an intent (`filename` is only a hint). */
87
73
  export function uploadRequestIdentity(kind, input) {
88
74
  if (kind === "import")
89
75
  return { kind, url: uploadImportRequest.parse(input).url };
90
76
  const { media_type, bytes, sha256 } = uploadIntentRequest.parse(input);
91
77
  return { kind, media_type, bytes, sha256 };
92
78
  }
93
- /** The key of an import or an intent: its identity under the client's prefix. */
94
79
  export function uploadRequestIdempotencyKeyFor(kind, input, clientId) {
95
80
  return createHash("sha256")
96
81
  .update(clientId + JSON.stringify(canonicalize(uploadRequestIdentity(kind, input))))
97
82
  .digest("hex");
98
83
  }
99
- /** What identifies an asset creation: role, name and source; inline base64 by its digest, and the confirmation is no part. */
100
- export function assetRequestIdentity(input) {
84
+ export function assetRequestIdentity(input, legacy = false) {
101
85
  const { source, role, name, analysis_only } = createAssetRequest.parse(input);
102
- const named = "base64" in source
103
- ? { base64_sha256: createHash("sha256").update(source.base64).digest("hex"), media_type: source.media_type } : source;
104
- // Named only when set, so every key minted before analysis_only stays the same.
86
+ const named = !("base64" in source) ? source : legacy
87
+ ? { base64_sha256: createHash("sha256").update(source.base64).digest("hex"), media_type: source.media_type }
88
+ : { sha256: createHash("sha256").update(Buffer.from(source.base64, "base64")).digest("hex"), media_type: source.media_type };
105
89
  return { kind: "asset", role, name, source: named, ...(analysis_only ? { analysis_only } : {}) };
106
90
  }
107
- /** The identity of `POST /v1/assets/bytes`: the picture's digest with its role and name. */
108
91
  export function assetBytesIdentity(input) {
109
92
  return { kind: "asset_bytes", role: input.role, name: input.name.trim(), sha256: input.sha256,
110
93
  ...(input.analysis_only ? { analysis_only: true } : {}) };
111
94
  }
112
- /** The key of `POST /v1/assets/bytes` for these bytes, as the server derives their identity. */
113
95
  export function assetBytesIdempotencyKeyFor(input, clientId) {
114
96
  const sha256 = createHash("sha256").update(input.bytes).digest("hex");
115
97
  return createHash("sha256")
@@ -117,15 +99,12 @@ export function assetBytesIdempotencyKeyFor(input, clientId) {
117
99
  analysis_only: input.analysis_only }))))
118
100
  .digest("hex");
119
101
  }
120
- /** The key of an asset creation: its identity under the client's prefix. */
121
102
  export function assetRequestIdempotencyKeyFor(input, clientId) {
122
103
  return createHash("sha256").update(clientId + JSON.stringify(canonicalize(assetRequestIdentity(input)))).digest("hex");
123
104
  }
124
- /** The same key for `make_faceless`, parsed by its own union schema. */
125
105
  export function facelessIdempotencyKeyFor(input, clientId) {
126
106
  const parsed = makeFacelessInput.parse(input);
127
107
  return createHash("sha256")
128
108
  .update(clientId + JSON.stringify(canonicalize(parsed)))
129
109
  .digest("hex");
130
110
  }
131
- //# sourceMappingURL=idempotency.js.map
package/dist/index.d.ts CHANGED
@@ -89,6 +89,7 @@ export * from "./scene-proposal.js";
89
89
  export * from "./generations.js";
90
90
  export * from "./generations-output.js";
91
91
  export * from "./reference-profile.js";
92
+ export * from "./reference-bring.js";
92
93
  export * from "./reference-lyrics.js";
93
94
  export * from "./caption-funnel.js";
94
95
  export * from "./reference-voice-over.js";
package/dist/index.js CHANGED
@@ -33,62 +33,35 @@ export * from "./mascots.js";
33
33
  export * from "./faceless-price.js";
34
34
  export * from "./explainer-fit.js";
35
35
  export * from "./actors.js";
36
- // Personal actors of an account: input and result of the `create_actor` skill.
37
36
  export * from "./account-actors.js";
38
- // The disposition registry imports the shape from skills.js one way, so there is no cycle.
39
- // MakeUgcInputArgs comes from here, derived from the offered shape, not the full one.
40
37
  export * from "./contract-dispositions.js";
41
- // Format resolver: pure functions, no network; imports ASPECT_RATIOS from skills.js one way.
42
38
  export * from "./aspect.js";
43
- // The actor is its own module: `aspect.js` re-exports the frame source from it.
44
39
  export * from "./default-actor.js";
45
40
  export * from "./voices.js";
46
41
  export * from "./voice-catalog.js";
47
42
  export * from "./runs.js";
48
43
  export * from "./post-text.js";
49
- // The delivered video's measured size and its short name (720p, 1080p, 4K).
50
44
  export * from "./video-size.js";
51
- // Refusal bodies: the error shape is contract too, and once a 402 carries numbers it no
52
- // longer follows from the status code.
53
45
  export * from "./errors.js";
54
46
  export * from "./max-credits.js";
55
47
  export * from "./script-integrity.js";
56
- // Rate limit: the 429 shape and header names, the same kind of contract as the refusal
57
- // bodies above.
58
48
  export * from "./rate-limit.js";
59
- // Failure parsing: what to DO with the bodies above. In core so SDK, MCP and CLI share
60
- // one retry decision.
61
49
  export * from "./api-failure.js";
62
50
  export * from "./account.js";
63
- // Image upload for `image`: response contract, caps, type probe.
64
51
  export * from "./uploads.js";
65
- // Account assets (clipwright#724 F2): kept until deleted, under a cap per account.
66
52
  export * from "./assets.js";
67
- // A customer's delete of a finished run's files (#1093).
68
53
  export * from "./run-media.js";
69
54
  export * from "./pacing.js";
70
- // Vendor-neutral contracts: everything vendor-specific lives in adapters, not here.
71
55
  export * from "./render-backend.js";
72
56
  export * from "./tts-backend.js";
73
- // Implementations of both contracts above mark errors with the response status, if any;
74
- // without it "the vendor refused" and "no response" look the same.
75
57
  export * from "./vendor-response.js";
76
- // Public addresses and package names, printed by the SDK, docs and landing page, so a
77
- // mismatch is seen by visitors, not tests.
78
58
  export * from "./public-endpoints.js";
79
- // API routes and their price: checked against `app.routes`, printed by the quickstart.
80
59
  export * from "./endpoints.js";
81
- // One sentence per route, shared by `/docs` and `/openapi.json`.
82
60
  export * from "./endpoint-notes.js";
83
61
  export * from "./public-responses.js";
84
- // The public price list (#927): derived from the constants billing charges by.
85
62
  export * from "./prices.js";
86
- // Feedback from an agent (#941): free, into the support queue.
87
63
  export * from "./feedback.js";
88
- // A run's static warnings are derived from its stored input: one answer for the API
89
- // and the dashboard in any run state.
90
64
  export * from "./run-static-warnings.js";
91
- // Preflight outcomes that cannot be derived: the durable fact shape.
92
65
  export * from "./run-preflight.js";
93
66
  export * from "./speech-rhythm.js";
94
67
  export * from "./broll-policy.js";
@@ -116,6 +89,7 @@ export * from "./scene-proposal.js";
116
89
  export * from "./generations.js";
117
90
  export * from "./generations-output.js";
118
91
  export * from "./reference-profile.js";
92
+ export * from "./reference-bring.js";
119
93
  export * from "./reference-lyrics.js";
120
94
  export * from "./caption-funnel.js";
121
95
  export * from "./reference-voice-over.js";
@@ -129,4 +103,3 @@ export * from "./creator-profile.js";
129
103
  export * from "./trend-search.js";
130
104
  export * from "./trend-niches.js";
131
105
  export * from "./presenter-beats.js";
132
- //# sourceMappingURL=index.js.map
@@ -1,24 +1,17 @@
1
1
  import { type AnchoredItem } from "./ugc-layers.js";
2
- /** Live shots (#1103): what the actor does on some words of the script, drawn by the engine of the shot's kind. */
3
2
  export declare const LIVE_SHOT_KINDS: readonly ["talking", "talking_action", "action"];
4
3
  export type LiveShotKind = (typeof LIVE_SHOT_KINDS)[number];
5
- /** The look of the cuts into and out of a live shot (#1129); whoosh is a cut with the whoosh sound. */
6
4
  export declare const LIVE_SHOT_TRANSITIONS: readonly ["cut", "flash", "light_leak", "whoosh"];
7
5
  export type LiveShotTransition = (typeof LIVE_SHOT_TRANSITIONS)[number];
8
- /** Where a live shot's product sits (#1146): in the actor's hand or beside them. */
9
6
  export declare const LIVE_SHOT_PRODUCT_PLACEMENTS: readonly ["hand", "beside"];
10
7
  export type LiveShotProductPlacement = (typeof LIVE_SHOT_PRODUCT_PLACEMENTS)[number];
11
- /** How much wider than the actor's view a shot's first frame is drawn (#1175 S7): waist-up with the hands, or head to feet. */
12
8
  export declare const LIVE_SHOT_FRAMINGS: readonly ["wide", "full"];
13
9
  export type LiveShotFraming = (typeof LIVE_SHOT_FRAMINGS)[number];
14
- /** A shot's product placement: `true` is the hand, as before #1146; absent or `false` shows no product. */
15
10
  export declare function liveShotProductPlacement(shot: {
16
11
  product?: boolean | {
17
12
  placement: LiveShotProductPlacement;
18
13
  } | undefined;
19
14
  }): LiveShotProductPlacement | undefined;
20
- /** A talking shot with a pose (#1536): it names its first frame, its place or the product, and starts from its own picture as a talking_action */
21
- /** shot does. A talking shot that names none of them is the presenter as before. */
22
15
  export declare function talkingPose(shot: {
23
16
  kind: LiveShotKind;
24
17
  start?: string | undefined;
@@ -27,7 +20,6 @@ export declare function talkingPose(shot: {
27
20
  placement: LiveShotProductPlacement;
28
21
  } | undefined;
29
22
  }): boolean;
30
- /** Whether an action's words take the product out of somewhere: a bag, a box, a shelf, its packaging. */
31
23
  export declare function fetchesProduct(action: string): boolean;
32
24
  type FetchShot = {
33
25
  kind: LiveShotKind;
@@ -37,22 +29,14 @@ type FetchShot = {
37
29
  placement: LiveShotProductPlacement;
38
30
  } | undefined;
39
31
  };
40
- /** A shot whose product goes in the hand by its own free action: it starts with empty hands. A shot written beat by beat says its own start. */
41
32
  export declare function liveShotFetchesProduct(shot: FetchShot): boolean;
42
- /** One `warnings[]` line per such shot, as the quote and the run say it. */
43
33
  export declare function fetchedProductWarnings(shots: readonly (FetchShot & {
44
34
  id: string;
45
35
  })[]): string[];
46
- /** A run admitted from #1521 on stores this beside its input: its talking_action shots between the edges may be hands under the voice-over. */
47
36
  export declare const TALKING_ACTION_VOICE_OVER: "voice_over";
48
- /** Whether a stored run's talking_action shots follow that rule; a run stored without the mark keeps the take it was admitted with. */
49
37
  export declare function talkingActionVoiceOver(storedInput: unknown): boolean;
50
- /** Whether a stored run's edited first frames take the product from one product sheet (#1536 S2); a run stored without the mark keeps the photo. */
51
38
  export declare function productSheetMarked(storedInput: unknown): boolean;
52
- /** Whether a stored run's posed talking and talking_action takes lip-sync our audio from their first frame and follow its motion prompt */
53
- /** (#1543); a run stored without the mark keeps the takes it was admitted with. */
54
39
  export declare function lipsyncMotionMarked(storedInput: unknown): boolean;
55
- /** The shots that mark asks for: a talking shot with a pose (#1536) or a talking_action shot. A plain talking shot stays the presenter. */
56
40
  export declare function lipsyncMotionShot(shot: {
57
41
  kind: LiveShotKind;
58
42
  start?: string | undefined;
@@ -68,30 +52,37 @@ type InsertShot = AnchoredItem & {
68
52
  } | undefined;
69
53
  cast?: readonly unknown[] | undefined;
70
54
  };
71
- /** The talking_action shots drawn as a close-up of the hands with the product while their words play as voice-over (#1521): those between the */
72
- /** script's first and last sentence that hold the product, with nobody beside the presenter. The others keep the presenter talking. */
73
55
  export declare function handsInsertShots(script: string, shots: readonly InsertShot[]): Set<string>;
74
- /** The silent shots a run draws on Gemini Omni 1.2 (#1535): every action shot, and every talking_action hands insert. */
75
56
  export declare function omniShotIds(script: string, shots: readonly (InsertShot & {
76
57
  id: string;
77
58
  })[]): Set<string>;
78
- /** Whether a stored run draws those shots on Gemini Omni 1.2 (#1535); a run stored without the mark keeps the takes it was admitted with. */
79
59
  export declare function omniShotsMarked(storedInput: unknown): boolean;
80
- /** One `warnings[]` line per such shot, as the quote and the run say it. */
60
+ export declare function seedanceShotIds(input: {
61
+ script?: string | undefined;
62
+ shots?: readonly (InsertShot & {
63
+ id: string;
64
+ })[] | undefined;
65
+ omni_shots?: true | undefined;
66
+ seedance_shots?: readonly string[] | undefined;
67
+ }): Set<string>;
68
+ export declare const shotNamesPrint: (shot: {
69
+ start?: string | undefined;
70
+ action?: string | undefined;
71
+ }) => boolean;
72
+ export declare function seedanceShotModels(input: Parameters<typeof seedanceShotIds>[0] & {
73
+ seedance_no_text_shots?: readonly string[] | undefined;
74
+ resolution?: string | undefined;
75
+ }): Map<string, "seedance" | "seedance_no_text">;
81
76
  export declare function voiceOverShotWarnings(script: string, shots: readonly InsertShot[]): string[];
82
- /** The most people a live shot's cast adds beside the actor (#1192). */
83
77
  export declare const MAX_SHOT_CAST = 3;
84
78
  export declare const CAST_INSERT_ID = "cast";
85
- /** A cast picture's key in a run: one per picture. */
86
79
  export declare function castSlotOf(assetId: string): string;
87
- /** Who a shot's cast is, in order: shots of one setup share one first frame, so they name one cast. */
88
80
  export declare function liveShotCastKey(shot: {
89
81
  cast?: readonly {
90
82
  asset_id: string;
91
83
  role: string;
92
84
  }[] | undefined;
93
85
  }): string;
94
- /** The place a shot is drawn in, one per distinct setup; shots without one share the actor's own photo setting (""). */
95
86
  export declare function liveShotSetupKey(shot: {
96
87
  setup?: string | undefined;
97
88
  }): string;