@executioncontrolprotocol/adobe-firefly-services 0.13.2 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/LICENSE +198 -13
  2. package/README.md +113 -83
  3. package/dist/auth/ims.d.ts +47 -14
  4. package/dist/auth/ims.d.ts.map +1 -1
  5. package/dist/auth/ims.js +127 -26
  6. package/dist/auth/ims.js.map +1 -1
  7. package/dist/config.d.ts +27 -0
  8. package/dist/config.d.ts.map +1 -0
  9. package/dist/config.js +51 -0
  10. package/dist/config.js.map +1 -0
  11. package/dist/errors.d.ts +42 -0
  12. package/dist/errors.d.ts.map +1 -0
  13. package/dist/errors.js +53 -0
  14. package/dist/errors.js.map +1 -0
  15. package/dist/generated/audio-video/capabilities.d.ts +21 -36
  16. package/dist/generated/audio-video/capabilities.d.ts.map +1 -1
  17. package/dist/generated/audio-video/capabilities.js +295 -259
  18. package/dist/generated/audio-video/capabilities.js.map +1 -1
  19. package/dist/generated/audio-video/operations.d.ts +13 -0
  20. package/dist/generated/audio-video/operations.d.ts.map +1 -0
  21. package/dist/generated/audio-video/operations.js +182 -0
  22. package/dist/generated/audio-video/operations.js.map +1 -0
  23. package/dist/generated/audio-video/schemas.d.ts +245 -82
  24. package/dist/generated/audio-video/schemas.d.ts.map +1 -1
  25. package/dist/generated/audio-video/schemas.js +552 -466
  26. package/dist/generated/audio-video/schemas.js.map +1 -1
  27. package/dist/generated/creative-production/capabilities.d.ts +10 -10
  28. package/dist/generated/creative-production/capabilities.d.ts.map +1 -1
  29. package/dist/generated/creative-production/capabilities.js +64 -77
  30. package/dist/generated/creative-production/capabilities.js.map +1 -1
  31. package/dist/generated/creative-production/operations.d.ts +13 -0
  32. package/dist/generated/creative-production/operations.d.ts.map +1 -0
  33. package/dist/generated/creative-production/operations.js +48 -0
  34. package/dist/generated/creative-production/operations.js.map +1 -0
  35. package/dist/generated/creative-production/schemas.d.ts +65 -21
  36. package/dist/generated/creative-production/schemas.d.ts.map +1 -1
  37. package/dist/generated/creative-production/schemas.js +149 -128
  38. package/dist/generated/creative-production/schemas.js.map +1 -1
  39. package/dist/generated/express/capabilities.d.ts +11 -10
  40. package/dist/generated/express/capabilities.d.ts.map +1 -1
  41. package/dist/generated/express/capabilities.js +65 -64
  42. package/dist/generated/express/capabilities.js.map +1 -1
  43. package/dist/generated/express/operations.d.ts +13 -0
  44. package/dist/generated/express/operations.d.ts.map +1 -0
  45. package/dist/generated/express/operations.js +58 -0
  46. package/dist/generated/express/operations.js.map +1 -0
  47. package/dist/generated/express/schemas.d.ts +100 -34
  48. package/dist/generated/express/schemas.d.ts.map +1 -1
  49. package/dist/generated/express/schemas.js +165 -134
  50. package/dist/generated/express/schemas.js.map +1 -1
  51. package/dist/generated/firefly/capabilities.d.ts +18 -28
  52. package/dist/generated/firefly/capabilities.d.ts.map +1 -1
  53. package/dist/generated/firefly/capabilities.js +289 -172
  54. package/dist/generated/firefly/capabilities.js.map +1 -1
  55. package/dist/generated/firefly/operations.d.ts +13 -0
  56. package/dist/generated/firefly/operations.d.ts.map +1 -0
  57. package/dist/generated/firefly/operations.js +145 -0
  58. package/dist/generated/firefly/operations.js.map +1 -0
  59. package/dist/generated/firefly/schemas.d.ts +250 -105
  60. package/dist/generated/firefly/schemas.d.ts.map +1 -1
  61. package/dist/generated/firefly/schemas.js +462 -451
  62. package/dist/generated/firefly/schemas.js.map +1 -1
  63. package/dist/generated/illustrator/capabilities.d.ts +11 -16
  64. package/dist/generated/illustrator/capabilities.d.ts.map +1 -1
  65. package/dist/generated/illustrator/capabilities.js +99 -100
  66. package/dist/generated/illustrator/capabilities.js.map +1 -1
  67. package/dist/generated/illustrator/operations.d.ts +13 -0
  68. package/dist/generated/illustrator/operations.d.ts.map +1 -0
  69. package/dist/generated/illustrator/operations.js +65 -0
  70. package/dist/generated/illustrator/operations.js.map +1 -0
  71. package/dist/generated/illustrator/schemas.d.ts +85 -54
  72. package/dist/generated/illustrator/schemas.d.ts.map +1 -1
  73. package/dist/generated/illustrator/schemas.js +187 -233
  74. package/dist/generated/illustrator/schemas.js.map +1 -1
  75. package/dist/generated/indesign/capabilities.d.ts +19 -32
  76. package/dist/generated/indesign/capabilities.d.ts.map +1 -1
  77. package/dist/generated/indesign/capabilities.js +394 -197
  78. package/dist/generated/indesign/capabilities.js.map +1 -1
  79. package/dist/generated/indesign/operations.d.ts +13 -0
  80. package/dist/generated/indesign/operations.d.ts.map +1 -0
  81. package/dist/generated/indesign/operations.js +133 -0
  82. package/dist/generated/indesign/operations.js.map +1 -0
  83. package/dist/generated/indesign/schemas.d.ts +75 -24
  84. package/dist/generated/indesign/schemas.d.ts.map +1 -1
  85. package/dist/generated/indesign/schemas.js +351 -240
  86. package/dist/generated/indesign/schemas.js.map +1 -1
  87. package/dist/generated/index.d.ts +74 -3
  88. package/dist/generated/index.d.ts.map +1 -1
  89. package/dist/generated/index.js +28 -97
  90. package/dist/generated/index.js.map +1 -1
  91. package/dist/generated/photoshop/capabilities.d.ts +13 -14
  92. package/dist/generated/photoshop/capabilities.d.ts.map +1 -1
  93. package/dist/generated/photoshop/capabilities.js +133 -90
  94. package/dist/generated/photoshop/capabilities.js.map +1 -1
  95. package/dist/generated/photoshop/operations.d.ts +13 -0
  96. package/dist/generated/photoshop/operations.d.ts.map +1 -0
  97. package/dist/generated/photoshop/operations.js +88 -0
  98. package/dist/generated/photoshop/operations.js.map +1 -0
  99. package/dist/generated/photoshop/schemas.d.ts +430 -152
  100. package/dist/generated/photoshop/schemas.d.ts.map +1 -1
  101. package/dist/generated/photoshop/schemas.js +809 -716
  102. package/dist/generated/photoshop/schemas.js.map +1 -1
  103. package/dist/generated/substance3d/capabilities.d.ts +16 -22
  104. package/dist/generated/substance3d/capabilities.d.ts.map +1 -1
  105. package/dist/generated/substance3d/capabilities.js +181 -136
  106. package/dist/generated/substance3d/capabilities.js.map +1 -1
  107. package/dist/generated/substance3d/operations.d.ts +13 -0
  108. package/dist/generated/substance3d/operations.d.ts.map +1 -0
  109. package/dist/generated/substance3d/operations.js +114 -0
  110. package/dist/generated/substance3d/operations.js.map +1 -0
  111. package/dist/generated/substance3d/schemas.d.ts +305 -76
  112. package/dist/generated/substance3d/schemas.d.ts.map +1 -1
  113. package/dist/generated/substance3d/schemas.js +634 -515
  114. package/dist/generated/substance3d/schemas.js.map +1 -1
  115. package/dist/http/async-job.d.ts +24 -14
  116. package/dist/http/async-job.d.ts.map +1 -1
  117. package/dist/http/async-job.js +135 -69
  118. package/dist/http/async-job.js.map +1 -1
  119. package/dist/http/client.d.ts +54 -26
  120. package/dist/http/client.d.ts.map +1 -1
  121. package/dist/http/client.js +136 -53
  122. package/dist/http/client.js.map +1 -1
  123. package/dist/http/request-limit.d.ts +42 -0
  124. package/dist/http/request-limit.d.ts.map +1 -0
  125. package/dist/http/request-limit.js +46 -0
  126. package/dist/http/request-limit.js.map +1 -0
  127. package/dist/index.d.ts +84 -30
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/index.js +20 -34
  130. package/dist/index.js.map +1 -1
  131. package/dist/runtime/abort.d.ts +17 -0
  132. package/dist/runtime/abort.d.ts.map +1 -0
  133. package/dist/runtime/abort.js +51 -0
  134. package/dist/runtime/abort.js.map +1 -0
  135. package/dist/runtime/assemble.d.ts +99 -0
  136. package/dist/runtime/assemble.d.ts.map +1 -0
  137. package/dist/runtime/assemble.js +159 -0
  138. package/dist/runtime/assemble.js.map +1 -0
  139. package/dist/runtime/invoke-capability.d.ts +46 -0
  140. package/dist/runtime/invoke-capability.d.ts.map +1 -0
  141. package/dist/runtime/invoke-capability.js +68 -0
  142. package/dist/runtime/invoke-capability.js.map +1 -0
  143. package/dist/runtime/product-shape.d.ts +49 -0
  144. package/dist/runtime/product-shape.d.ts.map +1 -0
  145. package/dist/runtime/product-shape.js +309 -0
  146. package/dist/runtime/product-shape.js.map +1 -0
  147. package/dist/schemas.d.ts +13 -0
  148. package/dist/schemas.d.ts.map +1 -0
  149. package/dist/schemas.js +7 -0
  150. package/dist/schemas.js.map +1 -0
  151. package/ecp.manifest.json +840 -0
  152. package/ecp.schema.json +23498 -0
  153. package/package.json +28 -19
  154. package/dist/generated/audio-video/capabilities.browser.d.ts +0 -37
  155. package/dist/generated/audio-video/capabilities.browser.d.ts.map +0 -1
  156. package/dist/generated/audio-video/capabilities.browser.js +0 -44
  157. package/dist/generated/audio-video/capabilities.browser.js.map +0 -1
  158. package/dist/generated/audio-video/index.d.ts +0 -3
  159. package/dist/generated/audio-video/index.d.ts.map +0 -1
  160. package/dist/generated/audio-video/index.js +0 -3
  161. package/dist/generated/audio-video/index.js.map +0 -1
  162. package/dist/generated/audio-video/shells.d.ts +0 -39
  163. package/dist/generated/audio-video/shells.d.ts.map +0 -1
  164. package/dist/generated/audio-video/shells.js +0 -290
  165. package/dist/generated/audio-video/shells.js.map +0 -1
  166. package/dist/generated/creative-production/capabilities.browser.d.ts +0 -11
  167. package/dist/generated/creative-production/capabilities.browser.d.ts.map +0 -1
  168. package/dist/generated/creative-production/capabilities.browser.js +0 -18
  169. package/dist/generated/creative-production/capabilities.browser.js.map +0 -1
  170. package/dist/generated/creative-production/index.d.ts +0 -3
  171. package/dist/generated/creative-production/index.d.ts.map +0 -1
  172. package/dist/generated/creative-production/index.js +0 -3
  173. package/dist/generated/creative-production/index.js.map +0 -1
  174. package/dist/generated/creative-production/shells.d.ts +0 -13
  175. package/dist/generated/creative-production/shells.d.ts.map +0 -1
  176. package/dist/generated/creative-production/shells.js +0 -108
  177. package/dist/generated/creative-production/shells.js.map +0 -1
  178. package/dist/generated/express/capabilities.browser.d.ts +0 -11
  179. package/dist/generated/express/capabilities.browser.d.ts.map +0 -1
  180. package/dist/generated/express/capabilities.browser.js +0 -18
  181. package/dist/generated/express/capabilities.browser.js.map +0 -1
  182. package/dist/generated/express/index.d.ts +0 -3
  183. package/dist/generated/express/index.d.ts.map +0 -1
  184. package/dist/generated/express/index.js +0 -3
  185. package/dist/generated/express/index.js.map +0 -1
  186. package/dist/generated/express/shells.d.ts +0 -13
  187. package/dist/generated/express/shells.d.ts.map +0 -1
  188. package/dist/generated/express/shells.js +0 -72
  189. package/dist/generated/express/shells.js.map +0 -1
  190. package/dist/generated/firefly/capabilities.browser.d.ts +0 -29
  191. package/dist/generated/firefly/capabilities.browser.d.ts.map +0 -1
  192. package/dist/generated/firefly/capabilities.browser.js +0 -36
  193. package/dist/generated/firefly/capabilities.browser.js.map +0 -1
  194. package/dist/generated/firefly/index.d.ts +0 -3
  195. package/dist/generated/firefly/index.d.ts.map +0 -1
  196. package/dist/generated/firefly/index.js +0 -3
  197. package/dist/generated/firefly/index.js.map +0 -1
  198. package/dist/generated/firefly/shells.d.ts +0 -31
  199. package/dist/generated/firefly/shells.d.ts.map +0 -1
  200. package/dist/generated/firefly/shells.js +0 -199
  201. package/dist/generated/firefly/shells.js.map +0 -1
  202. package/dist/generated/illustrator/capabilities.browser.d.ts +0 -17
  203. package/dist/generated/illustrator/capabilities.browser.d.ts.map +0 -1
  204. package/dist/generated/illustrator/capabilities.browser.js +0 -24
  205. package/dist/generated/illustrator/capabilities.browser.js.map +0 -1
  206. package/dist/generated/illustrator/index.d.ts +0 -3
  207. package/dist/generated/illustrator/index.d.ts.map +0 -1
  208. package/dist/generated/illustrator/index.js +0 -3
  209. package/dist/generated/illustrator/index.js.map +0 -1
  210. package/dist/generated/illustrator/shells.d.ts +0 -19
  211. package/dist/generated/illustrator/shells.d.ts.map +0 -1
  212. package/dist/generated/illustrator/shells.js +0 -106
  213. package/dist/generated/illustrator/shells.js.map +0 -1
  214. package/dist/generated/indesign/capabilities.browser.d.ts +0 -33
  215. package/dist/generated/indesign/capabilities.browser.d.ts.map +0 -1
  216. package/dist/generated/indesign/capabilities.browser.js +0 -40
  217. package/dist/generated/indesign/capabilities.browser.js.map +0 -1
  218. package/dist/generated/indesign/index.d.ts +0 -3
  219. package/dist/generated/indesign/index.d.ts.map +0 -1
  220. package/dist/generated/indesign/index.js +0 -3
  221. package/dist/generated/indesign/index.js.map +0 -1
  222. package/dist/generated/indesign/shells.d.ts +0 -35
  223. package/dist/generated/indesign/shells.d.ts.map +0 -1
  224. package/dist/generated/indesign/shells.js +0 -208
  225. package/dist/generated/indesign/shells.js.map +0 -1
  226. package/dist/generated/index.browser.d.ts +0 -4
  227. package/dist/generated/index.browser.d.ts.map +0 -1
  228. package/dist/generated/index.browser.js +0 -98
  229. package/dist/generated/index.browser.js.map +0 -1
  230. package/dist/generated/photoshop/capabilities.browser.d.ts +0 -15
  231. package/dist/generated/photoshop/capabilities.browser.d.ts.map +0 -1
  232. package/dist/generated/photoshop/capabilities.browser.js +0 -22
  233. package/dist/generated/photoshop/capabilities.browser.js.map +0 -1
  234. package/dist/generated/photoshop/index.d.ts +0 -3
  235. package/dist/generated/photoshop/index.d.ts.map +0 -1
  236. package/dist/generated/photoshop/index.js +0 -3
  237. package/dist/generated/photoshop/index.js.map +0 -1
  238. package/dist/generated/photoshop/shells.d.ts +0 -17
  239. package/dist/generated/photoshop/shells.d.ts.map +0 -1
  240. package/dist/generated/photoshop/shells.js +0 -92
  241. package/dist/generated/photoshop/shells.js.map +0 -1
  242. package/dist/generated/substance3d/capabilities.browser.d.ts +0 -23
  243. package/dist/generated/substance3d/capabilities.browser.d.ts.map +0 -1
  244. package/dist/generated/substance3d/capabilities.browser.js +0 -30
  245. package/dist/generated/substance3d/capabilities.browser.js.map +0 -1
  246. package/dist/generated/substance3d/index.d.ts +0 -3
  247. package/dist/generated/substance3d/index.d.ts.map +0 -1
  248. package/dist/generated/substance3d/index.js +0 -3
  249. package/dist/generated/substance3d/index.js.map +0 -1
  250. package/dist/generated/substance3d/shells.d.ts +0 -25
  251. package/dist/generated/substance3d/shells.d.ts.map +0 -1
  252. package/dist/generated/substance3d/shells.js +0 -146
  253. package/dist/generated/substance3d/shells.js.map +0 -1
  254. package/dist/index.browser.d.ts +0 -19
  255. package/dist/index.browser.d.ts.map +0 -1
  256. package/dist/index.browser.js +0 -27
  257. package/dist/index.browser.js.map +0 -1
  258. package/dist/runtime/invoke.d.ts +0 -67
  259. package/dist/runtime/invoke.d.ts.map +0 -1
  260. package/dist/runtime/invoke.js +0 -69
  261. package/dist/runtime/invoke.js.map +0 -1
  262. package/dist/runtime/photoshop-manifest.d.ts +0 -40
  263. package/dist/runtime/photoshop-manifest.d.ts.map +0 -1
  264. package/dist/runtime/photoshop-manifest.js +0 -115
  265. package/dist/runtime/photoshop-manifest.js.map +0 -1
  266. package/dist/shared.d.ts +0 -11
  267. package/dist/shared.d.ts.map +0 -1
  268. package/dist/shared.js +0 -39
  269. package/dist/shared.js.map +0 -1
  270. package/openapi/audio-video/audio-video-api.json +0 -8333
  271. package/openapi/audio-video/translate-lipsync-openapi.json +0 -1967
  272. package/openapi/content-tagging/SOURCE.md +0 -10
  273. package/openapi/creative-production/workflow-builder-api.yaml +0 -1002
  274. package/openapi/express/ffs-express-api.json +0 -2262
  275. package/openapi/firefly/firefly-api.json +0 -4964
  276. package/openapi/illustrator/illustrator-api-beta.json +0 -1329
  277. package/openapi/illustrator/illustrator-api.json +0 -2447
  278. package/openapi/indesign/indesignapi.json +0 -2907
  279. package/openapi/overlays/schema-fixes.json +0 -95
  280. package/openapi/photoshop/photoshopv2-api.json +0 -5395
  281. package/openapi/substance3d/openapi.yaml +0 -3583
