@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,1778 +1,8 @@
1
+ import type { SchemaHttpOperation } from "./spec.js";
2
+ import { SoundPlanScopeSchema, SoundPlanGetSchema, SoundPlanContextSchema, SoundPlanViewSchema, SoundPlanAcceptSchema, SoundPlanReceiptSchema, SoundPlanValidateSchema, SoundPlanValidationSchema } from "../../contracts/index.js";
1
3
  export declare const soundMakingPlanOperations: {
2
- readonly "sound-plan.context": import("./spec.js").HttpOperationSpec<{
3
- tenantId: string;
4
- productionId: string;
5
- }, {
6
- tenantId: string;
7
- productionId: string;
8
- }, {
9
- tenantId: string;
10
- productionId: string;
11
- projectId: string;
12
- productionRevision: number;
13
- runnable: boolean;
14
- basis: {
15
- briefVersionId: string;
16
- briefVersion: number;
17
- storyVersionId: string;
18
- storyVersion: number;
19
- planVersionId: string;
20
- planVersion: number;
21
- } | null;
22
- targetDurationMs: number | null;
23
- shots: {
24
- shotId: string;
25
- durationMs: number;
26
- }[];
27
- currentVersion: number;
28
- currentVersionId: string | null;
29
- capabilities: {
30
- models: {
31
- tenantId: string & import("zod").$brand<"TenantId">;
32
- id: string;
33
- version: number;
34
- enabled: boolean;
35
- definition: {
36
- family: "IMAGE";
37
- profile: {
38
- id: string;
39
- version: number;
40
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
41
- modelId: string;
42
- protocol: "QWEN_EDIT" | "ARK_IMAGE" | "GEMINI_IMAGE" | "OPENAI_IMAGE" | "XAI_IMAGE";
43
- maxReferences: number;
44
- promptMaxUtf8Bytes: number;
45
- requestTimeoutMs: number;
46
- workingWidth: number;
47
- workingHeight: number;
48
- referenceRoles?: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE")[] | undefined;
49
- };
50
- costPolicy?: {
51
- currency: "USD";
52
- sourceUrl: string;
53
- rationale: string;
54
- validUntil: string;
55
- rules: {
56
- id: string;
57
- variant: {
58
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
59
- aspectRatio: "16:9" | "9:16";
60
- workingWidth: number;
61
- workingHeight: number;
62
- hasAudio: boolean;
63
- references: number;
64
- durationSeconds: number;
65
- };
66
- upperBoundMicros: number;
67
- }[];
68
- } | undefined;
69
- matrix?: {
70
- schemaVersion: 1;
71
- service: string;
72
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
73
- sources: {
74
- url: string;
75
- checkedAt: string;
76
- }[];
77
- modes: string[];
78
- claims: {
79
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
80
- modes: string[];
81
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
82
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
83
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
84
- parameterPath?: string | undefined;
85
- description?: string | undefined;
86
- }[];
87
- parameters: Record<string, {
88
- label: string;
89
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
90
- required: boolean;
91
- min?: number | undefined;
92
- max?: number | undefined;
93
- maxLength?: number | undefined;
94
- options?: string[] | undefined;
95
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
96
- unit?: string | undefined;
97
- description?: string | undefined;
98
- maxItems?: number | undefined;
99
- maxKeyLength?: number | undefined;
100
- numberOptions?: number[] | undefined;
101
- }>;
102
- constraints: {
103
- modes: string[];
104
- require: string[];
105
- forbid: string[];
106
- requireValues: Record<string, string | number | boolean>;
107
- reason: string;
108
- when?: {
109
- parameter: string;
110
- equals: string | number | boolean;
111
- } | undefined;
112
- }[];
113
- references: {
114
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
115
- modes: string[];
116
- parameterPath: string;
117
- maxItems: number;
118
- formats: ("WAV" | "MP3")[];
119
- requiresVisual: boolean;
120
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
121
- minDurationMs?: number | undefined;
122
- maxDurationMs?: number | undefined;
123
- maxTotalDurationMs?: number | undefined;
124
- maxBytes?: number | undefined;
125
- }[];
126
- outputAudioChannels?: 2 | 1 | undefined;
127
- } | undefined;
128
- } | {
129
- family: "VIDEO";
130
- profile: {
131
- id: string;
132
- version: number;
133
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
134
- modelId: string;
135
- protocol: "QWEN_VIDEO" | "VOLCENGINE_VIDEO";
136
- requestTimeoutMs: number;
137
- promptMaxCharacters: number;
138
- resolution: "720P" | "1080P";
139
- adapterVersion: string;
140
- capabilities: {
141
- frameRate: 30 | 24;
142
- hasAudio: boolean;
143
- workingWidth: number;
144
- workingHeight: number;
145
- mediaType: "VIDEO";
146
- modes: ("REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO")[];
147
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
148
- aspectRatios: ("16:9" | "9:16")[];
149
- minDurationSeconds: number;
150
- maxDurationSeconds: number;
151
- maxReferences: number;
152
- combineAnchorsAndReferences: boolean;
153
- correlationStrategy: "PROVIDER_TASK_ID";
154
- sourceFormat?: {
155
- videoCodec: "hevc";
156
- pixelFormat: "yuv420p10le";
157
- } | undefined;
158
- nativeAudioChannels?: 2 | 1 | undefined;
159
- };
160
- };
161
- costPolicy?: {
162
- currency: "USD";
163
- sourceUrl: string;
164
- rationale: string;
165
- validUntil: string;
166
- rules: {
167
- id: string;
168
- variant: {
169
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
170
- aspectRatio: "16:9" | "9:16";
171
- workingWidth: number;
172
- workingHeight: number;
173
- hasAudio: boolean;
174
- references: number;
175
- durationSeconds: number;
176
- };
177
- upperBoundMicros: number;
178
- }[];
179
- } | undefined;
180
- matrix?: {
181
- schemaVersion: 1;
182
- service: string;
183
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
184
- sources: {
185
- url: string;
186
- checkedAt: string;
187
- }[];
188
- modes: string[];
189
- claims: {
190
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
191
- modes: string[];
192
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
193
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
194
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
195
- parameterPath?: string | undefined;
196
- description?: string | undefined;
197
- }[];
198
- parameters: Record<string, {
199
- label: string;
200
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
201
- required: boolean;
202
- min?: number | undefined;
203
- max?: number | undefined;
204
- maxLength?: number | undefined;
205
- options?: string[] | undefined;
206
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
207
- unit?: string | undefined;
208
- description?: string | undefined;
209
- maxItems?: number | undefined;
210
- maxKeyLength?: number | undefined;
211
- numberOptions?: number[] | undefined;
212
- }>;
213
- constraints: {
214
- modes: string[];
215
- require: string[];
216
- forbid: string[];
217
- requireValues: Record<string, string | number | boolean>;
218
- reason: string;
219
- when?: {
220
- parameter: string;
221
- equals: string | number | boolean;
222
- } | undefined;
223
- }[];
224
- references: {
225
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
226
- modes: string[];
227
- parameterPath: string;
228
- maxItems: number;
229
- formats: ("WAV" | "MP3")[];
230
- requiresVisual: boolean;
231
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
232
- minDurationMs?: number | undefined;
233
- maxDurationMs?: number | undefined;
234
- maxTotalDurationMs?: number | undefined;
235
- maxBytes?: number | undefined;
236
- }[];
237
- outputAudioChannels?: 2 | 1 | undefined;
238
- } | undefined;
239
- } | {
240
- family: "SPEECH";
241
- profile: {
242
- id: string;
243
- version: number;
244
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
245
- modelId: string | null;
246
- protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
247
- label: string;
248
- textMaxCharacters: number;
249
- requestTimeoutMs: number;
250
- workspaceRequired: boolean;
251
- voices: {
252
- id: string;
253
- label: string;
254
- languages?: string[] | undefined;
255
- parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
256
- parameterOptions?: Record<string, string[]> | undefined;
257
- unsupportedParameters?: string[] | undefined;
258
- }[];
259
- languages: string[];
260
- parameters: Record<string, {
261
- label: string;
262
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
263
- required: boolean;
264
- min?: number | undefined;
265
- max?: number | undefined;
266
- maxLength?: number | undefined;
267
- options?: string[] | undefined;
268
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
269
- unit?: string | undefined;
270
- description?: string | undefined;
271
- maxItems?: number | undefined;
272
- maxKeyLength?: number | undefined;
273
- }>;
274
- sourceUrl: string;
275
- verifiedAt: string;
276
- providerTextMaxCharacters: number | null;
277
- resourceId: string | null;
278
- output: "PCM_S16LE_48000_V1";
279
- normalizationVersion: "SPEECH_PCM_V1";
280
- };
281
- matrix?: {
282
- schemaVersion: 1;
283
- service: string;
284
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
285
- sources: {
286
- url: string;
287
- checkedAt: string;
288
- }[];
289
- modes: string[];
290
- claims: {
291
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
292
- modes: string[];
293
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
294
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
295
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
296
- parameterPath?: string | undefined;
297
- description?: string | undefined;
298
- }[];
299
- parameters: Record<string, {
300
- label: string;
301
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
302
- required: boolean;
303
- min?: number | undefined;
304
- max?: number | undefined;
305
- maxLength?: number | undefined;
306
- options?: string[] | undefined;
307
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
308
- unit?: string | undefined;
309
- description?: string | undefined;
310
- maxItems?: number | undefined;
311
- maxKeyLength?: number | undefined;
312
- numberOptions?: number[] | undefined;
313
- }>;
314
- constraints: {
315
- modes: string[];
316
- require: string[];
317
- forbid: string[];
318
- requireValues: Record<string, string | number | boolean>;
319
- reason: string;
320
- when?: {
321
- parameter: string;
322
- equals: string | number | boolean;
323
- } | undefined;
324
- }[];
325
- references: {
326
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
327
- modes: string[];
328
- parameterPath: string;
329
- maxItems: number;
330
- formats: ("WAV" | "MP3")[];
331
- requiresVisual: boolean;
332
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
333
- minDurationMs?: number | undefined;
334
- maxDurationMs?: number | undefined;
335
- maxTotalDurationMs?: number | undefined;
336
- maxBytes?: number | undefined;
337
- }[];
338
- outputAudioChannels?: 2 | 1 | undefined;
339
- } | undefined;
340
- } | {
341
- family: "OBSERVATION";
342
- profile: {
343
- id: string;
344
- version: number;
345
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
346
- sourceUrl: string;
347
- verifiedAt: string;
348
- modelId: string;
349
- label: string;
350
- protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
351
- modes: ["TRANSCRIPTION"];
352
- inputKinds: ("AUDIO" | "VIDEO")[];
353
- requestTimeoutMs: number;
354
- maxBytes: number;
355
- maxDurationMs: number;
356
- parameters: Record<string, {
357
- label: string;
358
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
359
- required: boolean;
360
- min?: number | undefined;
361
- max?: number | undefined;
362
- maxLength?: number | undefined;
363
- options?: string[] | undefined;
364
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
365
- unit?: string | undefined;
366
- description?: string | undefined;
367
- maxItems?: number | undefined;
368
- maxKeyLength?: number | undefined;
369
- numberOptions?: number[] | undefined;
370
- }>;
371
- } | {
372
- id: string;
373
- version: number;
374
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
375
- sourceUrl: string;
376
- modelId: string;
377
- label: string;
378
- protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
379
- modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
380
- requestTimeoutMs: number;
381
- maxBytes: number;
382
- maxDurationMs: number;
383
- parameters: Record<string, {
384
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
385
- default: string | number | boolean;
386
- min?: number | undefined;
387
- max?: number | undefined;
388
- options?: string[] | undefined;
389
- }>;
390
- };
391
- matrix?: {
392
- schemaVersion: 1;
393
- service: string;
394
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
395
- sources: {
396
- url: string;
397
- checkedAt: string;
398
- }[];
399
- modes: string[];
400
- claims: {
401
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
402
- modes: string[];
403
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
404
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
405
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
406
- parameterPath?: string | undefined;
407
- description?: string | undefined;
408
- }[];
409
- parameters: Record<string, {
410
- label: string;
411
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
412
- required: boolean;
413
- min?: number | undefined;
414
- max?: number | undefined;
415
- maxLength?: number | undefined;
416
- options?: string[] | undefined;
417
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
418
- unit?: string | undefined;
419
- description?: string | undefined;
420
- maxItems?: number | undefined;
421
- maxKeyLength?: number | undefined;
422
- numberOptions?: number[] | undefined;
423
- }>;
424
- constraints: {
425
- modes: string[];
426
- require: string[];
427
- forbid: string[];
428
- requireValues: Record<string, string | number | boolean>;
429
- reason: string;
430
- when?: {
431
- parameter: string;
432
- equals: string | number | boolean;
433
- } | undefined;
434
- }[];
435
- references: {
436
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
437
- modes: string[];
438
- parameterPath: string;
439
- maxItems: number;
440
- formats: ("WAV" | "MP3")[];
441
- requiresVisual: boolean;
442
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
443
- minDurationMs?: number | undefined;
444
- maxDurationMs?: number | undefined;
445
- maxTotalDurationMs?: number | undefined;
446
- maxBytes?: number | undefined;
447
- }[];
448
- outputAudioChannels?: 2 | 1 | undefined;
449
- } | undefined;
450
- } | {
451
- family: "DECLARED";
452
- profile: {
453
- id: string;
454
- version: number;
455
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
456
- modelId: string;
457
- protocol: "DOCUMENTED_ONLY";
458
- };
459
- matrix: {
460
- schemaVersion: 1;
461
- service: string;
462
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
463
- sources: {
464
- url: string;
465
- checkedAt: string;
466
- }[];
467
- modes: string[];
468
- claims: {
469
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
470
- modes: string[];
471
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
472
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
473
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
474
- parameterPath?: string | undefined;
475
- description?: string | undefined;
476
- }[];
477
- parameters: Record<string, {
478
- label: string;
479
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
480
- required: boolean;
481
- min?: number | undefined;
482
- max?: number | undefined;
483
- maxLength?: number | undefined;
484
- options?: string[] | undefined;
485
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
486
- unit?: string | undefined;
487
- description?: string | undefined;
488
- maxItems?: number | undefined;
489
- maxKeyLength?: number | undefined;
490
- numberOptions?: number[] | undefined;
491
- }>;
492
- constraints: {
493
- modes: string[];
494
- require: string[];
495
- forbid: string[];
496
- requireValues: Record<string, string | number | boolean>;
497
- reason: string;
498
- when?: {
499
- parameter: string;
500
- equals: string | number | boolean;
501
- } | undefined;
502
- }[];
503
- references: {
504
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
505
- modes: string[];
506
- parameterPath: string;
507
- maxItems: number;
508
- formats: ("WAV" | "MP3")[];
509
- requiresVisual: boolean;
510
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
511
- minDurationMs?: number | undefined;
512
- maxDurationMs?: number | undefined;
513
- maxTotalDurationMs?: number | undefined;
514
- maxBytes?: number | undefined;
515
- }[];
516
- outputAudioChannels?: 2 | 1 | undefined;
517
- };
518
- };
519
- }[];
520
- video: {
521
- selection: {
522
- connectionId: string & import("zod").$brand<"ProviderConnectionId">;
523
- modelProfileId: string;
524
- };
525
- profile: {
526
- id: string;
527
- adapterVersion: string;
528
- model: string;
529
- executionClass: "LIVE" | "TEST_ONLY";
530
- mediaType: "VIDEO";
531
- modes: ("REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO")[];
532
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
533
- aspectRatios: ("16:9" | "9:16")[];
534
- minDurationSeconds: number;
535
- maxDurationSeconds: number;
536
- maxReferences: number;
537
- combineAnchorsAndReferences: boolean;
538
- workingWidth: number;
539
- workingHeight: number;
540
- frameRate: 30 | 24;
541
- hasAudio: boolean;
542
- correlationStrategy: "PROVIDER_TASK_ID";
543
- sourceFormat?: {
544
- videoCodec: "hevc";
545
- pixelFormat: "yuv420p10le";
546
- } | undefined;
547
- nativeAudioChannels?: 2 | 1 | undefined;
548
- };
549
- }[];
550
- speech: {
551
- selection: {
552
- connectionId: string & import("zod").$brand<"ProviderConnectionId">;
553
- modelProfileId: string;
554
- };
555
- profile: {
556
- id: string;
557
- version: number;
558
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
559
- modelId: string | null;
560
- protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
561
- label: string;
562
- textMaxCharacters: number;
563
- requestTimeoutMs: number;
564
- workspaceRequired: boolean;
565
- voices: {
566
- id: string;
567
- label: string;
568
- languages?: string[] | undefined;
569
- parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
570
- parameterOptions?: Record<string, string[]> | undefined;
571
- unsupportedParameters?: string[] | undefined;
572
- }[];
573
- languages: string[];
574
- parameters: Record<string, {
575
- label: string;
576
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
577
- required: boolean;
578
- min?: number | undefined;
579
- max?: number | undefined;
580
- maxLength?: number | undefined;
581
- options?: string[] | undefined;
582
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
583
- unit?: string | undefined;
584
- description?: string | undefined;
585
- maxItems?: number | undefined;
586
- maxKeyLength?: number | undefined;
587
- }>;
588
- sourceUrl: string;
589
- verifiedAt: string;
590
- providerTextMaxCharacters: number | null;
591
- resourceId: string | null;
592
- output: "PCM_S16LE_48000_V1";
593
- normalizationVersion: "SPEECH_PCM_V1";
594
- };
595
- connectionLabel: string;
596
- connectionVersion: number;
597
- }[];
598
- audio: {
599
- version: {
600
- tenantId: string & import("zod").$brand<"TenantId">;
601
- productionId: string & import("zod").$brand<"ProductionId">;
602
- purpose: "VOICEOVER" | "MUSIC";
603
- id: string;
604
- audioId: string;
605
- projectId: string;
606
- version: number;
607
- artifactId: string;
608
- original: {
609
- id: string;
610
- checksumSha256: string;
611
- byteSize: number;
612
- };
613
- media: {
614
- profile: "PCM_S16LE_48000_V1";
615
- audioCodec: "pcm_s16le";
616
- sampleRateHz: 48000;
617
- audioChannels: 2 | 1;
618
- sampleCount: number;
619
- durationMs: number;
620
- };
621
- originalName: string | null;
622
- previousVersionId: string | null;
623
- createdByPrincipalId: string;
624
- createdAt: string;
625
- generation?: {
626
- generationId: string;
627
- executionClass: "LIVE" | "TEST_ONLY";
628
- sourceArtifactId: string;
629
- sourceRepresentationId: string;
630
- sourceChecksumSha256: string;
631
- sourceByteSize: number;
632
- sourceMedia: {
633
- sampleRateHz: number;
634
- audioChannels: 2 | 1;
635
- sampleCount: number;
636
- };
637
- normalizationVersion: "SPEECH_PCM_V1";
638
- padSamples: number;
639
- } | undefined;
640
- };
641
- isCurrent: boolean;
642
- availability: "UNAVAILABLE" | "AVAILABLE";
643
- }[];
644
- };
645
- }, {
646
- tenantId: string;
647
- productionId: string;
648
- projectId: string;
649
- productionRevision: number;
650
- runnable: boolean;
651
- basis: {
652
- briefVersionId: string;
653
- briefVersion: number;
654
- storyVersionId: string;
655
- storyVersion: number;
656
- planVersionId: string;
657
- planVersion: number;
658
- } | null;
659
- targetDurationMs: number | null;
660
- shots: {
661
- shotId: string;
662
- durationMs: number;
663
- }[];
664
- currentVersion: number;
665
- currentVersionId: string | null;
666
- capabilities: {
667
- models: {
668
- tenantId: string;
669
- id: string;
670
- version: number;
671
- enabled: boolean;
672
- definition: {
673
- family: "IMAGE";
674
- profile: {
675
- id: string;
676
- version: number;
677
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
678
- modelId: string;
679
- protocol: "QWEN_EDIT" | "ARK_IMAGE" | "GEMINI_IMAGE" | "OPENAI_IMAGE" | "XAI_IMAGE";
680
- maxReferences: number;
681
- promptMaxUtf8Bytes: number;
682
- requestTimeoutMs: number;
683
- workingWidth: number;
684
- workingHeight: number;
685
- referenceRoles?: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE")[] | undefined;
686
- };
687
- costPolicy?: {
688
- currency: "USD";
689
- sourceUrl: string;
690
- rationale: string;
691
- validUntil: string;
692
- rules: {
693
- id: string;
694
- variant: {
695
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
696
- aspectRatio: "16:9" | "9:16";
697
- workingWidth: number;
698
- workingHeight: number;
699
- hasAudio: boolean;
700
- references: number;
701
- durationSeconds: number;
702
- };
703
- upperBoundMicros: number;
704
- }[];
705
- } | undefined;
706
- matrix?: {
707
- schemaVersion: 1;
708
- service: string;
709
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
710
- sources: {
711
- url: string;
712
- checkedAt: string;
713
- }[];
714
- modes: string[];
715
- claims: {
716
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
717
- modes: string[];
718
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
719
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
720
- parameterPath?: string | undefined;
721
- access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
722
- description?: string | undefined;
723
- }[];
724
- parameters: Record<string, {
725
- label: string;
726
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
727
- required?: boolean | undefined;
728
- min?: number | undefined;
729
- max?: number | undefined;
730
- maxLength?: number | undefined;
731
- options?: string[] | undefined;
732
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
733
- unit?: string | undefined;
734
- description?: string | undefined;
735
- maxItems?: number | undefined;
736
- maxKeyLength?: number | undefined;
737
- numberOptions?: number[] | undefined;
738
- }>;
739
- constraints: {
740
- modes: string[];
741
- reason: string;
742
- when?: {
743
- parameter: string;
744
- equals: string | number | boolean;
745
- } | undefined;
746
- require?: string[] | undefined;
747
- forbid?: string[] | undefined;
748
- requireValues?: Record<string, string | number | boolean> | undefined;
749
- }[];
750
- references: {
751
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
752
- modes: string[];
753
- parameterPath: string;
754
- maxItems: number;
755
- formats: ("WAV" | "MP3")[];
756
- requiresVisual: boolean;
757
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
758
- minDurationMs?: number | undefined;
759
- maxDurationMs?: number | undefined;
760
- maxTotalDurationMs?: number | undefined;
761
- maxBytes?: number | undefined;
762
- }[];
763
- outputAudioChannels?: 2 | 1 | undefined;
764
- } | undefined;
765
- } | {
766
- family: "VIDEO";
767
- profile: {
768
- id: string;
769
- version: number;
770
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
771
- modelId: string;
772
- protocol: "QWEN_VIDEO" | "VOLCENGINE_VIDEO";
773
- requestTimeoutMs: number;
774
- promptMaxCharacters: number;
775
- resolution: "720P" | "1080P";
776
- adapterVersion: string;
777
- capabilities: {
778
- frameRate: 30 | 24;
779
- hasAudio: boolean;
780
- workingWidth: number;
781
- workingHeight: number;
782
- mediaType: "VIDEO";
783
- modes: ("REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO")[];
784
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
785
- aspectRatios: ("16:9" | "9:16")[];
786
- minDurationSeconds: number;
787
- maxDurationSeconds: number;
788
- maxReferences: number;
789
- combineAnchorsAndReferences: boolean;
790
- correlationStrategy: "PROVIDER_TASK_ID";
791
- sourceFormat?: {
792
- videoCodec: "hevc";
793
- pixelFormat: "yuv420p10le";
794
- } | undefined;
795
- nativeAudioChannels?: 2 | 1 | undefined;
796
- };
797
- };
798
- costPolicy?: {
799
- currency: "USD";
800
- sourceUrl: string;
801
- rationale: string;
802
- validUntil: string;
803
- rules: {
804
- id: string;
805
- variant: {
806
- mode: "REFERENCE_TO_IMAGE" | "REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO";
807
- aspectRatio: "16:9" | "9:16";
808
- workingWidth: number;
809
- workingHeight: number;
810
- hasAudio: boolean;
811
- references: number;
812
- durationSeconds: number;
813
- };
814
- upperBoundMicros: number;
815
- }[];
816
- } | undefined;
817
- matrix?: {
818
- schemaVersion: 1;
819
- service: string;
820
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
821
- sources: {
822
- url: string;
823
- checkedAt: string;
824
- }[];
825
- modes: string[];
826
- claims: {
827
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
828
- modes: string[];
829
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
830
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
831
- parameterPath?: string | undefined;
832
- access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
833
- description?: string | undefined;
834
- }[];
835
- parameters: Record<string, {
836
- label: string;
837
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
838
- required?: boolean | undefined;
839
- min?: number | undefined;
840
- max?: number | undefined;
841
- maxLength?: number | undefined;
842
- options?: string[] | undefined;
843
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
844
- unit?: string | undefined;
845
- description?: string | undefined;
846
- maxItems?: number | undefined;
847
- maxKeyLength?: number | undefined;
848
- numberOptions?: number[] | undefined;
849
- }>;
850
- constraints: {
851
- modes: string[];
852
- reason: string;
853
- when?: {
854
- parameter: string;
855
- equals: string | number | boolean;
856
- } | undefined;
857
- require?: string[] | undefined;
858
- forbid?: string[] | undefined;
859
- requireValues?: Record<string, string | number | boolean> | undefined;
860
- }[];
861
- references: {
862
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
863
- modes: string[];
864
- parameterPath: string;
865
- maxItems: number;
866
- formats: ("WAV" | "MP3")[];
867
- requiresVisual: boolean;
868
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
869
- minDurationMs?: number | undefined;
870
- maxDurationMs?: number | undefined;
871
- maxTotalDurationMs?: number | undefined;
872
- maxBytes?: number | undefined;
873
- }[];
874
- outputAudioChannels?: 2 | 1 | undefined;
875
- } | undefined;
876
- } | {
877
- family: "SPEECH";
878
- profile: {
879
- id: string;
880
- version: number;
881
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
882
- modelId: string | null;
883
- protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
884
- label: string;
885
- textMaxCharacters: number;
886
- requestTimeoutMs: number;
887
- workspaceRequired: boolean;
888
- voices: {
889
- id: string;
890
- label: string;
891
- languages?: string[] | undefined;
892
- parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
893
- parameterOptions?: Record<string, string[]> | undefined;
894
- unsupportedParameters?: string[] | undefined;
895
- }[];
896
- languages: string[];
897
- parameters: Record<string, {
898
- label: string;
899
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
900
- required?: boolean | undefined;
901
- min?: number | undefined;
902
- max?: number | undefined;
903
- maxLength?: number | undefined;
904
- options?: string[] | undefined;
905
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
906
- unit?: string | undefined;
907
- description?: string | undefined;
908
- maxItems?: number | undefined;
909
- maxKeyLength?: number | undefined;
910
- }>;
911
- sourceUrl: string;
912
- verifiedAt: string;
913
- providerTextMaxCharacters: number | null;
914
- resourceId: string | null;
915
- output: "PCM_S16LE_48000_V1";
916
- normalizationVersion: "SPEECH_PCM_V1";
917
- };
918
- matrix?: {
919
- schemaVersion: 1;
920
- service: string;
921
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
922
- sources: {
923
- url: string;
924
- checkedAt: string;
925
- }[];
926
- modes: string[];
927
- claims: {
928
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
929
- modes: string[];
930
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
931
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
932
- parameterPath?: string | undefined;
933
- access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
934
- description?: string | undefined;
935
- }[];
936
- parameters: Record<string, {
937
- label: string;
938
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
939
- required?: boolean | undefined;
940
- min?: number | undefined;
941
- max?: number | undefined;
942
- maxLength?: number | undefined;
943
- options?: string[] | undefined;
944
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
945
- unit?: string | undefined;
946
- description?: string | undefined;
947
- maxItems?: number | undefined;
948
- maxKeyLength?: number | undefined;
949
- numberOptions?: number[] | undefined;
950
- }>;
951
- constraints: {
952
- modes: string[];
953
- reason: string;
954
- when?: {
955
- parameter: string;
956
- equals: string | number | boolean;
957
- } | undefined;
958
- require?: string[] | undefined;
959
- forbid?: string[] | undefined;
960
- requireValues?: Record<string, string | number | boolean> | undefined;
961
- }[];
962
- references: {
963
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
964
- modes: string[];
965
- parameterPath: string;
966
- maxItems: number;
967
- formats: ("WAV" | "MP3")[];
968
- requiresVisual: boolean;
969
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
970
- minDurationMs?: number | undefined;
971
- maxDurationMs?: number | undefined;
972
- maxTotalDurationMs?: number | undefined;
973
- maxBytes?: number | undefined;
974
- }[];
975
- outputAudioChannels?: 2 | 1 | undefined;
976
- } | undefined;
977
- } | {
978
- family: "OBSERVATION";
979
- profile: {
980
- id: string;
981
- version: number;
982
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
983
- sourceUrl: string;
984
- verifiedAt: string;
985
- modelId: string;
986
- label: string;
987
- protocol: "OPENAI_TRANSCRIPTION_V1" | "OPENAI_WHISPER_TRANSCRIPTION_V1" | "QWEN_ASR_V1";
988
- modes: ["TRANSCRIPTION"];
989
- inputKinds: ("AUDIO" | "VIDEO")[];
990
- requestTimeoutMs: number;
991
- maxBytes: number;
992
- maxDurationMs: number;
993
- parameters: Record<string, {
994
- label: string;
995
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
996
- required?: boolean | undefined;
997
- min?: number | undefined;
998
- max?: number | undefined;
999
- maxLength?: number | undefined;
1000
- options?: string[] | undefined;
1001
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
1002
- unit?: string | undefined;
1003
- description?: string | undefined;
1004
- maxItems?: number | undefined;
1005
- maxKeyLength?: number | undefined;
1006
- numberOptions?: number[] | undefined;
1007
- }>;
1008
- } | {
1009
- id: string;
1010
- version: number;
1011
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
1012
- sourceUrl: string;
1013
- modelId: string;
1014
- label: string;
1015
- protocol: "GEMINI_INTERACTIONS_V1" | "QIANWEN_VIDEO_V1";
1016
- modes: ("AUDIO" | "VIDEO" | "AUDIOVISUAL" | "VIDEO_ALL_FRAMES")[];
1017
- requestTimeoutMs: number;
1018
- maxBytes: number;
1019
- maxDurationMs: number;
1020
- parameters: Record<string, {
1021
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER";
1022
- default: string | number | boolean;
1023
- min?: number | undefined;
1024
- max?: number | undefined;
1025
- options?: string[] | undefined;
1026
- }>;
1027
- };
1028
- matrix?: {
1029
- schemaVersion: 1;
1030
- service: string;
1031
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
1032
- sources: {
1033
- url: string;
1034
- checkedAt: string;
1035
- }[];
1036
- modes: string[];
1037
- claims: {
1038
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
1039
- modes: string[];
1040
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
1041
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
1042
- parameterPath?: string | undefined;
1043
- access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
1044
- description?: string | undefined;
1045
- }[];
1046
- parameters: Record<string, {
1047
- label: string;
1048
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
1049
- required?: boolean | undefined;
1050
- min?: number | undefined;
1051
- max?: number | undefined;
1052
- maxLength?: number | undefined;
1053
- options?: string[] | undefined;
1054
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
1055
- unit?: string | undefined;
1056
- description?: string | undefined;
1057
- maxItems?: number | undefined;
1058
- maxKeyLength?: number | undefined;
1059
- numberOptions?: number[] | undefined;
1060
- }>;
1061
- constraints: {
1062
- modes: string[];
1063
- reason: string;
1064
- when?: {
1065
- parameter: string;
1066
- equals: string | number | boolean;
1067
- } | undefined;
1068
- require?: string[] | undefined;
1069
- forbid?: string[] | undefined;
1070
- requireValues?: Record<string, string | number | boolean> | undefined;
1071
- }[];
1072
- references: {
1073
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
1074
- modes: string[];
1075
- parameterPath: string;
1076
- maxItems: number;
1077
- formats: ("WAV" | "MP3")[];
1078
- requiresVisual: boolean;
1079
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
1080
- minDurationMs?: number | undefined;
1081
- maxDurationMs?: number | undefined;
1082
- maxTotalDurationMs?: number | undefined;
1083
- maxBytes?: number | undefined;
1084
- }[];
1085
- outputAudioChannels?: 2 | 1 | undefined;
1086
- } | undefined;
1087
- } | {
1088
- family: "DECLARED";
1089
- profile: {
1090
- id: string;
1091
- version: number;
1092
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
1093
- modelId: string;
1094
- protocol: "DOCUMENTED_ONLY";
1095
- };
1096
- matrix: {
1097
- schemaVersion: 1;
1098
- service: string;
1099
- lifecycle: "ACTIVE" | "DEPRECATED" | "RETIRED";
1100
- sources: {
1101
- url: string;
1102
- checkedAt: string;
1103
- }[];
1104
- modes: string[];
1105
- claims: {
1106
- capability: "SYNCHRONIZED_AUDIO" | "SPEECH_GENERATION" | "SPEECH_RECOGNITION" | "TRANSCRIPT_TIMESTAMPS" | "VOICE_REFERENCE" | "AUDIO_REFERENCE" | "AUDIO_DRIVEN_VIDEO" | "LIP_SYNCHRONIZATION" | "AUDIO_EDITING" | "SEPARATE_STEMS";
1107
- modes: string[];
1108
- support: "UNKNOWN" | "SUPPORTED" | "UNSUPPORTED";
1109
- control: "NONE" | "PARAMETER" | "PROMPT" | "ALWAYS_ON" | "MEDIA_INPUT";
1110
- parameterPath?: string | undefined;
1111
- access?: "PUBLIC" | "QUALIFIED_ACCOUNT" | undefined;
1112
- description?: string | undefined;
1113
- }[];
1114
- parameters: Record<string, {
1115
- label: string;
1116
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
1117
- required?: boolean | undefined;
1118
- min?: number | undefined;
1119
- max?: number | undefined;
1120
- maxLength?: number | undefined;
1121
- options?: string[] | undefined;
1122
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
1123
- unit?: string | undefined;
1124
- description?: string | undefined;
1125
- maxItems?: number | undefined;
1126
- maxKeyLength?: number | undefined;
1127
- numberOptions?: number[] | undefined;
1128
- }>;
1129
- constraints: {
1130
- modes: string[];
1131
- reason: string;
1132
- when?: {
1133
- parameter: string;
1134
- equals: string | number | boolean;
1135
- } | undefined;
1136
- require?: string[] | undefined;
1137
- forbid?: string[] | undefined;
1138
- requireValues?: Record<string, string | number | boolean> | undefined;
1139
- }[];
1140
- references: {
1141
- kind: "AUDIO_REFERENCE" | "VOICE_ID" | "DRIVING_AUDIO";
1142
- modes: string[];
1143
- parameterPath: string;
1144
- maxItems: number;
1145
- formats: ("WAV" | "MP3")[];
1146
- requiresVisual: boolean;
1147
- access: "PUBLIC" | "QUALIFIED_ACCOUNT";
1148
- minDurationMs?: number | undefined;
1149
- maxDurationMs?: number | undefined;
1150
- maxTotalDurationMs?: number | undefined;
1151
- maxBytes?: number | undefined;
1152
- }[];
1153
- outputAudioChannels?: 2 | 1 | undefined;
1154
- };
1155
- };
1156
- }[];
1157
- video: {
1158
- selection: {
1159
- connectionId: string;
1160
- modelProfileId: string;
1161
- };
1162
- profile: {
1163
- id: string;
1164
- adapterVersion: string;
1165
- model: string;
1166
- executionClass: "LIVE" | "TEST_ONLY";
1167
- mediaType: "VIDEO";
1168
- modes: ("REFERENCE_TO_VIDEO" | "FIRST_FRAME_TO_VIDEO" | "FIRST_LAST_FRAME_TO_VIDEO")[];
1169
- referenceRoles: ("PRODUCT_IDENTITY" | "PRODUCT_PACKSHOT" | "CHARACTER_IDENTITY" | "WARDROBE" | "LOCATION" | "STYLE" | "START_FRAME_ANCHOR" | "END_FRAME_ANCHOR")[];
1170
- aspectRatios: ("16:9" | "9:16")[];
1171
- minDurationSeconds: number;
1172
- maxDurationSeconds: number;
1173
- maxReferences: number;
1174
- combineAnchorsAndReferences: boolean;
1175
- workingWidth: number;
1176
- workingHeight: number;
1177
- frameRate: 30 | 24;
1178
- hasAudio: boolean;
1179
- correlationStrategy: "PROVIDER_TASK_ID";
1180
- sourceFormat?: {
1181
- videoCodec: "hevc";
1182
- pixelFormat: "yuv420p10le";
1183
- } | undefined;
1184
- nativeAudioChannels?: 2 | 1 | undefined;
1185
- };
1186
- }[];
1187
- speech: {
1188
- selection: {
1189
- connectionId: string;
1190
- modelProfileId: string;
1191
- };
1192
- profile: {
1193
- id: string;
1194
- version: number;
1195
- providerId: "QWEN_CN" | "VOLCENGINE_CN" | "GEMINI" | "OPENAI" | "XAI";
1196
- modelId: string | null;
1197
- protocol: "QWEN_TTS" | "QWEN_AUDIO_TTS" | "OPENAI_TTS" | "XAI_TTS" | "GEMINI_INTERACTIONS_TTS" | "VOLCENGINE_TTS";
1198
- label: string;
1199
- textMaxCharacters: number;
1200
- requestTimeoutMs: number;
1201
- workspaceRequired: boolean;
1202
- voices: {
1203
- id: string;
1204
- label: string;
1205
- languages?: string[] | undefined;
1206
- parameterDefaults?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1207
- parameterOptions?: Record<string, string[]> | undefined;
1208
- unsupportedParameters?: string[] | undefined;
1209
- }[];
1210
- languages: string[];
1211
- parameters: Record<string, {
1212
- label: string;
1213
- type: "STRING" | "NUMBER" | "BOOLEAN" | "INTEGER" | "STRING_ARRAY" | "STRING_MAP";
1214
- required?: boolean | undefined;
1215
- min?: number | undefined;
1216
- max?: number | undefined;
1217
- maxLength?: number | undefined;
1218
- options?: string[] | undefined;
1219
- default?: string | number | boolean | string[] | Record<string, string> | undefined;
1220
- unit?: string | undefined;
1221
- description?: string | undefined;
1222
- maxItems?: number | undefined;
1223
- maxKeyLength?: number | undefined;
1224
- }>;
1225
- sourceUrl: string;
1226
- verifiedAt: string;
1227
- providerTextMaxCharacters: number | null;
1228
- resourceId: string | null;
1229
- output: "PCM_S16LE_48000_V1";
1230
- normalizationVersion: "SPEECH_PCM_V1";
1231
- };
1232
- connectionLabel: string;
1233
- connectionVersion: number;
1234
- }[];
1235
- audio: {
1236
- version: {
1237
- tenantId: string;
1238
- productionId: string;
1239
- purpose: "VOICEOVER" | "MUSIC";
1240
- id: string;
1241
- audioId: string;
1242
- projectId: string;
1243
- version: number;
1244
- artifactId: string;
1245
- original: {
1246
- id: string;
1247
- checksumSha256: string;
1248
- byteSize: number;
1249
- };
1250
- media: {
1251
- profile: "PCM_S16LE_48000_V1";
1252
- audioCodec: "pcm_s16le";
1253
- sampleRateHz: 48000;
1254
- audioChannels: 2 | 1;
1255
- sampleCount: number;
1256
- durationMs: number;
1257
- };
1258
- originalName: string | null;
1259
- previousVersionId: string | null;
1260
- createdByPrincipalId: string;
1261
- createdAt: string;
1262
- generation?: {
1263
- generationId: string;
1264
- executionClass: "LIVE" | "TEST_ONLY";
1265
- sourceArtifactId: string;
1266
- sourceRepresentationId: string;
1267
- sourceChecksumSha256: string;
1268
- sourceByteSize: number;
1269
- sourceMedia: {
1270
- sampleRateHz: number;
1271
- audioChannels: 2 | 1;
1272
- sampleCount: number;
1273
- };
1274
- normalizationVersion: "SPEECH_PCM_V1";
1275
- padSamples: number;
1276
- } | undefined;
1277
- };
1278
- isCurrent: boolean;
1279
- availability: "UNAVAILABLE" | "AVAILABLE";
1280
- }[];
1281
- };
1282
- }>;
1283
- readonly "sound-plan.get": import("./spec.js").HttpOperationSpec<{
1284
- tenantId: string;
1285
- productionId: string;
1286
- versionId?: string | undefined;
1287
- }, {
1288
- tenantId: string;
1289
- productionId: string;
1290
- versionId?: string | undefined;
1291
- }, {
1292
- version: {
1293
- tenantId: string;
1294
- productionId: string;
1295
- id: string;
1296
- soundPlanId: string;
1297
- projectId: string;
1298
- version: number;
1299
- basis: {
1300
- briefVersionId: string;
1301
- briefVersion: number;
1302
- storyVersionId: string;
1303
- storyVersion: number;
1304
- planVersionId: string;
1305
- planVersion: number;
1306
- };
1307
- content: {
1308
- visuals: {
1309
- shotId: string;
1310
- method: "IMPORTED" | "CODE" | "GENERATED";
1311
- sourceSound: {
1312
- policy: "KEEP" | "MUTE" | "DUCK";
1313
- gainPermille: number;
1314
- duckingPermille: number;
1315
- };
1316
- rationale: string;
1317
- model?: {
1318
- modelProfileId: string;
1319
- modelProfileVersion: number;
1320
- connectionId: string;
1321
- } | undefined;
1322
- nativeAudio?: boolean | undefined;
1323
- }[];
1324
- cues: {
1325
- id: string;
1326
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1327
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1328
- shotIds: string[];
1329
- startMs: number;
1330
- endMs: number;
1331
- lipSync: "NONE" | "REQUIRED";
1332
- exactSpeech: boolean;
1333
- text?: string | undefined;
1334
- voice?: string | undefined;
1335
- model?: {
1336
- modelProfileId: string;
1337
- modelProfileVersion: number;
1338
- connectionId: string;
1339
- } | undefined;
1340
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1341
- audio?: {
1342
- purpose: "VOICEOVER" | "MUSIC";
1343
- versionId: string;
1344
- } | undefined;
1345
- }[];
1346
- unknowns: string[];
1347
- };
1348
- createdByPrincipalId: string;
1349
- createdAt: string;
1350
- };
1351
- current: boolean;
1352
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
1353
- }, {
1354
- version: {
1355
- tenantId: string;
1356
- productionId: string;
1357
- id: string;
1358
- soundPlanId: string;
1359
- projectId: string;
1360
- version: number;
1361
- basis: {
1362
- briefVersionId: string;
1363
- briefVersion: number;
1364
- storyVersionId: string;
1365
- storyVersion: number;
1366
- planVersionId: string;
1367
- planVersion: number;
1368
- };
1369
- content: {
1370
- visuals: {
1371
- shotId: string;
1372
- method: "IMPORTED" | "CODE" | "GENERATED";
1373
- sourceSound: {
1374
- policy: "KEEP" | "MUTE" | "DUCK";
1375
- gainPermille: number;
1376
- duckingPermille: number;
1377
- };
1378
- rationale: string;
1379
- model?: {
1380
- modelProfileId: string;
1381
- modelProfileVersion: number;
1382
- connectionId: string;
1383
- } | undefined;
1384
- nativeAudio?: boolean | undefined;
1385
- }[];
1386
- cues: {
1387
- id: string;
1388
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1389
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1390
- shotIds: string[];
1391
- startMs: number;
1392
- endMs: number;
1393
- lipSync: "NONE" | "REQUIRED";
1394
- exactSpeech: boolean;
1395
- text?: string | undefined;
1396
- voice?: string | undefined;
1397
- model?: {
1398
- modelProfileId: string;
1399
- modelProfileVersion: number;
1400
- connectionId: string;
1401
- } | undefined;
1402
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1403
- audio?: {
1404
- purpose: "VOICEOVER" | "MUSIC";
1405
- versionId: string;
1406
- } | undefined;
1407
- }[];
1408
- unknowns: string[];
1409
- };
1410
- createdByPrincipalId: string;
1411
- createdAt: string;
1412
- };
1413
- current: boolean;
1414
- freshness: "STALE_BASIS" | "CURRENT_BASIS";
1415
- }>;
1416
- readonly "sound-plan.validate": import("./spec.js").HttpOperationSpec<{
1417
- tenantId: string;
1418
- productionId: string;
1419
- expectedProductionRevision: number;
1420
- basis: {
1421
- briefVersionId: string;
1422
- briefVersion: number;
1423
- storyVersionId: string;
1424
- storyVersion: number;
1425
- planVersionId: string;
1426
- planVersion: number;
1427
- };
1428
- content: {
1429
- visuals: {
1430
- shotId: string;
1431
- method: "IMPORTED" | "CODE" | "GENERATED";
1432
- sourceSound: {
1433
- policy: "KEEP" | "MUTE" | "DUCK";
1434
- gainPermille: number;
1435
- duckingPermille: number;
1436
- };
1437
- rationale: string;
1438
- model?: {
1439
- modelProfileId: string;
1440
- modelProfileVersion: number;
1441
- connectionId: string;
1442
- } | undefined;
1443
- nativeAudio?: boolean | undefined;
1444
- }[];
1445
- cues: {
1446
- id: string;
1447
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1448
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1449
- shotIds: string[];
1450
- startMs: number;
1451
- endMs: number;
1452
- lipSync: "NONE" | "REQUIRED";
1453
- exactSpeech: boolean;
1454
- text?: string | undefined;
1455
- voice?: string | undefined;
1456
- model?: {
1457
- modelProfileId: string;
1458
- modelProfileVersion: number;
1459
- connectionId: string;
1460
- } | undefined;
1461
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1462
- audio?: {
1463
- purpose: "VOICEOVER" | "MUSIC";
1464
- versionId: string;
1465
- } | undefined;
1466
- }[];
1467
- unknowns: string[];
1468
- };
1469
- }, {
1470
- tenantId: string;
1471
- productionId: string;
1472
- expectedProductionRevision: number;
1473
- basis: {
1474
- briefVersionId: string;
1475
- briefVersion: number;
1476
- storyVersionId: string;
1477
- storyVersion: number;
1478
- planVersionId: string;
1479
- planVersion: number;
1480
- };
1481
- content: {
1482
- visuals: {
1483
- shotId: string;
1484
- method: "IMPORTED" | "CODE" | "GENERATED";
1485
- sourceSound: {
1486
- policy: "KEEP" | "MUTE" | "DUCK";
1487
- gainPermille: number;
1488
- duckingPermille: number;
1489
- };
1490
- rationale: string;
1491
- model?: {
1492
- modelProfileId: string;
1493
- modelProfileVersion: number;
1494
- connectionId: string;
1495
- } | undefined;
1496
- nativeAudio?: boolean | undefined;
1497
- }[];
1498
- cues: {
1499
- id: string;
1500
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1501
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1502
- shotIds: string[];
1503
- startMs: number;
1504
- endMs: number;
1505
- lipSync: "NONE" | "REQUIRED";
1506
- exactSpeech: boolean;
1507
- text?: string | undefined;
1508
- voice?: string | undefined;
1509
- model?: {
1510
- modelProfileId: string;
1511
- modelProfileVersion: number;
1512
- connectionId: string;
1513
- } | undefined;
1514
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1515
- audio?: {
1516
- purpose: "VOICEOVER" | "MUSIC";
1517
- versionId: string;
1518
- } | undefined;
1519
- }[];
1520
- unknowns: string[];
1521
- };
1522
- }, {
1523
- executable: boolean;
1524
- diagnostics: {
1525
- severity: "WARNING" | "ERROR";
1526
- code: string;
1527
- message: string;
1528
- shotId?: string | undefined;
1529
- cueId?: string | undefined;
1530
- }[];
1531
- semantics: "PLAN_VALIDATION_NOT_CREATIVE_OR_LISTENING_APPROVAL";
1532
- }, {
1533
- executable: boolean;
1534
- diagnostics: {
1535
- severity: "WARNING" | "ERROR";
1536
- code: string;
1537
- message: string;
1538
- shotId?: string | undefined;
1539
- cueId?: string | undefined;
1540
- }[];
1541
- semantics: "PLAN_VALIDATION_NOT_CREATIVE_OR_LISTENING_APPROVAL";
1542
- }>;
1543
- readonly "sound-plan.accept": import("./spec.js").HttpOperationSpec<{
1544
- tenantId: string;
1545
- productionId: string;
1546
- expectedProductionRevision: number;
1547
- basis: {
1548
- briefVersionId: string;
1549
- briefVersion: number;
1550
- storyVersionId: string;
1551
- storyVersion: number;
1552
- planVersionId: string;
1553
- planVersion: number;
1554
- };
1555
- content: {
1556
- visuals: {
1557
- shotId: string;
1558
- method: "IMPORTED" | "CODE" | "GENERATED";
1559
- sourceSound: {
1560
- policy: "KEEP" | "MUTE" | "DUCK";
1561
- gainPermille: number;
1562
- duckingPermille: number;
1563
- };
1564
- rationale: string;
1565
- model?: {
1566
- modelProfileId: string;
1567
- modelProfileVersion: number;
1568
- connectionId: string;
1569
- } | undefined;
1570
- nativeAudio?: boolean | undefined;
1571
- }[];
1572
- cues: {
1573
- id: string;
1574
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1575
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1576
- shotIds: string[];
1577
- startMs: number;
1578
- endMs: number;
1579
- lipSync: "NONE" | "REQUIRED";
1580
- exactSpeech: boolean;
1581
- text?: string | undefined;
1582
- voice?: string | undefined;
1583
- model?: {
1584
- modelProfileId: string;
1585
- modelProfileVersion: number;
1586
- connectionId: string;
1587
- } | undefined;
1588
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1589
- audio?: {
1590
- purpose: "VOICEOVER" | "MUSIC";
1591
- versionId: string;
1592
- } | undefined;
1593
- }[];
1594
- unknowns: string[];
1595
- };
1596
- expectedVersion: number;
1597
- idempotencyKey: string;
1598
- }, {
1599
- tenantId: string;
1600
- productionId: string;
1601
- expectedProductionRevision: number;
1602
- basis: {
1603
- briefVersionId: string;
1604
- briefVersion: number;
1605
- storyVersionId: string;
1606
- storyVersion: number;
1607
- planVersionId: string;
1608
- planVersion: number;
1609
- };
1610
- content: {
1611
- visuals: {
1612
- shotId: string;
1613
- method: "IMPORTED" | "CODE" | "GENERATED";
1614
- sourceSound: {
1615
- policy: "KEEP" | "MUTE" | "DUCK";
1616
- gainPermille: number;
1617
- duckingPermille: number;
1618
- };
1619
- rationale: string;
1620
- model?: {
1621
- modelProfileId: string;
1622
- modelProfileVersion: number;
1623
- connectionId: string;
1624
- } | undefined;
1625
- nativeAudio?: boolean | undefined;
1626
- }[];
1627
- cues: {
1628
- id: string;
1629
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1630
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1631
- shotIds: string[];
1632
- startMs: number;
1633
- endMs: number;
1634
- lipSync: "NONE" | "REQUIRED";
1635
- exactSpeech: boolean;
1636
- text?: string | undefined;
1637
- voice?: string | undefined;
1638
- model?: {
1639
- modelProfileId: string;
1640
- modelProfileVersion: number;
1641
- connectionId: string;
1642
- } | undefined;
1643
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1644
- audio?: {
1645
- purpose: "VOICEOVER" | "MUSIC";
1646
- versionId: string;
1647
- } | undefined;
1648
- }[];
1649
- unknowns: string[];
1650
- };
1651
- expectedVersion: number;
1652
- idempotencyKey: string;
1653
- }, {
1654
- semanticStatus: "SUCCESS";
1655
- version: {
1656
- tenantId: string;
1657
- productionId: string;
1658
- id: string;
1659
- soundPlanId: string;
1660
- projectId: string;
1661
- version: number;
1662
- basis: {
1663
- briefVersionId: string;
1664
- briefVersion: number;
1665
- storyVersionId: string;
1666
- storyVersion: number;
1667
- planVersionId: string;
1668
- planVersion: number;
1669
- };
1670
- content: {
1671
- visuals: {
1672
- shotId: string;
1673
- method: "IMPORTED" | "CODE" | "GENERATED";
1674
- sourceSound: {
1675
- policy: "KEEP" | "MUTE" | "DUCK";
1676
- gainPermille: number;
1677
- duckingPermille: number;
1678
- };
1679
- rationale: string;
1680
- model?: {
1681
- modelProfileId: string;
1682
- modelProfileVersion: number;
1683
- connectionId: string;
1684
- } | undefined;
1685
- nativeAudio?: boolean | undefined;
1686
- }[];
1687
- cues: {
1688
- id: string;
1689
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1690
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1691
- shotIds: string[];
1692
- startMs: number;
1693
- endMs: number;
1694
- lipSync: "NONE" | "REQUIRED";
1695
- exactSpeech: boolean;
1696
- text?: string | undefined;
1697
- voice?: string | undefined;
1698
- model?: {
1699
- modelProfileId: string;
1700
- modelProfileVersion: number;
1701
- connectionId: string;
1702
- } | undefined;
1703
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1704
- audio?: {
1705
- purpose: "VOICEOVER" | "MUSIC";
1706
- versionId: string;
1707
- } | undefined;
1708
- }[];
1709
- unknowns: string[];
1710
- };
1711
- createdByPrincipalId: string;
1712
- createdAt: string;
1713
- };
1714
- productionRevision: number;
1715
- }, {
1716
- semanticStatus: "SUCCESS";
1717
- version: {
1718
- tenantId: string;
1719
- productionId: string;
1720
- id: string;
1721
- soundPlanId: string;
1722
- projectId: string;
1723
- version: number;
1724
- basis: {
1725
- briefVersionId: string;
1726
- briefVersion: number;
1727
- storyVersionId: string;
1728
- storyVersion: number;
1729
- planVersionId: string;
1730
- planVersion: number;
1731
- };
1732
- content: {
1733
- visuals: {
1734
- shotId: string;
1735
- method: "IMPORTED" | "CODE" | "GENERATED";
1736
- sourceSound: {
1737
- policy: "KEEP" | "MUTE" | "DUCK";
1738
- gainPermille: number;
1739
- duckingPermille: number;
1740
- };
1741
- rationale: string;
1742
- model?: {
1743
- modelProfileId: string;
1744
- modelProfileVersion: number;
1745
- connectionId: string;
1746
- } | undefined;
1747
- nativeAudio?: boolean | undefined;
1748
- }[];
1749
- cues: {
1750
- id: string;
1751
- role: "MUSIC" | "NARRATION" | "DIALOGUE" | "AMBIENCE" | "SOUND_EFFECT";
1752
- source: "TTS" | "NATIVE_VIDEO" | "IMPORTED_AUDIO" | "EXISTING_AUDIO";
1753
- shotIds: string[];
1754
- startMs: number;
1755
- endMs: number;
1756
- lipSync: "NONE" | "REQUIRED";
1757
- exactSpeech: boolean;
1758
- text?: string | undefined;
1759
- voice?: string | undefined;
1760
- model?: {
1761
- modelProfileId: string;
1762
- modelProfileVersion: number;
1763
- connectionId: string;
1764
- } | undefined;
1765
- parameters?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
1766
- audio?: {
1767
- purpose: "VOICEOVER" | "MUSIC";
1768
- versionId: string;
1769
- } | undefined;
1770
- }[];
1771
- unknowns: string[];
1772
- };
1773
- createdByPrincipalId: string;
1774
- createdAt: string;
1775
- };
1776
- productionRevision: number;
1777
- }>;
4
+ readonly "sound-plan.context": SchemaHttpOperation<typeof SoundPlanScopeSchema, typeof SoundPlanContextSchema>;
5
+ readonly "sound-plan.get": SchemaHttpOperation<typeof SoundPlanGetSchema, typeof SoundPlanViewSchema>;
6
+ readonly "sound-plan.validate": SchemaHttpOperation<typeof SoundPlanValidateSchema, typeof SoundPlanValidationSchema>;
7
+ readonly "sound-plan.accept": SchemaHttpOperation<typeof SoundPlanAcceptSchema, typeof SoundPlanReceiptSchema>;
1778
8
  };