@clipwright/core 0.47.0 → 0.49.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 (95) hide show
  1. package/dist/contract-dispositions.d.ts +163 -42
  2. package/dist/contract-dispositions.js +3 -2
  3. package/dist/contract-dispositions.js.map +1 -1
  4. package/dist/contracts/v1/workflow-brief.d.ts +474 -98
  5. package/dist/contracts/v1/workflow-brief.js +9 -1
  6. package/dist/contracts/v1/workflow-brief.js.map +1 -1
  7. package/dist/contracts/v1/workflow-catalog.d.ts +474 -98
  8. package/dist/contracts/v1/workflow-client.d.ts +253 -49
  9. package/dist/contracts/v1/workflow-client.js +2 -1
  10. package/dist/contracts/v1/workflow-client.js.map +1 -1
  11. package/dist/contracts/v1/workflow-execution.d.ts +16 -0
  12. package/dist/contracts/v1/workflow-next.d.ts +8 -0
  13. package/dist/contracts/v1/workflow-plan.d.ts +710 -147
  14. package/dist/contracts/v1/workflow-run-read.d.ts +4 -0
  15. package/dist/endpoints.js +21 -0
  16. package/dist/endpoints.js.map +1 -1
  17. package/dist/errors.d.ts +1 -1
  18. package/dist/errors.js +8 -0
  19. package/dist/errors.js.map +1 -1
  20. package/dist/faceless-price.d.ts +34 -1
  21. package/dist/faceless-price.js +19 -3
  22. package/dist/faceless-price.js.map +1 -1
  23. package/dist/faceless-public.d.ts +217 -51
  24. package/dist/faceless-public.js +64 -15
  25. package/dist/faceless-public.js.map +1 -1
  26. package/dist/faceless-voices.d.ts +5 -1
  27. package/dist/faceless-voices.js +18 -4
  28. package/dist/faceless-voices.js.map +1 -1
  29. package/dist/film-drafts.d.ts +251 -0
  30. package/dist/film-drafts.js +92 -0
  31. package/dist/film-drafts.js.map +1 -0
  32. package/dist/film-guide.d.ts +74 -0
  33. package/dist/film-guide.js +42 -0
  34. package/dist/film-guide.js.map +1 -0
  35. package/dist/film-styles.d.ts +109 -0
  36. package/dist/film-styles.js +29 -0
  37. package/dist/film-styles.js.map +1 -0
  38. package/dist/generation-shot.d.ts +100 -0
  39. package/dist/generation-shot.js +129 -0
  40. package/dist/generation-shot.js.map +1 -0
  41. package/dist/generations.d.ts +69 -3
  42. package/dist/generations.js +37 -3
  43. package/dist/generations.js.map +1 -1
  44. package/dist/idempotency.d.ts +3 -0
  45. package/dist/idempotency.js +6 -0
  46. package/dist/idempotency.js.map +1 -1
  47. package/dist/index.d.ts +9 -0
  48. package/dist/index.js +9 -0
  49. package/dist/index.js.map +1 -1
  50. package/dist/openapi.js +14 -0
  51. package/dist/openapi.js.map +1 -1
  52. package/dist/own-agent-price.d.ts +53 -0
  53. package/dist/own-agent-price.js +67 -0
  54. package/dist/own-agent-price.js.map +1 -0
  55. package/dist/own-agent-runs.d.ts +186 -0
  56. package/dist/own-agent-runs.js +110 -0
  57. package/dist/own-agent-runs.js.map +1 -0
  58. package/dist/prices.js +27 -14
  59. package/dist/prices.js.map +1 -1
  60. package/dist/reference-lyrics.d.ts +47 -0
  61. package/dist/reference-lyrics.js +39 -0
  62. package/dist/reference-lyrics.js.map +1 -0
  63. package/dist/resolved-timeline.d.ts +3 -3
  64. package/dist/run-static-warnings.js +3 -1
  65. package/dist/run-static-warnings.js.map +1 -1
  66. package/dist/scene-place.d.ts +5 -2
  67. package/dist/scene-place.js +8 -2
  68. package/dist/scene-place.js.map +1 -1
  69. package/dist/skill-theme-explainer.d.ts +2 -0
  70. package/dist/skill-theme-explainer.js +64 -0
  71. package/dist/skill-theme-explainer.js.map +1 -0
  72. package/dist/skill-theme.d.ts +161 -0
  73. package/dist/skill-theme.js +274 -0
  74. package/dist/skill-theme.js.map +1 -0
  75. package/dist/skills.d.ts +745 -120
  76. package/dist/skills.js +47 -15
  77. package/dist/skills.js.map +1 -1
  78. package/dist/ugc-scenes.d.ts +9 -4
  79. package/dist/ugc-scenes.js +27 -3
  80. package/dist/ugc-scenes.js.map +1 -1
  81. package/dist/voice-admission.d.ts +233 -47
  82. package/dist/workflows/methods/faceless-explainer.d.ts +162 -55
  83. package/dist/workflows/methods/kinetic-launch.d.ts +162 -55
  84. package/dist/workflows/methods/product-image-story.d.ts +162 -55
  85. package/dist/workflows/methods/reference-remake.d.ts +162 -55
  86. package/dist/workflows/methods/shared.d.ts +162 -55
  87. package/dist/workflows/methods/ugc-faq-answer.d.ts +162 -55
  88. package/dist/workflows/methods/ugc-product-intro.d.ts +162 -55
  89. package/dist/workflows/methods/website-proof-demo.d.ts +162 -55
  90. package/dist/workflows/reference-remake.d.ts +57 -0
  91. package/dist/workflows/reference-remake.js +139 -11
  92. package/dist/workflows/reference-remake.js.map +1 -1
  93. package/dist/workflows/validate.js +1 -1
  94. package/dist/workflows/validate.js.map +1 -1
  95. package/package.json +1 -1