@@ -1,263 +1,299 @@
1
- /* eslint-disable */
2
- /** Generated Adobe audio-video capabilities — do not edit. */
3
- import * as shells from "./shells.js";
1
+ /* Generated by scripts/generate-capabilities.mjs. Do not edit; run `pnpm run generate`. */
2
+ /* Source: audio-video/audio-video-api.json, audio-video/translate-lipsync-openapi.json */
3
+ import { capability } from "@executioncontrolprotocol/plugin-sdk";
4
4
  import { z } from "zod";
5
+ import { fileRefSchema } from "../../schemas.js";
5
6
  import * as schemas from "./schemas.js";
6
- import { invokeAdobeOperation } from "../../runtime/invoke.js";
7
- /** Get available voices */
8
- export const audio_video_voices = shells.audio_video_voices(async (input, ctx) => {
9
- return invokeAdobeOperation({
10
- method: "GET",
11
- pathTemplate: "/v1/voices",
12
- baseUrl: "https://audio-video-api.adobe.io/",
13
- input: input,
14
- ctx,
15
- outputSchema: schemas.Schema_SuccessfulVoicesResponse,
16
- asyncMode: "none",
17
- });
18
- });
19
- /** Generate speech from text */
20
- export const audio_video_generate_speech = shells.audio_video_generate_speech(async (input, ctx) => {
21
- return invokeAdobeOperation({
22
- method: "POST",
23
- pathTemplate: "/v1/generate-speech",
24
- baseUrl: "https://audio-video-api.adobe.io/",
25
- input: input,
26
- ctx,
27
- outputSchema: schemas.Schema_StatusAPIResponse,
28
- asyncMode: "submit",
29
- });
30
- });
31
- /** Get job status */
32
- export const audio_video_status = shells.audio_video_status(async (input, ctx) => {
33
- return invokeAdobeOperation({
34
- method: "GET",
35
- pathTemplate: "/v1/status/{jobId}",
36
- baseUrl: "https://audio-video-api.adobe.io/",
37
- input: input,
38
- ctx,
39
- outputSchema: schemas.Schema_StatusAPIResponse,
40
- asyncMode: "none",
41
- });
42
- });
43
- /** Describe template */
44
- export const audio_video_template_describe = shells.audio_video_template_describe(async (input, ctx) => {
45
- return invokeAdobeOperation({
46
- method: "POST",
47
- pathTemplate: "/v1/templates/describe",
48
- baseUrl: "https://audio-video-api.adobe.io/",
49
- input: input,
50
- ctx,
51
- outputSchema: schemas.Schema_StatusAPIResponse,
52
- asyncMode: "submit",
53
- });
54
- });
55
- /** Fetch video rendering presets */
56
- export const audio_video_get_presets = shells.audio_video_get_presets(async (input, ctx) => {
57
- return invokeAdobeOperation({
58
- method: "GET",
59
- pathTemplate: "/v1/presets",
60
- baseUrl: "https://audio-video-api.adobe.io/",
61
- input: input,
62
- ctx,
63
- outputSchema: schemas.Schema_PresetsResponse,
64
- asyncMode: "none",
65
- });
66
- });
67
- /** Render template */
68
- export const audio_video_template_render = shells.audio_video_template_render(async (input, ctx) => {
69
- return invokeAdobeOperation({
70
- method: "POST",
71
- pathTemplate: "/v1/templates/render",
72
- baseUrl: "https://audio-video-api.adobe.io/",
73
- input: input,
74
- ctx,
75
- outputSchema: schemas.Schema_JobStatus,
76
- asyncMode: "submit",
77
- });
78
- });
79
- /** Cancel a render job */
80
- export const audio_video_cancel_render_job = shells.audio_video_cancel_render_job(async (input, ctx) => {
81
- return invokeAdobeOperation({
82
- method: "PUT",
83
- pathTemplate: "/v1/cancel/{jobId}",
84
- baseUrl: "https://audio-video-api.adobe.io/",
85
- input: input,
86
- ctx,
87
- outputSchema: schemas.Schema_CancelAcceptedResponse,
88
- asyncMode: "none",
89
- });
90
- });
91
- /** List render jobs */
92
- export const audio_video_list_render_jobs = shells.audio_video_list_render_jobs(async (input, ctx) => {
93
- return invokeAdobeOperation({
94
- method: "GET",
95
- pathTemplate: "/v1/templates/render-jobs",
96
- baseUrl: "https://audio-video-api.adobe.io/",
97
- input: input,
98
- ctx,
99
- outputSchema: schemas.Schema_RenderJobListResponse,
100
- asyncMode: "none",
101
- });
102
- });
103
- /** Reframe video */
104
- export const audio_video_generate_reframed_video = shells.audio_video_generate_reframed_video(async (input, ctx) => {
105
- return invokeAdobeOperation({
106
- method: "POST",
107
- pathTemplate: "/v1/reframe",
108
- baseUrl: "https://audio-video-api.adobe.io/",
109
- input: input,
110
- ctx,
111
- outputSchema: schemas.Schema_StatusAPIResponse,
112
- asyncMode: "submit",
113
- });
114
- });
115
- /** Transcribe media */
116
- export const audio_video_transcribe = shells.audio_video_transcribe(async (input, ctx) => {
117
- return invokeAdobeOperation({
118
- method: "POST",
119
- pathTemplate: "/v1/transcribe",
120
- baseUrl: "https://audio-video-api.adobe.io/",
121
- input: input,
122
- ctx,
123
- outputSchema: schemas.Schema_FireflyJobResponse,
124
- asyncMode: "submit",
125
- });
126
- });
127
- /** Dub audio or video */
128
- export const audio_video_dub = shells.audio_video_dub(async (input, ctx) => {
129
- return invokeAdobeOperation({
130
- method: "POST",
131
- pathTemplate: "/v1/dub",
132
- baseUrl: "https://audio-video-api.adobe.io/",
133
- input: input,
134
- ctx,
135
- outputSchema: schemas.Schema_FireflyJobResponse,
136
- asyncMode: "submit",
137
- });
138
- });
139
- /** Get available avatars */
140
- export const audio_video_avatars = shells.audio_video_avatars(async (input, ctx) => {
141
- return invokeAdobeOperation({
142
- method: "GET",
143
- pathTemplate: "/v1/avatars",
144
- baseUrl: "https://audio-video-api.adobe.io/",
145
- input: input,
146
- ctx,
147
- outputSchema: schemas.Schema_SuccessfulAvatarsResponse,
148
- asyncMode: "none",
149
- });
150
- });
151
- /** Reframe video v2 */
152
- export const audio_video_generate_reframed_video_v2 = shells.audio_video_generate_reframed_video_v2(async (input, ctx) => {
153
- return invokeAdobeOperation({
154
- method: "POST",
155
- pathTemplate: "/v2/reframe",
156
- baseUrl: "https://audio-video-api.adobe.io/",
157
- input: input,
158
- ctx,
159
- outputSchema: schemas.Schema_StatusAPIResponse,
160
- asyncMode: "submit",
161
- });
162
- });
163
- /** Get job result */
164
- export const audio_video_job_result_v2 = shells.audio_video_job_result_v2(async (input, ctx) => {
165
- return invokeAdobeOperation({
166
- method: "GET",
167
- pathTemplate: "/v2/status/{jobId}",
168
- baseUrl: "https://audio-video-api.adobe.io/",
169
- input: input,
170
- ctx,
171
- outputSchema: z.union([z.object({
172
- "status": z.enum(["not_started", "running", "failed", "succeeded", "partially_succeeded"]),
173
- "jobId": z.string()
174
- }), z.object({
175
- "status": z.enum(["not_started", "running", "failed", "succeeded", "partially_succeeded"]),
176
- "jobId": z.string(),
177
- "outputs": z.array(z.union([z.object({
178
- "destination": z.object({
179
- "url": z.string()
180
- })
181
- }), z.object({
182
- "error": z.object({
183
- "error_code": z.string(),
184
- "message": z.string()
185
- })
186
- })]))
187
- }), z.object({
188
- "status": z.enum(["not_started", "running", "failed", "succeeded", "partially_succeeded"]),
189
- "jobId": z.string(),
190
- "outputs": z.array(z.union([z.object({
191
- "destination": z.object({
192
- "url": z.string()
193
- })
194
- }), z.object({
195
- "error": z.object({
196
- "error_code": z.string(),
197
- "message": z.string()
198
- })
199
- })]))
200
- }), z.object({
201
- "status": z.enum(["not_started", "running", "failed", "succeeded", "partially_succeeded"]),
202
- "jobId": z.string(),
203
- "outputs": z.object({
204
- "renditions": z.array(z.object({
205
- "error": z.object({
206
- "error_code": z.string(),
207
- "message": z.string()
208
- })
209
- }))
7
+ /**
8
+ * Adobe Audio and Video capabilities. Handlers load on first call.
9
+ * @category Generated
10
+ */
11
+ export const audioVideoCapabilities = {
12
+ "audio-video-avatars": capability({
13
+ summary: "Get available avatars (Adobe Audio and Video).",
14
+ description: "Retrieves the list of all available avatars for the user's enterprise.",
15
+ useCases: ["Choose an avatar id before generating a talking-head video"],
16
+ projections: ["Keep each listed item's id and display name so a later step can select one; drop the rest."],
17
+ accepts: z.strictObject({}),
18
+ returns: schemas.Out_SuccessfulAvatarsResponse,
19
+ timeoutMs: 120000,
20
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-avatars")),
21
+ }),
22
+ "audio-video-dub": capability({
23
+ summary: "Dub audio or video with optional lip-sync compositing (Adobe Audio and Video).",
24
+ description: "Generate dubbed video or audio. A composited lip sync can also be added for video dubbing. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
25
+ useCases: ["Replace dialogue with a dubbed track in a new language, with optional lip sync on video"],
26
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
27
+ accepts: z.strictObject({
28
+ targetLocaleCodes: z.array(schemas.In_DubTargetLocaleCodes).optional().describe("Accepted values: [ 'da-DK','en-IN','en-GB','es-AR', 'es-419','fr-CA','hi-IN','ja-JP','ko-KR','nb-NO','nl-NL','pt-BR','sv-SE','zh-CN','en-US','es-ES','de-DE','fr-FR','it-IT','pt-PT']"),
29
+ transcripts: z.array(schemas.In_TranscriptInput).optional(),
30
+ audio: schemas.In_AudioInput.optional(),
31
+ video: schemas.In_VideoInput.optional(),
32
+ lipSync: z.boolean().optional().describe("If `true`, a high-quality composited lip sync will be used in the video output."),
33
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
34
+ }),
35
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
36
+ timeoutMs: 600000,
37
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-dub")),
38
+ }),
39
+ "audio-video-dub-translate-lipsync": capability({
40
+ summary: "Dub audio or video (translate and lip-sync OpenAPI spec, same endpoint as consolidated API) (Adobe Audio and Video).",
41
+ description: "Generate dubbed video or audio. A composited lip sync can be added for video dubbing. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
42
+ useCases: ["Dub media when integrations still target the standalone translate-and-lip-sync OpenAPI document"],
43
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
44
+ accepts: z.strictObject({
45
+ targetLocaleCodes: z.array(schemas.In_DubTargetLocaleCodes).optional().describe("Accepted values: [ 'da-DK','en-IN','en-GB','es-AR', 'es-419','fr-CA','hi-IN','ja-JP','ko-KR','nb-NO','nl-NL','pt-BR','sv-SE','zh-CN','en-US','es-ES','de-DE','fr-FR','it-IT','pt-PT']"),
46
+ transcripts: z.array(schemas.In_TranscriptInput).optional(),
47
+ audio: schemas.In_AudioInput.optional(),
48
+ video: schemas.In_VideoInput.optional(),
49
+ lipSync: z.boolean().optional().describe("If `true`, a high-quality composited lip sync will be used in the video output."),
50
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
51
+ }),
52
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
53
+ timeoutMs: 600000,
54
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-dub-translate-lipsync")),
55
+ }),
56
+ "audio-video-generate-avatar": capability({
57
+ summary: "Generate avatar video from text (Adobe Audio and Video).",
58
+ description: "Generates an avatar video from a provided transcript or audio file. You can provide the transcript either as plain text or a pre-signed URL. The API is asynchronous, so the response will include a job ID and a status URL for tracking the running job. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
59
+ useCases: ["Create a presenter video from a transcript or audio file"],
60
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
61
+ accepts: z.strictObject({
62
+ script: z.union([schemas.In_TextSource, schemas.In_URLSource]).optional(),
63
+ voiceId: z.string().optional().describe("ID of the voice to use from the catalog of voices."),
64
+ avatarId: z.string().optional().describe("ID of the avatar to use from the catalog of avatars."),
65
+ output: schemas.In_AvatarOutputObject.optional(),
66
+ audio: z.strictObject({
67
+ source: schemas.In_URLObject,
68
+ mediaType: z.enum(["audio/wav"]),
69
+ localeCode: schemas.In_SupportedLanguageCode
70
+ }).optional(),
71
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
72
+ }),
73
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
74
+ timeoutMs: 600000,
75
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-generate-avatar")),
76
+ }),
77
+ "audio-video-generate-reframed-video": capability({
78
+ summary: "Reframe video with the legacy v1 API (prefer v2 when possible) (Adobe Audio and Video).",
79
+ description: "This endpoint enables you to reframe video using AI. Provide video input with a pre-signed URL to generate reframed video output. This API has more limited capabilities than the v2 endpoint, and may be deprecated soon. **It's recommended to use the v2 endpoint instead.** The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
80
+ useCases: ["Reframe clips when only the older reframe endpoint is available"],
81
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
82
+ accepts: z.strictObject({
83
+ video: fileRefSchema({ access: "url", mediaTypes: ["video/mp4", "video/quicktime"] }).optional().describe("Video input details."),
84
+ sceneEditDetection: z.boolean().optional().describe("Apply Scene Edit Detection before reframing."),
85
+ overlays: z.array(schemas.In_Overlay).optional().describe("Configuration details for video overlays."),
86
+ outputConfig: z.strictObject({
87
+ aspectRatios: z.array(z.string()).describe("A list of aspect ratios for the output video.")
88
+ }).optional().describe("Configuration details for the generated reframed video."),
89
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
90
+ }),
91
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
92
+ timeoutMs: 600000,
93
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-generate-reframed-video")),
94
+ }),
95
+ "audio-video-generate-reframed-video-v2": capability({
96
+ summary: "Reframe video v2 (Adobe Audio and Video).",
97
+ description: "This endpoint enables you to reframe the input media. You can provide a video input via a pre-signed URL to generate reframed output video. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
98
+ useCases: ["Change video aspect ratio or framing with the current reframe API"],
99
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
100
+ accepts: z.strictObject({
101
+ video: fileRefSchema({ access: "url" }).optional(),
102
+ analysis: schemas.In_AnalysisV2.optional(),
103
+ composition: schemas.In_CompositionV2.optional(),
104
+ output: z.strictObject({
105
+ format: schemas.In_OutputFormatV2.optional(),
106
+ renditions: z.array(z.strictObject({
107
+ aspectRatio: schemas.In_AspectRatioV2.optional(),
108
+ mediaDestination: schemas.In_Destination.optional(),
109
+ sidecarDestination: schemas.In_Destination.optional(),
110
+ resolution: z.strictObject({
111
+ width: z.number().int().describe("Resolution width of the output in pixels."),
112
+ height: z.number().int().describe("Resolution height of the output in pixels.")
113
+ }).optional()
114
+ })).describe("Array of output rendition specifications.")
115
+ }).optional().describe("Output configuration details for generating the reframed video."),
116
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
117
+ }),
118
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
119
+ timeoutMs: 600000,
120
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-generate-reframed-video-v2")),
121
+ }),
122
+ "audio-video-generate-speech": capability({
123
+ summary: "Generate speech from text (Adobe Audio and Video).",
124
+ description: "This endpoint generates speech from a transcript. You can provide the transcript either as plain text or a pre-signed URL. The response will include a job ID and a status URL for tracking the job. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
125
+ useCases: ["Synthesize voice audio from text for narration or dubbing pipelines"],
126
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
127
+ accepts: z.strictObject({
128
+ script: z.union([schemas.In_TextSource, schemas.In_URLSource]).optional(),
129
+ voiceId: z.string().optional().describe("ID of the voice to use from the catalog of voices."),
130
+ output: z.strictObject({
131
+ mediaType: schemas.In_SupportedAudioOutputAudioFormat
132
+ }).optional(),
133
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
134
+ }),
135
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
136
+ timeoutMs: 600000,
137
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-generate-speech")),
138
+ }),
139
+ "audio-video-get-presets": capability({
140
+ summary: "Fetch video rendering presets (Adobe Audio and Video).",
141
+ description: "Returns a list of predefined social-first encoding presets for rendering outputs.",
142
+ useCases: ["Discover template rendering presets before starting a render job"],
143
+ projections: ["Keep each listed item's id and display name so a later step can select one; drop the rest."],
144
+ accepts: z.strictObject({}),
145
+ returns: schemas.Out_PresetsResponse,
146
+ timeoutMs: 120000,
147
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-get-presets")),
148
+ }),
149
+ "audio-video-list-render-jobs": capability({
150
+ summary: "List render jobs (Adobe Audio and Video).",
151
+ description: "Returns a paginated list of template render jobs owned by the authenticated caller, optionally filtered by status and creation date. **Applicable only to render jobs submitted via `POST /v1/templates/render`.** Jobs from other API types (Describe, Reframe, TLS, TTS, Avatar) are not returned. **Filter syntax (FIQL):** - `status==running` — single status equality - `status=in=(running,not_started)` — status set membership - `createdDate=ge=2026-05-01T00:00:00Z` — absolute ISO 8601 lower bound - `createdDate=ge=-P7D` — relative ISO 8601 duration (last 7 days) - Combine with `;` (AND): `status==running;createdDate=ge=-P7D` **Default filter:** all statuses, `createdDate` within the last 30 days. **Retention:** `createdDate` filter values must fall within the 30-day retention window. **Pagination:** follow `paging.nextUrl` until it is absent (last page).",
152
+ useCases: ["Audit or track in-flight template video render jobs"],
153
+ projections: ["Keep each listed item's id and display name so a later step can select one; drop the rest."],
154
+ accepts: z.strictObject({
155
+ filter: z.string().optional().describe("FIQL filter string. Supported sub-params: `status` (enum) and `createdDate` (ISO 8601 date-time or relative duration). Default: `createdDate=ge=-P30D;status=in=(not_started,running,succeeded,partially_succeeded,failed,canceled)`."),
156
+ limit: z.number().int().min(1).max(100).optional().describe("Maximum number of job entries to return per page. Must be between 1 and 100 (inclusive). Defaults to 20."),
157
+ cursor: z.string().optional().describe("Opaque pagination cursor returned in `paging.nextUrl` of a previous response. Omit to fetch the first page."),
158
+ "x-request-id": z.string().optional().describe("GUID, unique per request. Auto-generated if not provided.")
159
+ }),
160
+ returns: schemas.Out_RenderJobListResponse,
161
+ timeoutMs: 120000,
162
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-list-render-jobs")),
163
+ }),
164
+ "audio-video-template-describe": capability({
165
+ summary: "Describe template (Adobe Audio and Video).",
166
+ description: "Analyzes a MOGRT (video template) file and returns a manifest of editable controls; fonts, images, audio, video and other supported values. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
167
+ useCases: ["Inspect a motion graphic template structure before filling it with data"],
168
+ projections: ["Read the document facts the next step needs (layer or page names, sizes, ids) instead of carrying the whole result forward."],
169
+ accepts: z.strictObject({
170
+ type: z.enum(["mogrt", "aep"]).optional().describe("Input template type. Use `mogrt` for a Motion Graphics Template or `aep` for an After Effects project. Defaults to `mogrt` when omitted."),
171
+ source: z.strictObject({
172
+ url: z.string().describe("A pre-signed URL pointing to the input template file. For `mogrt`, this is a `.mogrt` file. For `aep`, this is a `.zip` archive containing exactly one `.aep` project file together with its collected footage and assets.")
173
+ }).optional().describe("Contains metadata about the source of the input template."),
174
+ compName: z.string().optional().describe("Name of the After Effects composition to describe. Required when `type` is `aep`; not applicable to `mogrt`. This composition name within the AEP project must be unique so that `compName` resolves to a single composition."),
175
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
176
+ }),
177
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
178
+ timeoutMs: 600000,
179
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-template-describe")),
180
+ }),
181
+ "audio-video-template-render": capability({
182
+ summary: "Render template (Adobe Audio and Video).",
183
+ description: "Renders one or more video variations by applying overrides and export presets. Submit up to 10 overrides per call for a subset of editable layers and get a pre-signed URL link to download the video file. For layers that are not editable, the system defaults are automatically applied at export. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
184
+ useCases: ["Render a finished video from a creative template with your parameters"],
185
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
186
+ accepts: z.strictObject({
187
+ type: z.enum(["mogrt", "aep"]).optional().describe("Input template type. Use `mogrt` for a Motion Graphics Template or `aep` for an After Effects project. Defaults to `mogrt` when omitted."),
188
+ source: z.strictObject({
189
+ url: z.string().describe("A pre-signed URL pointing to the input template file. For `mogrt`, this is a `.mogrt` file. For `aep`, this is a `.zip` archive containing exactly one `.aep` project file together with its collected footage and assets.")
190
+ }).optional().describe("Contains metadata about the source of the input template."),
191
+ compName: z.string().optional().describe("Name of the After Effects composition to render. Required when `type` is `aep`; not applicable to `mogrt`. This composition name within the AEP project must be unique so that `compName` resolves to a single composition."),
192
+ fonts: z.array(z.strictObject({
193
+ name: z.string().describe("PostScript name of the font."),
194
+ source: z.strictObject({
195
+ url: z.string().describe("Pre-signed URL for the font file (.ttf/.otf).")
210
196
  })
211
- })]),
212
- asyncMode: "none",
213
- });
214
- });
215
- /** Generate avatar video from text */
216
- export const audio_video_generate_avatar = shells.audio_video_generate_avatar(async (input, ctx) => {
217
- return invokeAdobeOperation({
218
- method: "POST",
219
- pathTemplate: "/v1/generate-avatar",
220
- baseUrl: "https://audio-video-api.adobe.io/",
221
- input: input,
222
- ctx,
223
- outputSchema: schemas.Schema_StatusAPIResponse,
224
- asyncMode: "submit",
225
- });
226
- });
227
- /** Transcribe media */
228
- export const audio_video_transcribe__v1_transcribe = shells.audio_video_transcribe__v1_transcribe(async (input, ctx) => {
229
- return invokeAdobeOperation({
230
- method: "POST",
231
- pathTemplate: "/v1/transcribe",
232
- baseUrl: "https://audio-video-api.adobe.io/",
233
- input: input,
234
- ctx,
235
- outputSchema: schemas.Schema_FireflyJobResponse,
236
- asyncMode: "submit",
237
- });
238
- });
239
- /** Dub audio or video */
240
- export const audio_video_dub__v1_dub = shells.audio_video_dub__v1_dub(async (input, ctx) => {
241
- return invokeAdobeOperation({
242
- method: "POST",
243
- pathTemplate: "/v1/dub",
244
- baseUrl: "https://audio-video-api.adobe.io/",
245
- input: input,
246
- ctx,
247
- outputSchema: schemas.Schema_FireflyJobResponse,
248
- asyncMode: "submit",
249
- });
250
- });
251
- /** Get the result for a job */
252
- export const audio_video_job_result = shells.audio_video_job_result(async (input, ctx) => {
253
- return invokeAdobeOperation({
254
- method: "GET",
255
- pathTemplate: "/v1/status/{jobId}",
256
- baseUrl: "https://audio-video-api.adobe.io/",
257
- input: input,
258
- ctx,
259
- outputSchema: schemas.Schema_FireflyJobResponse,
260
- asyncMode: "none",
261
- });
262
- });
197
+ })).optional().describe("Array of fonts to be used in the template."),
198
+ config: z.strictObject({
199
+ handleMissingFonts: z.enum(["fail", "use_default"]).optional().describe("How to handle missing fonts. 'fail' will cause the render to fail; 'use_default' will use Premiere Pro fallback behavior."),
200
+ sidecar: z.enum(["aep"]).optional().describe("Optional. Applicable only when `type` is `aep`. Set to `aep` to also produce the collected After Effects project (a self-contained archive of the `.aep` file and its footage), returned as `sidecarDestination` on each output. Not supported for `mogrt` renders.")
201
+ }).optional().describe("Configuration options for the render request."),
202
+ assets: z.array(z.strictObject({
203
+ source: z.strictObject({
204
+ url: z.string().describe("Pre-signed URL for the image, video, or audio asset.")
205
+ })
206
+ })).optional().describe("Array of image, video, or audio assets referenced by variations via assetIndex."),
207
+ presets: z.array(z.strictObject({
208
+ source: z.strictObject({
209
+ presetId: z.string().optional().describe("ID of a built-in preset from the presets endpoint."),
210
+ url: z.string().optional().describe("Pre-signed URL for a custom Encoder preset file.")
211
+ })
212
+ })).optional().describe("Array of export presets. Each item is either a built-in preset (by presetId) or a custom preset (by URL). Outputs reference presets by presetIndex."),
213
+ variations: z.array(z.strictObject({
214
+ variables: z.array(z.strictObject({
215
+ variableId: z.string().describe("Unique identifier for the template variable, taken verbatim from the describe response. For AEP, this is the composite ID of a control (for example `c259:l261:media` for a media control or `c169:l193:layer:sourceText` for a text control)."),
216
+ selectedCheckboxValue: z.boolean().optional().describe("Override for checkbox controls."),
217
+ selectedDropdownValue: z.string().optional().describe("Override for dropdown controls."),
218
+ selectedSliderValue: z.number().optional().describe("Override for slider controls."),
219
+ text: z.string().optional().describe("Override for text controls."),
220
+ fontName: z.string().optional().describe("PostScript font name for text controls."),
221
+ assetIndex: z.number().int().optional().describe("Index into the assets array for media or audio controls."),
222
+ scale: z.enum(["no_scale", "fit_to_frame", "stretch_to_fill", "fill_frame"]).optional().describe("Scaling behavior for media controls."),
223
+ audioPreference: z.enum(["replace", "mix"]).optional().describe("Audio preference for audio controls.")
224
+ })).describe("Variable overrides for this variation. Each object targets one template variable by variableId and supplies the override value.")
225
+ })).min(1).optional().describe("List of variations. Each variation contains variable overrides applied to the template."),
226
+ layerOperations: z.array(z.strictObject({
227
+ operation: z.enum(["trim_comp", "trim_inpoint", "trim_outpoint", "shift_inpoint", "shift_outpoint", "match_source_duration", "set_layer_duration", "stretch_layer", "enable_layer"]).describe("The layer operation to perform."),
228
+ layerId: z.string().optional().describe("Target layer ID (`c{comp}:l{layer}:layer`). Used by all operations except `trim_comp`."),
229
+ refLayerId: z.string().optional().describe("Reference layer for `shift_inpoint`, `shift_outpoint`, `trim_inpoint`, and `trim_outpoint` (its in/out time, selected by `refInOut`, anchors the move) and for `stretch_layer` (its duration becomes the target duration when no `duration*` field is provided)."),
230
+ refInOut: z.enum(["in", "out"]).optional().describe("Which end of `refLayerId` to read as the reference time."),
231
+ startLayerId: z.string().optional().describe("For `trim_comp`, the layer whose in point sets the start of the comp."),
232
+ endLayerId: z.string().optional().describe("For `trim_comp`, the layer whose out point sets the end of the comp."),
233
+ startSeconds: z.number().optional().describe("For `trim_comp`, the absolute start time of the comp, in seconds."),
234
+ startFrames: z.number().int().optional().describe("For `trim_comp`, the absolute start time of the comp, in frames."),
235
+ offsetSeconds: z.number().optional().describe("Offset added to the resolved reference time (`shift_*`, `trim_*`) or target duration (`stretch_layer`), in seconds. Takes precedence over `offsetFrames`."),
236
+ offsetFrames: z.number().int().optional().describe("Offset added to the resolved reference time (`shift_*`, `trim_*`) or target duration (`stretch_layer`), in frames. Used only when `offsetSeconds` is absent."),
237
+ durationSeconds: z.number().optional().describe("Duration in seconds for `set_layer_duration` and `stretch_layer`, or the comp duration for `trim_comp`. Takes precedence over `durationFrames`."),
238
+ durationFrames: z.number().int().optional().describe("Duration in frames for `set_layer_duration` and `stretch_layer`, or the comp duration for `trim_comp`. Used only when `durationSeconds` is absent."),
239
+ durationPercent: z.number().optional().describe("For `stretch_layer`, the target duration as a percentage of the layer's native duration. Highest priority of the `stretch_layer` duration inputs: `durationPercent` > `durationSeconds` > `durationFrames` > `refLayerId`."),
240
+ videoEnabled: z.boolean().optional().describe("For `enable_layer`, turns the target layer's video (visuals) on or off. Optional; each `enable_layer` operation must set at least one of `videoEnabled`, `audioEnabled`, or `solo`."),
241
+ audioEnabled: z.boolean().optional().describe("For `enable_layer`, turns the target layer's audio on or off. Optional; each `enable_layer` operation must set at least one of `videoEnabled`, `audioEnabled`, or `solo`."),
242
+ solo: z.boolean().optional().describe("For `enable_layer`, solos the target layer within its comp; only solo-enabled layers will render. A comp with solo-enabled layers will render against transparency or the comp's background color setting, depending on the render output format.")
243
+ })).optional().describe("Layer-level timing operations applied after variable overrides, in array order. Applicable only when `type` is `aep`; ignored for `mogrt`. Each operation targets a layer by its `layerId` (the `layers[].id` value from the describe response, of the form `c{comp}:l{layer}:layer`)."),
244
+ outputs: z.array(z.strictObject({
245
+ variationIndex: z.number().int().describe("Zero-based index of the variation to render."),
246
+ presetIndex: z.number().int().describe("Zero-based index of the preset in the presets array."),
247
+ fileName: z.string().optional().describe("Optional custom file name for the output."),
248
+ destination: z.string().optional().describe("A pre-signed URL destination for the video output.")
249
+ })).optional().describe("Defines which variation and preset combinations to render and optional output file names."),
250
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
251
+ }),
252
+ returns: schemas.Out_JobStatus,
253
+ timeoutMs: 600000,
254
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-template-render")),
255
+ }),
256
+ "audio-video-transcribe": capability({
257
+ summary: "Transcribe audio or video with captions in source or target languages (Adobe Audio and Video).",
258
+ description: "Generates transcripts and captions for the input audio or video in the source language or in a target language. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
259
+ useCases: ["Produce transcripts and timed captions from source or translated audio or video"],
260
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
261
+ accepts: z.strictObject({
262
+ targetLocaleCodes: z.array(schemas.In_TranscriptInputLocale).optional(),
263
+ captions: schemas.In_Captions.optional().describe("Captions related details to generate captions for transcribe request"),
264
+ audio: schemas.In_AudioInput.optional(),
265
+ video: schemas.In_VideoInput.optional(),
266
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
267
+ }),
268
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
269
+ timeoutMs: 600000,
270
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-transcribe")),
271
+ }),
272
+ "audio-video-transcribe-translate-lipsync": capability({
273
+ summary: "Transcribe audio or video to text (translate and lip-sync OpenAPI spec, transcripts only in this bundle) (Adobe Audio and Video).",
274
+ description: "Generates transcripts for the input audio or video. The step submits the Adobe job, waits for it to finish and returns the job result, not the job id.",
275
+ useCases: ["Transcribe media when tooling still references the standalone translate-and-lip-sync OpenAPI bundle"],
276
+ projections: ["Keep the output asset URLs or storage references for download or the next edit step; the job envelope is already removed."],
277
+ accepts: z.strictObject({
278
+ targetLocaleCodes: z.array(schemas.In_TranscriptInputLocale).optional(),
279
+ captions: schemas.In_Captions.optional().describe("Captions related details to generate captions for transcribe request"),
280
+ audio: schemas.In_AudioInput.optional(),
281
+ video: schemas.In_VideoInput.optional(),
282
+ body: z.looseObject({}).optional().describe("Rest of the JSON request document. Fields also set as top-level parameters replace the same keys here.")
283
+ }),
284
+ returns: z.looseObject({}).describe("Top-level url fields are promoted to url FileRefs where present."),
285
+ timeoutMs: 600000,
286
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-transcribe-translate-lipsync")),
287
+ }),
288
+ "audio-video-voices": capability({
289
+ summary: "Get available voices (Adobe Audio and Video).",
290
+ description: "This endpoint provides the list of all available voices for the user's enterprise.",
291
+ useCases: ["Pick a voice profile before calling text-to-speech"],
292
+ projections: ["Keep each listed item's id and display name so a later step can select one; drop the rest."],
293
+ accepts: z.strictObject({}),
294
+ returns: schemas.Out_SuccessfulVoicesResponse,
295
+ timeoutMs: 120000,
296
+ handler: () => import("./operations.js").then((operations) => operations.load("audio-video-voices")),
297
+ }),
298
+ };
263
299
  //# sourceMappingURL=capabilities.js.map