@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,1967 +0,0 @@
1
- {
2
- "openapi" : "3.1.0",
3
- "info" : {
4
- "version" : "",
5
- "title" : "Translate and Lip Sync API",
6
- "description" : "This RESTful API offers dubbing and lip sync resources for enterprise use. With this API an audio or video input can be dubbed to new language(s).",
7
- "termsOfService" : "https://www.adobe.com/content/dam/cc/en/legal/terms/enterprise/pdfs/PSLT-AdobeCreativeAPI-WW-2024v2.pdf"
8
- },
9
- "servers" : [ {
10
- "url" : "https://audio-video-api.adobe.io",
11
- "description" : "Production environment"
12
- }, {
13
- "url" : "https://audio-video-api-stage.adobe.io",
14
- "description" : "Staging environment"
15
- } ],
16
- "security" : [ {
17
- "AccessToken" : [ ],
18
- "X-Api-Key" : [ ]
19
- } ],
20
- "paths" : {
21
- "/v1/transcribe" : {
22
- "post" : {
23
- "summary" : "Transcribe media",
24
- "description" : "Generates transcripts for the input audio or video.",
25
- "operationId" : "transcribe",
26
- "requestBody" : {
27
- "description" : "Transcribe request body.",
28
- "required" : true,
29
- "content" : {
30
- "application/json" : {
31
- "schema" : {
32
- "$ref" : "#/components/schemas/TranscribeRequest"
33
- },
34
- "examples" : {
35
- "AudioInputToGenerateTranscriptFromSourceAudio" : {
36
- "$ref" : "#/components/examples/AudioInputToGenerateTranscriptFromSourceAudio"
37
- },
38
- "AudioInputToGenerateTranscriptFromTargetLanguageAudio" : {
39
- "$ref" : "#/components/examples/AudioInputToGenerateTranscriptFromTargetLanguageAudio"
40
- },
41
- "VideoInputToGenerateTranscriptFromSourceVideo" : {
42
- "$ref" : "#/components/examples/VideoInputToGenerateTranscriptFromSourceVideo"
43
- },
44
- "VideoInputToGenerateTranscriptFromTargetLanguageVideo" : {
45
- "$ref" : "#/components/examples/VideoInputToGenerateTranscriptFromTargetLanguageVideo"
46
- },
47
- "AudioInputToGenerateTranscriptAndCaptionsFromTargetFormatsFromSourceAudio" : {
48
- "$ref" : "#/components/examples/AudioInputToGenerateTranscriptAndCaptionsFromTargetFormatsFromSourceAudio"
49
- },
50
- "VideoInputToGenerateTranscriptAndCaptionsFromTargetFormatsFromSourceVideo" : {
51
- "$ref" : "#/components/examples/VideoInputToGenerateTranscriptAndCaptionsFromTargetFormatsFromSourceVideo"
52
- }
53
- }
54
- }
55
- }
56
- },
57
- "responses" : {
58
- "202" : {
59
- "description" : "Accepted",
60
- "content" : {
61
- "application/json" : {
62
- "schema" : {
63
- "$ref" : "#/components/schemas/JobStatusLinkResponse"
64
- },
65
- "examples" : {
66
- "TranscribeResponse" : {
67
- "$ref" : "#/components/examples/JobStatusLinkResponse"
68
- }
69
- }
70
- }
71
- }
72
- },
73
- "400" : {
74
- "description" : "Bad Request",
75
- "content" : {
76
- "application/json" : {
77
- "schema" : {
78
- "$ref" : "#/components/schemas/ErrorBody"
79
- },
80
- "examples" : {
81
- "ErrorBodyBadRequest" : {
82
- "$ref" : "#/components/examples/ErrorBodyBadRequest"
83
- }
84
- }
85
- }
86
- }
87
- },
88
- "401" : {
89
- "description" : "Unauthorized",
90
- "content" : {
91
- "application/json" : {
92
- "schema" : {
93
- "$ref" : "#/components/schemas/ErrorBody"
94
- },
95
- "examples" : {
96
- "ErrorBodyUnauthorized" : {
97
- "$ref" : "#/components/examples/ErrorBodyUnauthorized"
98
- }
99
- }
100
- }
101
- }
102
- },
103
- "403" : {
104
- "description" : "Forbidden",
105
- "content" : {
106
- "application/json" : {
107
- "schema" : {
108
- "$ref" : "#/components/schemas/ErrorBody"
109
- },
110
- "examples" : {
111
- "ErrorBodyForbidden" : {
112
- "$ref" : "#/components/examples/ErrorBodyForbidden"
113
- }
114
- }
115
- }
116
- }
117
- },
118
- "404" : {
119
- "description" : "Resource Not Found",
120
- "content" : {
121
- "application/json" : {
122
- "schema" : {
123
- "$ref" : "#/components/schemas/ErrorBody"
124
- },
125
- "examples" : {
126
- "ErrorBodyResourceNotFound" : {
127
- "$ref" : "#/components/examples/ErrorBodyResourceNotFound"
128
- }
129
- }
130
- }
131
- }
132
- },
133
- "405" : {
134
- "description" : "Method Not Allowed",
135
- "content" : {
136
- "application/json" : {
137
- "schema" : {
138
- "$ref" : "#/components/schemas/ErrorBody"
139
- },
140
- "examples" : {
141
- "ErrorBodyMethodNotAllowed" : {
142
- "$ref" : "#/components/examples/ErrorBodyMethodNotAllowed"
143
- }
144
- }
145
- }
146
- }
147
- },
148
- "422" : {
149
- "description" : "Unprocessable Entity",
150
- "content" : {
151
- "application/json" : {
152
- "schema" : {
153
- "$ref" : "#/components/schemas/ErrorBody"
154
- },
155
- "examples" : {
156
- "ErrorBodyMethodNotAllowed" : {
157
- "$ref" : "#/components/examples/ErrorBodyMethodNotAllowed"
158
- },
159
- "ValidationErrorVideoSourceBlank" : {
160
- "$ref" : "#/components/examples/ValidationErrorVideoSourceBlank"
161
- },
162
- "ValidationErrorAudioSourceBlank" : {
163
- "$ref" : "#/components/examples/ValidationErrorAudioSourceBlank"
164
- },
165
- "ValidationErrorInputSourceBlank" : {
166
- "$ref" : "#/components/examples/ValidationErrorInputSourceBlank"
167
- },
168
- "ValidationErrorVideoAndAudioSimultaneous" : {
169
- "$ref" : "#/components/examples/ValidationErrorVideoAndAudioSimultaneous"
170
- },
171
- "ValidationErrorVideoInputMediaTypeMissing" : {
172
- "$ref" : "#/components/examples/ValidationErrorVideoInputMediaTypeMissing"
173
- },
174
- "ValidationErrorAudioInputMediaTypeMissing" : {
175
- "$ref" : "#/components/examples/ValidationErrorAudioInputMediaTypeMissing"
176
- },
177
- "ValidationErrorSourceUrlEmpty" : {
178
- "$ref" : "#/components/examples/ValidationErrorSourceUrlEmpty"
179
- },
180
- "ValidationErrorInvalidVideoAudioSourceUrl" : {
181
- "$ref" : "#/components/examples/ValidationErrorInvalidVideoAudioSourceUrl"
182
- },
183
- "ValidationErrorBlankTranscriptSourceField" : {
184
- "$ref" : "#/components/examples/ValidationErrorBlankTranscriptSourceField"
185
- },
186
- "ValidationErrorInvalidTranscriptUrl" : {
187
- "$ref" : "#/components/examples/ValidationErrorInvalidTranscriptUrl"
188
- },
189
- "ValidationErrorUnsupportedVideoMediaType" : {
190
- "$ref" : "#/components/examples/ValidationErrorUnsupportedVideoMediaType"
191
- },
192
- "ValidationErrorUnsupportedAudioMediaType" : {
193
- "$ref" : "#/components/examples/ValidationErrorUnsupportedAudioMediaType"
194
- },
195
- "ValidationErrorUnsupportedTargetLocaleCode" : {
196
- "$ref" : "#/components/examples/ValidationErrorUnsupportedTargetLocaleCode"
197
- },
198
- "ValidationErrorBlankTargetLocaleCode" : {
199
- "$ref" : "#/components/examples/ValidationErrorBlankTargetLocaleCode"
200
- },
201
- "ValidationErrorMissingTargetLocaleCode" : {
202
- "$ref" : "#/components/examples/ValidationErrorMissingTargetLocaleCode"
203
- },
204
- "ValidationErrorLocaleCodeNotRequiredForEditedTranscript" : {
205
- "$ref" : "#/components/examples/ValidationErrorLocaleCodeNotRequiredForEditedTranscript"
206
- },
207
- "ValidationErrorEitherTargetLocaleCodesOrTranscriptionRequired" : {
208
- "$ref" : "#/components/examples/ValidationErrorEitherTargetLocaleCodesOrTranscriptionRequired"
209
- },
210
- "ValidationErrorCaptionGenerationNotSupportedWithTranslation" : {
211
- "$ref" : "#/components/examples/ValidationErrorCaptionGenerationNotSupportedWithTranslation"
212
- }
213
- }
214
- }
215
- }
216
- },
217
- "429" : {
218
- "description" : "Too Many Requests",
219
- "content" : {
220
- "application/json" : {
221
- "schema" : {
222
- "$ref" : "#/components/schemas/ErrorBody"
223
- },
224
- "examples" : {
225
- "ErrorBodyTooManyRequests" : {
226
- "$ref" : "#/components/examples/ErrorBodyTooManyRequests"
227
- }
228
- }
229
- }
230
- }
231
- },
232
- "451" : {
233
- "description" : "Unauthorized due to legal reasons",
234
- "content" : {
235
- "application/json" : {
236
- "schema" : {
237
- "$ref" : "#/components/schemas/ErrorBody"
238
- },
239
- "examples" : {
240
- "ErrorBodyLegalReasons" : {
241
- "$ref" : "#/components/examples/ErrorBodyLegalReasons"
242
- }
243
- }
244
- }
245
- }
246
- },
247
- "500" : {
248
- "description" : "Internal Server Error",
249
- "content" : {
250
- "application/json" : {
251
- "schema" : {
252
- "$ref" : "#/components/schemas/ErrorBody"
253
- },
254
- "examples" : {
255
- "ErrorBodyInternalServerError" : {
256
- "$ref" : "#/components/examples/ErrorBodyInternalServerError"
257
- }
258
- }
259
- }
260
- }
261
- }
262
- }
263
- }
264
- },
265
- "/v1/dub" : {
266
- "post" : {
267
- "summary" : "Dub audio or video",
268
- "description" : "Generate dubbed video or audio.<br></br> A composited lip sync can be added for video dubbing.",
269
- "operationId" : "dub",
270
- "requestBody" : {
271
- "description" : "The dub request body is used to specify either an audio dubbing or a video dubbing.",
272
- "required" : true,
273
- "content" : {
274
- "application/json" : {
275
- "schema" : {
276
- "$ref" : "#/components/schemas/DubRequest"
277
- },
278
- "examples" : {
279
- "DubRequestUsingAutoTranslatedTranscripts" : {
280
- "$ref" : "#/components/examples/DubRequestUsingAutoTranslatedTranscripts"
281
- },
282
- "DubRequestUsingAudioAutoTranslatedTranscripts" : {
283
- "$ref" : "#/components/examples/DubRequestUsingAudioAutoTranslatedTranscripts"
284
- },
285
- "DubRequestUsingEditedSourceTranscript" : {
286
- "$ref" : "#/components/examples/DubRequestUsingEditedSourceTranscript"
287
- },
288
- "DubRequestUsingAudioEditedSourceTranscript" : {
289
- "$ref" : "#/components/examples/DubRequestUsingAudioEditedSourceTranscript"
290
- },
291
- "DubRequestUsingEditedTranslatedTranscript" : {
292
- "$ref" : "#/components/examples/DubRequestUsingEditedTranslatedTranscript"
293
- },
294
- "DubRequestUsingAudioEditedTranslatedTranscript" : {
295
- "$ref" : "#/components/examples/DubRequestUsingAudioEditedTranslatedTranscript"
296
- }
297
- }
298
- }
299
- }
300
- },
301
- "responses" : {
302
- "202" : {
303
- "description" : "Accepted",
304
- "content" : {
305
- "application/json" : {
306
- "schema" : {
307
- "$ref" : "#/components/schemas/JobStatusLinkResponse"
308
- },
309
- "examples" : {
310
- "DubResponse" : {
311
- "$ref" : "#/components/examples/JobStatusLinkResponse"
312
- }
313
- }
314
- }
315
- }
316
- },
317
- "400" : {
318
- "description" : "Bad Request",
319
- "content" : {
320
- "application/json" : {
321
- "schema" : {
322
- "$ref" : "#/components/schemas/ErrorBody"
323
- },
324
- "examples" : {
325
- "ErrorBodyBadRequest" : {
326
- "$ref" : "#/components/examples/ErrorBodyBadRequest"
327
- }
328
- }
329
- }
330
- }
331
- },
332
- "401" : {
333
- "description" : "Unauthorized",
334
- "content" : {
335
- "application/json" : {
336
- "schema" : {
337
- "$ref" : "#/components/schemas/ErrorBody"
338
- },
339
- "examples" : {
340
- "ErrorBodyUnauthorized" : {
341
- "$ref" : "#/components/examples/ErrorBodyUnauthorized"
342
- }
343
- }
344
- }
345
- }
346
- },
347
- "403" : {
348
- "description" : "Forbidden",
349
- "content" : {
350
- "application/json" : {
351
- "schema" : {
352
- "$ref" : "#/components/schemas/ErrorBody"
353
- },
354
- "examples" : {
355
- "ErrorBodyForbidden" : {
356
- "$ref" : "#/components/examples/ErrorBodyForbidden"
357
- }
358
- }
359
- }
360
- }
361
- },
362
- "404" : {
363
- "description" : "Resource Not Found",
364
- "content" : {
365
- "application/json" : {
366
- "schema" : {
367
- "$ref" : "#/components/schemas/ErrorBody"
368
- },
369
- "examples" : {
370
- "ErrorBodyResourceNotFound" : {
371
- "$ref" : "#/components/examples/ErrorBodyResourceNotFound"
372
- }
373
- }
374
- }
375
- }
376
- },
377
- "405" : {
378
- "description" : "Method Not Allowed",
379
- "content" : {
380
- "application/json" : {
381
- "schema" : {
382
- "$ref" : "#/components/schemas/ErrorBody"
383
- },
384
- "examples" : {
385
- "ErrorBodyMethodNotAllowed" : {
386
- "$ref" : "#/components/examples/ErrorBodyMethodNotAllowed"
387
- }
388
- }
389
- }
390
- }
391
- },
392
- "422" : {
393
- "description" : "Unprocessable Entity",
394
- "content" : {
395
- "application/json" : {
396
- "schema" : {
397
- "$ref" : "#/components/schemas/ErrorBody"
398
- },
399
- "examples" : {
400
- "ErrorBodyMethodNotAllowed" : {
401
- "$ref" : "#/components/examples/ErrorBodyMethodNotAllowed"
402
- },
403
- "ValidationErrorVideoSourceBlank" : {
404
- "$ref" : "#/components/examples/ValidationErrorVideoSourceBlank"
405
- },
406
- "ValidationErrorAudioSourceBlank" : {
407
- "$ref" : "#/components/examples/ValidationErrorAudioSourceBlank"
408
- },
409
- "ValidationErrorInputSourceBlank" : {
410
- "$ref" : "#/components/examples/ValidationErrorInputSourceBlank"
411
- },
412
- "ValidationErrorVideoAndAudioSimultaneous" : {
413
- "$ref" : "#/components/examples/ValidationErrorVideoAndAudioSimultaneous"
414
- },
415
- "ValidationErrorVideoInputMediaTypeMissing" : {
416
- "$ref" : "#/components/examples/ValidationErrorVideoInputMediaTypeMissing"
417
- },
418
- "ValidationErrorAudioInputMediaTypeMissing" : {
419
- "$ref" : "#/components/examples/ValidationErrorAudioInputMediaTypeMissing"
420
- },
421
- "ValidationErrorSourceUrlEmpty" : {
422
- "$ref" : "#/components/examples/ValidationErrorSourceUrlEmpty"
423
- },
424
- "ValidationErrorInvalidVideoAudioSourceUrl" : {
425
- "$ref" : "#/components/examples/ValidationErrorInvalidVideoAudioSourceUrl"
426
- },
427
- "ValidationErrorInvalidTranscriptUrl" : {
428
- "$ref" : "#/components/examples/ValidationErrorInvalidTranscriptUrl"
429
- },
430
- "ValidationErrorUnsupportedVideoMediaType" : {
431
- "$ref" : "#/components/examples/ValidationErrorUnsupportedVideoMediaType"
432
- },
433
- "ValidationErrorUnsupportedAudioMediaType" : {
434
- "$ref" : "#/components/examples/ValidationErrorUnsupportedAudioMediaType"
435
- },
436
- "ValidationErrorUnsupportedTargetLocaleCode" : {
437
- "$ref" : "#/components/examples/ValidationErrorUnsupportedTargetLocaleCode"
438
- },
439
- "ValidationErrorMissingTargetLocaleCode" : {
440
- "$ref" : "#/components/examples/ValidationErrorMissingTargetLocaleCode"
441
- },
442
- "ValidationErrorLocaleCodeNotRequiredForEditedTranscript" : {
443
- "$ref" : "#/components/examples/ValidationErrorLocaleCodeNotRequiredForEditedTranscript"
444
- },
445
- "ValidationErrorEitherTargetLocaleCodesOrTranscriptionRequired" : {
446
- "$ref" : "#/components/examples/ValidationErrorEitherTargetLocaleCodesOrTranscriptionRequired"
447
- }
448
- }
449
- }
450
- }
451
- },
452
- "429" : {
453
- "description" : "Too many requests",
454
- "content" : {
455
- "application/json" : {
456
- "schema" : {
457
- "$ref" : "#/components/schemas/ErrorBody"
458
- },
459
- "examples" : {
460
- "ErrorBodyTooManyRequests" : {
461
- "$ref" : "#/components/examples/ErrorBodyTooManyRequests"
462
- }
463
- }
464
- }
465
- }
466
- },
467
- "451" : {
468
- "description" : "Unauthorized due to legal reasons",
469
- "content" : {
470
- "application/json" : {
471
- "schema" : {
472
- "$ref" : "#/components/schemas/ErrorBody"
473
- },
474
- "examples" : {
475
- "ErrorBodyLegalReasons" : {
476
- "$ref" : "#/components/examples/ErrorBodyLegalReasons"
477
- }
478
- }
479
- }
480
- }
481
- },
482
- "500" : {
483
- "description" : "Internal Server Error",
484
- "content" : {
485
- "application/json" : {
486
- "schema" : {
487
- "$ref" : "#/components/schemas/ErrorBody"
488
- },
489
- "examples" : {
490
- "ErrorBodyInternalServerError" : {
491
- "$ref" : "#/components/examples/ErrorBodyInternalServerError"
492
- }
493
- }
494
- }
495
- }
496
- }
497
- }
498
- }
499
- },
500
- "/v1/status/{jobId}" : {
501
- "get" : {
502
- "summary" : "Get the result for a job",
503
- "description" : "Provides the result for an async dub job.",
504
- "operationId" : "jobResult",
505
- "parameters" : [ {
506
- "name" : "jobId",
507
- "in" : "path",
508
- "description" : "The job id to get status for an async dub job",
509
- "required" : true,
510
- "schema" : {
511
- "type" : "string"
512
- }
513
- } ],
514
- "responses" : {
515
- "200" : {
516
- "description" : "Successful Response",
517
- "content" : {
518
- "application/json" : {
519
- "schema" : {
520
- "$ref" : "#/components/schemas/FireflyJobResponse"
521
- },
522
- "examples" : {
523
- "TranscribeJobSucceeded" : {
524
- "$ref" : "#/components/examples/TranscribeJobSucceeded"
525
- },
526
- "TranslateJobSucceeded" : {
527
- "$ref" : "#/components/examples/TranslateJobSucceeded"
528
- },
529
- "TranslateJobPartiallySucceeded" : {
530
- "$ref" : "#/components/examples/TranslateJobPartiallySucceeded"
531
- },
532
- "DubJobSucceeded" : {
533
- "$ref" : "#/components/examples/DubJobSucceeded"
534
- },
535
- "DubJobPartiallySucceeded" : {
536
- "$ref" : "#/components/examples/DubJobPartiallySucceeded"
537
- },
538
- "JobFailed" : {
539
- "$ref" : "#/components/examples/JobFailed"
540
- },
541
- "JobIsStillRunning" : {
542
- "$ref" : "#/components/examples/JobIsStillRunning"
543
- },
544
- "JobIsInPendingState" : {
545
- "$ref" : "#/components/examples/JobIsInPendingState"
546
- },
547
- "Access_error" : {
548
- "$ref" : "#/components/examples/Access_error"
549
- },
550
- "ValidationError_AudioVideo_Required" : {
551
- "$ref" : "#/components/examples/ValidationError_AudioVideo_Required"
552
- },
553
- "ValidationErrorTargetOrTranscripts" : {
554
- "$ref" : "#/components/examples/ValidationErrorTargetOrTranscripts"
555
- },
556
- "ValidationErrorMissingLocale" : {
557
- "$ref" : "#/components/examples/ValidationErrorMissingLocale"
558
- },
559
- "LanguageNotSupported" : {
560
- "$ref" : "#/components/examples/LanguageNotSupported"
561
- },
562
- "AudioSpeechNotDetectedSingle" : {
563
- "$ref" : "#/components/examples/AudioSpeechNotDetectedSingle"
564
- },
565
- "ValidationErrorRedubbing" : {
566
- "$ref" : "#/components/examples/ValidationErrorRedubbing"
567
- },
568
- "ValidationErrorProprietaryContent" : {
569
- "$ref" : "#/components/examples/ValidationErrorProprietaryContent"
570
- },
571
- "ValidationErrorUnrecognizedLanguage" : {
572
- "$ref" : "#/components/examples/ValidationErrorUnrecognizedLanguage"
573
- },
574
- "AudioSpeechNotDetectedMulti" : {
575
- "$ref" : "#/components/examples/AudioSpeechNotDetectedMulti"
576
- },
577
- "ValidationErrorDialogTrackNumber" : {
578
- "$ref" : "#/components/examples/ValidationErrorDialogTrackNumber"
579
- },
580
- "ValidationErrorDownloadFailure" : {
581
- "$ref" : "#/components/examples/ValidationErrorDownloadFailure"
582
- },
583
- "VideoNotDetected" : {
584
- "$ref" : "#/components/examples/VideoNotDetected"
585
- },
586
- "AudioNotDetectedUnsupported" : {
587
- "$ref" : "#/components/examples/AudioNotDetectedUnsupported"
588
- },
589
- "ValidationErrorVideoDuration" : {
590
- "$ref" : "#/components/examples/ValidationErrorVideoDuration"
591
- },
592
- "InputMediaIndecipherableFaces" : {
593
- "$ref" : "#/components/examples/InputMediaIndecipherableFaces"
594
- },
595
- "ValidationErrorCodecUnsupported" : {
596
- "$ref" : "#/components/examples/ValidationErrorCodecUnsupported"
597
- },
598
- "ValidationErrorMaxSupportedResolution" : {
599
- "$ref" : "#/components/examples/ValidationErrorMaxSupportedResolution"
600
- },
601
- "ValidationErrorInvalidMediaProvided" : {
602
- "$ref" : "#/components/examples/ValidationErrorInvalidMediaProvided"
603
- }
604
- }
605
- }
606
- }
607
- },
608
- "401" : {
609
- "description" : "Unauthorized",
610
- "content" : {
611
- "application/json" : {
612
- "schema" : {
613
- "$ref" : "#/components/schemas/ErrorBody"
614
- },
615
- "examples" : {
616
- "ErrorBodyUnauthorized" : {
617
- "$ref" : "#/components/examples/ErrorBodyUnauthorized"
618
- }
619
- }
620
- }
621
- }
622
- },
623
- "403" : {
624
- "description" : "Forbidden",
625
- "content" : {
626
- "application/json" : {
627
- "schema" : {
628
- "$ref" : "#/components/schemas/ErrorBody"
629
- },
630
- "examples" : {
631
- "ErrorBodyForbidden" : {
632
- "$ref" : "#/components/examples/ErrorBodyForbidden"
633
- }
634
- }
635
- }
636
- }
637
- },
638
- "404" : {
639
- "description" : "Resource Not Found",
640
- "content" : {
641
- "application/json" : {
642
- "schema" : {
643
- "$ref" : "#/components/schemas/ErrorBody"
644
- },
645
- "examples" : {
646
- "ErrorBodyResourceNotFound" : {
647
- "$ref" : "#/components/examples/ErrorBodyResourceNotFound"
648
- }
649
- }
650
- }
651
- }
652
- },
653
- "405" : {
654
- "description" : "Method Not Allowed",
655
- "content" : {
656
- "application/json" : {
657
- "schema" : {
658
- "$ref" : "#/components/schemas/ErrorBody"
659
- },
660
- "examples" : {
661
- "ErrorBodyMethodNotAllowed" : {
662
- "$ref" : "#/components/examples/ErrorBodyMethodNotAllowed"
663
- }
664
- }
665
- }
666
- }
667
- },
668
- "429" : {
669
- "description" : "Too many requests",
670
- "content" : {
671
- "application/json" : {
672
- "schema" : {
673
- "$ref" : "#/components/schemas/ErrorBody"
674
- },
675
- "examples" : {
676
- "ErrorBodyTooManyRequests" : {
677
- "$ref" : "#/components/examples/ErrorBodyTooManyRequests"
678
- }
679
- }
680
- }
681
- }
682
- },
683
- "500" : {
684
- "description" : "Internal Server Error",
685
- "content" : {
686
- "application/json" : {
687
- "schema" : {
688
- "$ref" : "#/components/schemas/ErrorBody"
689
- },
690
- "examples" : {
691
- "ErrorBodyInternalServerError" : {
692
- "$ref" : "#/components/examples/ErrorBodyInternalServerError"
693
- },
694
- "ErrorBodyOFServiceInternalServerError" : {
695
- "$ref" : "#/components/examples/ErrorBodyServiceInternalServerError"
696
- }
697
- }
698
- }
699
- }
700
- }
701
- }
702
- }
703
- }
704
- },
705
- "components" : {
706
- "securitySchemes" : {
707
- "AccessToken" : {
708
- "type" : "http",
709
- "scheme" : "bearer"
710
- },
711
- "X-Api-Key" : {
712
- "type" : "apiKey",
713
- "name" : "x-api-key",
714
- "in" : "header"
715
- }
716
- },
717
- "schemas" : {
718
- "AudioInputMediaType" : {
719
- "type" : "string",
720
- "enum" : [ "audio/mp3", "audio/mpeg", "audio/x-wav", "audio/wav", "audio/vnd.dlna.adts", "audio/aac" ],
721
- "description" : "The audio media type of the input file. Use a supported type."
722
- },
723
- "VideoInputMediaType" : {
724
- "type" : "string",
725
- "enum" : [ "video/mp4", "video/quicktime", "video/mov" ],
726
- "description" : "The video media type of the input file. Use a supported type."
727
- },
728
- "TranscriptInputLocale" : {
729
- "type" : "string",
730
- "enum" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
731
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
732
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
733
- ],
734
- "description" : "The languages that the transcript will be generated in. Use supported locale codes."
735
- },
736
- "DubTargetLocaleCodes" : {
737
- "type" : "string",
738
- "enum" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
739
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
740
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
741
- ],
742
- "description" : "Supported target locale codes for dubbing"
743
- },
744
- "TargetCaptionFormats" : {
745
- "type" : "string",
746
- "enum" : [ "SRT" ],
747
- "description" : "Supported target formats for caption generation"
748
- },
749
- "AudioInput" : {
750
- "type" : "object",
751
- "properties" : {
752
- "source" : {
753
- "$ref" : "#/components/schemas/Source"
754
- },
755
- "mediaType" : {
756
- "$ref" : "#/components/schemas/AudioInputMediaType"
757
- }
758
- },
759
- "required" : [ "url", "mediaType" ],
760
- "description" : "The audio input details for a dub request."
761
- },
762
- "VideoInput" : {
763
- "type" : "object",
764
- "properties" : {
765
- "source" : {
766
- "$ref" : "#/components/schemas/Source"
767
- },
768
- "mediaType" : {
769
- "$ref" : "#/components/schemas/VideoInputMediaType"
770
- },
771
- "metadata" : {
772
- "type" : "object",
773
- "properties" : {
774
- "dialogTrackNumber" : {
775
- "type" : "integer"
776
- }
777
- }
778
- }
779
- },
780
- "required" : [ "url", "mediaType" ],
781
- "description" : "The video input details for a dub request."
782
- },
783
- "TranscriptInput" : {
784
- "type" : "object",
785
- "properties" : {
786
- "source" : {
787
- "$ref" : "#/components/schemas/Source",
788
- "description" : "The pre-signed URL to download the translated/edited transcripts."
789
- },
790
- "localeCode" : {
791
- "$ref" : "#/components/schemas/TranscriptInputLocale"
792
- }
793
- },
794
- "required" : [ "source" ],
795
- "description" : "Transcript input details for transcribe request."
796
- },
797
- "TranscribeRequest" : {
798
- "type" : "object",
799
- "oneOf" : [ {
800
- "$ref" : "#/components/schemas/TranscribeAudioInput"
801
- }, {
802
- "$ref" : "#/components/schemas/TranscribeVideoInput"
803
- } ],
804
- "properties" : {
805
- "targetLocaleCodes" : {
806
- "type" : "array",
807
- "items" : {
808
- "$ref" : "#/components/schemas/TranscriptInputLocale"
809
- }
810
- },
811
- "captions" : {
812
- "$ref" : "#/components/schemas/Captions",
813
- "description" : "Captions related details to generate captions for transcribe request"
814
- }
815
- },
816
- "description" : "Transcribe request body."
817
- },
818
- "TranscribeAudioInput" : {
819
- "type" : "object",
820
- "properties" : {
821
- "audio" : {
822
- "$ref" : "#/components/schemas/AudioInput"
823
- }
824
- },
825
- "required" : [ "audio" ],
826
- "description" : "The request body for transcribing audio."
827
- },
828
- "TranscribeVideoInput" : {
829
- "type" : "object",
830
- "properties" : {
831
- "video" : {
832
- "$ref" : "#/components/schemas/VideoInput"
833
- }
834
- },
835
- "required" : [ "video" ],
836
- "description" : "The request body for transcribing video."
837
- },
838
- "Captions" : {
839
- "type" : "object",
840
- "properties" : {
841
- "targetFormats" : {
842
- "type" : "array",
843
- "items" : {
844
- "$ref" : "#/components/schemas/TargetCaptionFormats"
845
- },
846
- "description" : "Accepted values: ['SRT']"
847
- }
848
- }
849
- },
850
- "Source" : {
851
- "type" : "object",
852
- "properties" : {
853
- "url" : {
854
- "type" : "string",
855
- "format" : "uri",
856
- "description" : "The pre-signed URL pointing to the input source."
857
- }
858
- }
859
- },
860
- "Destination" : {
861
- "type" : "object",
862
- "properties" : {
863
- "url" : {
864
- "type" : "string",
865
- "description" : "The pre-signed URL pointing to the output source."
866
- }
867
- }
868
- },
869
- "DubRequest" : {
870
- "type" : "object",
871
- "oneOf" : [ {
872
- "$ref" : "#/components/schemas/DubAudioRequest"
873
- }, {
874
- "$ref" : "#/components/schemas/DubVideoRequest"
875
- } ],
876
- "description" : "The dub request body."
877
- },
878
- "DubAudioRequest" : {
879
- "type" : "object",
880
- "properties" : {
881
- "targetLocaleCodes" : {
882
- "type" : "array",
883
- "items" : {
884
- "$ref" : "#/components/schemas/DubTargetLocaleCodes"
885
- },
886
- "description" : "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']"
887
- },
888
- "transcripts" : {
889
- "type" : "array",
890
- "items" : {
891
- "$ref" : "#/components/schemas/TranscriptInput"
892
- }
893
- },
894
- "audio" : {
895
- "$ref" : "#/components/schemas/AudioInput"
896
- }
897
- },
898
- "required" : [ "audio" ],
899
- "description" : "The audio dub request body."
900
- },
901
- "DubVideoRequest" : {
902
- "type" : "object",
903
- "properties" : {
904
- "targetLocaleCodes" : {
905
- "type" : "array",
906
- "items" : {
907
- "$ref" : "#/components/schemas/DubTargetLocaleCodes"
908
- },
909
- "description" : "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']"
910
- },
911
- "transcripts" : {
912
- "type" : "array",
913
- "items" : {
914
- "$ref" : "#/components/schemas/TranscriptInput"
915
- }
916
- },
917
- "video" : {
918
- "$ref" : "#/components/schemas/VideoInput"
919
- },
920
- "lipSync" : {
921
- "type" : "boolean",
922
- "description" : "If `true`, a high-quality composited lip sync will be used in the video output.",
923
- "default" : "false"
924
- }
925
- },
926
- "required" : [ "video" ],
927
- "description" : "The video dub request body."
928
- },
929
- "JobStatusLinkResponse" : {
930
- "type" : "object",
931
- "properties" : {
932
- "statusUrl" : {
933
- "type" : "string",
934
- "description" : "URL to download the results of the job."
935
- },
936
- "jobId" : {
937
- "type" : "string",
938
- "description" : "The job ID."
939
- }
940
- },
941
- "required" : [ "statusUrl", "jobId" ],
942
- "description" : "Job status response."
943
- },
944
- "FireflyJobApiResponseStatus" : {
945
- "type" : "string",
946
- "enum" : [ "pending", "running", "failed", "succeeded" ],
947
- "description" : "Status of the job."
948
- },
949
- "FireflyJobResponse" : {
950
- "type" : "object",
951
- "description" : "Firefly job response.",
952
- "oneOf" : [ {
953
- "$ref" : "#/components/schemas/FireflyJobApiResponse"
954
- }, {
955
- "$ref" : "#/components/schemas/FireflyJobErrorResponse"
956
- } ]
957
- },
958
- "FireflyJobApiResponse" : {
959
- "type" : "object",
960
- "description" : "Firefly job success response.",
961
- "properties" : {
962
- "status" : {
963
- "$ref" : "#/components/schemas/FireflyJobApiResponseStatus"
964
- },
965
- "jobId" : {
966
- "type" : "string",
967
- "description" : "Associated job ID."
968
- },
969
- "outputs" : {
970
- "description" : "Job response details.",
971
- "type" : "array",
972
- "items" : {
973
- "oneOf" : [ {
974
- "$ref" : "#/components/schemas/DubJobResponse"
975
- }, {
976
- "$ref" : "#/components/schemas/TranscribeOutput"
977
- } ]
978
- }
979
- }
980
- },
981
- "required" : [ "jobId", "status" ]
982
- },
983
- "FireflyJobErrorResponse" : {
984
- "type" : "object",
985
- "description" : "Firefly job error response.",
986
- "properties" : {
987
- "status" : {
988
- "$ref" : "#/components/schemas/FireflyJobApiResponseStatus"
989
- },
990
- "jobId" : {
991
- "type" : "string",
992
- "description" : "Associated job ID."
993
- },
994
- "message" : {
995
- "type" : "string",
996
- "description" : "The error message."
997
- },
998
- "error_code" : {
999
- "type" : "string",
1000
- "description" : "Associated error code."
1001
- }
1002
- },
1003
- "required" : [ "jobId", "status" ]
1004
- },
1005
- "ErrorBody" : {
1006
- "type" : "object",
1007
- "description" : "The error response object.",
1008
- "properties" : {
1009
- "message" : {
1010
- "type" : "string",
1011
- "description" : "The error message."
1012
- },
1013
- "error_code" : {
1014
- "type" : "string",
1015
- "description" : "Associated error code."
1016
- }
1017
- },
1018
- "required" : [ "error_code", "message" ]
1019
- },
1020
- "TranscribeOutput" : {
1021
- "type" : "array",
1022
- "description" : "Transcribe success response",
1023
- "items" : {
1024
- "type" : "object",
1025
- "properties" : {
1026
- "destination" : {
1027
- "$ref" : "#/components/schemas/Destination"
1028
- },
1029
- "captions" : {
1030
- "$ref" : "#/components/schemas/CaptionOutput"
1031
- },
1032
- "localeCode" : {
1033
- "$ref" : "#/components/schemas/TranscriptInputLocale"
1034
- }
1035
- }
1036
- }
1037
- },
1038
- "CaptionOutput":{
1039
- "type":"array",
1040
- "description": "Captions output",
1041
- "items":{
1042
- "type":"object",
1043
- "properties":{
1044
- "destination":{
1045
- "$ref" : "#/components/schemas/Destination"
1046
- },
1047
- "format": {
1048
- "type":"string",
1049
- "$ref" : "#/components/schemas/TargetCaptionFormats",
1050
- "description": "Format of the caption"
1051
- }
1052
- }
1053
- }
1054
-
1055
- },
1056
- "DubJobResponse" : {
1057
- "type" : "object",
1058
- "description" : "Dubbing success response",
1059
- "oneOf" : [ {
1060
- "$ref" : "#/components/schemas/DubSuccess"
1061
- }, {
1062
- "$ref" : "#/components/schemas/DubPartialFailure"
1063
- } ]
1064
- },
1065
- "DubSuccess" : {
1066
- "type" : "object",
1067
- "description" : "Dubbing success",
1068
- "properties" : {
1069
- "audioOutput" : {
1070
- "$ref" : "#/components/schemas/AudioOutput"
1071
- },
1072
- "videoOutput" : {
1073
- "$ref" : "#/components/schemas/VideoOutput"
1074
- },
1075
- "transcriptOutput" : {
1076
- "$ref" : "#/components/schemas/TranscribeOutput"
1077
- }
1078
- }
1079
- },
1080
- "AudioOutputMediaType" : {
1081
- "type" : "string",
1082
- "enum" : [ "audio/wav" ],
1083
- "description" : "Media type of the audio output"
1084
- },
1085
- "VideoOutputMediaType" : {
1086
- "type" : "string",
1087
- "enum" : [ "video/mp4", "video/mov" ],
1088
- "description" : "Media type of the video output"
1089
- },
1090
- "AudioOutput" : {
1091
- "type" : "object",
1092
- "description" : "Audio output in dubbing response.",
1093
- "properties" : {
1094
- "mediaType" : {
1095
- "$ref" : "#/components/schemas/AudioOutputMediaType"
1096
- },
1097
- "destination" : {
1098
- "$ref" : "#/components/schemas/Destination"
1099
- }
1100
- }
1101
- },
1102
- "VideoOutput" : {
1103
- "type" : "object",
1104
- "description" : "Video output in dubbing response.",
1105
- "properties" : {
1106
- "mediaType" : {
1107
- "$ref" : "#/components/schemas/VideoOutputMediaType"
1108
- },
1109
- "destination" : {
1110
- "$ref" : "#/components/schemas/Destination"
1111
- }
1112
- }
1113
- },
1114
- "DubPartialFailure" : {
1115
- "type" : "object",
1116
- "description" : "Dubbing failure for specific language.",
1117
- "properties" : {
1118
- "error" : {
1119
- "$ref" : "#/components/schemas/ErrorBody"
1120
- }
1121
- }
1122
- }
1123
- },
1124
- "examples" : {
1125
- "JobStatusLinkResponse" : {
1126
- "summary" : "Successful Submission",
1127
- "value" : {
1128
- "jobId" : "<jobId>",
1129
- "statusUrl" : "https://<baseUrl>/v1/status/<jobId>"
1130
- }
1131
- },
1132
- "AudioInputToGenerateTranscriptFromSourceAudio" : {
1133
- "summary" : "Generate transcript for audio input",
1134
- "value" : {
1135
- "audio" : {
1136
- "source" : {
1137
- "url" : "<Pre-signed URL for the audio input>"
1138
- },
1139
- "mediaType" : "audio/mp3"
1140
- }
1141
- }
1142
- },
1143
- "AudioInputToGenerateTranscriptFromTargetLanguageAudio" : {
1144
- "summary" : "Generate transcript for audio input in specified languages",
1145
- "value" : {
1146
- "audio" : {
1147
- "source" : {
1148
- "url" : "<Pre-signed URL for the audio input>"
1149
- },
1150
- "mediaType" : "audio/mp3"
1151
- },
1152
- "targetLocaleCodes" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
1153
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
1154
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
1155
- ]
1156
- }
1157
- },
1158
- "VideoInputToGenerateTranscriptFromSourceVideo" : {
1159
- "summary" : "Generate transcript for video input",
1160
- "value" : {
1161
- "video" : {
1162
- "source" : {
1163
- "url" : "<Pre-signed URL for the video input>"
1164
- },
1165
- "mediaType" : "video/mp4"
1166
- }
1167
- }
1168
- },
1169
- "VideoInputToGenerateTranscriptFromTargetLanguageVideo" : {
1170
- "summary" : "Generate transcript for video input in specified languages",
1171
- "value" : {
1172
- "video" : {
1173
- "source" : {
1174
- "url" : "<Pre-signed URL for the video input>"
1175
- },
1176
- "mediaType" : "video/mp4"
1177
- },
1178
- "targetLocaleCodes" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
1179
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
1180
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
1181
- ]
1182
- }
1183
- },
1184
- "AudioInputToGenerateTranscriptAndCaptionsFromTargetFormatsFromSourceAudio" : {
1185
- "summary" : "Generate transcript and captions from target formats for Audio input",
1186
- "value" : {
1187
- "audio" : {
1188
- "source" : {
1189
- "url" : "<pre-signed url for downloading the audio input>"
1190
- },
1191
- "mediaType" : "audio/mp3"
1192
- },
1193
- "captions" : {
1194
- "targetFormats": [
1195
- "SRT"
1196
- ]
1197
- }
1198
- }
1199
- },
1200
- "VideoInputToGenerateTranscriptAndCaptionsFromTargetFormatsFromSourceVideo" : {
1201
- "summary" : "Generate transcript and captions from target formats for Video input",
1202
- "value" : {
1203
- "video" : {
1204
- "source" : {
1205
- "url" : "<pre-signed url for downloading the video input>"
1206
- },
1207
- "mediaType" : "video/mp4"
1208
- },
1209
- "captions" : {
1210
- "targetFormats": [
1211
- "SRT"
1212
- ]
1213
- }
1214
- }
1215
- },
1216
- "DubRequestUsingAutoTranslatedTranscripts" : {
1217
- "summary" : "Automated dubbing (Video)",
1218
- "value" : {
1219
- "video" : {
1220
- "source" : {
1221
- "url" : "<Pre-signed URL for the video input>"
1222
- },
1223
- "mediaType" : "video/mp4"
1224
- },
1225
- "targetLocaleCodes" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
1226
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
1227
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
1228
- ],
1229
- "lipSync" : true
1230
- }
1231
- },
1232
- "DubRequestUsingAudioAutoTranslatedTranscripts" : {
1233
- "summary" : "Automated dubbing (Audio)",
1234
- "value" : {
1235
- "audio" : {
1236
- "source" : {
1237
- "url" : "<Pre-signed URL for the audio input>"
1238
- },
1239
- "mediaType" : "audio/mp3"
1240
- },
1241
- "targetLocaleCodes" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
1242
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
1243
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
1244
- ],
1245
- "lipSync" : false
1246
- }
1247
- },
1248
- "DubRequestUsingEditedSourceTranscript" : {
1249
- "summary" : "Dubbing with an edited transcript (Video)",
1250
- "value" : {
1251
- "video" : {
1252
- "source" : {
1253
- "url" : "<Pre-signed URL for the video input>"
1254
- },
1255
- "mediaType" : "video/mp4"
1256
- },
1257
- "targetLocaleCodes" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
1258
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
1259
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
1260
- ],
1261
- "transcripts" : [ {
1262
- "source" : {
1263
- "url" : "<Edited source transcript>"
1264
- }
1265
- } ],
1266
- "lipSync" : true
1267
- }
1268
- },
1269
- "DubRequestUsingAudioEditedSourceTranscript" : {
1270
- "summary" : "Dubbing with an edited transcript (Audio)",
1271
- "value" : {
1272
- "audio" : {
1273
- "source" : {
1274
- "url" : "<Pre-signed URL for the audio input>"
1275
- },
1276
- "mediaType" : "audio/mp3"
1277
- },
1278
- "targetLocaleCodes" : [ "da-DK","en-IN","en-GB","es-AR", "es-419",
1279
- "fr-CA","hi-IN","ja-JP","ko-KR","nb-NO","nl-NL","pt-BR","sv-SE","zh-CN",
1280
- "en-US","es-ES","de-DE","fr-FR","it-IT","pt-PT"
1281
- ],
1282
- "transcripts" : [ {
1283
- "source" : {
1284
- "url" : "<Edited source transcript>"
1285
- }
1286
- } ],
1287
- "lipSync" : false
1288
- }
1289
- },
1290
- "DubRequestUsingEditedTranslatedTranscript" : {
1291
- "summary" : "Dubbing with Pre-Existing Translations (Video)",
1292
- "value" : {
1293
- "video" : {
1294
- "source" : {
1295
- "url" : "<Pre-signed URL for the video input>"
1296
- },
1297
- "mediaType" : "video/mp4"
1298
- },
1299
- "transcripts" : [ {
1300
- "source" : {
1301
- "url" : "<Pre-signed URL for the translated input>"
1302
- },
1303
- "localeCode" : "en-US"
1304
- }, {
1305
- "source" : {
1306
- "url" : "<Pre-signed URL for the translated input>"
1307
- },
1308
- "localeCode" : "fr-FR"
1309
- } ],
1310
- "lipSync" : true
1311
- }
1312
- },
1313
- "DubRequestUsingAudioEditedTranslatedTranscript" : {
1314
- "summary" : "Dubbing with Pre-Existing Translations (Audio)",
1315
- "value" : {
1316
- "audio" : {
1317
- "source" : {
1318
- "url" : "<Pre-signed URL for the audio input>"
1319
- },
1320
- "mediaType" : "audio/mp3"
1321
- },
1322
- "transcripts" : [ {
1323
- "source" : {
1324
- "url" : "<Pre-signed URL for the translated input>"
1325
- },
1326
- "localeCode" : "en-US"
1327
- }, {
1328
- "source" : {
1329
- "url" : "<Pre-signed URL for the translated input>"
1330
- },
1331
- "localeCode" : "fr-FR"
1332
- } ],
1333
- "lipSync" : false
1334
- }
1335
- },
1336
- "TranscribeJobSucceeded" : {
1337
- "summary" : "Transcribe job succeeded",
1338
- "value" : {
1339
- "status" : "succeeded",
1340
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1341
- "outputs" : [ {
1342
- "destination" : {
1343
- "url" : "<URL where the transcription for audio/video can be downloaded>"
1344
- },
1345
- "captions": [
1346
- {
1347
- "destination": {
1348
- "url": "<URL where the caption for audio/video can be downloaded>"
1349
- },
1350
- "format": "SRT"
1351
- }
1352
- ]
1353
- }]
1354
- }
1355
- },
1356
- "TranslateJobSucceeded" : {
1357
- "summary" : "Translate job succeeded",
1358
- "value" : {
1359
- "status" : "succeeded",
1360
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1361
- "outputs" : [ {
1362
- "destination" : {
1363
- "url" : "<URL where the transcription for audio/video can be downloaded>"
1364
- },
1365
- "localeCode" : "en-UK"
1366
- }, {
1367
- "destination" : {
1368
- "url" : "<URL where the transcription for audio/video can be downloaded>"
1369
- },
1370
- "localeCode" : "en-US"
1371
- },
1372
- {
1373
- "destination" : {
1374
- "url" : "<URL where the transcription for audio/video can be downloaded>"
1375
- },
1376
- "localeCode" : "en-Fr"
1377
- } ]
1378
- }
1379
- },
1380
- "TranslateJobPartiallySucceeded" : {
1381
- "summary" : "Translate job partially succeeded",
1382
- "value" : {
1383
- "status" : "partially_succeeded",
1384
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1385
- "outputs" : [ {
1386
- "destination" : {
1387
- "url" : "<URL where the transcription for audio/video can be downloaded>"
1388
- },
1389
- "localeCode" : "en-UK"
1390
- }, {
1391
- "destination" : {
1392
- "url" : "<URL where the transcription for audio/video can be downloaded>"
1393
- },
1394
- "localeCode" : "en-US"
1395
- }, {
1396
- "error" : {
1397
- "error_code" : "validation_error",
1398
- "message" : "The transcript for localeCode en-Fr is incorrectly formatted.",
1399
- "localeCode" : "en-Fr"
1400
- }
1401
- } ]
1402
- }
1403
- },
1404
- "DubJobSucceeded" : {
1405
- "summary" : "Dub job succeeded",
1406
- "value" : {
1407
- "status" : "succeeded",
1408
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1409
- "outputs" : [ {
1410
- "localeCode" : "en-US",
1411
- "audio" : {
1412
- "mediaType" : "audio/wav",
1413
- "destination" : {
1414
- "url" : "Pre signed url for audio-en-US"
1415
- }
1416
- },
1417
- "video" : {
1418
- "mediaType" : "video/mp4",
1419
- "destination" : {
1420
- "url" : "Pre signed url for video-en-US"
1421
- }
1422
- },
1423
- "transcript" : {
1424
- "destination" : {
1425
- "url" : "Pre signed url for text-en-US"
1426
- }
1427
- }
1428
- }, {
1429
- "localeCode" : "fr-FR",
1430
- "audio" : {
1431
- "mediaType" : "audio/wav",
1432
- "destination" : {
1433
- "url" : "Pre signed url for audio-fr-FR"
1434
- }
1435
- },
1436
- "video" : {
1437
- "mediaType" : "video/mp4",
1438
- "destination" : {
1439
- "url" : "Pre signed url for video-fr-FR"
1440
- }
1441
- },
1442
- "transcript" : {
1443
- "destination" : {
1444
- "url" : "Pre signed url for text-fr-FR"
1445
- }
1446
- }
1447
- } ]
1448
- }
1449
- },
1450
- "DubJobPartiallySucceeded" : {
1451
- "summary" : "Dub job partially succeeded",
1452
- "value" : {
1453
- "status" : "partially_succeeded",
1454
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1455
- "outputs" : [ {
1456
- "localeCode" : "en-US",
1457
- "error" : {
1458
- "error_code" : "validation_error",
1459
- "message" : "Incorrectly formatted transcript for localeCode en-US"
1460
- }
1461
- }, {
1462
- "localeCode" : "fr-FR",
1463
- "audio" : {
1464
- "mediaType" : "audio/wav",
1465
- "destination" : {
1466
- "url" : "<Pre signed url for audio-fr-FR>"
1467
- }
1468
- },
1469
- "video" : {
1470
- "mediaType" : "video/mp4",
1471
- "destination" : {
1472
- "url" : "<Pre signed url for video-fr-FR>"
1473
- }
1474
- },
1475
- "transcript" : {
1476
- "destination" : {
1477
- "url" : "<Pre signed url for text-fr-FR>"
1478
- }
1479
- }
1480
- } ]
1481
- }
1482
- },
1483
- "JobFailed" : {
1484
- "summary" : "Job failed",
1485
- "value" : {
1486
- "status" : "failed",
1487
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1488
- "outputs" : [ {
1489
- "localeCode" : "en-US",
1490
- "error" : {
1491
- "error_code" : "validation_error",
1492
- "message" : "Incorrectly formatted transcript for localeCode en-US"
1493
- }
1494
- }, {
1495
- "localeCode" : "fr-FR",
1496
- "error" : {
1497
- "error_code" : "validation_error",
1498
- "message" : "Incorrectly formatted transcript for localeCode fr-FR"
1499
- }
1500
- } ]
1501
- }
1502
- },
1503
- "JobIsStillRunning" : {
1504
- "summary" : "Job is still running",
1505
- "value" : {
1506
- "status" : "running",
1507
- "jobId" : "123e4567-e89b-12d3-a456-426614174003"
1508
- }
1509
- },
1510
- "JobIsInPendingState" : {
1511
- "summary" : "Job is in pending state",
1512
- "value" : {
1513
- "status" : "pending",
1514
- "jobId" : "123e4567-e89b-12d3-a456-426614174003"
1515
- }
1516
- },
1517
- "ErrorBodyBadRequest" : {
1518
- "summary" : "Error Body Bad Request",
1519
- "value" : {
1520
- "error_code" : "400001",
1521
- "message" : "Invalid request. Please check the input data."
1522
- }
1523
- },
1524
- "ErrorBodyUnauthorized" : {
1525
- "summary" : "Error Body Unauthorized",
1526
- "value" : {
1527
- "error_code" : "401013",
1528
- "message" : "Oauth token is not valid"
1529
- }
1530
- },
1531
- "ErrorBodyForbidden" : {
1532
- "summary" : "Error Body Forbidden",
1533
- "value" : {
1534
- "error_code" : "403220",
1535
- "message" : "Token not allowed in the current context"
1536
- }
1537
- },
1538
- "ErrorBodyResourceNotFound" : {
1539
- "summary" : "Error Body Resource Not Found",
1540
- "value" : {
1541
- "error_code" : "unknown_job_id",
1542
- "message" : "The requested resource 123e4567-e89b-12d3-a456-426614174002 was not found."
1543
- }
1544
- },
1545
- "ErrorBodyMethodNotAllowed" : {
1546
- "summary" : "Error Body Method Not Allowed",
1547
- "value" : {
1548
- "error_code" : "405001",
1549
- "message" : "The requested method is not allowed on this endpoint."
1550
- }
1551
- },
1552
- "ErrorBodyLegalReasons" : {
1553
- "summary" : "Unauthorized due to legal reasons",
1554
- "value" : {
1555
- "message" : "Unauthorized due to legal reasons",
1556
- "error_code" : "unauthorized_legal_reasons"
1557
- }
1558
- },
1559
- "ErrorBodyTooManyRequests" : {
1560
- "summary" : "Error Body Too Many Requests",
1561
- "value" : {
1562
- "message" : "Too Many Requests",
1563
- "error_code" : "429011"
1564
- }
1565
- },
1566
- "ErrorBodyInternalServerError" : {
1567
- "summary" : "Error Body Internal Server Error",
1568
- "value" : {
1569
- "error_code" : "500001",
1570
- "message" : "An internal server error occurred. Please try again later."
1571
- }
1572
- },
1573
- "ErrorBodyServiceInternalServerError" : {
1574
- "summary" : "Error Body Internal Server Error by service",
1575
- "value" : {
1576
- "error_code" : "runtime_error",
1577
- "message" : "Internal Server Error."
1578
- }
1579
- },
1580
- "Access_error" : {
1581
- "summary" : "Error Body for unauthorized access",
1582
- "value" : {
1583
- "status" : "failed",
1584
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1585
- "outputs" : [ {
1586
- "localeCode" : "en-US",
1587
- "error" : {
1588
- "error_code" : "access_error",
1589
- "message" : "Not authorized. See X-Access-Error header for details"
1590
- }
1591
- } ]
1592
- }
1593
- },
1594
- "ValidationError_AudioVideo_Required" : {
1595
- "summary" : "Error Body for missing audio or video property",
1596
- "value" : {
1597
- "status" : "failed",
1598
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1599
- "outputs" : [ {
1600
- "localeCode" : "en-US",
1601
- "error" : {
1602
- "error_code" : "validation_error",
1603
- "message" : "The body of the request must contain an \"audio\" property or a \"video\" property"
1604
- }
1605
- } ]
1606
- }
1607
- },
1608
- "ValidationErrorTargetOrTranscripts" : {
1609
- "summary" : "Error for request including both targetLocaleCodes and transcripts array",
1610
- "value" : {
1611
- "status" : "failed",
1612
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1613
- "outputs" : [ {
1614
- "localeCode" : "en-US",
1615
- "error" : {
1616
- "error_code" : "validation_error",
1617
- "message" : "Request must include either targetLocaleCodes or transcripts array, not both"
1618
- }
1619
- } ]
1620
- }
1621
- },
1622
- "ValidationErrorMissingLocale" : {
1623
- "summary" : "Error for missing or unsupported localeCode",
1624
- "value" : {
1625
- "status" : "failed",
1626
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1627
- "outputs" : [ {
1628
- "localeCode" : "en-US",
1629
- "error" : {
1630
- "error_code" : "validation_error",
1631
- "message" : "The request does not contain a localeCode property, or the value of the property is not a supported localCode"
1632
- }
1633
- } ]
1634
- }
1635
- },
1636
- "LanguageNotSupported" : {
1637
- "summary" : "Error for unsupported source language",
1638
- "value" : {
1639
- "status" : "failed",
1640
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1641
- "outputs" : [ {
1642
- "localeCode" : "en-US",
1643
- "error" : {
1644
- "error_code" : "language_not_supported",
1645
- "message" : "Source language unsupported"
1646
- }
1647
- } ]
1648
- }
1649
- },
1650
- "AudioSpeechNotDetectedSingle" : {
1651
- "summary" : "Error for no speech detected in single audio track",
1652
- "value" : {
1653
- "status" : "failed",
1654
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1655
- "outputs" : [ {
1656
- "localeCode" : "en-US",
1657
- "error" : {
1658
- "error_code" : "audio_speech_not_detected",
1659
- "message" : "No speech detected in audio track"
1660
- }
1661
- } ]
1662
- }
1663
- },
1664
- "ValidationErrorRedubbing" : {
1665
- "summary" : "Error for attempting re-dubbing of already dubbed content",
1666
- "value" : {
1667
- "status" : "failed",
1668
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1669
- "outputs" : [ {
1670
- "localeCode" : "en-US",
1671
- "error" : {
1672
- "error_code" : "validation_error",
1673
- "message" : "Re-dubbing is not allowed for already dubbed content"
1674
- }
1675
- } ]
1676
- }
1677
- },
1678
- "ValidationErrorProprietaryContent" : {
1679
- "summary" : "Error for input media with proprietary content",
1680
- "value" : {
1681
- "status" : "failed",
1682
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1683
- "outputs" : [ {
1684
- "localeCode" : "en-US",
1685
- "error" : {
1686
- "error_code" : "validation_error",
1687
- "message" : "Input media contains proprietary content; service not licensed for such content"
1688
- }
1689
- } ]
1690
- }
1691
- },
1692
- "ValidationErrorUnrecognizedLanguage" : {
1693
- "summary" : "Error for unrecognized language in audio track",
1694
- "value" : {
1695
- "status" : "failed",
1696
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1697
- "outputs" : [ {
1698
- "localeCode" : "en-US",
1699
- "error" : {
1700
- "error_code" : "validation_error",
1701
- "message" : "Unrecognized language in audio track"
1702
- }
1703
- } ]
1704
- }
1705
- },
1706
- "AudioSpeechNotDetectedMulti" : {
1707
- "summary" : "Error for no speech detected in any audio track",
1708
- "value" : {
1709
- "status" : "failed",
1710
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1711
- "outputs" : [ {
1712
- "localeCode" : "en-US",
1713
- "error" : {
1714
- "error_code" : "audio_speech_not_detected",
1715
- "message" : "No speech detected in any audio track"
1716
- }
1717
- } ]
1718
- }
1719
- },
1720
- "ValidationErrorDialogTrackNumber" : {
1721
- "summary" : "Error for invalid dialogTrackNumber property",
1722
- "value" : {
1723
- "status" : "failed",
1724
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1725
- "outputs" : [ {
1726
- "localeCode" : "en-US",
1727
- "error" : {
1728
- "error_code" : "audio_speech_not_detected",
1729
- "message" : "Invalid dialogTrackNumber; should be an integer between 1 and 7"
1730
- }
1731
- } ]
1732
- }
1733
- },
1734
- "ValidationErrorDownloadFailure" : {
1735
- "summary" : "Error for failure in downloading data from input URL",
1736
- "value" : {
1737
- "status" : "failed",
1738
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1739
- "outputs" : [ {
1740
- "localeCode" : "en-US",
1741
- "error" : {
1742
- "error_code" : "audio_speech_not_detected",
1743
- "message" : "Error downloading data from input URL"
1744
- }
1745
- } ]
1746
- }
1747
- },
1748
- "VideoNotDetected" : {
1749
- "summary" : "Error for invalid video file",
1750
- "value" : {
1751
- "status" : "failed",
1752
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1753
- "outputs" : [ {
1754
- "localeCode" : "en-US",
1755
- "error" : {
1756
- "error_code" : "video_not_detected",
1757
- "message" : "Downloaded media is not a valid video file"
1758
- }
1759
- } ]
1760
- }
1761
- },
1762
- "AudioNotDetectedUnsupported" : {
1763
- "summary" : "Error for unsupported audio format",
1764
- "value" : {
1765
- "status" : "failed",
1766
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1767
- "outputs" : [ {
1768
- "localeCode" : "en-US",
1769
- "error" : {
1770
- "error_code" : "audio_not_detected",
1771
- "message" : "Downloaded media is not a supported audio format"
1772
- }
1773
- } ]
1774
- }
1775
- },
1776
- "ValidationErrorVideoDuration" : {
1777
- "summary" : "Error for video duration exceeding limit",
1778
- "value" : {
1779
- "status" : "failed",
1780
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1781
- "outputs" : [ {
1782
- "localeCode" : "en-US",
1783
- "error" : {
1784
- "error_code" : "validation_error",
1785
- "message" : "Video duration should be under 30 minutes"
1786
- }
1787
- } ]
1788
- }
1789
- },
1790
- "InputMediaIndecipherableFaces" : {
1791
- "summary" : "Error for no faces detected in the video",
1792
- "value" : {
1793
- "status" : "failed",
1794
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1795
- "outputs" : [ {
1796
- "localeCode" : "en-US",
1797
- "error" : {
1798
- "error_code" : "input_media_indecipherable",
1799
- "message" : "Lip-Sync validation failed, no faces detected in the video"
1800
- }
1801
- } ]
1802
- }
1803
- },
1804
- "ValidationErrorCodecUnsupported" : {
1805
- "summary" : "Error for unsupported video codec",
1806
- "value" : {
1807
- "status" : "failed",
1808
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1809
- "outputs" : [ {
1810
- "localeCode" : "en-US",
1811
- "error" : {
1812
- "error_code" : "validation_error",
1813
- "message" : "Unsupported video codec"
1814
- }
1815
- } ]
1816
- }
1817
- },
1818
- "ValidationErrorMaxSupportedResolution" : {
1819
- "summary" : "Error for video resolution exceeding maximum supported resolution",
1820
- "value" : {
1821
- "status" : "failed",
1822
- "jobId" : "123e4567-e89b-12d3-a456-426614174002",
1823
- "outputs" : [ {
1824
- "localeCode" : "en-US",
1825
- "error" : {
1826
- "error_code" : "validation_error",
1827
- "message" : "Video resolution should not be greater than maximum supported resolution 1920x1080"
1828
- }
1829
- } ]
1830
- }
1831
- },
1832
- "ValidationErrorBlankTranscriptSourceField" : {
1833
- "summary" : "Transcript source field cannot be blank",
1834
- "value" : {
1835
- "error_code" : "validation_error",
1836
- "message" : "Transcript source field cannot be blank"
1837
- }
1838
- },
1839
- "ValidationErrorBlankTargetLocaleCode" : {
1840
- "summary" : "Target locale codes cannot be empty",
1841
- "value" : {
1842
- "error_code" : "validation_error",
1843
- "message" : "Target locale codes cannot be empty"
1844
- }
1845
- },
1846
- "ValidationErrorVideoSourceBlank" : {
1847
- "summary" : "Error for blank video source field",
1848
- "value" : {
1849
- "error_code" : "validation_error",
1850
- "message" : "Video source field cannot be blank"
1851
- }
1852
- },
1853
- "ValidationErrorAudioSourceBlank" : {
1854
- "summary" : "Error for blank audio source field",
1855
- "value" : {
1856
- "error_code" : "validation_error",
1857
- "message" : "Audio source field cannot be blank"
1858
- }
1859
- },
1860
- "ValidationErrorInputSourceBlank" : {
1861
- "summary" : "Error for blank input source field",
1862
- "value" : {
1863
- "error_code" : "validation_error",
1864
- "message" : "Input source field cannot be blank"
1865
- }
1866
- },
1867
- "ValidationErrorVideoAndAudioSimultaneous" : {
1868
- "summary" : "Error for providing both video and audio inputs simultaneously",
1869
- "value" : {
1870
- "error_code" : "validation_error",
1871
- "message" : "Cannot provide both video and audio input simultaneously"
1872
- }
1873
- },
1874
- "ValidationErrorVideoInputMediaTypeMissing" : {
1875
- "summary" : "Error for missing video input media type",
1876
- "value" : {
1877
- "error_code" : "validation_error",
1878
- "message" : "Video input media type must be specified"
1879
- }
1880
- },
1881
- "ValidationErrorAudioInputMediaTypeMissing" : {
1882
- "summary" : "Error for missing audio input media type",
1883
- "value" : {
1884
- "error_code" : "validation_error",
1885
- "message" : "Audio input media type must be specified"
1886
- }
1887
- },
1888
- "ValidationErrorSourceUrlEmpty" : {
1889
- "summary" : "Error for empty source URL field",
1890
- "value" : {
1891
- "error_code" : "validation_error",
1892
- "message" : "Source URL field cannot be empty"
1893
- }
1894
- },
1895
- "ValidationErrorInvalidVideoAudioSourceUrl" : {
1896
- "summary" : "Error for invalid video/audio input source URL",
1897
- "value" : {
1898
- "error_code" : "validation_error",
1899
- "message" : "Invalid video/audio input source URL: <<source url>>"
1900
- }
1901
- },
1902
- "ValidationErrorInvalidTranscriptUrl" : {
1903
- "summary" : "Error for invalid transcript input source URL",
1904
- "value" : {
1905
- "error_code" : "validation_error",
1906
- "message" : "Invalid transcript input source URL: <<input transcript url>>"
1907
- }
1908
- },
1909
- "ValidationErrorUnsupportedVideoMediaType" : {
1910
- "summary" : "Error for unsupported video media type",
1911
- "value" : {
1912
- "error_code" : "validation_error",
1913
- "message" : "Unsupported input video media type: <<input media type>>"
1914
- }
1915
- },
1916
- "ValidationErrorUnsupportedAudioMediaType" : {
1917
- "summary" : "Error for unsupported audio media type",
1918
- "value" : {
1919
- "error_code" : "validation_error",
1920
- "message" : "Unsupported input audio media type: <<input audio media type>>"
1921
- }
1922
- },
1923
- "ValidationErrorUnsupportedTargetLocaleCode" : {
1924
- "summary" : "Error for unsupported target locale code",
1925
- "value" : {
1926
- "error_code" : "validation_error",
1927
- "message" : "Unsupported target locale code: <<input target locale>>"
1928
- }
1929
- },
1930
- "ValidationErrorInvalidMediaProvided" : {
1931
- "summary" : "Error for invalid media provided as input",
1932
- "value" : {
1933
- "error_code" : "validation_error",
1934
- "message" : "Invalid media provided"
1935
- }
1936
- },
1937
- "ValidationErrorMissingTargetLocaleCode" : {
1938
- "summary" : "Error for missing target locale code",
1939
- "value" : {
1940
- "error_code" : "validation_error",
1941
- "message" : "At least one target locale code required"
1942
- }
1943
- },
1944
- "ValidationErrorLocaleCodeNotRequiredForEditedTranscript" : {
1945
- "summary" : "Error indicating locale code is not required with edited transcript",
1946
- "value" : {
1947
- "error_code" : "validation_error",
1948
- "message" : "Locale code not needed when providing an edited transcript"
1949
- }
1950
- },
1951
- "ValidationErrorEitherTargetLocaleCodesOrTranscriptionRequired" : {
1952
- "summary" : "Error for missing target locale codes or transcription input",
1953
- "value" : {
1954
- "error_code" : "validation_error",
1955
- "message" : "Provide either target locale codes or transcription input for dubbing"
1956
- }
1957
- },
1958
- "ValidationErrorCaptionGenerationNotSupportedWithTranslation" : {
1959
- "summary" : "Error indicating captions generation not supported with translation request",
1960
- "value" : {
1961
- "error_code" : "validation_error",
1962
- "message" : "Captions generation is not supported with translation request"
1963
- }
1964
- }
1965
- }
1966
- }
1967
- }