@@ -1677,6 +1677,39 @@ export declare const ugcProductIntro: {
1677
1677
  brief: string;
1678
1678
  text?: string | undefined;
1679
1679
  colors?: string[] | undefined;
1680
+ place?: {
1681
+ fit?: "contain" | "cover" | undefined;
1682
+ allow_face?: true | undefined;
1683
+ relative_to: "captions" | "face" | {
1684
+ layer: string;
1685
+ };
1686
+ side: "above" | "below" | "left" | "over" | "right";
1687
+ gap?: number | undefined;
1688
+ align?: "center" | "end" | "start" | undefined;
1689
+ width?: number | undefined;
1690
+ height?: number | undefined;
1691
+ size_unit?: "face" | "frame" | undefined;
1692
+ } | {
1693
+ fit?: "contain" | "cover" | undefined;
1694
+ allow_face?: true | undefined;
1695
+ relative_to: "frame";
1696
+ rect: {
1697
+ left: number;
1698
+ top: number;
1699
+ width: number;
1700
+ height: number;
1701
+ };
1702
+ } | {
1703
+ fit?: "contain" | "cover" | undefined;
1704
+ allow_face?: true | undefined;
1705
+ relative_to: "face";
1706
+ rect: {
1707
+ left: number;
1708
+ top: number;
1709
+ width: number;
1710
+ height: number;
1711
+ };
1712
+ } | undefined;
1680
1713
  }[] | undefined;
