@nativestudio/sdk 0.3.0-rc.2 → 0.3.0-rc.21

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 (282) hide show
  1. package/COMPATIBILITY.json +4 -4
  2. package/LICENSE +201 -21
  3. package/dist/_chunks/chunk-2QDPFLIO.js +1 -0
  4. package/dist/_chunks/chunk-7DXSLHXW.js +1 -0
  5. package/dist/_chunks/chunk-AFUVP2DC.js +1 -0
  6. package/dist/_chunks/chunk-ASUZJSEP.js +1 -0
  7. package/dist/_chunks/chunk-K3TIFCD3.js +1 -0
  8. package/dist/_chunks/chunk-NNDKZ5H5.js +1 -0
  9. package/dist/_chunks/chunk-Q53Q74OP.js +1 -0
  10. package/dist/_chunks/chunk-QVP4AMRJ.js +1 -0
  11. package/dist/_chunks/chunk-TT7IA5HB.js +1 -0
  12. package/dist/_chunks/chunk-UKPD77FB.js +1 -0
  13. package/dist/_chunks/chunk-V636KA7B.js +1 -0
  14. package/dist/_chunks/chunk-VXBIT7XN.js +1 -0
  15. package/dist/_chunks/chunk-WNXKJRZ6.js +1 -0
  16. package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
  17. package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
  18. package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
  19. package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
  20. package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
  21. package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
  22. package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
  23. package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
  24. package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
  25. package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
  26. package/dist/_types/contracts/agent-host.d.ts +126 -65
  27. package/dist/_types/contracts/artifact-discovery.d.ts +143 -11
  28. package/dist/_types/contracts/audio.d.ts +166 -0
  29. package/dist/_types/contracts/component-status.d.ts +241 -0
  30. package/dist/_types/contracts/composition-authoring.d.ts +8 -8
  31. package/dist/_types/contracts/composition-frame-render.d.ts +4 -4
  32. package/dist/_types/contracts/composition-observation.d.ts +1 -1
  33. package/dist/_types/contracts/composition-render-base.d.ts +5 -4
  34. package/dist/_types/contracts/composition-render.d.ts +8 -8
  35. package/dist/_types/contracts/composition-repair.d.ts +10 -10
  36. package/dist/_types/contracts/composition-source-review.d.ts +13 -13
  37. package/dist/_types/contracts/consistency-profile.d.ts +102 -6
  38. package/dist/_types/contracts/continuity-evaluation.d.ts +1 -1
  39. package/dist/_types/contracts/delivery-completion.d.ts +1 -1
  40. package/dist/_types/contracts/delivery-manifest.d.ts +25 -11729
  41. package/dist/_types/contracts/delivery-operations.d.ts +207 -3915
  42. package/dist/_types/contracts/delivery-summary.d.ts +4 -4
  43. package/dist/_types/contracts/delivery-validation.d.ts +25 -2
  44. package/dist/_types/contracts/device-onboarding.d.ts +35 -0
  45. package/dist/_types/contracts/device-render.d.ts +113 -0
  46. package/dist/_types/contracts/editor-intelligence.d.ts +392 -2531
  47. package/dist/_types/contracts/enterprise-brand.d.ts +302 -0
  48. package/dist/_types/contracts/exploration-recommendation.d.ts +263 -11607
  49. package/dist/_types/contracts/external-agent-access.d.ts +4 -6
  50. package/dist/_types/contracts/federation-event-link-receiver.d.ts +200 -0
  51. package/dist/_types/contracts/federation-event-link.d.ts +485 -0
  52. package/dist/_types/contracts/federation-result.d.ts +239 -0
  53. package/dist/_types/contracts/final-ready.d.ts +24 -24
  54. package/dist/_types/contracts/final-render.d.ts +1742 -6949
  55. package/dist/_types/contracts/human-identity.d.ts +13 -0
  56. package/dist/_types/contracts/human-links.d.ts +58 -0
  57. package/dist/_types/contracts/index.d.ts +26 -0
  58. package/dist/_types/contracts/interface/common.d.ts +18 -0
  59. package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
  60. package/dist/_types/contracts/interface/media-output.d.ts +118 -0
  61. package/dist/_types/contracts/interface/operation.d.ts +89 -0
  62. package/dist/_types/contracts/interface/production-snapshot.d.ts +106 -199
  63. package/dist/_types/contracts/interface/query.d.ts +85 -0
  64. package/dist/_types/contracts/keyframe-generation.d.ts +31 -2
  65. package/dist/_types/contracts/keyframe-review.d.ts +7 -7
  66. package/dist/_types/contracts/lifecycle-event-projections.d.ts +19 -4
  67. package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
  68. package/dist/_types/contracts/local-execution/agent-component-status.d.ts +109 -0
  69. package/dist/_types/contracts/local-execution/agent-context.d.ts +385 -0
  70. package/dist/_types/contracts/local-execution/agent-evidence.d.ts +79 -0
  71. package/dist/_types/contracts/local-execution/agent-grant.d.ts +31 -0
  72. package/dist/_types/contracts/local-execution/agent-review.d.ts +529 -71
  73. package/dist/_types/contracts/local-execution/audio-profile.d.ts +6 -0
  74. package/dist/_types/contracts/local-execution/common.d.ts +12 -11
  75. package/dist/_types/contracts/local-execution/completion.d.ts +41 -45
  76. package/dist/_types/contracts/local-execution/components.d.ts +45 -0
  77. package/dist/_types/contracts/local-execution/cpu-preparation.d.ts +46 -0
  78. package/dist/_types/contracts/local-execution/cpu-resources.d.ts +55 -0
  79. package/dist/_types/contracts/local-execution/cpu-speech-job.d.ts +70 -0
  80. package/dist/_types/contracts/local-execution/cpu-speech.d.ts +161 -0
  81. package/dist/_types/contracts/local-execution/descriptor.d.ts +38 -0
  82. package/dist/_types/contracts/local-execution/device-authority.d.ts +31 -0
  83. package/dist/_types/contracts/local-execution/device-inventory.d.ts +108 -0
  84. package/dist/_types/contracts/local-execution/device-workspace.d.ts +11 -0
  85. package/dist/_types/contracts/local-execution/device.d.ts +24 -55
  86. package/dist/_types/contracts/local-execution/enrollment-credential.d.ts +141 -0
  87. package/dist/_types/contracts/local-execution/enrollment-handoff.d.ts +44 -0
  88. package/dist/_types/contracts/local-execution/external-generation.d.ts +199 -0
  89. package/dist/_types/contracts/local-execution/index.d.ts +36 -0
  90. package/dist/_types/contracts/local-execution/ipc.d.ts +2809 -231
  91. package/dist/_types/contracts/local-execution/library-command.d.ts +620 -0
  92. package/dist/_types/contracts/local-execution/library-result.d.ts +428 -0
  93. package/dist/_types/contracts/local-execution/library.d.ts +873 -0
  94. package/dist/_types/contracts/local-execution/lifecycle.d.ts +262 -48
  95. package/dist/_types/contracts/local-execution/local-navigation.d.ts +304 -67
  96. package/dist/_types/contracts/local-execution/management.d.ts +407 -0
  97. package/dist/_types/contracts/local-execution/media-recipe.d.ts +207 -0
  98. package/dist/_types/contracts/local-execution/media-validation-request.d.ts +232 -0
  99. package/dist/_types/contracts/local-execution/media-validation.d.ts +262 -0
  100. package/dist/_types/contracts/local-execution/object-transfer.d.ts +155 -0
  101. package/dist/_types/contracts/local-execution/offline.d.ts +59 -0
  102. package/dist/_types/contracts/local-execution/preview.d.ts +177 -3561
  103. package/dist/_types/contracts/local-execution/processor-capability.d.ts +49 -0
  104. package/dist/_types/contracts/local-execution/processor-direct.d.ts +290 -0
  105. package/dist/_types/contracts/local-execution/processor-recipes.d.ts +1194 -0
  106. package/dist/_types/contracts/local-execution/processor-toolchain.d.ts +47 -0
  107. package/dist/_types/contracts/local-execution/processor.d.ts +6424 -0
  108. package/dist/_types/contracts/local-execution/project-source-direct.d.ts +201 -0
  109. package/dist/_types/contracts/local-execution/qwen-tts.d.ts +31 -0
  110. package/dist/_types/contracts/local-execution/recognition.d.ts +170 -0
  111. package/dist/_types/contracts/local-execution/speech.d.ts +95 -0
  112. package/dist/_types/contracts/local-execution/tool-selection.d.ts +71 -5
  113. package/dist/_types/contracts/local-execution/whisper.d.ts +24 -0
  114. package/dist/_types/contracts/local-execution/work.d.ts +124 -3402
  115. package/dist/_types/contracts/local-execution/workspace.d.ts +141 -0
  116. package/dist/_types/contracts/mcp-capabilities.d.ts +16 -0
  117. package/dist/_types/contracts/media-category.d.ts +11 -0
  118. package/dist/_types/contracts/media-observation.d.ts +930 -9
  119. package/dist/_types/contracts/native-speech-model.d.ts +53 -0
  120. package/dist/_types/contracts/native-speech-options.d.ts +25 -0
  121. package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
  122. package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
  123. package/dist/_types/contracts/navigation-context.d.ts +76 -8
  124. package/dist/_types/contracts/navigation-groups.d.ts +2 -2
  125. package/dist/_types/contracts/navigation.d.ts +79 -26
  126. package/dist/_types/contracts/observation-profile.d.ts +3 -3
  127. package/dist/_types/contracts/production-creation.d.ts +30 -0
  128. package/dist/_types/contracts/production-feedback.d.ts +452 -0
  129. package/dist/_types/contracts/production.d.ts +30 -0
  130. package/dist/_types/contracts/programmatic-composition.d.ts +24 -24
  131. package/dist/_types/contracts/programmatic-exploration.d.ts +362 -5999
  132. package/dist/_types/contracts/programmatic-video-review.d.ts +5 -5
  133. package/dist/_types/contracts/project-library.d.ts +30 -0
  134. package/dist/_types/contracts/project.d.ts +30 -0
  135. package/dist/_types/contracts/provider-catalog.d.ts +3 -3
  136. package/dist/_types/contracts/provider-models.d.ts +209 -8
  137. package/dist/_types/contracts/provider.d.ts +66 -1
  138. package/dist/_types/contracts/reference-preview.d.ts +20 -0
  139. package/dist/_types/contracts/render-readiness.d.ts +175 -0
  140. package/dist/_types/contracts/repair-lifecycle.d.ts +64 -396
  141. package/dist/_types/contracts/repair-plan.d.ts +18 -100
  142. package/dist/_types/contracts/repair-strategy.d.ts +163 -4478
  143. package/dist/_types/contracts/review-intelligence-final-output.d.ts +418 -8150
  144. package/dist/_types/contracts/review-intelligence.d.ts +455 -11423
  145. package/dist/_types/contracts/review1-repair-source.d.ts +6 -6
  146. package/dist/_types/contracts/review1-repair-strategy.d.ts +4 -4
  147. package/dist/_types/contracts/rough-cut-manifest.d.ts +27 -7
  148. package/dist/_types/contracts/rough-cut-profile.d.ts +12 -3
  149. package/dist/_types/contracts/rough-cut-review.d.ts +144 -12495
  150. package/dist/_types/contracts/rough-cut.d.ts +1170 -5673
  151. package/dist/_types/contracts/series-canon.d.ts +97 -0
  152. package/dist/_types/contracts/series-character.d.ts +23 -0
  153. package/dist/_types/contracts/series-improvement.d.ts +1639 -0
  154. package/dist/_types/contracts/series-standard.d.ts +1641 -0
  155. package/dist/_types/contracts/shares.d.ts +135 -0
  156. package/dist/_types/contracts/shot-preparation-basis.d.ts +2 -2
  157. package/dist/_types/contracts/shot-preparation.d.ts +4 -4
  158. package/dist/_types/contracts/sound-making-plan.d.ts +210 -2
  159. package/dist/_types/contracts/speech-cost.d.ts +96 -0
  160. package/dist/_types/contracts/speech-parameters.d.ts +39 -0
  161. package/dist/_types/contracts/speech.d.ts +603 -23
  162. package/dist/_types/contracts/temporal-evidence-operation.d.ts +2 -1
  163. package/dist/_types/contracts/timeline-audio.d.ts +20 -4
  164. package/dist/_types/contracts/timeline-manifest.d.ts +40 -8
  165. package/dist/_types/contracts/timeline-source-sound.d.ts +42 -4
  166. package/dist/_types/contracts/timeline-v2.d.ts +124 -16
  167. package/dist/_types/contracts/timeline-version-reader.d.ts +288 -40
  168. package/dist/_types/contracts/timeline-visual-layers.d.ts +124 -16
  169. package/dist/_types/contracts/timeline.d.ts +50 -4850
  170. package/dist/_types/contracts/transcription.d.ts +1 -1
  171. package/dist/_types/contracts/video-generation.d.ts +35 -2
  172. package/dist/_types/contracts/video-review.d.ts +7 -7
  173. package/dist/_types/contracts/visual-exploration.d.ts +3 -3
  174. package/dist/_types/contracts/visual-layer-render.d.ts +298 -47
  175. package/dist/_types/contracts/visual-sequence.d.ts +22 -0
  176. package/dist/_types/contracts/voice-consistency.d.ts +183 -0
  177. package/dist/_types/contracts/voice-profile/contracts.d.ts +821 -0
  178. package/dist/_types/contracts/voice-profile/identity.d.ts +27 -0
  179. package/dist/_types/contracts/voice-profile/interface.d.ts +89 -0
  180. package/dist/_types/contracts/voice-profile/reference.d.ts +106 -0
  181. package/dist/_types/contracts/voice-review.d.ts +1194 -0
  182. package/dist/_types/contracts/workspace.d.ts +83 -0
  183. package/dist/_types/sdk/account.d.ts +13 -0
  184. package/dist/_types/sdk/auxiliary-media.d.ts +1 -0
  185. package/dist/_types/sdk/catalog/agent-host-execution.d.ts +324 -112
  186. package/dist/_types/sdk/catalog/agent-host.d.ts +222 -70
  187. package/dist/_types/sdk/catalog/assembly.d.ts +26 -37628
  188. package/dist/_types/sdk/catalog/audio-caption.d.ts +126 -22
  189. package/dist/_types/sdk/catalog/canonical-repair.d.ts +132 -132
  190. package/dist/_types/sdk/catalog/carriers.d.ts +59 -0
  191. package/dist/_types/sdk/catalog/composition-source.d.ts +14 -14
  192. package/dist/_types/sdk/catalog/composition.d.ts +17 -2813
  193. package/dist/_types/sdk/catalog/core.d.ts +636 -18
  194. package/dist/_types/sdk/catalog/delivery.d.ts +12 -14167
  195. package/dist/_types/sdk/catalog/device-library.d.ts +1024 -0
  196. package/dist/_types/sdk/catalog/device-management.d.ts +921 -0
  197. package/dist/_types/sdk/catalog/discovery.d.ts +38 -4
  198. package/dist/_types/sdk/catalog/editor.d.ts +23 -6538
  199. package/dist/_types/sdk/catalog/enterprise-brand.d.ts +462 -0
  200. package/dist/_types/sdk/catalog/federation.d.ts +4164 -0
  201. package/dist/_types/sdk/catalog/generation.d.ts +284 -8
  202. package/dist/_types/sdk/catalog/imported-visual.d.ts +246 -816
  203. package/dist/_types/sdk/catalog/keyframe-review.d.ts +10 -10
  204. package/dist/_types/sdk/catalog/lifecycle-events.d.ts +442 -16
  205. package/dist/_types/sdk/catalog/mcp.d.ts +115 -7
  206. package/dist/_types/sdk/catalog/media-descriptors.d.ts +214 -11
  207. package/dist/_types/sdk/catalog/media-observation.d.ts +1031 -14
  208. package/dist/_types/sdk/catalog/native-tool-authority.d.ts +54 -24
  209. package/dist/_types/sdk/catalog/navigation.d.ts +379 -28
  210. package/dist/_types/sdk/catalog/planning-intelligence.d.ts +136 -8
  211. package/dist/_types/sdk/catalog/programmatic-exploration.d.ts +327 -9853
  212. package/dist/_types/sdk/catalog/programmatic-review.d.ts +8 -8
  213. package/dist/_types/sdk/catalog/provider.d.ts +394 -20
  214. package/dist/_types/sdk/catalog/reference-preview.d.ts +94 -30
  215. package/dist/_types/sdk/catalog/repair-strategy.d.ts +180 -8914
  216. package/dist/_types/sdk/catalog/reviewer.d.ts +276 -23131
  217. package/dist/_types/sdk/catalog/series-standard.d.ts +5402 -0
  218. package/dist/_types/sdk/catalog/shares.d.ts +305 -0
  219. package/dist/_types/sdk/catalog/shot-preparation.d.ts +51 -2972
  220. package/dist/_types/sdk/catalog/sound-making-plan.d.ts +6 -1776
  221. package/dist/_types/sdk/catalog/source-sync.d.ts +8 -498
  222. package/dist/_types/sdk/catalog/spec.d.ts +10 -2
  223. package/dist/_types/sdk/catalog/speech.d.ts +856 -4
  224. package/dist/_types/sdk/catalog/temporal-evidence.d.ts +4 -2
  225. package/dist/_types/sdk/catalog/video-review.d.ts +10 -10
  226. package/dist/_types/sdk/catalog/visual-exploration.d.ts +556 -440
  227. package/dist/_types/sdk/catalog/voice-profile.d.ts +1547 -0
  228. package/dist/_types/sdk/catalog/voice-review.d.ts +1125 -0
  229. package/dist/_types/sdk/client.d.ts +30 -3
  230. package/dist/_types/sdk/desktop-previews.d.ts +3 -3
  231. package/dist/_types/sdk/desktop-releases.d.ts +2 -2
  232. package/dist/_types/sdk/device-enrollment-handoff.d.ts +249 -0
  233. package/dist/_types/sdk/device-renders.d.ts +3751 -0
  234. package/dist/_types/sdk/direct-source.d.ts +147 -0
  235. package/dist/_types/sdk/errors.d.ts +9 -3
  236. package/dist/_types/sdk/federation-notice-result.d.ts +22 -0
  237. package/dist/_types/sdk/feedback-observer.d.ts +10 -0
  238. package/dist/_types/sdk/host-protocol.d.ts +8 -0
  239. package/dist/_types/sdk/image-media.d.ts +2 -2
  240. package/dist/_types/sdk/immutable-media.d.ts +24 -0
  241. package/dist/_types/sdk/index.d.ts +16 -1
  242. package/dist/_types/sdk/local-runtime/components.d.ts +2 -0
  243. package/dist/_types/sdk/local-runtime/device-client.d.ts +181 -19
  244. package/dist/_types/sdk/local-runtime/library.d.ts +268 -0
  245. package/dist/_types/sdk/local-runtime/workspace.d.ts +186 -0
  246. package/dist/_types/sdk/local-runtime-client.d.ts +1934 -96
  247. package/dist/_types/sdk/mcp-client.d.ts +13 -5
  248. package/dist/_types/sdk/mcp-discovery.d.ts +14 -0
  249. package/dist/_types/sdk/mcp-image.d.ts +4 -4
  250. package/dist/_types/sdk/mcp-port.d.ts +73 -0
  251. package/dist/_types/sdk/media.d.ts +11 -9
  252. package/dist/_types/sdk/navigation-client.d.ts +56 -122
  253. package/dist/_types/sdk/navigation-facade.d.ts +191 -17
  254. package/dist/_types/sdk/observe.d.ts +31 -0
  255. package/dist/_types/sdk/runtime-authority.d.ts +18 -8
  256. package/dist/_types/sdk/transport/http.d.ts +2 -0
  257. package/dist/_types/sdk/webhook-receiver.d.ts +38 -0
  258. package/dist/account.js +1 -1
  259. package/dist/errors.js +1 -1
  260. package/dist/host-protocol.d.ts +1 -0
  261. package/dist/host-protocol.js +1 -0
  262. package/dist/index.d.ts +2 -2
  263. package/dist/index.js +1 -1
  264. package/dist/local-runtime.js +1 -1
  265. package/dist/mcp-discovery.d.ts +1 -0
  266. package/dist/mcp-discovery.js +1 -0
  267. package/dist/native/helper.exe +0 -0
  268. package/dist/native/helper.json +1 -0
  269. package/dist/runtime-authority.js +1 -1
  270. package/package.json +10 -8
  271. package/README.md +0 -75
  272. package/dist/_chunks/chunk-34KSWLCI.js +0 -1
  273. package/dist/_chunks/chunk-4IOFVNFG.js +0 -1
  274. package/dist/_chunks/chunk-4M3AGNTZ.js +0 -1
  275. package/dist/_chunks/chunk-6NVIN2NI.js +0 -1
  276. package/dist/_chunks/chunk-7YCEMDNZ.js +0 -1
  277. package/dist/native/Bootstrap.ps1 +0 -90
  278. package/dist/native/JobNative.cs +0 -127
  279. package/dist/native/JobRunner.cs +0 -360
  280. package/dist/native/NativeMain.cs +0 -146
  281. package/dist/native/PipeBridge.cs +0 -260
  282. package/dist/native/PrivateAccess.cs +0 -152