1681
1714
  presenter_gaze?: {
1682
1715
  anchor: {
@@ -1712,6 +1745,44 @@ export declare const ugcProductIntro: {
1712
1745
  action?: string | undefined;
1713
1746
  }[] | undefined;
1714
1747
  transition?: "cut" | "flash" | "light_leak" | "whoosh" | undefined;
1748
+ shot?: {
1749
+ framing: {
1750
+ size: "close_up" | "extreme_close_up" | "full" | "medium" | "medium_close_up" | "wide";
1751
+ angle?: "eye_level" | "high" | "low" | "overhead" | undefined;
1752
+ lens_mm?: number | undefined;
1753
+ depth?: "deep" | "shallow" | undefined;
1754
+ };
1755
+ subject: {
1756
+ label: string;
1757
+ fixed: string[];
1758
+ objects?: {
1759
+ name: string;
1760
+ count: number;
1761
+ at_start: string;
1762
+ }[] | undefined;
1763
+ };
1764
+ start_state: string;
1765
+ beats: {
1766
+ from_s: number;
1767
+ to_s: number;
1768
+ action: string;
1769
+ end_state: string;
1770
+ objects?: string[] | undefined;
1771
+ }[];
1772
+ camera: {
1773
+ move: "handheld" | "pan" | "pull_back" | "push_in" | "static";
1774
+ speed?: "medium" | "slow" | undefined;
1775
+ };
1776
+ light: {
1777
+ key: string;
1778
+ direction?: string | undefined;
1779
+ };
1780
+ continuity: {
1781
+ persistent: string[];
1782
+ end_state: string;
1783
+ continues_from?: string | undefined;
1784
+ };
1785
+ } | undefined;
1715
1786
  }[] | undefined;
1716
1787
  caption_emphasis?: (string | {
1717
1788
  quote: string;
@@ -1724,61 +1795,6 @@ export declare const ugcProductIntro: {
1724
1795
  input: {
1725
1796
  duration_seconds: number;
1726
1797
  style_reference?: string | undefined;
1727
- character_reference?: string | undefined;
1728
- character_details?: string | undefined;
1729
- mascot_id?: string | undefined;
1730
- scene_images?: {
1731
- image_url: string;
1732
- anchor: {
1733
- startWord: number;
1734
- endWord: number;
1735
- } | {
1736
- quote: string;
1737
- occurrence?: number | undefined;
1738
- };
1739
- }[] | undefined;
1740
- captions: boolean;
1741
- voice?: string | undefined;
1742
- voice_id?: undefined;
1743
- edit_sounds?: boolean | undefined;
1744
- template_sounds?: false | {
1745
- flash?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
1746
- whoosh?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
1747
- edit?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
1748
- } | undefined;
1749
- music?: "auto" | {
1750
- mood: string;
1751
- } | undefined;
1752
- motion_style?: {
1753
- style?: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine" | undefined;
1754
- spans?: {
1755
- style: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine";
1756
- anchor: {
1757
- startWord: number;
1758
- endWord: number;
1759
- } | {
1760
- quote: string;
1761
- occurrence?: number | undefined;
1762
- };
1763
- cover_words?: number | undefined;
1764
- }[] | undefined;
1765
- } | undefined;
1766
- format?: "explainer" | "standard" | undefined;
1767
- input_mode: "brief";
1768
- brief: string;
1769
- transitions?: false | {
1770
- look: "flash" | "light_leak";
1771
- at: "scene_changes";
1772
- } | undefined;
1773
- templates?: undefined;
1774
- shots?: undefined;
1775
- scenes?: undefined;
1776
- moves?: undefined;
1777
- pause_trim?: undefined;
1778
- } | {
1779
- duration_seconds: number;
1780
- style_reference?: string | undefined;
1781
- character_reference?: string | undefined;
1782
1798
  character_details?: string | undefined;
1783
1799
  mascot_id?: string | undefined;
1784
1800
  scene_images?: {
@@ -1818,6 +1834,7 @@ export declare const ugcProductIntro: {
1818
1834
  }[] | undefined;
1819
1835
  } | undefined;
1820
1836
  format?: "explainer" | "standard" | undefined;
1837
+ tier?: "pro" | "standard" | undefined;
1821
1838
  input_mode: "script";
1822
1839
  transitions?: false | {
1823
1840
  look: "flash" | "light_leak";
@@ -3154,6 +3171,39 @@ export declare const ugcProductIntro: {
3154
3171
  brief: string;
3155
3172
  text?: string | undefined;
3156
3173
  colors?: string[] | undefined;
3174
+ place?: {
3175
+ fit?: "contain" | "cover" | undefined;
3176
+ allow_face?: true | undefined;
3177
+ relative_to: "captions" | "face" | {
3178
+ layer: string;
3179
+ };
3180
+ side: "above" | "below" | "left" | "over" | "right";
3181
+ gap?: number | undefined;
3182
+ align?: "center" | "end" | "start" | undefined;
3183
+ width?: number | undefined;
3184
+ height?: number | undefined;
3185
+ size_unit?: "face" | "frame" | undefined;
3186
+ } | {
3187
+ fit?: "contain" | "cover" | undefined;
3188
+ allow_face?: true | undefined;
3189
+ relative_to: "frame";
3190
+ rect: {
3191
+ left: number;
3192
+ top: number;
3193
+ width: number;
3194
+ height: number;
3195
+ };
3196
+ } | {
3197
+ fit?: "contain" | "cover" | undefined;
3198
+ allow_face?: true | undefined;
3199
+ relative_to: "face";
3200
+ rect: {
3201
+ left: number;
3202
+ top: number;
3203
+ width: number;
3204
+ height: number;
3205
+ };
3206
+ } | undefined;
3157
3207
  }[] | undefined;
3158
3208
  moves?: {
3159
3209
  name: string;
@@ -3171,6 +3221,62 @@ export declare const ugcProductIntro: {
3171
3221
  mid_phrase_s?: number | undefined;
3172
3222
  } | undefined;
3173
3223
  script: string;
3224
+ character_reference?: string | undefined;
3225
+ } | {
3226
+ duration_seconds: number;
3227
+ style_reference?: string | undefined;
3228
+ character_details?: string | undefined;
3229
+ mascot_id?: string | undefined;
3230
+ scene_images?: {
3231
+ image_url: string;
3232
+ anchor: {
3233
+ startWord: number;
3234
+ endWord: number;
3235
+ } | {
3236
+ quote: string;
3237
+ occurrence?: number | undefined;
3238
+ };
3239
+ }[] | undefined;
3240
+ captions: boolean;
3241
+ voice?: string | undefined;
3242
+ voice_id?: undefined;
3243
+ edit_sounds?: boolean | undefined;
3244
+ template_sounds?: false | {
3245
+ flash?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
3246
+ whoosh?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
3247
+ edit?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
3248
+ } | undefined;
3249
+ music?: "auto" | {
3250
+ mood: string;
3251
+ } | undefined;
3252
+ motion_style?: {
3253
+ style?: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine" | undefined;
3254
+ spans?: {
3255
+ style: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine";
3256
+ anchor: {
3257
+ startWord: number;
3258
+ endWord: number;
3259
+ } | {
3260
+ quote: string;
3261
+ occurrence?: number | undefined;
3262
+ };
3263
+ cover_words?: number | undefined;
3264
+ }[] | undefined;
3265
+ } | undefined;
3266
+ format?: "explainer" | "standard" | undefined;
3267
+ tier?: "pro" | "standard" | undefined;
3268
+ input_mode: "brief";
3269
+ brief: string;
3270
+ transitions?: false | {
3271
+ look: "flash" | "light_leak";
3272
+ at: "scene_changes";
3273
+ } | undefined;
3274
+ templates?: undefined;
3275
+ shots?: undefined;
3276
+ scenes?: undefined;
3277
+ moves?: undefined;
3278
+ pause_trim?: undefined;
3279
+ character_reference?: string | undefined;
3174
3280
  };
3175
3281
  } | undefined;
3176
3282
  references: {
@@ -3553,6 +3659,7 @@ export declare const ugcProductIntro: {
3553
3659
  move_warnings?: string[] | undefined;
3554
3660
  voice_warnings?: string[] | undefined;
3555
3661
  review_notes?: string[] | undefined;
3662
+ review_warnings?: string[] | undefined;
3556
3663
  };
3557
3664
  beats: {
3558
3665
  id: string;
@@ -1677,6 +1677,39 @@ export declare const websiteProofDemo: {
1677
1677
  brief: string;
1678
1678
  text?: string | undefined;
1679
1679
  colors?: string[] | undefined;
1680
+ place?: {
1681
+ fit?: "contain" | "cover" | undefined;
1682
+ allow_face?: true | undefined;
1683
+ relative_to: "captions" | "face" | {
1684
+ layer: string;
1685
+ };
1686
+ side: "above" | "below" | "left" | "over" | "right";
1687
+ gap?: number | undefined;
1688
+ align?: "center" | "end" | "start" | undefined;
1689
+ width?: number | undefined;
1690
+ height?: number | undefined;
1691
+ size_unit?: "face" | "frame" | undefined;
1692
+ } | {
1693
+ fit?: "contain" | "cover" | undefined;
1694
+ allow_face?: true | undefined;
1695
+ relative_to: "frame";
1696
+ rect: {
1697
+ left: number;
1698
+ top: number;
1699
+ width: number;
1700
+ height: number;
1701
+ };
1702
+ } | {
1703
+ fit?: "contain" | "cover" | undefined;
1704
+ allow_face?: true | undefined;
1705
+ relative_to: "face";
1706
+ rect: {
1707
+ left: number;
1708
+ top: number;
1709
+ width: number;
1710
+ height: number;
1711
+ };
1712
+ } | undefined;
1680
1713
  }[] | undefined;
1681
1714
  presenter_gaze?: {
1682
1715
  anchor: {
@@ -1712,6 +1745,44 @@ export declare const websiteProofDemo: {
1712
1745
  action?: string | undefined;
1713
1746
  }[] | undefined;
1714
1747
  transition?: "cut" | "flash" | "light_leak" | "whoosh" | undefined;
1748
+ shot?: {
1749
+ framing: {
1750
+ size: "close_up" | "extreme_close_up" | "full" | "medium" | "medium_close_up" | "wide";
1751
+ angle?: "eye_level" | "high" | "low" | "overhead" | undefined;
1752
+ lens_mm?: number | undefined;
1753
+ depth?: "deep" | "shallow" | undefined;
1754
+ };
1755
+ subject: {
1756
+ label: string;
1757
+ fixed: string[];
1758
+ objects?: {
1759
+ name: string;
1760
+ count: number;
1761
+ at_start: string;
1762
+ }[] | undefined;
1763
+ };
1764
+ start_state: string;
1765
+ beats: {
1766
+ from_s: number;
1767
+ to_s: number;
1768
+ action: string;
1769
+ end_state: string;
1770
+ objects?: string[] | undefined;
1771
+ }[];
1772
+ camera: {
1773
+ move: "handheld" | "pan" | "pull_back" | "push_in" | "static";
1774
+ speed?: "medium" | "slow" | undefined;
1775
+ };
1776
+ light: {
1777
+ key: string;
1778
+ direction?: string | undefined;
1779
+ };
1780
+ continuity: {
1781
+ persistent: string[];
1782
+ end_state: string;
1783
+ continues_from?: string | undefined;
1784
+ };
1785
+ } | undefined;
1715
1786
  }[] | undefined;
1716
1787
  caption_emphasis?: (string | {
1717
1788
  quote: string;
@@ -1724,61 +1795,6 @@ export declare const websiteProofDemo: {
1724
1795
  input: {
1725
1796
  duration_seconds: number;
1726
1797
  style_reference?: string | undefined;
1727
- character_reference?: string | undefined;
1728
- character_details?: string | undefined;
1729
- mascot_id?: string | undefined;
1730
- scene_images?: {
1731
- image_url: string;
1732
- anchor: {
1733
- startWord: number;
1734
- endWord: number;
1735
- } | {
1736
- quote: string;
1737
- occurrence?: number | undefined;
1738
- };
1739
- }[] | undefined;
1740
- captions: boolean;
1741
- voice?: string | undefined;
1742
- voice_id?: undefined;
1743
- edit_sounds?: boolean | undefined;
1744
- template_sounds?: false | {
1745
- flash?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
1746
- whoosh?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
1747
- edit?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
1748
- } | undefined;
1749
- music?: "auto" | {
1750
- mood: string;
1751
- } | undefined;
1752
- motion_style?: {
1753
- style?: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine" | undefined;
1754
- spans?: {
1755
- style: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine";
1756
- anchor: {
1757
- startWord: number;
1758
- endWord: number;
1759
- } | {
1760
- quote: string;
1761
- occurrence?: number | undefined;
1762
- };
1763
- cover_words?: number | undefined;
1764
- }[] | undefined;
1765
- } | undefined;
1766
- format?: "explainer" | "standard" | undefined;
1767
- input_mode: "brief";
1768
- brief: string;
1769
- transitions?: false | {
1770
- look: "flash" | "light_leak";
1771
- at: "scene_changes";
1772
- } | undefined;
1773
- templates?: undefined;
1774
- shots?: undefined;
1775
- scenes?: undefined;
1776
- moves?: undefined;
1777
- pause_trim?: undefined;
1778
- } | {
1779
- duration_seconds: number;
1780
- style_reference?: string | undefined;
1781
- character_reference?: string | undefined;
1782
1798
  character_details?: string | undefined;
1783
1799
  mascot_id?: string | undefined;
1784
1800
  scene_images?: {
@@ -1818,6 +1834,7 @@ export declare const websiteProofDemo: {
1818
1834
  }[] | undefined;
1819
1835
  } | undefined;
1820
1836
  format?: "explainer" | "standard" | undefined;
1837
+ tier?: "pro" | "standard" | undefined;
1821
1838
  input_mode: "script";
1822
1839
  transitions?: false | {
1823
1840
  look: "flash" | "light_leak";
@@ -3154,6 +3171,39 @@ export declare const websiteProofDemo: {
3154
3171
  brief: string;
3155
3172
  text?: string | undefined;
3156
3173
  colors?: string[] | undefined;
3174
+ place?: {
3175
+ fit?: "contain" | "cover" | undefined;
3176
+ allow_face?: true | undefined;
3177
+ relative_to: "captions" | "face" | {
3178
+ layer: string;
3179
+ };
3180
+ side: "above" | "below" | "left" | "over" | "right";
3181
+ gap?: number | undefined;
3182
+ align?: "center" | "end" | "start" | undefined;
3183
+ width?: number | undefined;
3184
+ height?: number | undefined;
3185
+ size_unit?: "face" | "frame" | undefined;
3186
+ } | {
3187
+ fit?: "contain" | "cover" | undefined;
3188
+ allow_face?: true | undefined;
3189
+ relative_to: "frame";
3190
+ rect: {
3191
+ left: number;
3192
+ top: number;
3193
+ width: number;
3194
+ height: number;
3195
+ };
3196
+ } | {
3197
+ fit?: "contain" | "cover" | undefined;
3198
+ allow_face?: true | undefined;
3199
+ relative_to: "face";
3200
+ rect: {
3201
+ left: number;
3202
+ top: number;
3203
+ width: number;
3204
+ height: number;
3205
+ };
3206
+ } | undefined;
3157
3207
  }[] | undefined;
3158
3208
  moves?: {
3159
3209
  name: string;
@@ -3171,6 +3221,62 @@ export declare const websiteProofDemo: {
3171
3221
  mid_phrase_s?: number | undefined;
3172
3222
  } | undefined;
3173
3223
  script: string;
3224
+ character_reference?: string | undefined;
3225
+ } | {
3226
+ duration_seconds: number;
3227
+ style_reference?: string | undefined;
3228
+ character_details?: string | undefined;
3229
+ mascot_id?: string | undefined;
3230
+ scene_images?: {
3231
+ image_url: string;
3232
+ anchor: {
3233
+ startWord: number;
3234
+ endWord: number;
3235
+ } | {
3236
+ quote: string;
3237
+ occurrence?: number | undefined;
3238
+ };
3239
+ }[] | undefined;
3240
+ captions: boolean;
3241
+ voice?: string | undefined;
3242
+ voice_id?: undefined;
3243
+ edit_sounds?: boolean | undefined;
3244
+ template_sounds?: false | {
3245
+ flash?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
3246
+ whoosh?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
3247
+ edit?: "air_whoosh" | "answer_confirm" | "answer_open" | "answer_pop" | "answer_select" | "blip" | "bong" | "boom_low" | "cash_register" | "chime" | "click_crisp" | "click_light" | "click_mouse" | "click_sharp" | "click_soft" | "coins" | "confetti" | "ding" | "drop" | "drop_high" | "glass_ping" | "glass_soft" | "glitch" | "key" | "marker" | "paper_swipe" | "phone" | "pickup" | "plop" | "pluck" | "pluck_bright" | "popper" | "question_ping" | "ring_classic" | "ring_digital" | "ring_double" | "ring_marimba" | "rise" | "riser_boom" | "riser_hit" | "shutter" | "slide_quick" | "stamp" | "sub_drop" | "sweep" | "swell_hit" | "swing" | "swipe" | "swish" | "swish_short" | "switch_flip" | "switch_heavy" | "switch_light" | "thud" | "tick" | "tick_soft" | "toggle_snap" | "whip" | "whoosh" | "whoosh_deep" | "whoosh_low" | "whoosh_soft" | undefined;
3248
+ } | undefined;
3249
+ music?: "auto" | {
3250
+ mood: string;
3251
+ } | undefined;
3252
+ motion_style?: {
3253
+ style?: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine" | undefined;
3254
+ spans?: {
3255
+ style: "clay" | "comic" | "engraving" | "fabric" | "film" | "glass" | "line_boil" | "paper_cutout" | "pixel" | "plain" | "sketchbook" | "zine";
3256
+ anchor: {
3257
+ startWord: number;
3258
+ endWord: number;
3259
+ } | {
3260
+ quote: string;
3261
+ occurrence?: number | undefined;
3262
+ };
3263
+ cover_words?: number | undefined;
3264
+ }[] | undefined;
3265
+ } | undefined;
3266
+ format?: "explainer" | "standard" | undefined;
3267
+ tier?: "pro" | "standard" | undefined;
3268
+ input_mode: "brief";
3269
+ brief: string;
3270
+ transitions?: false | {
3271
+ look: "flash" | "light_leak";
3272
+ at: "scene_changes";
3273
+ } | undefined;
3274
+ templates?: undefined;
3275
+ shots?: undefined;
3276
+ scenes?: undefined;
3277
+ moves?: undefined;
3278
+ pause_trim?: undefined;
3279
+ character_reference?: string | undefined;
3174
3280
  };
3175
3281
  } | undefined;
3176
3282
  references: {
@@ -3553,6 +3659,7 @@ export declare const websiteProofDemo: {
3553
3659
  move_warnings?: string[] | undefined;
3554
3660
  voice_warnings?: string[] | undefined;
3555
3661
  review_notes?: string[] | undefined;
3662
+ review_warnings?: string[] | undefined;
3556
3663
  };
3557
3664
  beats: {
3558
3665
  id: string;
@@ -1,9 +1,13 @@
1
1
  import { z } from 'zod';
2
2
  import { type ReferenceProfileInput as ReferenceProfile } from '../reference-profile.js';
3
+ import { type GenerationShot } from '../generation-shot.js';
4
+ import { LIVE_SHOT_PRODUCT_PLACEMENTS } from '../skills.js';
3
5
  import type { CapabilityProfile } from '../contracts/v1/workflow-catalog.js';
4
6
  import { type WorkflowPlanDocument } from '../contracts/v1/workflow-plan.js';
5
7
  import { type WorkflowIssue } from '../contracts/v1/workflow-primitives.js';
6
8
  import { type RemakeChooser } from './remake-chooser.js';
9
+ /** The steps a product demo takes, then a still hold (#1307 S2): with the hold, at most four beats in one clip. */
10
+ export declare const DEMO_MAX_STEPS = 3;
7
11
  /** What the compiler reads: the profile itself. */
8
12
  export declare const planReferenceRemake: z.ZodObject<{
9
13
  plan_id: z.ZodOptional<z.ZodString>;
@@ -955,6 +959,23 @@ export declare const planReferenceRemake: z.ZodObject<{
955
959
  role: z.ZodString;
956
960
  action: z.ZodOptional<z.ZodString>;
957
961
  }, z.core.$strict>>>;
962
+ pause_trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
963
+ sentence_end_s: z.ZodOptional<z.ZodNumber>;
964
+ comma_s: z.ZodOptional<z.ZodNumber>;
965
+ mid_phrase_s: z.ZodOptional<z.ZodNumber>;
966
+ }, z.core.$strict>]>>;
967
+ product: z.ZodOptional<z.ZodObject<{
968
+ asset_id: z.ZodString;
969
+ placement: z.ZodDefault<z.ZodEnum<{
970
+ beside: "beside";
971
+ hand: "hand";
972
+ }>>;
973
+ name: z.ZodDefault<z.ZodString>;
974
+ demo: z.ZodOptional<z.ZodArray<z.ZodObject<{
975
+ action: z.ZodString;
976
+ end_state: z.ZodString;
977
+ }, z.core.$strict>>>;
978
+ }, z.core.$strict>>;
958
979
  }, z.core.$strict>;
959
980
  /** What a client sends (#1172): the profile, or the analysis_id of an analysis the server reads it from. */
960
981
  export declare const planReferenceRemakeRequest: z.ZodObject<{
@@ -1094,6 +1115,23 @@ export declare const planReferenceRemakeRequest: z.ZodObject<{
1094
1115
  role: z.ZodString;
1095
1116
  action: z.ZodOptional<z.ZodString>;
1096
1117
  }, z.core.$strict>>>;
1118
+ pause_trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<false>, z.ZodObject<{
1119
+ sentence_end_s: z.ZodOptional<z.ZodNumber>;
1120
+ comma_s: z.ZodOptional<z.ZodNumber>;
1121
+ mid_phrase_s: z.ZodOptional<z.ZodNumber>;
1122
+ }, z.core.$strict>]>>;
1123
+ product: z.ZodOptional<z.ZodObject<{
1124
+ asset_id: z.ZodString;
1125
+ placement: z.ZodDefault<z.ZodEnum<{
1126
+ beside: "beside";
1127
+ hand: "hand";
1128
+ }>>;
1129
+ name: z.ZodDefault<z.ZodString>;
1130
+ demo: z.ZodOptional<z.ZodArray<z.ZodObject<{
1131
+ action: z.ZodString;
1132
+ end_state: z.ZodString;
1133
+ }, z.core.$strict>>>;
1134
+ }, z.core.$strict>>;
1097
1135
  reference_profile: z.ZodOptional<z.ZodObject<{
1098
1136
  version: z.ZodLiteral<"reference-profile-v1">;
1099
1137
  source: z.ZodObject<{
@@ -1936,6 +1974,25 @@ export type ReferenceSpanPlanner = (input: {
1936
1974
  profile: ReferenceProfile;
1937
1975
  words: readonly ReferenceScriptWord[];
1938
1976
  }) => ReferenceSpan[];
1977
+ /** The longest demo clip: the longest live shot take the run renders. Words past it are the presenter's usual take. */
1978
+ export declare const DEMO_CLIP_MAX_S = 15;
1979
+ type RemakeProduct = {
1980
+ asset_id: string;
1981
+ placement: (typeof LIVE_SHOT_PRODUCT_PLACEMENTS)[number];
1982
+ name: string;
1983
+ demo?: {
1984
+ action: string;
1985
+ end_state: string;
1986
+ }[] | undefined;
1987
+ };
1988
+ /** The demo as one clip of `seconds` (#1307 S2): it opens on one product already where the shots hold it, each step once, then a still hold;
1989
+ * every second is owned by a beat, so the clip has no seconds to repeat a step in. */
1990
+ export declare function demoShot(product: RemakeProduct & {
1991
+ demo: {
1992
+ action: string;
1993
+ end_state: string;
1994
+ }[];
1995
+ }, seconds: number): GenerationShot;
1939
1996
  type ReferenceGraphic = ReferenceProfile['beats'][number]['graphics'][number];
1940
1997
  /** What the asset library says of a request's asset (#1170): the server reads it, a direct compile may pass none. */
1941
1998
  /** `seconds`: a video asset's measured length, which caps the words its clip covers. */