@@ -1,2974 +1,53 @@
1
+ import type { SchemaHttpOperation } from "./spec.js";
2
+ import { PrepareShotResultSchema, PreparationGetInputSchema, PreparationActiveInputSchema, PreparationQueryInputSchema, PreparationQueryPageSchema, PreparationViewSchema } from "../../contracts/index.js";
3
+ declare const prepare: import("zod").ZodObject<{
4
+ tenantId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "TenantId", "out">;
5
+ expectedProductionRevision: import("zod").ZodInt;
6
+ expectedPlanVersionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "SceneShotPlanVersionId", "out">;
7
+ expectedPlanVersion: import("zod").ZodInt;
8
+ expectedShotPlanningRevision: import("zod").ZodInt;
9
+ expectedPreparationVersion: import("zod").ZodInt;
10
+ idempotencyKey: import("zod").ZodString;
11
+ target: import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
12
+ mediaType: import("zod").ZodLiteral<"IMAGE">;
13
+ purpose: import("zod").ZodEnum<{
14
+ KEYFRAME: "KEYFRAME";
15
+ REFERENCE_FRAME: "REFERENCE_FRAME";
16
+ }>;
17
+ framePurpose: import("zod").ZodEnum<{
18
+ START_FRAME: "START_FRAME";
19
+ END_FRAME: "END_FRAME";
20
+ SUBJECT_REFERENCE: "SUBJECT_REFERENCE";
21
+ }>;
22
+ }, import("zod/v4/core").$strict>, import("zod").ZodObject<{
23
+ mediaType: import("zod").ZodLiteral<"VIDEO">;
24
+ purpose: import("zod").ZodLiteral<"SHOT_CANDIDATE">;
25
+ }, import("zod/v4/core").$strict>], "mediaType">;
26
+ referenceBindings: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
27
+ keyframeAcceptanceId: import("zod").ZodOptional<import("zod").ZodUUID>;
28
+ role: import("zod").ZodEnum<{
29
+ PRODUCT_IDENTITY: "PRODUCT_IDENTITY";
30
+ PRODUCT_PACKSHOT: "PRODUCT_PACKSHOT";
31
+ CHARACTER_IDENTITY: "CHARACTER_IDENTITY";
32
+ WARDROBE: "WARDROBE";
33
+ LOCATION: "LOCATION";
34
+ STYLE: "STYLE";
35
+ START_FRAME_ANCHOR: "START_FRAME_ANCHOR";
36
+ END_FRAME_ANCHOR: "END_FRAME_ANCHOR";
37
+ }>;
38
+ artifactId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "ArtifactId", "out">;
39
+ representationId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "ArtifactRepresentationId", "out">;
40
+ checksumSha256: import("zod").ZodString;
41
+ reason: import("zod").ZodString;
42
+ }, import("zod/v4/core").$strict>>>;
43
+ projectId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "ProjectId", "out">;
44
+ productionId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "ProductionId", "out">;
45
+ shotId: import("zod/v4/core").$ZodBranded<import("zod").ZodUUID, "ShotId", "out">;
46
+ }, import("zod/v4/core").$strict>;
1
47
  export declare const shotPreparationOperations: {
2
- readonly "shot-preparation.prepare": import("./spec.js").HttpOperationSpec<{
3
- tenantId: string;
4
- expectedProductionRevision: number;
5
- expectedPlanVersionId: string;
6
- expectedPlanVersion: number;
7
- expectedShotPlanningRevision: number;
8
- expectedPreparationVersion: number;
9
- idempotencyKey: string;
10
- target: {
11
- mediaType: "IMAGE";
12
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
13
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
14
- } | {
15
- mediaType: "VIDEO";
16
- purpose: "SHOT_CANDIDATE";
17
- };
18
- projectId: string;
19
- productionId: string;
20
- shotId: string;
21
- referenceBindings?: {
22
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
23
- artifactId: string;
24
- representationId: string;
25
- checksumSha256: string;
26
- reason: string;
27
- keyframeAcceptanceId?: string | undefined;
28
- }[] | undefined;
29
- }, {
30
- tenantId: string & import("zod").$brand<"TenantId">;
31
- expectedProductionRevision: number;
32
- expectedPlanVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
33
- expectedPlanVersion: number;
34
- expectedShotPlanningRevision: number;
35
- expectedPreparationVersion: number;
36
- idempotencyKey: string;
37
- target: {
38
- mediaType: "IMAGE";
39
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
40
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
41
- } | {
42
- mediaType: "VIDEO";
43
- purpose: "SHOT_CANDIDATE";
44
- };
45
- referenceBindings: {
46
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
47
- artifactId: string & import("zod").$brand<"ArtifactId">;
48
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
49
- checksumSha256: string;
50
- reason: string;
51
- keyframeAcceptanceId?: string | undefined;
52
- }[];
53
- projectId: string & import("zod").$brand<"ProjectId">;
54
- productionId: string & import("zod").$brand<"ProductionId">;
55
- shotId: string & import("zod").$brand<"ShotId">;
56
- }, {
57
- semanticStatus: "SUCCESS";
58
- preparation: {
59
- id: string & import("zod").$brand<"PreparationId">;
60
- version: number;
61
- basis: {
62
- tenantId: string & import("zod").$brand<"TenantId">;
63
- projectId: string & import("zod").$brand<"ProjectId">;
64
- productionId: string & import("zod").$brand<"ProductionId">;
65
- sceneId: string & import("zod").$brand<"SceneId">;
66
- shotId: string & import("zod").$brand<"ShotId">;
67
- productionRevision: number;
68
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
69
- briefVersion: number;
70
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
71
- storyVersion: number;
72
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
73
- planVersion: number;
74
- shotPlanningRevision: number;
75
- resolverVersion: "w7-product-preflight-v1";
76
- consistencyProfile?: {
77
- id: string;
78
- version: number;
79
- effectiveFingerprint: string;
80
- } | undefined;
81
- };
82
- target: {
83
- mediaType: "IMAGE";
84
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
85
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
86
- } | {
87
- mediaType: "VIDEO";
88
- purpose: "SHOT_CANDIDATE";
89
- };
90
- constraints: {
91
- preparationId: string & import("zod").$brand<"PreparationId">;
92
- version: number;
93
- fingerprint: string;
94
- items: {
95
- key: string;
96
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
97
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
98
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
99
- expected: string;
100
- source: {
101
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
102
- id: string;
103
- version: number;
104
- };
105
- continuity?: {
106
- kind: "STATE";
107
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
108
- entry: string;
109
- exit: string;
110
- changes?: {
111
- atPermille: number;
112
- from: string;
113
- to: string;
114
- reason: string;
115
- }[] | undefined;
116
- } | {
117
- kind: "TIME";
118
- mode: "MONOTONIC" | "PLANNED_JUMPS";
119
- entryMs: number;
120
- exitMs: number;
121
- jumps?: {
122
- atPermille: number;
123
- fromMs: number;
124
- toMs: number;
125
- reason: string;
126
- }[] | undefined;
127
- } | undefined;
128
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
129
- subjectId?: string | undefined;
130
- dimension?: string | undefined;
131
- }[];
132
- };
133
- referenceSet: {
134
- preparationId: string & import("zod").$brand<"PreparationId">;
135
- version: number;
136
- fingerprint: string;
137
- bindings: {
138
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
139
- artifactId: string & import("zod").$brand<"ArtifactId">;
140
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
141
- checksumSha256: string;
142
- reason: string;
143
- artifactChecksumSha256: string;
144
- contentType: "image/png" | "image/jpeg" | "image/webp";
145
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
146
- keyframeAcceptanceId?: string | undefined;
147
- acceptedKeyframe?: {
148
- acceptanceId: string;
149
- reviewId: string;
150
- generationId: string;
151
- candidateId: string;
152
- shotId: string & import("zod").$brand<"ShotId">;
153
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
154
- artifactId: string & import("zod").$brand<"ArtifactId">;
155
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
156
- checksumSha256: string;
157
- artifactChecksumSha256: string;
158
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
159
- planVersion: number;
160
- shotPlanningRevision: number;
161
- executionClass: "LIVE" | "TEST_ONLY";
162
- } | undefined;
163
- consistencyRuleId?: string | undefined;
164
- subjectId?: string | undefined;
165
- }[];
166
- };
167
- canonicalSources: {
168
- artifactId: string & import("zod").$brand<"ArtifactId">;
169
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
170
- checksumSha256: string;
171
- artifactChecksumSha256: string;
172
- }[];
173
- acceptedShotReferences: ({
174
- acceptanceId: string;
175
- reviewId: string;
176
- generationId: string;
177
- candidateId: string;
178
- shotId: string & import("zod").$brand<"ShotId">;
179
- artifactId: string & import("zod").$brand<"ArtifactId">;
180
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
181
- checksumSha256: string;
182
- artifactChecksumSha256: string;
183
- preparationId: string;
184
- contractId: string;
185
- contractFingerprint: string;
186
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
187
- planVersion: number;
188
- shotPlanningRevision: number;
189
- executionClass: "LIVE" | "TEST_ONLY";
190
- reviewResult: "PASS" | "WARNING";
191
- } | {
192
- sourceKind: "PROGRAMMATIC";
193
- acceptanceId: string;
194
- reviewId: string;
195
- renderId: string;
196
- compositionId: string;
197
- compositionVersionId: string;
198
- compositionVersion: number;
199
- compositionFingerprint: string;
200
- renderManifestFingerprint: string;
201
- shotId: string & import("zod").$brand<"ShotId">;
202
- artifactId: string & import("zod").$brand<"ArtifactId">;
203
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
204
- checksumSha256: string;
205
- artifactChecksumSha256: string;
206
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
207
- planVersion: number;
208
- shotPlanningRevision: number;
209
- executionClass: "LIVE" | "TEST_ONLY";
210
- reviewResult: "PASS" | "WARNING";
211
- } | {
212
- sourceKind: "IMPORTED";
213
- acceptanceId: string;
214
- reviewId: string;
215
- normalizationId: string;
216
- sourceId: string;
217
- sourceVersionId: string;
218
- shotId: string & import("zod").$brand<"ShotId">;
219
- artifactId: string & import("zod").$brand<"ArtifactId">;
220
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
221
- checksumSha256: string;
222
- executionClass: "LIVE" | "TEST_ONLY";
223
- reviewResult: "PASS" | "WARNING";
224
- })[];
225
- blockers: {
226
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
227
- summary: string;
228
- relatedShotId?: (string & import("zod").$brand<"ShotId">) | undefined;
229
- edgeId?: (string & import("zod").$brand<"ContinuityEdgeId">) | undefined;
230
- }[];
231
- contract: {
232
- id: string & import("zod").$brand<"GenerationContractId">;
233
- schemaVersion: 1;
234
- preparationId: string & import("zod").$brand<"PreparationId">;
235
- target: {
236
- mediaType: "IMAGE";
237
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
238
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
239
- } | {
240
- mediaType: "VIDEO";
241
- purpose: "SHOT_CANDIDATE";
242
- };
243
- basis: {
244
- tenantId: string & import("zod").$brand<"TenantId">;
245
- projectId: string & import("zod").$brand<"ProjectId">;
246
- productionId: string & import("zod").$brand<"ProductionId">;
247
- sceneId: string & import("zod").$brand<"SceneId">;
248
- shotId: string & import("zod").$brand<"ShotId">;
249
- productionRevision: number;
250
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
251
- briefVersion: number;
252
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
253
- storyVersion: number;
254
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
255
- planVersion: number;
256
- shotPlanningRevision: number;
257
- resolverVersion: "w7-product-preflight-v1";
258
- consistencyProfile?: {
259
- id: string;
260
- version: number;
261
- effectiveFingerprint: string;
262
- } | undefined;
263
- };
264
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
265
- creativeInstruction: {
266
- shot: {
267
- narrativePurpose: string;
268
- subjectAction: string;
269
- targetDurationSeconds: number;
270
- subjectRequirements: string[];
271
- factualClaims: {
272
- key: string;
273
- value: string;
274
- }[];
275
- requiresGeneratedKeyframe: boolean;
276
- sourceMediaAllowed: boolean;
277
- cameraComposition?: string | undefined;
278
- direction?: {
279
- camera: {
280
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
281
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
282
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
283
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
284
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
285
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
286
- lensIntent?: string | undefined;
287
- };
288
- temporalBeats: {
289
- startSeconds: number;
290
- endSeconds: number;
291
- action: string;
292
- }[];
293
- environmentIntent?: string | undefined;
294
- lightingIntent?: string | undefined;
295
- styleIntent?: string | undefined;
296
- audioIntent?: string | undefined;
297
- } | undefined;
298
- };
299
- scenePurpose: string;
300
- productPresentationGoal: string;
301
- entryBoundary: {
302
- attribute: string;
303
- value: string;
304
- }[];
305
- exitBoundary: {
306
- attribute: string;
307
- value: string;
308
- }[];
309
- sound?: {
310
- soundPlanVersionId: string;
311
- fingerprint: string;
312
- content: {
313
- nativeAudio: boolean;
314
- cues: {
315
- id: string;
316
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
317
- startMs: number;
318
- endMs: number;
319
- exactSpeech: boolean;
320
- lipSync: "NONE" | "REQUIRED";
321
- text?: string | undefined;
322
- }[];
323
- model?: {
324
- modelProfileId: string;
325
- modelProfileVersion: number;
326
- connectionId: string;
327
- } | undefined;
328
- };
329
- } | undefined;
330
- locationContext?: string | undefined;
331
- timeContext?: string | undefined;
332
- styleTone?: string | undefined;
333
- };
334
- acceptedShotReferences: ({
335
- acceptanceId: string;
336
- reviewId: string;
337
- generationId: string;
338
- candidateId: string;
339
- shotId: string & import("zod").$brand<"ShotId">;
340
- artifactId: string & import("zod").$brand<"ArtifactId">;
341
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
342
- checksumSha256: string;
343
- artifactChecksumSha256: string;
344
- preparationId: string;
345
- contractId: string;
346
- contractFingerprint: string;
347
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
348
- planVersion: number;
349
- shotPlanningRevision: number;
350
- executionClass: "LIVE" | "TEST_ONLY";
351
- reviewResult: "PASS" | "WARNING";
352
- } | {
353
- sourceKind: "PROGRAMMATIC";
354
- acceptanceId: string;
355
- reviewId: string;
356
- renderId: string;
357
- compositionId: string;
358
- compositionVersionId: string;
359
- compositionVersion: number;
360
- compositionFingerprint: string;
361
- renderManifestFingerprint: string;
362
- shotId: string & import("zod").$brand<"ShotId">;
363
- artifactId: string & import("zod").$brand<"ArtifactId">;
364
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
365
- checksumSha256: string;
366
- artifactChecksumSha256: string;
367
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
368
- planVersion: number;
369
- shotPlanningRevision: number;
370
- executionClass: "LIVE" | "TEST_ONLY";
371
- reviewResult: "PASS" | "WARNING";
372
- } | {
373
- sourceKind: "IMPORTED";
374
- acceptanceId: string;
375
- reviewId: string;
376
- normalizationId: string;
377
- sourceId: string;
378
- sourceVersionId: string;
379
- shotId: string & import("zod").$brand<"ShotId">;
380
- artifactId: string & import("zod").$brand<"ArtifactId">;
381
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
382
- checksumSha256: string;
383
- executionClass: "LIVE" | "TEST_ONLY";
384
- reviewResult: "PASS" | "WARNING";
385
- })[];
386
- constraintSetFingerprint: string;
387
- referenceSetFingerprint: string;
388
- output: {
389
- aspectRatio: "16:9" | "9:16";
390
- targetDurationSeconds: number | null;
391
- workingResolution: null;
392
- frameRate: null;
393
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
394
- };
395
- requiredCapabilities: {
396
- referenceConditioning: true;
397
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
398
- startFrameControl: boolean;
399
- endFrameControl: boolean;
400
- nativeAudio?: boolean | undefined;
401
- };
402
- fingerprint: string;
403
- } | null;
404
- createdByPrincipalId: string & import("zod").$brand<"PrincipalId">;
405
- createdAt: string;
406
- };
407
- productionRevision: number;
408
- }, {
409
- semanticStatus: "SUCCESS";
410
- preparation: {
411
- id: string;
412
- version: number;
413
- basis: {
414
- tenantId: string;
415
- projectId: string;
416
- productionId: string;
417
- sceneId: string;
418
- shotId: string;
419
- productionRevision: number;
420
- briefVersionId: string;
421
- briefVersion: number;
422
- storyVersionId: string;
423
- storyVersion: number;
424
- planVersionId: string;
425
- planVersion: number;
426
- shotPlanningRevision: number;
427
- resolverVersion: "w7-product-preflight-v1";
428
- consistencyProfile?: {
429
- id: string;
430
- version: number;
431
- effectiveFingerprint: string;
432
- } | undefined;
433
- };
434
- target: {
435
- mediaType: "IMAGE";
436
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
437
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
438
- } | {
439
- mediaType: "VIDEO";
440
- purpose: "SHOT_CANDIDATE";
441
- };
442
- constraints: {
443
- preparationId: string;
444
- version: number;
445
- fingerprint: string;
446
- items: {
447
- key: string;
448
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
449
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
450
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
451
- expected: string;
452
- source: {
453
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
454
- id: string;
455
- version: number;
456
- };
457
- continuity?: {
458
- kind: "STATE";
459
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
460
- entry: string;
461
- exit: string;
462
- changes?: {
463
- atPermille: number;
464
- from: string;
465
- to: string;
466
- reason: string;
467
- }[] | undefined;
468
- } | {
469
- kind: "TIME";
470
- mode: "MONOTONIC" | "PLANNED_JUMPS";
471
- entryMs: number;
472
- exitMs: number;
473
- jumps?: {
474
- atPermille: number;
475
- fromMs: number;
476
- toMs: number;
477
- reason: string;
478
- }[] | undefined;
479
- } | undefined;
480
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
481
- subjectId?: string | undefined;
482
- dimension?: string | undefined;
483
- }[];
484
- };
485
- referenceSet: {
486
- preparationId: string;
487
- version: number;
488
- fingerprint: string;
489
- bindings: {
490
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
491
- artifactId: string;
492
- representationId: string;
493
- checksumSha256: string;
494
- reason: string;
495
- artifactChecksumSha256: string;
496
- contentType: "image/png" | "image/jpeg" | "image/webp";
497
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
498
- keyframeAcceptanceId?: string | undefined;
499
- acceptedKeyframe?: {
500
- acceptanceId: string;
501
- reviewId: string;
502
- generationId: string;
503
- candidateId: string;
504
- shotId: string;
505
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
506
- artifactId: string;
507
- representationId: string;
508
- checksumSha256: string;
509
- artifactChecksumSha256: string;
510
- planVersionId: string;
511
- planVersion: number;
512
- shotPlanningRevision: number;
513
- executionClass: "LIVE" | "TEST_ONLY";
514
- } | undefined;
515
- consistencyRuleId?: string | undefined;
516
- subjectId?: string | undefined;
517
- }[];
518
- };
519
- canonicalSources: {
520
- artifactId: string;
521
- representationId: string;
522
- checksumSha256: string;
523
- artifactChecksumSha256: string;
524
- }[];
525
- blockers: {
526
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
527
- summary: string;
528
- relatedShotId?: string | undefined;
529
- edgeId?: string | undefined;
530
- }[];
531
- contract: {
532
- id: string;
533
- schemaVersion: 1;
534
- preparationId: string;
535
- target: {
536
- mediaType: "IMAGE";
537
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
538
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
539
- } | {
540
- mediaType: "VIDEO";
541
- purpose: "SHOT_CANDIDATE";
542
- };
543
- basis: {
544
- tenantId: string;
545
- projectId: string;
546
- productionId: string;
547
- sceneId: string;
548
- shotId: string;
549
- productionRevision: number;
550
- briefVersionId: string;
551
- briefVersion: number;
552
- storyVersionId: string;
553
- storyVersion: number;
554
- planVersionId: string;
555
- planVersion: number;
556
- shotPlanningRevision: number;
557
- resolverVersion: "w7-product-preflight-v1";
558
- consistencyProfile?: {
559
- id: string;
560
- version: number;
561
- effectiveFingerprint: string;
562
- } | undefined;
563
- };
564
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
565
- creativeInstruction: {
566
- shot: {
567
- narrativePurpose: string;
568
- subjectAction: string;
569
- targetDurationSeconds: number;
570
- subjectRequirements?: string[] | undefined;
571
- cameraComposition?: string | undefined;
572
- factualClaims?: {
573
- key: string;
574
- value: string;
575
- }[] | undefined;
576
- requiresGeneratedKeyframe?: boolean | undefined;
577
- sourceMediaAllowed?: boolean | undefined;
578
- direction?: {
579
- camera: {
580
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
581
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
582
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
583
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
584
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
585
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
586
- lensIntent?: string | undefined;
587
- };
588
- temporalBeats: {
589
- startSeconds: number;
590
- endSeconds: number;
591
- action: string;
592
- }[];
593
- environmentIntent?: string | undefined;
594
- lightingIntent?: string | undefined;
595
- styleIntent?: string | undefined;
596
- audioIntent?: string | undefined;
597
- } | undefined;
598
- };
599
- scenePurpose: string;
600
- productPresentationGoal: string;
601
- entryBoundary: {
602
- attribute: string;
603
- value: string;
604
- }[];
605
- exitBoundary: {
606
- attribute: string;
607
- value: string;
608
- }[];
609
- sound?: {
610
- soundPlanVersionId: string;
611
- fingerprint: string;
612
- content: {
613
- nativeAudio: boolean;
614
- cues: {
615
- id: string;
616
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
617
- startMs: number;
618
- endMs: number;
619
- exactSpeech: boolean;
620
- lipSync: "NONE" | "REQUIRED";
621
- text?: string | undefined;
622
- }[];
623
- model?: {
624
- modelProfileId: string;
625
- modelProfileVersion: number;
626
- connectionId: string;
627
- } | undefined;
628
- };
629
- } | undefined;
630
- locationContext?: string | undefined;
631
- timeContext?: string | undefined;
632
- styleTone?: string | undefined;
633
- };
634
- constraintSetFingerprint: string;
635
- referenceSetFingerprint: string;
636
- output: {
637
- aspectRatio: "16:9" | "9:16";
638
- targetDurationSeconds: number | null;
639
- workingResolution: null;
640
- frameRate: null;
641
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
642
- };
643
- requiredCapabilities: {
644
- referenceConditioning: true;
645
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
646
- startFrameControl: boolean;
647
- endFrameControl: boolean;
648
- nativeAudio?: boolean | undefined;
649
- };
650
- fingerprint: string;
651
- acceptedShotReferences?: ({
652
- acceptanceId: string;
653
- reviewId: string;
654
- generationId: string;
655
- candidateId: string;
656
- shotId: string;
657
- artifactId: string;
658
- representationId: string;
659
- checksumSha256: string;
660
- artifactChecksumSha256: string;
661
- preparationId: string;
662
- contractId: string;
663
- contractFingerprint: string;
664
- planVersionId: string;
665
- planVersion: number;
666
- shotPlanningRevision: number;
667
- executionClass: "LIVE" | "TEST_ONLY";
668
- reviewResult: "PASS" | "WARNING";
669
- } | {
670
- sourceKind: "PROGRAMMATIC";
671
- acceptanceId: string;
672
- reviewId: string;
673
- renderId: string;
674
- compositionId: string;
675
- compositionVersionId: string;
676
- compositionVersion: number;
677
- compositionFingerprint: string;
678
- renderManifestFingerprint: string;
679
- shotId: string;
680
- artifactId: string;
681
- representationId: string;
682
- checksumSha256: string;
683
- artifactChecksumSha256: string;
684
- planVersionId: string;
685
- planVersion: number;
686
- shotPlanningRevision: number;
687
- executionClass: "LIVE" | "TEST_ONLY";
688
- reviewResult: "PASS" | "WARNING";
689
- } | {
690
- sourceKind: "IMPORTED";
691
- acceptanceId: string;
692
- reviewId: string;
693
- normalizationId: string;
694
- sourceId: string;
695
- sourceVersionId: string;
696
- shotId: string;
697
- artifactId: string;
698
- representationId: string;
699
- checksumSha256: string;
700
- executionClass: "LIVE" | "TEST_ONLY";
701
- reviewResult: "PASS" | "WARNING";
702
- })[] | undefined;
703
- } | null;
704
- createdByPrincipalId: string;
705
- createdAt: string;
706
- acceptedShotReferences?: ({
707
- acceptanceId: string;
708
- reviewId: string;
709
- generationId: string;
710
- candidateId: string;
711
- shotId: string;
712
- artifactId: string;
713
- representationId: string;
714
- checksumSha256: string;
715
- artifactChecksumSha256: string;
716
- preparationId: string;
717
- contractId: string;
718
- contractFingerprint: string;
719
- planVersionId: string;
720
- planVersion: number;
721
- shotPlanningRevision: number;
722
- executionClass: "LIVE" | "TEST_ONLY";
723
- reviewResult: "PASS" | "WARNING";
724
- } | {
725
- sourceKind: "PROGRAMMATIC";
726
- acceptanceId: string;
727
- reviewId: string;
728
- renderId: string;
729
- compositionId: string;
730
- compositionVersionId: string;
731
- compositionVersion: number;
732
- compositionFingerprint: string;
733
- renderManifestFingerprint: string;
734
- shotId: string;
735
- artifactId: string;
736
- representationId: string;
737
- checksumSha256: string;
738
- artifactChecksumSha256: string;
739
- planVersionId: string;
740
- planVersion: number;
741
- shotPlanningRevision: number;
742
- executionClass: "LIVE" | "TEST_ONLY";
743
- reviewResult: "PASS" | "WARNING";
744
- } | {
745
- sourceKind: "IMPORTED";
746
- acceptanceId: string;
747
- reviewId: string;
748
- normalizationId: string;
749
- sourceId: string;
750
- sourceVersionId: string;
751
- shotId: string;
752
- artifactId: string;
753
- representationId: string;
754
- checksumSha256: string;
755
- executionClass: "LIVE" | "TEST_ONLY";
756
- reviewResult: "PASS" | "WARNING";
757
- })[] | undefined;
758
- };
759
- productionRevision: number;
760
- }>;
761
- readonly "shot-preparation.get": import("./spec.js").HttpOperationSpec<{
762
- tenantId: string;
763
- productionId: string;
764
- preparationId: string;
765
- }, {
766
- tenantId: string & import("zod").$brand<"TenantId">;
767
- productionId: string & import("zod").$brand<"ProductionId">;
768
- preparationId: string & import("zod").$brand<"PreparationId">;
769
- }, {
770
- preparation: {
771
- id: string & import("zod").$brand<"PreparationId">;
772
- version: number;
773
- basis: {
774
- tenantId: string & import("zod").$brand<"TenantId">;
775
- projectId: string & import("zod").$brand<"ProjectId">;
776
- productionId: string & import("zod").$brand<"ProductionId">;
777
- sceneId: string & import("zod").$brand<"SceneId">;
778
- shotId: string & import("zod").$brand<"ShotId">;
779
- productionRevision: number;
780
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
781
- briefVersion: number;
782
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
783
- storyVersion: number;
784
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
785
- planVersion: number;
786
- shotPlanningRevision: number;
787
- resolverVersion: "w7-product-preflight-v1";
788
- consistencyProfile?: {
789
- id: string;
790
- version: number;
791
- effectiveFingerprint: string;
792
- } | undefined;
793
- };
794
- target: {
795
- mediaType: "IMAGE";
796
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
797
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
798
- } | {
799
- mediaType: "VIDEO";
800
- purpose: "SHOT_CANDIDATE";
801
- };
802
- constraints: {
803
- preparationId: string & import("zod").$brand<"PreparationId">;
804
- version: number;
805
- fingerprint: string;
806
- items: {
807
- key: string;
808
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
809
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
810
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
811
- expected: string;
812
- source: {
813
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
814
- id: string;
815
- version: number;
816
- };
817
- continuity?: {
818
- kind: "STATE";
819
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
820
- entry: string;
821
- exit: string;
822
- changes?: {
823
- atPermille: number;
824
- from: string;
825
- to: string;
826
- reason: string;
827
- }[] | undefined;
828
- } | {
829
- kind: "TIME";
830
- mode: "MONOTONIC" | "PLANNED_JUMPS";
831
- entryMs: number;
832
- exitMs: number;
833
- jumps?: {
834
- atPermille: number;
835
- fromMs: number;
836
- toMs: number;
837
- reason: string;
838
- }[] | undefined;
839
- } | undefined;
840
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
841
- subjectId?: string | undefined;
842
- dimension?: string | undefined;
843
- }[];
844
- };
845
- referenceSet: {
846
- preparationId: string & import("zod").$brand<"PreparationId">;
847
- version: number;
848
- fingerprint: string;
849
- bindings: {
850
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
851
- artifactId: string & import("zod").$brand<"ArtifactId">;
852
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
853
- checksumSha256: string;
854
- reason: string;
855
- artifactChecksumSha256: string;
856
- contentType: "image/png" | "image/jpeg" | "image/webp";
857
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
858
- keyframeAcceptanceId?: string | undefined;
859
- acceptedKeyframe?: {
860
- acceptanceId: string;
861
- reviewId: string;
862
- generationId: string;
863
- candidateId: string;
864
- shotId: string & import("zod").$brand<"ShotId">;
865
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
866
- artifactId: string & import("zod").$brand<"ArtifactId">;
867
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
868
- checksumSha256: string;
869
- artifactChecksumSha256: string;
870
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
871
- planVersion: number;
872
- shotPlanningRevision: number;
873
- executionClass: "LIVE" | "TEST_ONLY";
874
- } | undefined;
875
- consistencyRuleId?: string | undefined;
876
- subjectId?: string | undefined;
877
- }[];
878
- };
879
- canonicalSources: {
880
- artifactId: string & import("zod").$brand<"ArtifactId">;
881
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
882
- checksumSha256: string;
883
- artifactChecksumSha256: string;
884
- }[];
885
- acceptedShotReferences: ({
886
- acceptanceId: string;
887
- reviewId: string;
888
- generationId: string;
889
- candidateId: string;
890
- shotId: string & import("zod").$brand<"ShotId">;
891
- artifactId: string & import("zod").$brand<"ArtifactId">;
892
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
893
- checksumSha256: string;
894
- artifactChecksumSha256: string;
895
- preparationId: string;
896
- contractId: string;
897
- contractFingerprint: string;
898
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
899
- planVersion: number;
900
- shotPlanningRevision: number;
901
- executionClass: "LIVE" | "TEST_ONLY";
902
- reviewResult: "PASS" | "WARNING";
903
- } | {
904
- sourceKind: "PROGRAMMATIC";
905
- acceptanceId: string;
906
- reviewId: string;
907
- renderId: string;
908
- compositionId: string;
909
- compositionVersionId: string;
910
- compositionVersion: number;
911
- compositionFingerprint: string;
912
- renderManifestFingerprint: string;
913
- shotId: string & import("zod").$brand<"ShotId">;
914
- artifactId: string & import("zod").$brand<"ArtifactId">;
915
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
916
- checksumSha256: string;
917
- artifactChecksumSha256: string;
918
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
919
- planVersion: number;
920
- shotPlanningRevision: number;
921
- executionClass: "LIVE" | "TEST_ONLY";
922
- reviewResult: "PASS" | "WARNING";
923
- } | {
924
- sourceKind: "IMPORTED";
925
- acceptanceId: string;
926
- reviewId: string;
927
- normalizationId: string;
928
- sourceId: string;
929
- sourceVersionId: string;
930
- shotId: string & import("zod").$brand<"ShotId">;
931
- artifactId: string & import("zod").$brand<"ArtifactId">;
932
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
933
- checksumSha256: string;
934
- executionClass: "LIVE" | "TEST_ONLY";
935
- reviewResult: "PASS" | "WARNING";
936
- })[];
937
- blockers: {
938
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
939
- summary: string;
940
- relatedShotId?: (string & import("zod").$brand<"ShotId">) | undefined;
941
- edgeId?: (string & import("zod").$brand<"ContinuityEdgeId">) | undefined;
942
- }[];
943
- contract: {
944
- id: string & import("zod").$brand<"GenerationContractId">;
945
- schemaVersion: 1;
946
- preparationId: string & import("zod").$brand<"PreparationId">;
947
- target: {
948
- mediaType: "IMAGE";
949
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
950
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
951
- } | {
952
- mediaType: "VIDEO";
953
- purpose: "SHOT_CANDIDATE";
954
- };
955
- basis: {
956
- tenantId: string & import("zod").$brand<"TenantId">;
957
- projectId: string & import("zod").$brand<"ProjectId">;
958
- productionId: string & import("zod").$brand<"ProductionId">;
959
- sceneId: string & import("zod").$brand<"SceneId">;
960
- shotId: string & import("zod").$brand<"ShotId">;
961
- productionRevision: number;
962
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
963
- briefVersion: number;
964
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
965
- storyVersion: number;
966
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
967
- planVersion: number;
968
- shotPlanningRevision: number;
969
- resolverVersion: "w7-product-preflight-v1";
970
- consistencyProfile?: {
971
- id: string;
972
- version: number;
973
- effectiveFingerprint: string;
974
- } | undefined;
975
- };
976
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
977
- creativeInstruction: {
978
- shot: {
979
- narrativePurpose: string;
980
- subjectAction: string;
981
- targetDurationSeconds: number;
982
- subjectRequirements: string[];
983
- factualClaims: {
984
- key: string;
985
- value: string;
986
- }[];
987
- requiresGeneratedKeyframe: boolean;
988
- sourceMediaAllowed: boolean;
989
- cameraComposition?: string | undefined;
990
- direction?: {
991
- camera: {
992
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
993
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
994
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
995
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
996
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
997
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
998
- lensIntent?: string | undefined;
999
- };
1000
- temporalBeats: {
1001
- startSeconds: number;
1002
- endSeconds: number;
1003
- action: string;
1004
- }[];
1005
- environmentIntent?: string | undefined;
1006
- lightingIntent?: string | undefined;
1007
- styleIntent?: string | undefined;
1008
- audioIntent?: string | undefined;
1009
- } | undefined;
1010
- };
1011
- scenePurpose: string;
1012
- productPresentationGoal: string;
1013
- entryBoundary: {
1014
- attribute: string;
1015
- value: string;
1016
- }[];
1017
- exitBoundary: {
1018
- attribute: string;
1019
- value: string;
1020
- }[];
1021
- sound?: {
1022
- soundPlanVersionId: string;
1023
- fingerprint: string;
1024
- content: {
1025
- nativeAudio: boolean;
1026
- cues: {
1027
- id: string;
1028
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1029
- startMs: number;
1030
- endMs: number;
1031
- exactSpeech: boolean;
1032
- lipSync: "NONE" | "REQUIRED";
1033
- text?: string | undefined;
1034
- }[];
1035
- model?: {
1036
- modelProfileId: string;
1037
- modelProfileVersion: number;
1038
- connectionId: string;
1039
- } | undefined;
1040
- };
1041
- } | undefined;
1042
- locationContext?: string | undefined;
1043
- timeContext?: string | undefined;
1044
- styleTone?: string | undefined;
1045
- };
1046
- acceptedShotReferences: ({
1047
- acceptanceId: string;
1048
- reviewId: string;
1049
- generationId: string;
1050
- candidateId: string;
1051
- shotId: string & import("zod").$brand<"ShotId">;
1052
- artifactId: string & import("zod").$brand<"ArtifactId">;
1053
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1054
- checksumSha256: string;
1055
- artifactChecksumSha256: string;
1056
- preparationId: string;
1057
- contractId: string;
1058
- contractFingerprint: string;
1059
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1060
- planVersion: number;
1061
- shotPlanningRevision: number;
1062
- executionClass: "LIVE" | "TEST_ONLY";
1063
- reviewResult: "PASS" | "WARNING";
1064
- } | {
1065
- sourceKind: "PROGRAMMATIC";
1066
- acceptanceId: string;
1067
- reviewId: string;
1068
- renderId: string;
1069
- compositionId: string;
1070
- compositionVersionId: string;
1071
- compositionVersion: number;
1072
- compositionFingerprint: string;
1073
- renderManifestFingerprint: string;
1074
- shotId: string & import("zod").$brand<"ShotId">;
1075
- artifactId: string & import("zod").$brand<"ArtifactId">;
1076
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1077
- checksumSha256: string;
1078
- artifactChecksumSha256: string;
1079
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1080
- planVersion: number;
1081
- shotPlanningRevision: number;
1082
- executionClass: "LIVE" | "TEST_ONLY";
1083
- reviewResult: "PASS" | "WARNING";
1084
- } | {
1085
- sourceKind: "IMPORTED";
1086
- acceptanceId: string;
1087
- reviewId: string;
1088
- normalizationId: string;
1089
- sourceId: string;
1090
- sourceVersionId: string;
1091
- shotId: string & import("zod").$brand<"ShotId">;
1092
- artifactId: string & import("zod").$brand<"ArtifactId">;
1093
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1094
- checksumSha256: string;
1095
- executionClass: "LIVE" | "TEST_ONLY";
1096
- reviewResult: "PASS" | "WARNING";
1097
- })[];
1098
- constraintSetFingerprint: string;
1099
- referenceSetFingerprint: string;
1100
- output: {
1101
- aspectRatio: "16:9" | "9:16";
1102
- targetDurationSeconds: number | null;
1103
- workingResolution: null;
1104
- frameRate: null;
1105
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1106
- };
1107
- requiredCapabilities: {
1108
- referenceConditioning: true;
1109
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
1110
- startFrameControl: boolean;
1111
- endFrameControl: boolean;
1112
- nativeAudio?: boolean | undefined;
1113
- };
1114
- fingerprint: string;
1115
- } | null;
1116
- createdByPrincipalId: string & import("zod").$brand<"PrincipalId">;
1117
- createdAt: string;
1118
- };
1119
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
1120
- superseded: boolean;
1121
- freshnessReasons: ("SUPERSEDED" | "PLAN_CHANGED" | "SOUND_PLAN_CHANGED" | "SHOT_CHANGED" | "REFERENCE_UNAVAILABLE" | "CONSISTENCY_PROFILE_CHANGED" | "KEYFRAME_SELECTION_CHANGED" | "PREDECESSOR_ACCEPTANCE_CHANGED")[];
1122
- execution: {
1123
- available: boolean;
1124
- reasons: ("STALE_BASIS" | "PREPARATION_BLOCKED" | "PRODUCTION_NOT_RUNNABLE" | "PROVIDER_CAPABILITY_UNAVAILABLE" | "VIDEO_SELECTION_REQUIRED")[];
1125
- eligibleVideoSelections?: {
1126
- connectionId: string & import("zod").$brand<"ProviderConnectionId">;
1127
- modelProfileId: string;
1128
- }[] | undefined;
1129
- };
1130
- }, {
1131
- preparation: {
1132
- id: string;
1133
- version: number;
1134
- basis: {
1135
- tenantId: string;
1136
- projectId: string;
1137
- productionId: string;
1138
- sceneId: string;
1139
- shotId: string;
1140
- productionRevision: number;
1141
- briefVersionId: string;
1142
- briefVersion: number;
1143
- storyVersionId: string;
1144
- storyVersion: number;
1145
- planVersionId: string;
1146
- planVersion: number;
1147
- shotPlanningRevision: number;
1148
- resolverVersion: "w7-product-preflight-v1";
1149
- consistencyProfile?: {
1150
- id: string;
1151
- version: number;
1152
- effectiveFingerprint: string;
1153
- } | undefined;
1154
- };
1155
- target: {
1156
- mediaType: "IMAGE";
1157
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
1158
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1159
- } | {
1160
- mediaType: "VIDEO";
1161
- purpose: "SHOT_CANDIDATE";
1162
- };
1163
- constraints: {
1164
- preparationId: string;
1165
- version: number;
1166
- fingerprint: string;
1167
- items: {
1168
- key: string;
1169
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
1170
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
1171
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1172
- expected: string;
1173
- source: {
1174
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
1175
- id: string;
1176
- version: number;
1177
- };
1178
- continuity?: {
1179
- kind: "STATE";
1180
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1181
- entry: string;
1182
- exit: string;
1183
- changes?: {
1184
- atPermille: number;
1185
- from: string;
1186
- to: string;
1187
- reason: string;
1188
- }[] | undefined;
1189
- } | {
1190
- kind: "TIME";
1191
- mode: "MONOTONIC" | "PLANNED_JUMPS";
1192
- entryMs: number;
1193
- exitMs: number;
1194
- jumps?: {
1195
- atPermille: number;
1196
- fromMs: number;
1197
- toMs: number;
1198
- reason: string;
1199
- }[] | undefined;
1200
- } | undefined;
1201
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
1202
- subjectId?: string | undefined;
1203
- dimension?: string | undefined;
1204
- }[];
1205
- };
1206
- referenceSet: {
1207
- preparationId: string;
1208
- version: number;
1209
- fingerprint: string;
1210
- bindings: {
1211
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
1212
- artifactId: string;
1213
- representationId: string;
1214
- checksumSha256: string;
1215
- reason: string;
1216
- artifactChecksumSha256: string;
1217
- contentType: "image/png" | "image/jpeg" | "image/webp";
1218
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
1219
- keyframeAcceptanceId?: string | undefined;
1220
- acceptedKeyframe?: {
1221
- acceptanceId: string;
1222
- reviewId: string;
1223
- generationId: string;
1224
- candidateId: string;
1225
- shotId: string;
1226
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1227
- artifactId: string;
1228
- representationId: string;
1229
- checksumSha256: string;
1230
- artifactChecksumSha256: string;
1231
- planVersionId: string;
1232
- planVersion: number;
1233
- shotPlanningRevision: number;
1234
- executionClass: "LIVE" | "TEST_ONLY";
1235
- } | undefined;
1236
- consistencyRuleId?: string | undefined;
1237
- subjectId?: string | undefined;
1238
- }[];
1239
- };
1240
- canonicalSources: {
1241
- artifactId: string;
1242
- representationId: string;
1243
- checksumSha256: string;
1244
- artifactChecksumSha256: string;
1245
- }[];
1246
- blockers: {
1247
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
1248
- summary: string;
1249
- relatedShotId?: string | undefined;
1250
- edgeId?: string | undefined;
1251
- }[];
1252
- contract: {
1253
- id: string;
1254
- schemaVersion: 1;
1255
- preparationId: string;
1256
- target: {
1257
- mediaType: "IMAGE";
1258
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
1259
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1260
- } | {
1261
- mediaType: "VIDEO";
1262
- purpose: "SHOT_CANDIDATE";
1263
- };
1264
- basis: {
1265
- tenantId: string;
1266
- projectId: string;
1267
- productionId: string;
1268
- sceneId: string;
1269
- shotId: string;
1270
- productionRevision: number;
1271
- briefVersionId: string;
1272
- briefVersion: number;
1273
- storyVersionId: string;
1274
- storyVersion: number;
1275
- planVersionId: string;
1276
- planVersion: number;
1277
- shotPlanningRevision: number;
1278
- resolverVersion: "w7-product-preflight-v1";
1279
- consistencyProfile?: {
1280
- id: string;
1281
- version: number;
1282
- effectiveFingerprint: string;
1283
- } | undefined;
1284
- };
1285
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
1286
- creativeInstruction: {
1287
- shot: {
1288
- narrativePurpose: string;
1289
- subjectAction: string;
1290
- targetDurationSeconds: number;
1291
- subjectRequirements?: string[] | undefined;
1292
- cameraComposition?: string | undefined;
1293
- factualClaims?: {
1294
- key: string;
1295
- value: string;
1296
- }[] | undefined;
1297
- requiresGeneratedKeyframe?: boolean | undefined;
1298
- sourceMediaAllowed?: boolean | undefined;
1299
- direction?: {
1300
- camera: {
1301
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
1302
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
1303
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
1304
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
1305
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
1306
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
1307
- lensIntent?: string | undefined;
1308
- };
1309
- temporalBeats: {
1310
- startSeconds: number;
1311
- endSeconds: number;
1312
- action: string;
1313
- }[];
1314
- environmentIntent?: string | undefined;
1315
- lightingIntent?: string | undefined;
1316
- styleIntent?: string | undefined;
1317
- audioIntent?: string | undefined;
1318
- } | undefined;
1319
- };
1320
- scenePurpose: string;
1321
- productPresentationGoal: string;
1322
- entryBoundary: {
1323
- attribute: string;
1324
- value: string;
1325
- }[];
1326
- exitBoundary: {
1327
- attribute: string;
1328
- value: string;
1329
- }[];
1330
- sound?: {
1331
- soundPlanVersionId: string;
1332
- fingerprint: string;
1333
- content: {
1334
- nativeAudio: boolean;
1335
- cues: {
1336
- id: string;
1337
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1338
- startMs: number;
1339
- endMs: number;
1340
- exactSpeech: boolean;
1341
- lipSync: "NONE" | "REQUIRED";
1342
- text?: string | undefined;
1343
- }[];
1344
- model?: {
1345
- modelProfileId: string;
1346
- modelProfileVersion: number;
1347
- connectionId: string;
1348
- } | undefined;
1349
- };
1350
- } | undefined;
1351
- locationContext?: string | undefined;
1352
- timeContext?: string | undefined;
1353
- styleTone?: string | undefined;
1354
- };
1355
- constraintSetFingerprint: string;
1356
- referenceSetFingerprint: string;
1357
- output: {
1358
- aspectRatio: "16:9" | "9:16";
1359
- targetDurationSeconds: number | null;
1360
- workingResolution: null;
1361
- frameRate: null;
1362
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1363
- };
1364
- requiredCapabilities: {
1365
- referenceConditioning: true;
1366
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
1367
- startFrameControl: boolean;
1368
- endFrameControl: boolean;
1369
- nativeAudio?: boolean | undefined;
1370
- };
1371
- fingerprint: string;
1372
- acceptedShotReferences?: ({
1373
- acceptanceId: string;
1374
- reviewId: string;
1375
- generationId: string;
1376
- candidateId: string;
1377
- shotId: string;
1378
- artifactId: string;
1379
- representationId: string;
1380
- checksumSha256: string;
1381
- artifactChecksumSha256: string;
1382
- preparationId: string;
1383
- contractId: string;
1384
- contractFingerprint: string;
1385
- planVersionId: string;
1386
- planVersion: number;
1387
- shotPlanningRevision: number;
1388
- executionClass: "LIVE" | "TEST_ONLY";
1389
- reviewResult: "PASS" | "WARNING";
1390
- } | {
1391
- sourceKind: "PROGRAMMATIC";
1392
- acceptanceId: string;
1393
- reviewId: string;
1394
- renderId: string;
1395
- compositionId: string;
1396
- compositionVersionId: string;
1397
- compositionVersion: number;
1398
- compositionFingerprint: string;
1399
- renderManifestFingerprint: string;
1400
- shotId: string;
1401
- artifactId: string;
1402
- representationId: string;
1403
- checksumSha256: string;
1404
- artifactChecksumSha256: string;
1405
- planVersionId: string;
1406
- planVersion: number;
1407
- shotPlanningRevision: number;
1408
- executionClass: "LIVE" | "TEST_ONLY";
1409
- reviewResult: "PASS" | "WARNING";
1410
- } | {
1411
- sourceKind: "IMPORTED";
1412
- acceptanceId: string;
1413
- reviewId: string;
1414
- normalizationId: string;
1415
- sourceId: string;
1416
- sourceVersionId: string;
1417
- shotId: string;
1418
- artifactId: string;
1419
- representationId: string;
1420
- checksumSha256: string;
1421
- executionClass: "LIVE" | "TEST_ONLY";
1422
- reviewResult: "PASS" | "WARNING";
1423
- })[] | undefined;
1424
- } | null;
1425
- createdByPrincipalId: string;
1426
- createdAt: string;
1427
- acceptedShotReferences?: ({
1428
- acceptanceId: string;
1429
- reviewId: string;
1430
- generationId: string;
1431
- candidateId: string;
1432
- shotId: string;
1433
- artifactId: string;
1434
- representationId: string;
1435
- checksumSha256: string;
1436
- artifactChecksumSha256: string;
1437
- preparationId: string;
1438
- contractId: string;
1439
- contractFingerprint: string;
1440
- planVersionId: string;
1441
- planVersion: number;
1442
- shotPlanningRevision: number;
1443
- executionClass: "LIVE" | "TEST_ONLY";
1444
- reviewResult: "PASS" | "WARNING";
1445
- } | {
1446
- sourceKind: "PROGRAMMATIC";
1447
- acceptanceId: string;
1448
- reviewId: string;
1449
- renderId: string;
1450
- compositionId: string;
1451
- compositionVersionId: string;
1452
- compositionVersion: number;
1453
- compositionFingerprint: string;
1454
- renderManifestFingerprint: string;
1455
- shotId: string;
1456
- artifactId: string;
1457
- representationId: string;
1458
- checksumSha256: string;
1459
- artifactChecksumSha256: string;
1460
- planVersionId: string;
1461
- planVersion: number;
1462
- shotPlanningRevision: number;
1463
- executionClass: "LIVE" | "TEST_ONLY";
1464
- reviewResult: "PASS" | "WARNING";
1465
- } | {
1466
- sourceKind: "IMPORTED";
1467
- acceptanceId: string;
1468
- reviewId: string;
1469
- normalizationId: string;
1470
- sourceId: string;
1471
- sourceVersionId: string;
1472
- shotId: string;
1473
- artifactId: string;
1474
- representationId: string;
1475
- checksumSha256: string;
1476
- executionClass: "LIVE" | "TEST_ONLY";
1477
- reviewResult: "PASS" | "WARNING";
1478
- })[] | undefined;
1479
- };
1480
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
1481
- superseded: boolean;
1482
- freshnessReasons: ("SUPERSEDED" | "PLAN_CHANGED" | "SOUND_PLAN_CHANGED" | "SHOT_CHANGED" | "REFERENCE_UNAVAILABLE" | "CONSISTENCY_PROFILE_CHANGED" | "KEYFRAME_SELECTION_CHANGED" | "PREDECESSOR_ACCEPTANCE_CHANGED")[];
1483
- execution: {
1484
- available: boolean;
1485
- reasons: ("STALE_BASIS" | "PREPARATION_BLOCKED" | "PRODUCTION_NOT_RUNNABLE" | "PROVIDER_CAPABILITY_UNAVAILABLE" | "VIDEO_SELECTION_REQUIRED")[];
1486
- eligibleVideoSelections?: {
1487
- connectionId: string;
1488
- modelProfileId: string;
1489
- }[] | undefined;
1490
- };
1491
- }>;
1492
- readonly "shot-preparation.active": import("./spec.js").HttpOperationSpec<{
1493
- tenantId: string;
1494
- productionId: string;
1495
- shotId: string;
1496
- mediaType: "IMAGE" | "VIDEO";
1497
- }, {
1498
- tenantId: string & import("zod").$brand<"TenantId">;
1499
- productionId: string & import("zod").$brand<"ProductionId">;
1500
- shotId: string & import("zod").$brand<"ShotId">;
1501
- mediaType: "IMAGE" | "VIDEO";
1502
- }, {
1503
- preparation: {
1504
- id: string & import("zod").$brand<"PreparationId">;
1505
- version: number;
1506
- basis: {
1507
- tenantId: string & import("zod").$brand<"TenantId">;
1508
- projectId: string & import("zod").$brand<"ProjectId">;
1509
- productionId: string & import("zod").$brand<"ProductionId">;
1510
- sceneId: string & import("zod").$brand<"SceneId">;
1511
- shotId: string & import("zod").$brand<"ShotId">;
1512
- productionRevision: number;
1513
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
1514
- briefVersion: number;
1515
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
1516
- storyVersion: number;
1517
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1518
- planVersion: number;
1519
- shotPlanningRevision: number;
1520
- resolverVersion: "w7-product-preflight-v1";
1521
- consistencyProfile?: {
1522
- id: string;
1523
- version: number;
1524
- effectiveFingerprint: string;
1525
- } | undefined;
1526
- };
1527
- target: {
1528
- mediaType: "IMAGE";
1529
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
1530
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1531
- } | {
1532
- mediaType: "VIDEO";
1533
- purpose: "SHOT_CANDIDATE";
1534
- };
1535
- constraints: {
1536
- preparationId: string & import("zod").$brand<"PreparationId">;
1537
- version: number;
1538
- fingerprint: string;
1539
- items: {
1540
- key: string;
1541
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
1542
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
1543
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1544
- expected: string;
1545
- source: {
1546
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
1547
- id: string;
1548
- version: number;
1549
- };
1550
- continuity?: {
1551
- kind: "STATE";
1552
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1553
- entry: string;
1554
- exit: string;
1555
- changes?: {
1556
- atPermille: number;
1557
- from: string;
1558
- to: string;
1559
- reason: string;
1560
- }[] | undefined;
1561
- } | {
1562
- kind: "TIME";
1563
- mode: "MONOTONIC" | "PLANNED_JUMPS";
1564
- entryMs: number;
1565
- exitMs: number;
1566
- jumps?: {
1567
- atPermille: number;
1568
- fromMs: number;
1569
- toMs: number;
1570
- reason: string;
1571
- }[] | undefined;
1572
- } | undefined;
1573
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
1574
- subjectId?: string | undefined;
1575
- dimension?: string | undefined;
1576
- }[];
1577
- };
1578
- referenceSet: {
1579
- preparationId: string & import("zod").$brand<"PreparationId">;
1580
- version: number;
1581
- fingerprint: string;
1582
- bindings: {
1583
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
1584
- artifactId: string & import("zod").$brand<"ArtifactId">;
1585
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1586
- checksumSha256: string;
1587
- reason: string;
1588
- artifactChecksumSha256: string;
1589
- contentType: "image/png" | "image/jpeg" | "image/webp";
1590
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
1591
- keyframeAcceptanceId?: string | undefined;
1592
- acceptedKeyframe?: {
1593
- acceptanceId: string;
1594
- reviewId: string;
1595
- generationId: string;
1596
- candidateId: string;
1597
- shotId: string & import("zod").$brand<"ShotId">;
1598
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1599
- artifactId: string & import("zod").$brand<"ArtifactId">;
1600
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1601
- checksumSha256: string;
1602
- artifactChecksumSha256: string;
1603
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1604
- planVersion: number;
1605
- shotPlanningRevision: number;
1606
- executionClass: "LIVE" | "TEST_ONLY";
1607
- } | undefined;
1608
- consistencyRuleId?: string | undefined;
1609
- subjectId?: string | undefined;
1610
- }[];
1611
- };
1612
- canonicalSources: {
1613
- artifactId: string & import("zod").$brand<"ArtifactId">;
1614
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1615
- checksumSha256: string;
1616
- artifactChecksumSha256: string;
1617
- }[];
1618
- acceptedShotReferences: ({
1619
- acceptanceId: string;
1620
- reviewId: string;
1621
- generationId: string;
1622
- candidateId: string;
1623
- shotId: string & import("zod").$brand<"ShotId">;
1624
- artifactId: string & import("zod").$brand<"ArtifactId">;
1625
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1626
- checksumSha256: string;
1627
- artifactChecksumSha256: string;
1628
- preparationId: string;
1629
- contractId: string;
1630
- contractFingerprint: string;
1631
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1632
- planVersion: number;
1633
- shotPlanningRevision: number;
1634
- executionClass: "LIVE" | "TEST_ONLY";
1635
- reviewResult: "PASS" | "WARNING";
1636
- } | {
1637
- sourceKind: "PROGRAMMATIC";
1638
- acceptanceId: string;
1639
- reviewId: string;
1640
- renderId: string;
1641
- compositionId: string;
1642
- compositionVersionId: string;
1643
- compositionVersion: number;
1644
- compositionFingerprint: string;
1645
- renderManifestFingerprint: string;
1646
- shotId: string & import("zod").$brand<"ShotId">;
1647
- artifactId: string & import("zod").$brand<"ArtifactId">;
1648
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1649
- checksumSha256: string;
1650
- artifactChecksumSha256: string;
1651
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1652
- planVersion: number;
1653
- shotPlanningRevision: number;
1654
- executionClass: "LIVE" | "TEST_ONLY";
1655
- reviewResult: "PASS" | "WARNING";
1656
- } | {
1657
- sourceKind: "IMPORTED";
1658
- acceptanceId: string;
1659
- reviewId: string;
1660
- normalizationId: string;
1661
- sourceId: string;
1662
- sourceVersionId: string;
1663
- shotId: string & import("zod").$brand<"ShotId">;
1664
- artifactId: string & import("zod").$brand<"ArtifactId">;
1665
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1666
- checksumSha256: string;
1667
- executionClass: "LIVE" | "TEST_ONLY";
1668
- reviewResult: "PASS" | "WARNING";
1669
- })[];
1670
- blockers: {
1671
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
1672
- summary: string;
1673
- relatedShotId?: (string & import("zod").$brand<"ShotId">) | undefined;
1674
- edgeId?: (string & import("zod").$brand<"ContinuityEdgeId">) | undefined;
1675
- }[];
1676
- contract: {
1677
- id: string & import("zod").$brand<"GenerationContractId">;
1678
- schemaVersion: 1;
1679
- preparationId: string & import("zod").$brand<"PreparationId">;
1680
- target: {
1681
- mediaType: "IMAGE";
1682
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
1683
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1684
- } | {
1685
- mediaType: "VIDEO";
1686
- purpose: "SHOT_CANDIDATE";
1687
- };
1688
- basis: {
1689
- tenantId: string & import("zod").$brand<"TenantId">;
1690
- projectId: string & import("zod").$brand<"ProjectId">;
1691
- productionId: string & import("zod").$brand<"ProductionId">;
1692
- sceneId: string & import("zod").$brand<"SceneId">;
1693
- shotId: string & import("zod").$brand<"ShotId">;
1694
- productionRevision: number;
1695
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
1696
- briefVersion: number;
1697
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
1698
- storyVersion: number;
1699
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1700
- planVersion: number;
1701
- shotPlanningRevision: number;
1702
- resolverVersion: "w7-product-preflight-v1";
1703
- consistencyProfile?: {
1704
- id: string;
1705
- version: number;
1706
- effectiveFingerprint: string;
1707
- } | undefined;
1708
- };
1709
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
1710
- creativeInstruction: {
1711
- shot: {
1712
- narrativePurpose: string;
1713
- subjectAction: string;
1714
- targetDurationSeconds: number;
1715
- subjectRequirements: string[];
1716
- factualClaims: {
1717
- key: string;
1718
- value: string;
1719
- }[];
1720
- requiresGeneratedKeyframe: boolean;
1721
- sourceMediaAllowed: boolean;
1722
- cameraComposition?: string | undefined;
1723
- direction?: {
1724
- camera: {
1725
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
1726
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
1727
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
1728
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
1729
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
1730
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
1731
- lensIntent?: string | undefined;
1732
- };
1733
- temporalBeats: {
1734
- startSeconds: number;
1735
- endSeconds: number;
1736
- action: string;
1737
- }[];
1738
- environmentIntent?: string | undefined;
1739
- lightingIntent?: string | undefined;
1740
- styleIntent?: string | undefined;
1741
- audioIntent?: string | undefined;
1742
- } | undefined;
1743
- };
1744
- scenePurpose: string;
1745
- productPresentationGoal: string;
1746
- entryBoundary: {
1747
- attribute: string;
1748
- value: string;
1749
- }[];
1750
- exitBoundary: {
1751
- attribute: string;
1752
- value: string;
1753
- }[];
1754
- sound?: {
1755
- soundPlanVersionId: string;
1756
- fingerprint: string;
1757
- content: {
1758
- nativeAudio: boolean;
1759
- cues: {
1760
- id: string;
1761
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1762
- startMs: number;
1763
- endMs: number;
1764
- exactSpeech: boolean;
1765
- lipSync: "NONE" | "REQUIRED";
1766
- text?: string | undefined;
1767
- }[];
1768
- model?: {
1769
- modelProfileId: string;
1770
- modelProfileVersion: number;
1771
- connectionId: string;
1772
- } | undefined;
1773
- };
1774
- } | undefined;
1775
- locationContext?: string | undefined;
1776
- timeContext?: string | undefined;
1777
- styleTone?: string | undefined;
1778
- };
1779
- acceptedShotReferences: ({
1780
- acceptanceId: string;
1781
- reviewId: string;
1782
- generationId: string;
1783
- candidateId: string;
1784
- shotId: string & import("zod").$brand<"ShotId">;
1785
- artifactId: string & import("zod").$brand<"ArtifactId">;
1786
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1787
- checksumSha256: string;
1788
- artifactChecksumSha256: string;
1789
- preparationId: string;
1790
- contractId: string;
1791
- contractFingerprint: string;
1792
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1793
- planVersion: number;
1794
- shotPlanningRevision: number;
1795
- executionClass: "LIVE" | "TEST_ONLY";
1796
- reviewResult: "PASS" | "WARNING";
1797
- } | {
1798
- sourceKind: "PROGRAMMATIC";
1799
- acceptanceId: string;
1800
- reviewId: string;
1801
- renderId: string;
1802
- compositionId: string;
1803
- compositionVersionId: string;
1804
- compositionVersion: number;
1805
- compositionFingerprint: string;
1806
- renderManifestFingerprint: string;
1807
- shotId: string & import("zod").$brand<"ShotId">;
1808
- artifactId: string & import("zod").$brand<"ArtifactId">;
1809
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1810
- checksumSha256: string;
1811
- artifactChecksumSha256: string;
1812
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
1813
- planVersion: number;
1814
- shotPlanningRevision: number;
1815
- executionClass: "LIVE" | "TEST_ONLY";
1816
- reviewResult: "PASS" | "WARNING";
1817
- } | {
1818
- sourceKind: "IMPORTED";
1819
- acceptanceId: string;
1820
- reviewId: string;
1821
- normalizationId: string;
1822
- sourceId: string;
1823
- sourceVersionId: string;
1824
- shotId: string & import("zod").$brand<"ShotId">;
1825
- artifactId: string & import("zod").$brand<"ArtifactId">;
1826
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
1827
- checksumSha256: string;
1828
- executionClass: "LIVE" | "TEST_ONLY";
1829
- reviewResult: "PASS" | "WARNING";
1830
- })[];
1831
- constraintSetFingerprint: string;
1832
- referenceSetFingerprint: string;
1833
- output: {
1834
- aspectRatio: "16:9" | "9:16";
1835
- targetDurationSeconds: number | null;
1836
- workingResolution: null;
1837
- frameRate: null;
1838
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
1839
- };
1840
- requiredCapabilities: {
1841
- referenceConditioning: true;
1842
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
1843
- startFrameControl: boolean;
1844
- endFrameControl: boolean;
1845
- nativeAudio?: boolean | undefined;
1846
- };
1847
- fingerprint: string;
1848
- } | null;
1849
- createdByPrincipalId: string & import("zod").$brand<"PrincipalId">;
1850
- createdAt: string;
1851
- };
1852
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
1853
- superseded: boolean;
1854
- freshnessReasons: ("SUPERSEDED" | "PLAN_CHANGED" | "SOUND_PLAN_CHANGED" | "SHOT_CHANGED" | "REFERENCE_UNAVAILABLE" | "CONSISTENCY_PROFILE_CHANGED" | "KEYFRAME_SELECTION_CHANGED" | "PREDECESSOR_ACCEPTANCE_CHANGED")[];
1855
- execution: {
1856
- available: boolean;
1857
- reasons: ("STALE_BASIS" | "PREPARATION_BLOCKED" | "PRODUCTION_NOT_RUNNABLE" | "PROVIDER_CAPABILITY_UNAVAILABLE" | "VIDEO_SELECTION_REQUIRED")[];
1858
- eligibleVideoSelections?: {
1859
- connectionId: string & import("zod").$brand<"ProviderConnectionId">;
1860
- modelProfileId: string;
1861
- }[] | undefined;
1862
- };
1863
- }, {
1864
- preparation: {
1865
- id: string;
1866
- version: number;
1867
- basis: {
1868
- tenantId: string;
1869
- projectId: string;
1870
- productionId: string;
1871
- sceneId: string;
1872
- shotId: string;
1873
- productionRevision: number;
1874
- briefVersionId: string;
1875
- briefVersion: number;
1876
- storyVersionId: string;
1877
- storyVersion: number;
1878
- planVersionId: string;
1879
- planVersion: number;
1880
- shotPlanningRevision: number;
1881
- resolverVersion: "w7-product-preflight-v1";
1882
- consistencyProfile?: {
1883
- id: string;
1884
- version: number;
1885
- effectiveFingerprint: string;
1886
- } | undefined;
1887
- };
1888
- target: {
1889
- mediaType: "IMAGE";
1890
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
1891
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1892
- } | {
1893
- mediaType: "VIDEO";
1894
- purpose: "SHOT_CANDIDATE";
1895
- };
1896
- constraints: {
1897
- preparationId: string;
1898
- version: number;
1899
- fingerprint: string;
1900
- items: {
1901
- key: string;
1902
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
1903
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
1904
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
1905
- expected: string;
1906
- source: {
1907
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
1908
- id: string;
1909
- version: number;
1910
- };
1911
- continuity?: {
1912
- kind: "STATE";
1913
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
1914
- entry: string;
1915
- exit: string;
1916
- changes?: {
1917
- atPermille: number;
1918
- from: string;
1919
- to: string;
1920
- reason: string;
1921
- }[] | undefined;
1922
- } | {
1923
- kind: "TIME";
1924
- mode: "MONOTONIC" | "PLANNED_JUMPS";
1925
- entryMs: number;
1926
- exitMs: number;
1927
- jumps?: {
1928
- atPermille: number;
1929
- fromMs: number;
1930
- toMs: number;
1931
- reason: string;
1932
- }[] | undefined;
1933
- } | undefined;
1934
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
1935
- subjectId?: string | undefined;
1936
- dimension?: string | undefined;
1937
- }[];
1938
- };
1939
- referenceSet: {
1940
- preparationId: string;
1941
- version: number;
1942
- fingerprint: string;
1943
- bindings: {
1944
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
1945
- artifactId: string;
1946
- representationId: string;
1947
- checksumSha256: string;
1948
- reason: string;
1949
- artifactChecksumSha256: string;
1950
- contentType: "image/png" | "image/jpeg" | "image/webp";
1951
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
1952
- keyframeAcceptanceId?: string | undefined;
1953
- acceptedKeyframe?: {
1954
- acceptanceId: string;
1955
- reviewId: string;
1956
- generationId: string;
1957
- candidateId: string;
1958
- shotId: string;
1959
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1960
- artifactId: string;
1961
- representationId: string;
1962
- checksumSha256: string;
1963
- artifactChecksumSha256: string;
1964
- planVersionId: string;
1965
- planVersion: number;
1966
- shotPlanningRevision: number;
1967
- executionClass: "LIVE" | "TEST_ONLY";
1968
- } | undefined;
1969
- consistencyRuleId?: string | undefined;
1970
- subjectId?: string | undefined;
1971
- }[];
1972
- };
1973
- canonicalSources: {
1974
- artifactId: string;
1975
- representationId: string;
1976
- checksumSha256: string;
1977
- artifactChecksumSha256: string;
1978
- }[];
1979
- blockers: {
1980
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
1981
- summary: string;
1982
- relatedShotId?: string | undefined;
1983
- edgeId?: string | undefined;
1984
- }[];
1985
- contract: {
1986
- id: string;
1987
- schemaVersion: 1;
1988
- preparationId: string;
1989
- target: {
1990
- mediaType: "IMAGE";
1991
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
1992
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
1993
- } | {
1994
- mediaType: "VIDEO";
1995
- purpose: "SHOT_CANDIDATE";
1996
- };
1997
- basis: {
1998
- tenantId: string;
1999
- projectId: string;
2000
- productionId: string;
2001
- sceneId: string;
2002
- shotId: string;
2003
- productionRevision: number;
2004
- briefVersionId: string;
2005
- briefVersion: number;
2006
- storyVersionId: string;
2007
- storyVersion: number;
2008
- planVersionId: string;
2009
- planVersion: number;
2010
- shotPlanningRevision: number;
2011
- resolverVersion: "w7-product-preflight-v1";
2012
- consistencyProfile?: {
2013
- id: string;
2014
- version: number;
2015
- effectiveFingerprint: string;
2016
- } | undefined;
2017
- };
2018
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
2019
- creativeInstruction: {
2020
- shot: {
2021
- narrativePurpose: string;
2022
- subjectAction: string;
2023
- targetDurationSeconds: number;
2024
- subjectRequirements?: string[] | undefined;
2025
- cameraComposition?: string | undefined;
2026
- factualClaims?: {
2027
- key: string;
2028
- value: string;
2029
- }[] | undefined;
2030
- requiresGeneratedKeyframe?: boolean | undefined;
2031
- sourceMediaAllowed?: boolean | undefined;
2032
- direction?: {
2033
- camera: {
2034
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
2035
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
2036
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
2037
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
2038
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
2039
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
2040
- lensIntent?: string | undefined;
2041
- };
2042
- temporalBeats: {
2043
- startSeconds: number;
2044
- endSeconds: number;
2045
- action: string;
2046
- }[];
2047
- environmentIntent?: string | undefined;
2048
- lightingIntent?: string | undefined;
2049
- styleIntent?: string | undefined;
2050
- audioIntent?: string | undefined;
2051
- } | undefined;
2052
- };
2053
- scenePurpose: string;
2054
- productPresentationGoal: string;
2055
- entryBoundary: {
2056
- attribute: string;
2057
- value: string;
2058
- }[];
2059
- exitBoundary: {
2060
- attribute: string;
2061
- value: string;
2062
- }[];
2063
- sound?: {
2064
- soundPlanVersionId: string;
2065
- fingerprint: string;
2066
- content: {
2067
- nativeAudio: boolean;
2068
- cues: {
2069
- id: string;
2070
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
2071
- startMs: number;
2072
- endMs: number;
2073
- exactSpeech: boolean;
2074
- lipSync: "NONE" | "REQUIRED";
2075
- text?: string | undefined;
2076
- }[];
2077
- model?: {
2078
- modelProfileId: string;
2079
- modelProfileVersion: number;
2080
- connectionId: string;
2081
- } | undefined;
2082
- };
2083
- } | undefined;
2084
- locationContext?: string | undefined;
2085
- timeContext?: string | undefined;
2086
- styleTone?: string | undefined;
2087
- };
2088
- constraintSetFingerprint: string;
2089
- referenceSetFingerprint: string;
2090
- output: {
2091
- aspectRatio: "16:9" | "9:16";
2092
- targetDurationSeconds: number | null;
2093
- workingResolution: null;
2094
- frameRate: null;
2095
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
2096
- };
2097
- requiredCapabilities: {
2098
- referenceConditioning: true;
2099
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
2100
- startFrameControl: boolean;
2101
- endFrameControl: boolean;
2102
- nativeAudio?: boolean | undefined;
2103
- };
2104
- fingerprint: string;
2105
- acceptedShotReferences?: ({
2106
- acceptanceId: string;
2107
- reviewId: string;
2108
- generationId: string;
2109
- candidateId: string;
2110
- shotId: string;
2111
- artifactId: string;
2112
- representationId: string;
2113
- checksumSha256: string;
2114
- artifactChecksumSha256: string;
2115
- preparationId: string;
2116
- contractId: string;
2117
- contractFingerprint: string;
2118
- planVersionId: string;
2119
- planVersion: number;
2120
- shotPlanningRevision: number;
2121
- executionClass: "LIVE" | "TEST_ONLY";
2122
- reviewResult: "PASS" | "WARNING";
2123
- } | {
2124
- sourceKind: "PROGRAMMATIC";
2125
- acceptanceId: string;
2126
- reviewId: string;
2127
- renderId: string;
2128
- compositionId: string;
2129
- compositionVersionId: string;
2130
- compositionVersion: number;
2131
- compositionFingerprint: string;
2132
- renderManifestFingerprint: string;
2133
- shotId: string;
2134
- artifactId: string;
2135
- representationId: string;
2136
- checksumSha256: string;
2137
- artifactChecksumSha256: string;
2138
- planVersionId: string;
2139
- planVersion: number;
2140
- shotPlanningRevision: number;
2141
- executionClass: "LIVE" | "TEST_ONLY";
2142
- reviewResult: "PASS" | "WARNING";
2143
- } | {
2144
- sourceKind: "IMPORTED";
2145
- acceptanceId: string;
2146
- reviewId: string;
2147
- normalizationId: string;
2148
- sourceId: string;
2149
- sourceVersionId: string;
2150
- shotId: string;
2151
- artifactId: string;
2152
- representationId: string;
2153
- checksumSha256: string;
2154
- executionClass: "LIVE" | "TEST_ONLY";
2155
- reviewResult: "PASS" | "WARNING";
2156
- })[] | undefined;
2157
- } | null;
2158
- createdByPrincipalId: string;
2159
- createdAt: string;
2160
- acceptedShotReferences?: ({
2161
- acceptanceId: string;
2162
- reviewId: string;
2163
- generationId: string;
2164
- candidateId: string;
2165
- shotId: string;
2166
- artifactId: string;
2167
- representationId: string;
2168
- checksumSha256: string;
2169
- artifactChecksumSha256: string;
2170
- preparationId: string;
2171
- contractId: string;
2172
- contractFingerprint: string;
2173
- planVersionId: string;
2174
- planVersion: number;
2175
- shotPlanningRevision: number;
2176
- executionClass: "LIVE" | "TEST_ONLY";
2177
- reviewResult: "PASS" | "WARNING";
2178
- } | {
2179
- sourceKind: "PROGRAMMATIC";
2180
- acceptanceId: string;
2181
- reviewId: string;
2182
- renderId: string;
2183
- compositionId: string;
2184
- compositionVersionId: string;
2185
- compositionVersion: number;
2186
- compositionFingerprint: string;
2187
- renderManifestFingerprint: string;
2188
- shotId: string;
2189
- artifactId: string;
2190
- representationId: string;
2191
- checksumSha256: string;
2192
- artifactChecksumSha256: string;
2193
- planVersionId: string;
2194
- planVersion: number;
2195
- shotPlanningRevision: number;
2196
- executionClass: "LIVE" | "TEST_ONLY";
2197
- reviewResult: "PASS" | "WARNING";
2198
- } | {
2199
- sourceKind: "IMPORTED";
2200
- acceptanceId: string;
2201
- reviewId: string;
2202
- normalizationId: string;
2203
- sourceId: string;
2204
- sourceVersionId: string;
2205
- shotId: string;
2206
- artifactId: string;
2207
- representationId: string;
2208
- checksumSha256: string;
2209
- executionClass: "LIVE" | "TEST_ONLY";
2210
- reviewResult: "PASS" | "WARNING";
2211
- })[] | undefined;
2212
- };
2213
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
2214
- superseded: boolean;
2215
- freshnessReasons: ("SUPERSEDED" | "PLAN_CHANGED" | "SOUND_PLAN_CHANGED" | "SHOT_CHANGED" | "REFERENCE_UNAVAILABLE" | "CONSISTENCY_PROFILE_CHANGED" | "KEYFRAME_SELECTION_CHANGED" | "PREDECESSOR_ACCEPTANCE_CHANGED")[];
2216
- execution: {
2217
- available: boolean;
2218
- reasons: ("STALE_BASIS" | "PREPARATION_BLOCKED" | "PRODUCTION_NOT_RUNNABLE" | "PROVIDER_CAPABILITY_UNAVAILABLE" | "VIDEO_SELECTION_REQUIRED")[];
2219
- eligibleVideoSelections?: {
2220
- connectionId: string;
2221
- modelProfileId: string;
2222
- }[] | undefined;
2223
- };
2224
- }>;
2225
- readonly "shot-preparation.query": import("./spec.js").HttpOperationSpec<{
2226
- tenantId: string;
2227
- productionId: string;
2228
- shotId?: string | undefined;
2229
- mediaType?: "IMAGE" | "VIDEO" | undefined;
2230
- limit?: number | undefined;
2231
- next?: string | undefined;
2232
- }, {
2233
- tenantId: string & import("zod").$brand<"TenantId">;
2234
- productionId: string & import("zod").$brand<"ProductionId">;
2235
- limit: number;
2236
- shotId?: (string & import("zod").$brand<"ShotId">) | undefined;
2237
- mediaType?: "IMAGE" | "VIDEO" | undefined;
2238
- next?: string | undefined;
2239
- }, {
2240
- items: {
2241
- preparation: {
2242
- id: string & import("zod").$brand<"PreparationId">;
2243
- version: number;
2244
- basis: {
2245
- tenantId: string & import("zod").$brand<"TenantId">;
2246
- projectId: string & import("zod").$brand<"ProjectId">;
2247
- productionId: string & import("zod").$brand<"ProductionId">;
2248
- sceneId: string & import("zod").$brand<"SceneId">;
2249
- shotId: string & import("zod").$brand<"ShotId">;
2250
- productionRevision: number;
2251
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
2252
- briefVersion: number;
2253
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
2254
- storyVersion: number;
2255
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2256
- planVersion: number;
2257
- shotPlanningRevision: number;
2258
- resolverVersion: "w7-product-preflight-v1";
2259
- consistencyProfile?: {
2260
- id: string;
2261
- version: number;
2262
- effectiveFingerprint: string;
2263
- } | undefined;
2264
- };
2265
- target: {
2266
- mediaType: "IMAGE";
2267
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
2268
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
2269
- } | {
2270
- mediaType: "VIDEO";
2271
- purpose: "SHOT_CANDIDATE";
2272
- };
2273
- constraints: {
2274
- preparationId: string & import("zod").$brand<"PreparationId">;
2275
- version: number;
2276
- fingerprint: string;
2277
- items: {
2278
- key: string;
2279
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
2280
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
2281
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2282
- expected: string;
2283
- source: {
2284
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
2285
- id: string;
2286
- version: number;
2287
- };
2288
- continuity?: {
2289
- kind: "STATE";
2290
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2291
- entry: string;
2292
- exit: string;
2293
- changes?: {
2294
- atPermille: number;
2295
- from: string;
2296
- to: string;
2297
- reason: string;
2298
- }[] | undefined;
2299
- } | {
2300
- kind: "TIME";
2301
- mode: "MONOTONIC" | "PLANNED_JUMPS";
2302
- entryMs: number;
2303
- exitMs: number;
2304
- jumps?: {
2305
- atPermille: number;
2306
- fromMs: number;
2307
- toMs: number;
2308
- reason: string;
2309
- }[] | undefined;
2310
- } | undefined;
2311
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
2312
- subjectId?: string | undefined;
2313
- dimension?: string | undefined;
2314
- }[];
2315
- };
2316
- referenceSet: {
2317
- preparationId: string & import("zod").$brand<"PreparationId">;
2318
- version: number;
2319
- fingerprint: string;
2320
- bindings: {
2321
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
2322
- artifactId: string & import("zod").$brand<"ArtifactId">;
2323
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2324
- checksumSha256: string;
2325
- reason: string;
2326
- artifactChecksumSha256: string;
2327
- contentType: "image/png" | "image/jpeg" | "image/webp";
2328
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
2329
- keyframeAcceptanceId?: string | undefined;
2330
- acceptedKeyframe?: {
2331
- acceptanceId: string;
2332
- reviewId: string;
2333
- generationId: string;
2334
- candidateId: string;
2335
- shotId: string & import("zod").$brand<"ShotId">;
2336
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
2337
- artifactId: string & import("zod").$brand<"ArtifactId">;
2338
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2339
- checksumSha256: string;
2340
- artifactChecksumSha256: string;
2341
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2342
- planVersion: number;
2343
- shotPlanningRevision: number;
2344
- executionClass: "LIVE" | "TEST_ONLY";
2345
- } | undefined;
2346
- consistencyRuleId?: string | undefined;
2347
- subjectId?: string | undefined;
2348
- }[];
2349
- };
2350
- canonicalSources: {
2351
- artifactId: string & import("zod").$brand<"ArtifactId">;
2352
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2353
- checksumSha256: string;
2354
- artifactChecksumSha256: string;
2355
- }[];
2356
- acceptedShotReferences: ({
2357
- acceptanceId: string;
2358
- reviewId: string;
2359
- generationId: string;
2360
- candidateId: string;
2361
- shotId: string & import("zod").$brand<"ShotId">;
2362
- artifactId: string & import("zod").$brand<"ArtifactId">;
2363
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2364
- checksumSha256: string;
2365
- artifactChecksumSha256: string;
2366
- preparationId: string;
2367
- contractId: string;
2368
- contractFingerprint: string;
2369
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2370
- planVersion: number;
2371
- shotPlanningRevision: number;
2372
- executionClass: "LIVE" | "TEST_ONLY";
2373
- reviewResult: "PASS" | "WARNING";
2374
- } | {
2375
- sourceKind: "PROGRAMMATIC";
2376
- acceptanceId: string;
2377
- reviewId: string;
2378
- renderId: string;
2379
- compositionId: string;
2380
- compositionVersionId: string;
2381
- compositionVersion: number;
2382
- compositionFingerprint: string;
2383
- renderManifestFingerprint: string;
2384
- shotId: string & import("zod").$brand<"ShotId">;
2385
- artifactId: string & import("zod").$brand<"ArtifactId">;
2386
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2387
- checksumSha256: string;
2388
- artifactChecksumSha256: string;
2389
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2390
- planVersion: number;
2391
- shotPlanningRevision: number;
2392
- executionClass: "LIVE" | "TEST_ONLY";
2393
- reviewResult: "PASS" | "WARNING";
2394
- } | {
2395
- sourceKind: "IMPORTED";
2396
- acceptanceId: string;
2397
- reviewId: string;
2398
- normalizationId: string;
2399
- sourceId: string;
2400
- sourceVersionId: string;
2401
- shotId: string & import("zod").$brand<"ShotId">;
2402
- artifactId: string & import("zod").$brand<"ArtifactId">;
2403
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2404
- checksumSha256: string;
2405
- executionClass: "LIVE" | "TEST_ONLY";
2406
- reviewResult: "PASS" | "WARNING";
2407
- })[];
2408
- blockers: {
2409
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
2410
- summary: string;
2411
- relatedShotId?: (string & import("zod").$brand<"ShotId">) | undefined;
2412
- edgeId?: (string & import("zod").$brand<"ContinuityEdgeId">) | undefined;
2413
- }[];
2414
- contract: {
2415
- id: string & import("zod").$brand<"GenerationContractId">;
2416
- schemaVersion: 1;
2417
- preparationId: string & import("zod").$brand<"PreparationId">;
2418
- target: {
2419
- mediaType: "IMAGE";
2420
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
2421
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
2422
- } | {
2423
- mediaType: "VIDEO";
2424
- purpose: "SHOT_CANDIDATE";
2425
- };
2426
- basis: {
2427
- tenantId: string & import("zod").$brand<"TenantId">;
2428
- projectId: string & import("zod").$brand<"ProjectId">;
2429
- productionId: string & import("zod").$brand<"ProductionId">;
2430
- sceneId: string & import("zod").$brand<"SceneId">;
2431
- shotId: string & import("zod").$brand<"ShotId">;
2432
- productionRevision: number;
2433
- briefVersionId: string & import("zod").$brand<"BriefVersionId">;
2434
- briefVersion: number;
2435
- storyVersionId: string & import("zod").$brand<"StoryVersionId">;
2436
- storyVersion: number;
2437
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2438
- planVersion: number;
2439
- shotPlanningRevision: number;
2440
- resolverVersion: "w7-product-preflight-v1";
2441
- consistencyProfile?: {
2442
- id: string;
2443
- version: number;
2444
- effectiveFingerprint: string;
2445
- } | undefined;
2446
- };
2447
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
2448
- creativeInstruction: {
2449
- shot: {
2450
- narrativePurpose: string;
2451
- subjectAction: string;
2452
- targetDurationSeconds: number;
2453
- subjectRequirements: string[];
2454
- factualClaims: {
2455
- key: string;
2456
- value: string;
2457
- }[];
2458
- requiresGeneratedKeyframe: boolean;
2459
- sourceMediaAllowed: boolean;
2460
- cameraComposition?: string | undefined;
2461
- direction?: {
2462
- camera: {
2463
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
2464
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
2465
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
2466
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
2467
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
2468
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
2469
- lensIntent?: string | undefined;
2470
- };
2471
- temporalBeats: {
2472
- startSeconds: number;
2473
- endSeconds: number;
2474
- action: string;
2475
- }[];
2476
- environmentIntent?: string | undefined;
2477
- lightingIntent?: string | undefined;
2478
- styleIntent?: string | undefined;
2479
- audioIntent?: string | undefined;
2480
- } | undefined;
2481
- };
2482
- scenePurpose: string;
2483
- productPresentationGoal: string;
2484
- entryBoundary: {
2485
- attribute: string;
2486
- value: string;
2487
- }[];
2488
- exitBoundary: {
2489
- attribute: string;
2490
- value: string;
2491
- }[];
2492
- sound?: {
2493
- soundPlanVersionId: string;
2494
- fingerprint: string;
2495
- content: {
2496
- nativeAudio: boolean;
2497
- cues: {
2498
- id: string;
2499
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
2500
- startMs: number;
2501
- endMs: number;
2502
- exactSpeech: boolean;
2503
- lipSync: "NONE" | "REQUIRED";
2504
- text?: string | undefined;
2505
- }[];
2506
- model?: {
2507
- modelProfileId: string;
2508
- modelProfileVersion: number;
2509
- connectionId: string;
2510
- } | undefined;
2511
- };
2512
- } | undefined;
2513
- locationContext?: string | undefined;
2514
- timeContext?: string | undefined;
2515
- styleTone?: string | undefined;
2516
- };
2517
- acceptedShotReferences: ({
2518
- acceptanceId: string;
2519
- reviewId: string;
2520
- generationId: string;
2521
- candidateId: string;
2522
- shotId: string & import("zod").$brand<"ShotId">;
2523
- artifactId: string & import("zod").$brand<"ArtifactId">;
2524
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2525
- checksumSha256: string;
2526
- artifactChecksumSha256: string;
2527
- preparationId: string;
2528
- contractId: string;
2529
- contractFingerprint: string;
2530
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2531
- planVersion: number;
2532
- shotPlanningRevision: number;
2533
- executionClass: "LIVE" | "TEST_ONLY";
2534
- reviewResult: "PASS" | "WARNING";
2535
- } | {
2536
- sourceKind: "PROGRAMMATIC";
2537
- acceptanceId: string;
2538
- reviewId: string;
2539
- renderId: string;
2540
- compositionId: string;
2541
- compositionVersionId: string;
2542
- compositionVersion: number;
2543
- compositionFingerprint: string;
2544
- renderManifestFingerprint: string;
2545
- shotId: string & import("zod").$brand<"ShotId">;
2546
- artifactId: string & import("zod").$brand<"ArtifactId">;
2547
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2548
- checksumSha256: string;
2549
- artifactChecksumSha256: string;
2550
- planVersionId: string & import("zod").$brand<"SceneShotPlanVersionId">;
2551
- planVersion: number;
2552
- shotPlanningRevision: number;
2553
- executionClass: "LIVE" | "TEST_ONLY";
2554
- reviewResult: "PASS" | "WARNING";
2555
- } | {
2556
- sourceKind: "IMPORTED";
2557
- acceptanceId: string;
2558
- reviewId: string;
2559
- normalizationId: string;
2560
- sourceId: string;
2561
- sourceVersionId: string;
2562
- shotId: string & import("zod").$brand<"ShotId">;
2563
- artifactId: string & import("zod").$brand<"ArtifactId">;
2564
- representationId: string & import("zod").$brand<"ArtifactRepresentationId">;
2565
- checksumSha256: string;
2566
- executionClass: "LIVE" | "TEST_ONLY";
2567
- reviewResult: "PASS" | "WARNING";
2568
- })[];
2569
- constraintSetFingerprint: string;
2570
- referenceSetFingerprint: string;
2571
- output: {
2572
- aspectRatio: "16:9" | "9:16";
2573
- targetDurationSeconds: number | null;
2574
- workingResolution: null;
2575
- frameRate: null;
2576
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
2577
- };
2578
- requiredCapabilities: {
2579
- referenceConditioning: true;
2580
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
2581
- startFrameControl: boolean;
2582
- endFrameControl: boolean;
2583
- nativeAudio?: boolean | undefined;
2584
- };
2585
- fingerprint: string;
2586
- } | null;
2587
- createdByPrincipalId: string & import("zod").$brand<"PrincipalId">;
2588
- createdAt: string;
2589
- };
2590
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
2591
- superseded: boolean;
2592
- freshnessReasons: ("SUPERSEDED" | "PLAN_CHANGED" | "SOUND_PLAN_CHANGED" | "SHOT_CHANGED" | "REFERENCE_UNAVAILABLE" | "CONSISTENCY_PROFILE_CHANGED" | "KEYFRAME_SELECTION_CHANGED" | "PREDECESSOR_ACCEPTANCE_CHANGED")[];
2593
- execution: {
2594
- available: boolean;
2595
- reasons: ("STALE_BASIS" | "PREPARATION_BLOCKED" | "PRODUCTION_NOT_RUNNABLE" | "PROVIDER_CAPABILITY_UNAVAILABLE" | "VIDEO_SELECTION_REQUIRED")[];
2596
- eligibleVideoSelections?: {
2597
- connectionId: string & import("zod").$brand<"ProviderConnectionId">;
2598
- modelProfileId: string;
2599
- }[] | undefined;
2600
- };
2601
- }[];
2602
- page: {
2603
- hasMore: boolean;
2604
- next: string | null;
2605
- };
2606
- }, {
2607
- items: {
2608
- preparation: {
2609
- id: string;
2610
- version: number;
2611
- basis: {
2612
- tenantId: string;
2613
- projectId: string;
2614
- productionId: string;
2615
- sceneId: string;
2616
- shotId: string;
2617
- productionRevision: number;
2618
- briefVersionId: string;
2619
- briefVersion: number;
2620
- storyVersionId: string;
2621
- storyVersion: number;
2622
- planVersionId: string;
2623
- planVersion: number;
2624
- shotPlanningRevision: number;
2625
- resolverVersion: "w7-product-preflight-v1";
2626
- consistencyProfile?: {
2627
- id: string;
2628
- version: number;
2629
- effectiveFingerprint: string;
2630
- } | undefined;
2631
- };
2632
- target: {
2633
- mediaType: "IMAGE";
2634
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
2635
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
2636
- } | {
2637
- mediaType: "VIDEO";
2638
- purpose: "SHOT_CANDIDATE";
2639
- };
2640
- constraints: {
2641
- preparationId: string;
2642
- version: number;
2643
- fingerprint: string;
2644
- items: {
2645
- key: string;
2646
- family: "PRODUCT_IDENTITY" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "SHOT_INTENT" | "BOUNDARY_CONTINUITY";
2647
- scope: "PRODUCTION" | "PROJECT" | "SCENE" | "SHOT" | "CONTINUITY_EDGE";
2648
- enforcement: "LOCKED" | "REQUIRED" | "PREFERRED";
2649
- expected: string;
2650
- source: {
2651
- kind: "SCENE" | "SHOT" | "CONTINUITY_EDGE" | "BRIEF" | "CONSISTENCY_PROFILE";
2652
- id: string;
2653
- version: number;
2654
- };
2655
- continuity?: {
2656
- kind: "STATE";
2657
- mode: "PRESERVE" | "PLANNED_TRANSITIONS";
2658
- entry: string;
2659
- exit: string;
2660
- changes?: {
2661
- atPermille: number;
2662
- from: string;
2663
- to: string;
2664
- reason: string;
2665
- }[] | undefined;
2666
- } | {
2667
- kind: "TIME";
2668
- mode: "MONOTONIC" | "PLANNED_JUMPS";
2669
- entryMs: number;
2670
- exitMs: number;
2671
- jumps?: {
2672
- atPermille: number;
2673
- fromMs: number;
2674
- toMs: number;
2675
- reason: string;
2676
- }[] | undefined;
2677
- } | undefined;
2678
- reviewScales?: ("INTRA_SHOT" | "INTER_SHOT" | "PRODUCTION")[] | undefined;
2679
- subjectId?: string | undefined;
2680
- dimension?: string | undefined;
2681
- }[];
2682
- };
2683
- referenceSet: {
2684
- preparationId: string;
2685
- version: number;
2686
- fingerprint: string;
2687
- bindings: {
2688
- role: "PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR";
2689
- artifactId: string;
2690
- representationId: string;
2691
- checksumSha256: string;
2692
- reason: string;
2693
- artifactChecksumSha256: string;
2694
- contentType: "image/png" | "image/jpeg" | "image/webp";
2695
- authority: "BRIEF_SOURCE_AND_EXPLICIT_BINDING" | "EXPLICIT_SHOT_BINDING" | "CANONICAL_PROFILE_MASTER" | "ACCEPTED_KEYFRAME_AND_EXPLICIT_BINDING";
2696
- keyframeAcceptanceId?: string | undefined;
2697
- acceptedKeyframe?: {
2698
- acceptanceId: string;
2699
- reviewId: string;
2700
- generationId: string;
2701
- candidateId: string;
2702
- shotId: string;
2703
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
2704
- artifactId: string;
2705
- representationId: string;
2706
- checksumSha256: string;
2707
- artifactChecksumSha256: string;
2708
- planVersionId: string;
2709
- planVersion: number;
2710
- shotPlanningRevision: number;
2711
- executionClass: "LIVE" | "TEST_ONLY";
2712
- } | undefined;
2713
- consistencyRuleId?: string | undefined;
2714
- subjectId?: string | undefined;
2715
- }[];
2716
- };
2717
- canonicalSources: {
2718
- artifactId: string;
2719
- representationId: string;
2720
- checksumSha256: string;
2721
- artifactChecksumSha256: string;
2722
- }[];
2723
- blockers: {
2724
- code: "MISSING_PRODUCT_REFERENCE" | "CANONICAL_SOURCE_UNAVAILABLE" | "CONSTRAINT_CONFLICT" | "PREVIOUS_SHOT_EVIDENCE_UNAVAILABLE" | "GENERATED_KEYFRAME_REQUIRED";
2725
- summary: string;
2726
- relatedShotId?: string | undefined;
2727
- edgeId?: string | undefined;
2728
- }[];
2729
- contract: {
2730
- id: string;
2731
- schemaVersion: 1;
2732
- preparationId: string;
2733
- target: {
2734
- mediaType: "IMAGE";
2735
- purpose: "KEYFRAME" | "REFERENCE_FRAME";
2736
- framePurpose: "START_FRAME" | "END_FRAME" | "SUBJECT_REFERENCE";
2737
- } | {
2738
- mediaType: "VIDEO";
2739
- purpose: "SHOT_CANDIDATE";
2740
- };
2741
- basis: {
2742
- tenantId: string;
2743
- projectId: string;
2744
- productionId: string;
2745
- sceneId: string;
2746
- shotId: string;
2747
- productionRevision: number;
2748
- briefVersionId: string;
2749
- briefVersion: number;
2750
- storyVersionId: string;
2751
- storyVersion: number;
2752
- planVersionId: string;
2753
- planVersion: number;
2754
- shotPlanningRevision: number;
2755
- resolverVersion: "w7-product-preflight-v1";
2756
- consistencyProfile?: {
2757
- id: string;
2758
- version: number;
2759
- effectiveFingerprint: string;
2760
- } | undefined;
2761
- };
2762
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
2763
- creativeInstruction: {
2764
- shot: {
2765
- narrativePurpose: string;
2766
- subjectAction: string;
2767
- targetDurationSeconds: number;
2768
- subjectRequirements?: string[] | undefined;
2769
- cameraComposition?: string | undefined;
2770
- factualClaims?: {
2771
- key: string;
2772
- value: string;
2773
- }[] | undefined;
2774
- requiresGeneratedKeyframe?: boolean | undefined;
2775
- sourceMediaAllowed?: boolean | undefined;
2776
- direction?: {
2777
- camera: {
2778
- scale: "EXTREME_CLOSE_UP" | "CLOSE_UP" | "MEDIUM" | "WIDE" | "EXTREME_WIDE";
2779
- framing: "CENTERED" | "OFF_CENTER" | "SYMMETRICAL" | "OVER_SHOULDER";
2780
- angle: "EYE_LEVEL" | "HIGH" | "LOW" | "TOP_DOWN";
2781
- movement: "STATIC" | "PAN" | "TILT" | "DOLLY" | "TRACK" | "ORBIT" | "CRANE" | "ZOOM";
2782
- stability: "LOCKED" | "STABILIZED" | "HANDHELD";
2783
- direction?: "LEFT" | "RIGHT" | "UP" | "DOWN" | "FORWARD" | "BACKWARD" | "CLOCKWISE" | "COUNTERCLOCKWISE" | undefined;
2784
- lensIntent?: string | undefined;
2785
- };
2786
- temporalBeats: {
2787
- startSeconds: number;
2788
- endSeconds: number;
2789
- action: string;
2790
- }[];
2791
- environmentIntent?: string | undefined;
2792
- lightingIntent?: string | undefined;
2793
- styleIntent?: string | undefined;
2794
- audioIntent?: string | undefined;
2795
- } | undefined;
2796
- };
2797
- scenePurpose: string;
2798
- productPresentationGoal: string;
2799
- entryBoundary: {
2800
- attribute: string;
2801
- value: string;
2802
- }[];
2803
- exitBoundary: {
2804
- attribute: string;
2805
- value: string;
2806
- }[];
2807
- sound?: {
2808
- soundPlanVersionId: string;
2809
- fingerprint: string;
2810
- content: {
2811
- nativeAudio: boolean;
2812
- cues: {
2813
- id: string;
2814
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
2815
- startMs: number;
2816
- endMs: number;
2817
- exactSpeech: boolean;
2818
- lipSync: "NONE" | "REQUIRED";
2819
- text?: string | undefined;
2820
- }[];
2821
- model?: {
2822
- modelProfileId: string;
2823
- modelProfileVersion: number;
2824
- connectionId: string;
2825
- } | undefined;
2826
- };
2827
- } | undefined;
2828
- locationContext?: string | undefined;
2829
- timeContext?: string | undefined;
2830
- styleTone?: string | undefined;
2831
- };
2832
- constraintSetFingerprint: string;
2833
- referenceSetFingerprint: string;
2834
- output: {
2835
- aspectRatio: "16:9" | "9:16";
2836
- targetDurationSeconds: number | null;
2837
- workingResolution: null;
2838
- frameRate: null;
2839
- finalDeliveryProfile: "MP4_H264_1080P" | "MP4_H264_720P" | "MP4_H264_480P";
2840
- };
2841
- requiredCapabilities: {
2842
- referenceConditioning: true;
2843
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
2844
- startFrameControl: boolean;
2845
- endFrameControl: boolean;
2846
- nativeAudio?: boolean | undefined;
2847
- };
2848
- fingerprint: string;
2849
- acceptedShotReferences?: ({
2850
- acceptanceId: string;
2851
- reviewId: string;
2852
- generationId: string;
2853
- candidateId: string;
2854
- shotId: string;
2855
- artifactId: string;
2856
- representationId: string;
2857
- checksumSha256: string;
2858
- artifactChecksumSha256: string;
2859
- preparationId: string;
2860
- contractId: string;
2861
- contractFingerprint: string;
2862
- planVersionId: string;
2863
- planVersion: number;
2864
- shotPlanningRevision: number;
2865
- executionClass: "LIVE" | "TEST_ONLY";
2866
- reviewResult: "PASS" | "WARNING";
2867
- } | {
2868
- sourceKind: "PROGRAMMATIC";
2869
- acceptanceId: string;
2870
- reviewId: string;
2871
- renderId: string;
2872
- compositionId: string;
2873
- compositionVersionId: string;
2874
- compositionVersion: number;
2875
- compositionFingerprint: string;
2876
- renderManifestFingerprint: string;
2877
- shotId: string;
2878
- artifactId: string;
2879
- representationId: string;
2880
- checksumSha256: string;
2881
- artifactChecksumSha256: string;
2882
- planVersionId: string;
2883
- planVersion: number;
2884
- shotPlanningRevision: number;
2885
- executionClass: "LIVE" | "TEST_ONLY";
2886
- reviewResult: "PASS" | "WARNING";
2887
- } | {
2888
- sourceKind: "IMPORTED";
2889
- acceptanceId: string;
2890
- reviewId: string;
2891
- normalizationId: string;
2892
- sourceId: string;
2893
- sourceVersionId: string;
2894
- shotId: string;
2895
- artifactId: string;
2896
- representationId: string;
2897
- checksumSha256: string;
2898
- executionClass: "LIVE" | "TEST_ONLY";
2899
- reviewResult: "PASS" | "WARNING";
2900
- })[] | undefined;
2901
- } | null;
2902
- createdByPrincipalId: string;
2903
- createdAt: string;
2904
- acceptedShotReferences?: ({
2905
- acceptanceId: string;
2906
- reviewId: string;
2907
- generationId: string;
2908
- candidateId: string;
2909
- shotId: string;
2910
- artifactId: string;
2911
- representationId: string;
2912
- checksumSha256: string;
2913
- artifactChecksumSha256: string;
2914
- preparationId: string;
2915
- contractId: string;
2916
- contractFingerprint: string;
2917
- planVersionId: string;
2918
- planVersion: number;
2919
- shotPlanningRevision: number;
2920
- executionClass: "LIVE" | "TEST_ONLY";
2921
- reviewResult: "PASS" | "WARNING";
2922
- } | {
2923
- sourceKind: "PROGRAMMATIC";
2924
- acceptanceId: string;
2925
- reviewId: string;
2926
- renderId: string;
2927
- compositionId: string;
2928
- compositionVersionId: string;
2929
- compositionVersion: number;
2930
- compositionFingerprint: string;
2931
- renderManifestFingerprint: string;
2932
- shotId: string;
2933
- artifactId: string;
2934
- representationId: string;
2935
- checksumSha256: string;
2936
- artifactChecksumSha256: string;
2937
- planVersionId: string;
2938
- planVersion: number;
2939
- shotPlanningRevision: number;
2940
- executionClass: "LIVE" | "TEST_ONLY";
2941
- reviewResult: "PASS" | "WARNING";
2942
- } | {
2943
- sourceKind: "IMPORTED";
2944
- acceptanceId: string;
2945
- reviewId: string;
2946
- normalizationId: string;
2947
- sourceId: string;
2948
- sourceVersionId: string;
2949
- shotId: string;
2950
- artifactId: string;
2951
- representationId: string;
2952
- checksumSha256: string;
2953
- executionClass: "LIVE" | "TEST_ONLY";
2954
- reviewResult: "PASS" | "WARNING";
2955
- })[] | undefined;
2956
- };
2957
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
2958
- superseded: boolean;
2959
- freshnessReasons: ("SUPERSEDED" | "PLAN_CHANGED" | "SOUND_PLAN_CHANGED" | "SHOT_CHANGED" | "REFERENCE_UNAVAILABLE" | "CONSISTENCY_PROFILE_CHANGED" | "KEYFRAME_SELECTION_CHANGED" | "PREDECESSOR_ACCEPTANCE_CHANGED")[];
2960
- execution: {
2961
- available: boolean;
2962
- reasons: ("STALE_BASIS" | "PREPARATION_BLOCKED" | "PRODUCTION_NOT_RUNNABLE" | "PROVIDER_CAPABILITY_UNAVAILABLE" | "VIDEO_SELECTION_REQUIRED")[];
2963
- eligibleVideoSelections?: {
2964
- connectionId: string;
2965
- modelProfileId: string;
2966
- }[] | undefined;
2967
- };
2968
- }[];
2969
- page: {
2970
- hasMore: boolean;
2971
- next: string | null;
2972
- };
2973
- }>;
48
+ readonly "shot-preparation.prepare": SchemaHttpOperation<typeof prepare, typeof PrepareShotResultSchema>;
49
+ readonly "shot-preparation.get": SchemaHttpOperation<typeof PreparationGetInputSchema, typeof PreparationViewSchema>;
50
+ readonly "shot-preparation.active": SchemaHttpOperation<typeof PreparationActiveInputSchema, typeof PreparationViewSchema>;
51
+ readonly "shot-preparation.query": SchemaHttpOperation<typeof PreparationQueryInputSchema, typeof PreparationQueryPageSchema>;
2974
52
  };
53
+ export {};