@hedra/sdk 4.0.1 → 5.0.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 (380) hide show
  1. package/dist/cjs/BaseClient.d.ts +2 -2
  2. package/dist/cjs/BaseClient.js +3 -3
  3. package/dist/cjs/api/resources/billing/client/Client.d.ts +22 -0
  4. package/dist/cjs/api/resources/billing/client/Client.js +78 -2
  5. package/dist/cjs/api/resources/billing/client/requests/BillingListTransactionsRequest.d.ts +10 -0
  6. package/dist/cjs/api/resources/billing/client/requests/BillingListTransactionsRequest.js +3 -0
  7. package/dist/cjs/api/resources/billing/client/requests/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/files/client/Client.js +1 -1
  9. package/dist/cjs/api/resources/jobs/client/Client.d.ts +121 -72
  10. package/dist/cjs/api/resources/jobs/client/Client.js +320 -167
  11. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.d.ts +17 -0
  12. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.js +3 -0
  13. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage2.d.ts +1 -2
  14. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.d.ts +18 -0
  15. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.js +3 -0
  16. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyHidreamO1Image.d.ts +1 -2
  17. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyIdeogramV4.d.ts +1 -2
  18. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingAiAvatarV2.d.ts +1 -2
  19. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.ts +1 -2
  20. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.ts +1 -2
  21. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyLtx23.d.ts +1 -2
  22. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyLumaRay32.d.ts +1 -1
  23. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMaiImage25.d.ts +1 -2
  24. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxH3.d.ts +1 -1
  25. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo02.d.ts +1 -2
  26. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo23.d.ts +1 -2
  27. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyNanoBanana2.d.ts +2 -2
  28. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyNanoBananaPro.d.ts +1 -1
  29. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyQwenImage2.d.ts +1 -2
  30. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodySeedance20.d.ts +1 -2
  31. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeo3.d.ts +1 -2
  32. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeo31.d.ts +1 -2
  33. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyViduQ3.d.ts +1 -2
  34. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.d.ts +1 -2
  35. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +2 -0
  36. package/dist/cjs/api/resources/keys/client/Client.js +4 -4
  37. package/dist/cjs/api/resources/logDrains/client/Client.js +6 -6
  38. package/dist/cjs/api/resources/models/client/Client.d.ts +23 -0
  39. package/dist/cjs/api/resources/models/client/Client.js +85 -6
  40. package/dist/cjs/api/resources/models/client/requests/ModelsSearchVoicesRequest.d.ts +17 -0
  41. package/dist/cjs/api/resources/models/client/requests/ModelsSearchVoicesRequest.js +3 -0
  42. package/dist/cjs/api/resources/models/client/requests/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/tokens/client/Client.js +1 -1
  44. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -7
  45. package/dist/cjs/api/types/InputElevenlabsMusic.d.ts +13 -0
  46. package/dist/cjs/api/types/InputElevenlabsMusic.js +3 -0
  47. package/dist/cjs/api/types/InputFlux3.d.ts +2 -2
  48. package/dist/cjs/api/types/InputFlux3EndImage.d.ts +1 -1
  49. package/dist/cjs/api/types/InputFlux3StartImage.d.ts +1 -1
  50. package/dist/cjs/api/types/InputGeminiOmniFlash.d.ts +2 -2
  51. package/dist/cjs/api/types/InputGeminiOmniFlashSourceVideo.d.ts +1 -1
  52. package/dist/cjs/api/types/InputGeminiOmniFlashStartImage.d.ts +1 -1
  53. package/dist/cjs/api/types/InputGptImage2.d.ts +3 -3
  54. package/dist/cjs/api/types/InputGptImage2.js +1 -1
  55. package/dist/cjs/api/types/InputGrokImagine.d.ts +32 -3
  56. package/dist/cjs/api/types/InputGrokImagine.js +22 -1
  57. package/dist/cjs/api/types/InputGrokImagine20.d.ts +52 -0
  58. package/dist/cjs/api/types/InputGrokImagine20.js +34 -0
  59. package/dist/cjs/api/types/InputGrokImagine20ImagesItem.d.ts +20 -0
  60. package/dist/cjs/api/types/InputGrokImagine20ImagesItem.js +3 -0
  61. package/dist/cjs/api/types/InputGrokVideo.d.ts +1 -1
  62. package/dist/cjs/api/types/InputGrokVideoStartImage.d.ts +1 -1
  63. package/dist/cjs/api/types/InputHappyHorse.d.ts +1 -1
  64. package/dist/cjs/api/types/InputHappyHorseStartImage.d.ts +1 -1
  65. package/dist/cjs/api/types/InputHedraAvatar.d.ts +1 -1
  66. package/dist/cjs/api/types/InputHedraAvatarStartImage.d.ts +1 -1
  67. package/dist/cjs/api/types/InputHedraCharacter3.d.ts +1 -1
  68. package/dist/cjs/api/types/InputHedraCharacter3StartImage.d.ts +1 -1
  69. package/dist/cjs/api/types/InputHidreamO1Image.d.ts +3 -3
  70. package/dist/cjs/api/types/InputHidreamO1Image.js +1 -1
  71. package/dist/cjs/api/types/InputIdeogramV4.d.ts +3 -3
  72. package/dist/cjs/api/types/InputIdeogramV4.js +1 -1
  73. package/dist/cjs/api/types/InputKling16.d.ts +1 -1
  74. package/dist/cjs/api/types/InputKling16StartImage.d.ts +1 -1
  75. package/dist/cjs/api/types/InputKling21Master.d.ts +1 -1
  76. package/dist/cjs/api/types/InputKling21MasterStartImage.d.ts +1 -1
  77. package/dist/cjs/api/types/InputKling25Turbo.d.ts +1 -1
  78. package/dist/cjs/api/types/InputKling25TurboStartImage.d.ts +1 -1
  79. package/dist/cjs/api/types/InputKling26MotionControl.d.ts +2 -2
  80. package/dist/cjs/api/types/InputKling26MotionControlSourceVideo.d.ts +1 -1
  81. package/dist/cjs/api/types/InputKling26MotionControlStartImage.d.ts +1 -1
  82. package/dist/cjs/api/types/InputKling26Pro.d.ts +1 -1
  83. package/dist/cjs/api/types/InputKling26ProStartImage.d.ts +1 -1
  84. package/dist/cjs/api/types/InputKlingAiAvatarV2.d.ts +4 -4
  85. package/dist/cjs/api/types/InputKlingAiAvatarV2.js +1 -1
  86. package/dist/cjs/api/types/InputKlingAiAvatarV2StartImage.d.ts +1 -1
  87. package/dist/cjs/api/types/InputKlingO1.d.ts +2 -2
  88. package/dist/cjs/api/types/InputKlingO1EndImage.d.ts +1 -1
  89. package/dist/cjs/api/types/InputKlingO1StartImage.d.ts +1 -1
  90. package/dist/cjs/api/types/InputKlingO3.d.ts +5 -5
  91. package/dist/cjs/api/types/InputKlingO3.js +1 -1
  92. package/dist/cjs/api/types/InputKlingO3Edit.d.ts +1 -1
  93. package/dist/cjs/api/types/InputKlingO3EditSourceVideo.d.ts +1 -1
  94. package/dist/cjs/api/types/InputKlingO3EndImage.d.ts +1 -1
  95. package/dist/cjs/api/types/InputKlingO3Reference.d.ts +1 -1
  96. package/dist/cjs/api/types/InputKlingO3ReferenceSourceVideo.d.ts +1 -1
  97. package/dist/cjs/api/types/InputKlingO3StartImage.d.ts +1 -1
  98. package/dist/cjs/api/types/InputKlingV3.d.ts +5 -5
  99. package/dist/cjs/api/types/InputKlingV3.js +1 -1
  100. package/dist/cjs/api/types/InputKlingV3EndImage.d.ts +1 -1
  101. package/dist/cjs/api/types/InputKlingV3MotionControl.d.ts +2 -2
  102. package/dist/cjs/api/types/InputKlingV3MotionControlSourceVideo.d.ts +1 -1
  103. package/dist/cjs/api/types/InputKlingV3MotionControlStartImage.d.ts +1 -1
  104. package/dist/cjs/api/types/InputKlingV3StartImage.d.ts +1 -1
  105. package/dist/cjs/api/types/InputLtx23.d.ts +5 -5
  106. package/dist/cjs/api/types/InputLtx23.js +1 -1
  107. package/dist/cjs/api/types/InputLtx23EndImage.d.ts +1 -1
  108. package/dist/cjs/api/types/InputLtx23StartImage.d.ts +1 -1
  109. package/dist/cjs/api/types/InputLumaRay32.d.ts +2 -2
  110. package/dist/cjs/api/types/InputLumaRay32.js +2 -2
  111. package/dist/cjs/api/types/InputMaiImage25.d.ts +3 -3
  112. package/dist/cjs/api/types/InputMaiImage25.js +1 -1
  113. package/dist/cjs/api/types/InputMinimaxH3.d.ts +3 -2
  114. package/dist/cjs/api/types/InputMinimaxH3.js +1 -0
  115. package/dist/cjs/api/types/InputMinimaxH3EndImage.d.ts +1 -1
  116. package/dist/cjs/api/types/InputMinimaxH3StartImage.d.ts +1 -1
  117. package/dist/cjs/api/types/InputMinimaxHailuo02.d.ts +5 -5
  118. package/dist/cjs/api/types/InputMinimaxHailuo02.js +1 -1
  119. package/dist/cjs/api/types/InputMinimaxHailuo02EndImage.d.ts +1 -1
  120. package/dist/cjs/api/types/InputMinimaxHailuo02StartImage.d.ts +1 -1
  121. package/dist/cjs/api/types/InputMinimaxHailuo23.d.ts +4 -4
  122. package/dist/cjs/api/types/InputMinimaxHailuo23.js +1 -1
  123. package/dist/cjs/api/types/InputMinimaxHailuo23StartImage.d.ts +1 -1
  124. package/dist/cjs/api/types/InputNanoBanana.d.ts +2 -2
  125. package/dist/cjs/api/types/InputNanoBanana.js +1 -1
  126. package/dist/cjs/api/types/InputNanoBanana2.d.ts +20 -2
  127. package/dist/cjs/api/types/InputNanoBanana2.js +12 -1
  128. package/dist/cjs/api/types/InputNanoBananaPro.d.ts +5 -2
  129. package/dist/cjs/api/types/InputNanoBananaPro.js +2 -1
  130. package/dist/cjs/api/types/InputOmnihuman15.d.ts +1 -1
  131. package/dist/cjs/api/types/InputOmnihuman15StartImage.d.ts +1 -1
  132. package/dist/cjs/api/types/InputPixverseV6.d.ts +1 -1
  133. package/dist/cjs/api/types/InputPixverseV6StartImage.d.ts +1 -1
  134. package/dist/cjs/api/types/InputQwenImage2.d.ts +3 -3
  135. package/dist/cjs/api/types/InputQwenImage2.js +1 -1
  136. package/dist/cjs/api/types/InputSeedance15Pro.d.ts +3 -2
  137. package/dist/cjs/api/types/InputSeedance15Pro.js +1 -0
  138. package/dist/cjs/api/types/InputSeedance15ProEndImage.d.ts +1 -1
  139. package/dist/cjs/api/types/InputSeedance15ProStartImage.d.ts +1 -1
  140. package/dist/cjs/api/types/InputSeedance20.d.ts +6 -5
  141. package/dist/cjs/api/types/InputSeedance20.js +2 -1
  142. package/dist/cjs/api/types/InputSeedance20EndImage.d.ts +1 -1
  143. package/dist/cjs/api/types/InputSeedance20Mini.d.ts +3 -2
  144. package/dist/cjs/api/types/InputSeedance20Mini.js +1 -0
  145. package/dist/cjs/api/types/InputSeedance20MiniEndImage.d.ts +1 -1
  146. package/dist/cjs/api/types/InputSeedance20MiniStartImage.d.ts +1 -1
  147. package/dist/cjs/api/types/InputSeedance20StartImage.d.ts +1 -1
  148. package/dist/cjs/api/types/InputSeedance25.d.ts +2 -2
  149. package/dist/cjs/api/types/InputSeedance25EndImage.d.ts +1 -1
  150. package/dist/cjs/api/types/InputSeedance25StartImage.d.ts +1 -1
  151. package/dist/cjs/api/types/InputSeedream50Lite.d.ts +8 -0
  152. package/dist/cjs/api/types/InputSeedream50Lite.js +5 -0
  153. package/dist/cjs/api/types/InputSeedream50Pro.d.ts +8 -0
  154. package/dist/cjs/api/types/InputSeedream50Pro.js +5 -0
  155. package/dist/cjs/api/types/InputSora2Pro.d.ts +1 -1
  156. package/dist/cjs/api/types/InputSora2ProStartImage.d.ts +1 -1
  157. package/dist/cjs/api/types/InputVeedFabric10.d.ts +1 -1
  158. package/dist/cjs/api/types/InputVeedFabric10StartImage.d.ts +1 -1
  159. package/dist/cjs/api/types/InputVeo2.d.ts +1 -1
  160. package/dist/cjs/api/types/InputVeo2StartImage.d.ts +1 -1
  161. package/dist/cjs/api/types/InputVeo3.d.ts +4 -4
  162. package/dist/cjs/api/types/InputVeo3.js +1 -1
  163. package/dist/cjs/api/types/InputVeo31.d.ts +6 -6
  164. package/dist/cjs/api/types/InputVeo31.js +1 -1
  165. package/dist/cjs/api/types/InputVeo31EndImage.d.ts +1 -1
  166. package/dist/cjs/api/types/InputVeo31SourceVideo.d.ts +1 -1
  167. package/dist/cjs/api/types/InputVeo31StartImage.d.ts +1 -1
  168. package/dist/cjs/api/types/InputVeo3StartImage.d.ts +1 -1
  169. package/dist/cjs/api/types/InputViduQ3.d.ts +5 -5
  170. package/dist/cjs/api/types/InputViduQ3.js +1 -1
  171. package/dist/cjs/api/types/InputViduQ3EndImage.d.ts +1 -1
  172. package/dist/cjs/api/types/InputViduQ3StartImage.d.ts +1 -1
  173. package/dist/cjs/api/types/InputWan27.d.ts +2 -2
  174. package/dist/cjs/api/types/InputWan27EndImage.d.ts +1 -1
  175. package/dist/cjs/api/types/InputWan27StartImage.d.ts +1 -1
  176. package/dist/cjs/api/types/InputWan30.d.ts +5 -5
  177. package/dist/cjs/api/types/InputWan30.js +1 -1
  178. package/dist/cjs/api/types/InputWan30EndImage.d.ts +1 -1
  179. package/dist/cjs/api/types/InputWan30StartImage.d.ts +1 -1
  180. package/dist/cjs/api/types/TransactionListResponse.d.ts +7 -0
  181. package/dist/cjs/api/types/TransactionListResponse.js +3 -0
  182. package/dist/cjs/api/types/TransactionRecord.d.ts +15 -0
  183. package/dist/cjs/api/types/TransactionRecord.js +3 -0
  184. package/dist/cjs/api/types/VoiceGender.d.ts +12 -0
  185. package/dist/cjs/api/types/VoiceGender.js +15 -0
  186. package/dist/cjs/api/types/index.d.ts +6 -0
  187. package/dist/cjs/api/types/index.js +6 -0
  188. package/dist/cjs/version.d.ts +1 -1
  189. package/dist/cjs/version.js +1 -1
  190. package/dist/esm/BaseClient.d.mts +2 -2
  191. package/dist/esm/BaseClient.mjs +3 -3
  192. package/dist/esm/api/resources/billing/client/Client.d.mts +22 -0
  193. package/dist/esm/api/resources/billing/client/Client.mjs +78 -2
  194. package/dist/esm/api/resources/billing/client/requests/BillingListTransactionsRequest.d.mts +10 -0
  195. package/dist/esm/api/resources/billing/client/requests/BillingListTransactionsRequest.mjs +2 -0
  196. package/dist/esm/api/resources/billing/client/requests/index.d.mts +1 -0
  197. package/dist/esm/api/resources/files/client/Client.mjs +1 -1
  198. package/dist/esm/api/resources/jobs/client/Client.d.mts +121 -72
  199. package/dist/esm/api/resources/jobs/client/Client.mjs +320 -167
  200. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.d.mts +17 -0
  201. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.mjs +2 -0
  202. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage2.d.mts +1 -2
  203. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.d.mts +18 -0
  204. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.mjs +2 -0
  205. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyHidreamO1Image.d.mts +1 -2
  206. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyIdeogramV4.d.mts +1 -2
  207. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingAiAvatarV2.d.mts +1 -2
  208. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.mts +1 -2
  209. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.mts +1 -2
  210. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyLtx23.d.mts +1 -2
  211. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyLumaRay32.d.mts +1 -1
  212. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMaiImage25.d.mts +1 -2
  213. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxH3.d.mts +1 -1
  214. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo02.d.mts +1 -2
  215. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo23.d.mts +1 -2
  216. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyNanoBanana2.d.mts +2 -2
  217. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyNanoBananaPro.d.mts +1 -1
  218. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyQwenImage2.d.mts +1 -2
  219. package/dist/esm/api/resources/jobs/client/requests/SubmitBodySeedance20.d.mts +1 -2
  220. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeo3.d.mts +1 -2
  221. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeo31.d.mts +1 -2
  222. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyViduQ3.d.mts +1 -2
  223. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.d.mts +1 -2
  224. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +2 -0
  225. package/dist/esm/api/resources/keys/client/Client.mjs +4 -4
  226. package/dist/esm/api/resources/logDrains/client/Client.mjs +6 -6
  227. package/dist/esm/api/resources/models/client/Client.d.mts +23 -0
  228. package/dist/esm/api/resources/models/client/Client.mjs +85 -6
  229. package/dist/esm/api/resources/models/client/requests/ModelsSearchVoicesRequest.d.mts +17 -0
  230. package/dist/esm/api/resources/models/client/requests/ModelsSearchVoicesRequest.mjs +2 -0
  231. package/dist/esm/api/resources/models/client/requests/index.d.mts +1 -0
  232. package/dist/esm/api/resources/tokens/client/Client.mjs +1 -1
  233. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -7
  234. package/dist/esm/api/types/InputElevenlabsMusic.d.mts +13 -0
  235. package/dist/esm/api/types/InputElevenlabsMusic.mjs +2 -0
  236. package/dist/esm/api/types/InputFlux3.d.mts +2 -2
  237. package/dist/esm/api/types/InputFlux3EndImage.d.mts +1 -1
  238. package/dist/esm/api/types/InputFlux3StartImage.d.mts +1 -1
  239. package/dist/esm/api/types/InputGeminiOmniFlash.d.mts +2 -2
  240. package/dist/esm/api/types/InputGeminiOmniFlashSourceVideo.d.mts +1 -1
  241. package/dist/esm/api/types/InputGeminiOmniFlashStartImage.d.mts +1 -1
  242. package/dist/esm/api/types/InputGptImage2.d.mts +3 -3
  243. package/dist/esm/api/types/InputGptImage2.mjs +1 -1
  244. package/dist/esm/api/types/InputGrokImagine.d.mts +32 -3
  245. package/dist/esm/api/types/InputGrokImagine.mjs +22 -1
  246. package/dist/esm/api/types/InputGrokImagine20.d.mts +52 -0
  247. package/dist/esm/api/types/InputGrokImagine20.mjs +31 -0
  248. package/dist/esm/api/types/InputGrokImagine20ImagesItem.d.mts +20 -0
  249. package/dist/esm/api/types/InputGrokImagine20ImagesItem.mjs +2 -0
  250. package/dist/esm/api/types/InputGrokVideo.d.mts +1 -1
  251. package/dist/esm/api/types/InputGrokVideoStartImage.d.mts +1 -1
  252. package/dist/esm/api/types/InputHappyHorse.d.mts +1 -1
  253. package/dist/esm/api/types/InputHappyHorseStartImage.d.mts +1 -1
  254. package/dist/esm/api/types/InputHedraAvatar.d.mts +1 -1
  255. package/dist/esm/api/types/InputHedraAvatarStartImage.d.mts +1 -1
  256. package/dist/esm/api/types/InputHedraCharacter3.d.mts +1 -1
  257. package/dist/esm/api/types/InputHedraCharacter3StartImage.d.mts +1 -1
  258. package/dist/esm/api/types/InputHidreamO1Image.d.mts +3 -3
  259. package/dist/esm/api/types/InputHidreamO1Image.mjs +1 -1
  260. package/dist/esm/api/types/InputIdeogramV4.d.mts +3 -3
  261. package/dist/esm/api/types/InputIdeogramV4.mjs +1 -1
  262. package/dist/esm/api/types/InputKling16.d.mts +1 -1
  263. package/dist/esm/api/types/InputKling16StartImage.d.mts +1 -1
  264. package/dist/esm/api/types/InputKling21Master.d.mts +1 -1
  265. package/dist/esm/api/types/InputKling21MasterStartImage.d.mts +1 -1
  266. package/dist/esm/api/types/InputKling25Turbo.d.mts +1 -1
  267. package/dist/esm/api/types/InputKling25TurboStartImage.d.mts +1 -1
  268. package/dist/esm/api/types/InputKling26MotionControl.d.mts +2 -2
  269. package/dist/esm/api/types/InputKling26MotionControlSourceVideo.d.mts +1 -1
  270. package/dist/esm/api/types/InputKling26MotionControlStartImage.d.mts +1 -1
  271. package/dist/esm/api/types/InputKling26Pro.d.mts +1 -1
  272. package/dist/esm/api/types/InputKling26ProStartImage.d.mts +1 -1
  273. package/dist/esm/api/types/InputKlingAiAvatarV2.d.mts +4 -4
  274. package/dist/esm/api/types/InputKlingAiAvatarV2.mjs +1 -1
  275. package/dist/esm/api/types/InputKlingAiAvatarV2StartImage.d.mts +1 -1
  276. package/dist/esm/api/types/InputKlingO1.d.mts +2 -2
  277. package/dist/esm/api/types/InputKlingO1EndImage.d.mts +1 -1
  278. package/dist/esm/api/types/InputKlingO1StartImage.d.mts +1 -1
  279. package/dist/esm/api/types/InputKlingO3.d.mts +5 -5
  280. package/dist/esm/api/types/InputKlingO3.mjs +1 -1
  281. package/dist/esm/api/types/InputKlingO3Edit.d.mts +1 -1
  282. package/dist/esm/api/types/InputKlingO3EditSourceVideo.d.mts +1 -1
  283. package/dist/esm/api/types/InputKlingO3EndImage.d.mts +1 -1
  284. package/dist/esm/api/types/InputKlingO3Reference.d.mts +1 -1
  285. package/dist/esm/api/types/InputKlingO3ReferenceSourceVideo.d.mts +1 -1
  286. package/dist/esm/api/types/InputKlingO3StartImage.d.mts +1 -1
  287. package/dist/esm/api/types/InputKlingV3.d.mts +5 -5
  288. package/dist/esm/api/types/InputKlingV3.mjs +1 -1
  289. package/dist/esm/api/types/InputKlingV3EndImage.d.mts +1 -1
  290. package/dist/esm/api/types/InputKlingV3MotionControl.d.mts +2 -2
  291. package/dist/esm/api/types/InputKlingV3MotionControlSourceVideo.d.mts +1 -1
  292. package/dist/esm/api/types/InputKlingV3MotionControlStartImage.d.mts +1 -1
  293. package/dist/esm/api/types/InputKlingV3StartImage.d.mts +1 -1
  294. package/dist/esm/api/types/InputLtx23.d.mts +5 -5
  295. package/dist/esm/api/types/InputLtx23.mjs +1 -1
  296. package/dist/esm/api/types/InputLtx23EndImage.d.mts +1 -1
  297. package/dist/esm/api/types/InputLtx23StartImage.d.mts +1 -1
  298. package/dist/esm/api/types/InputLumaRay32.d.mts +2 -2
  299. package/dist/esm/api/types/InputLumaRay32.mjs +2 -2
  300. package/dist/esm/api/types/InputMaiImage25.d.mts +3 -3
  301. package/dist/esm/api/types/InputMaiImage25.mjs +1 -1
  302. package/dist/esm/api/types/InputMinimaxH3.d.mts +3 -2
  303. package/dist/esm/api/types/InputMinimaxH3.mjs +1 -0
  304. package/dist/esm/api/types/InputMinimaxH3EndImage.d.mts +1 -1
  305. package/dist/esm/api/types/InputMinimaxH3StartImage.d.mts +1 -1
  306. package/dist/esm/api/types/InputMinimaxHailuo02.d.mts +5 -5
  307. package/dist/esm/api/types/InputMinimaxHailuo02.mjs +1 -1
  308. package/dist/esm/api/types/InputMinimaxHailuo02EndImage.d.mts +1 -1
  309. package/dist/esm/api/types/InputMinimaxHailuo02StartImage.d.mts +1 -1
  310. package/dist/esm/api/types/InputMinimaxHailuo23.d.mts +4 -4
  311. package/dist/esm/api/types/InputMinimaxHailuo23.mjs +1 -1
  312. package/dist/esm/api/types/InputMinimaxHailuo23StartImage.d.mts +1 -1
  313. package/dist/esm/api/types/InputNanoBanana.d.mts +2 -2
  314. package/dist/esm/api/types/InputNanoBanana.mjs +1 -1
  315. package/dist/esm/api/types/InputNanoBanana2.d.mts +20 -2
  316. package/dist/esm/api/types/InputNanoBanana2.mjs +12 -1
  317. package/dist/esm/api/types/InputNanoBananaPro.d.mts +5 -2
  318. package/dist/esm/api/types/InputNanoBananaPro.mjs +2 -1
  319. package/dist/esm/api/types/InputOmnihuman15.d.mts +1 -1
  320. package/dist/esm/api/types/InputOmnihuman15StartImage.d.mts +1 -1
  321. package/dist/esm/api/types/InputPixverseV6.d.mts +1 -1
  322. package/dist/esm/api/types/InputPixverseV6StartImage.d.mts +1 -1
  323. package/dist/esm/api/types/InputQwenImage2.d.mts +3 -3
  324. package/dist/esm/api/types/InputQwenImage2.mjs +1 -1
  325. package/dist/esm/api/types/InputSeedance15Pro.d.mts +3 -2
  326. package/dist/esm/api/types/InputSeedance15Pro.mjs +1 -0
  327. package/dist/esm/api/types/InputSeedance15ProEndImage.d.mts +1 -1
  328. package/dist/esm/api/types/InputSeedance15ProStartImage.d.mts +1 -1
  329. package/dist/esm/api/types/InputSeedance20.d.mts +6 -5
  330. package/dist/esm/api/types/InputSeedance20.mjs +2 -1
  331. package/dist/esm/api/types/InputSeedance20EndImage.d.mts +1 -1
  332. package/dist/esm/api/types/InputSeedance20Mini.d.mts +3 -2
  333. package/dist/esm/api/types/InputSeedance20Mini.mjs +1 -0
  334. package/dist/esm/api/types/InputSeedance20MiniEndImage.d.mts +1 -1
  335. package/dist/esm/api/types/InputSeedance20MiniStartImage.d.mts +1 -1
  336. package/dist/esm/api/types/InputSeedance20StartImage.d.mts +1 -1
  337. package/dist/esm/api/types/InputSeedance25.d.mts +2 -2
  338. package/dist/esm/api/types/InputSeedance25EndImage.d.mts +1 -1
  339. package/dist/esm/api/types/InputSeedance25StartImage.d.mts +1 -1
  340. package/dist/esm/api/types/InputSeedream50Lite.d.mts +8 -0
  341. package/dist/esm/api/types/InputSeedream50Lite.mjs +5 -0
  342. package/dist/esm/api/types/InputSeedream50Pro.d.mts +8 -0
  343. package/dist/esm/api/types/InputSeedream50Pro.mjs +5 -0
  344. package/dist/esm/api/types/InputSora2Pro.d.mts +1 -1
  345. package/dist/esm/api/types/InputSora2ProStartImage.d.mts +1 -1
  346. package/dist/esm/api/types/InputVeedFabric10.d.mts +1 -1
  347. package/dist/esm/api/types/InputVeedFabric10StartImage.d.mts +1 -1
  348. package/dist/esm/api/types/InputVeo2.d.mts +1 -1
  349. package/dist/esm/api/types/InputVeo2StartImage.d.mts +1 -1
  350. package/dist/esm/api/types/InputVeo3.d.mts +4 -4
  351. package/dist/esm/api/types/InputVeo3.mjs +1 -1
  352. package/dist/esm/api/types/InputVeo31.d.mts +6 -6
  353. package/dist/esm/api/types/InputVeo31.mjs +1 -1
  354. package/dist/esm/api/types/InputVeo31EndImage.d.mts +1 -1
  355. package/dist/esm/api/types/InputVeo31SourceVideo.d.mts +1 -1
  356. package/dist/esm/api/types/InputVeo31StartImage.d.mts +1 -1
  357. package/dist/esm/api/types/InputVeo3StartImage.d.mts +1 -1
  358. package/dist/esm/api/types/InputViduQ3.d.mts +5 -5
  359. package/dist/esm/api/types/InputViduQ3.mjs +1 -1
  360. package/dist/esm/api/types/InputViduQ3EndImage.d.mts +1 -1
  361. package/dist/esm/api/types/InputViduQ3StartImage.d.mts +1 -1
  362. package/dist/esm/api/types/InputWan27.d.mts +2 -2
  363. package/dist/esm/api/types/InputWan27EndImage.d.mts +1 -1
  364. package/dist/esm/api/types/InputWan27StartImage.d.mts +1 -1
  365. package/dist/esm/api/types/InputWan30.d.mts +5 -5
  366. package/dist/esm/api/types/InputWan30.mjs +1 -1
  367. package/dist/esm/api/types/InputWan30EndImage.d.mts +1 -1
  368. package/dist/esm/api/types/InputWan30StartImage.d.mts +1 -1
  369. package/dist/esm/api/types/TransactionListResponse.d.mts +7 -0
  370. package/dist/esm/api/types/TransactionListResponse.mjs +2 -0
  371. package/dist/esm/api/types/TransactionRecord.d.mts +15 -0
  372. package/dist/esm/api/types/TransactionRecord.mjs +2 -0
  373. package/dist/esm/api/types/VoiceGender.d.mts +12 -0
  374. package/dist/esm/api/types/VoiceGender.mjs +12 -0
  375. package/dist/esm/api/types/index.d.mts +6 -0
  376. package/dist/esm/api/types/index.mjs +6 -0
  377. package/dist/esm/version.d.mts +1 -1
  378. package/dist/esm/version.mjs +1 -1
  379. package/package.json +2 -2
  380. package/reference.md +341 -72
@@ -85,7 +85,7 @@ class JobsClient {
85
85
  cursor,
86
86
  };
87
87
  const _authRequest = yield this._options.authProvider.getAuthRequest();
88
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
88
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
89
89
  const _response = yield core.fetcher({
90
90
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "jobs"),
91
91
  method: "GET",
@@ -165,7 +165,7 @@ class JobsClient {
165
165
  return __awaiter(this, arguments, void 0, function* (job_id, _request = {}, requestOptions) {
166
166
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
167
167
  const _authRequest = yield this._options.authProvider.getAuthRequest();
168
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
168
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
169
169
  const _response = yield core.fetcher({
170
170
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, `jobs/${core.url.encodePathParam(job_id)}`),
171
171
  method: "GET",
@@ -233,7 +233,7 @@ class JobsClient {
233
233
  logs_after: logsAfter,
234
234
  };
235
235
  const _authRequest = yield this._options.authProvider.getAuthRequest();
236
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
236
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
237
237
  const _response = yield core.fetcher({
238
238
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, `jobs/${core.url.encodePathParam(job_id)}/status`),
239
239
  method: "GET",
@@ -304,7 +304,7 @@ class JobsClient {
304
304
  cursor,
305
305
  };
306
306
  const _authRequest = yield this._options.authProvider.getAuthRequest();
307
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
307
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
308
308
  const _response = yield core.fetcher({
309
309
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, `jobs/${core.url.encodePathParam(job_id)}/logs`),
310
310
  method: "GET",
@@ -370,7 +370,7 @@ class JobsClient {
370
370
  const _authRequest = yield this._options.authProvider.getAuthRequest();
371
371
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
372
372
  "Last-Event-Id": lastEventId !== null && lastEventId !== void 0 ? lastEventId : undefined,
373
- "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3",
373
+ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0",
374
374
  }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
375
375
  const _response = yield core.fetcher({
376
376
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, `jobs/${core.url.encodePathParam(job_id)}/stream`),
@@ -450,7 +450,7 @@ class JobsClient {
450
450
  });
451
451
  }
452
452
  /**
453
- * Ultra high quality generations for professional grade images.
453
+ * Polished, print-ready stills when the brief is a finished image rather than a sketch.
454
454
  *
455
455
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
456
456
  *
@@ -484,7 +484,7 @@ class JobsClient {
484
484
  return __awaiter(this, void 0, void 0, function* () {
485
485
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
486
486
  const _authRequest = yield this._options.authProvider.getAuthRequest();
487
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
487
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
488
488
  const _response = yield core.fetcher({
489
489
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/dreamina-31"),
490
490
  method: "POST",
@@ -567,7 +567,7 @@ class JobsClient {
567
567
  return __awaiter(this, void 0, void 0, function* () {
568
568
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
569
569
  const _authRequest = yield this._options.authProvider.getAuthRequest();
570
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
570
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
571
571
  const _response = yield core.fetcher({
572
572
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-audio-isolation"),
573
573
  method: "POST",
@@ -649,7 +649,7 @@ class JobsClient {
649
649
  return __awaiter(this, void 0, void 0, function* () {
650
650
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
651
651
  const _authRequest = yield this._options.authProvider.getAuthRequest();
652
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
652
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
653
653
  const _response = yield core.fetcher({
654
654
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-english-sts-v2"),
655
655
  method: "POST",
@@ -697,6 +697,8 @@ class JobsClient {
697
697
  });
698
698
  }
699
699
  /**
700
+ * The low-latency voice across 30+ languages, for interactive and high-volume speech.
701
+ *
700
702
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
701
703
  *
702
704
  * @param {Hedra.SubmitBodyElevenlabsFlashMultilingualV2} request
@@ -728,7 +730,7 @@ class JobsClient {
728
730
  return __awaiter(this, void 0, void 0, function* () {
729
731
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
730
732
  const _authRequest = yield this._options.authProvider.getAuthRequest();
731
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
733
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
732
734
  const _response = yield core.fetcher({
733
735
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-flash-multilingual-v2"),
734
736
  method: "POST",
@@ -776,6 +778,8 @@ class JobsClient {
776
778
  });
777
779
  }
778
780
  /**
781
+ * The low-latency English voice, for interactive speech.
782
+ *
779
783
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
780
784
  *
781
785
  * @param {Hedra.SubmitBodyElevenlabsFlashV2} request
@@ -807,7 +811,7 @@ class JobsClient {
807
811
  return __awaiter(this, void 0, void 0, function* () {
808
812
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
809
813
  const _authRequest = yield this._options.authProvider.getAuthRequest();
810
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
814
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
811
815
  const _response = yield core.fetcher({
812
816
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-flash-v2"),
813
817
  method: "POST",
@@ -889,7 +893,7 @@ class JobsClient {
889
893
  return __awaiter(this, void 0, void 0, function* () {
890
894
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
891
895
  const _authRequest = yield this._options.authProvider.getAuthRequest();
892
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
896
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
893
897
  const _response = yield core.fetcher({
894
898
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-multilingual-sts-v2"),
895
899
  method: "POST",
@@ -937,6 +941,8 @@ class JobsClient {
937
941
  });
938
942
  }
939
943
  /**
944
+ * Steady, natural narration across 30+ languages, for finished voiceover.
945
+ *
940
946
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
941
947
  *
942
948
  * @param {Hedra.SubmitBodyElevenlabsMultilingualV2} request
@@ -968,7 +974,7 @@ class JobsClient {
968
974
  return __awaiter(this, void 0, void 0, function* () {
969
975
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
970
976
  const _authRequest = yield this._options.authProvider.getAuthRequest();
971
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
977
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
972
978
  const _response = yield core.fetcher({
973
979
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-multilingual-v2"),
974
980
  method: "POST",
@@ -1016,7 +1022,88 @@ class JobsClient {
1016
1022
  });
1017
1023
  }
1018
1024
  /**
1019
- * Generate sound effects from text descriptions using ElevenLabs
1025
+ * Full tracks from a written brief, with optional lyrics placed across the length you ask for.
1026
+ *
1027
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1028
+ *
1029
+ * @param {Hedra.SubmitBodyElevenlabsMusic} request
1030
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
1031
+ *
1032
+ * @throws {@link Hedra.BadRequestError}
1033
+ * @throws {@link Hedra.UnauthorizedError}
1034
+ * @throws {@link Hedra.PaymentRequiredError}
1035
+ * @throws {@link Hedra.ForbiddenError}
1036
+ * @throws {@link Hedra.NotFoundError}
1037
+ * @throws {@link Hedra.UnprocessableEntityError}
1038
+ * @throws {@link Hedra.TooManyRequestsError}
1039
+ * @throws {@link Hedra.InternalServerError}
1040
+ * @throws {@link errors.HedraError}
1041
+ * @throws {@link errors.HedraTimeoutError}
1042
+ *
1043
+ * @example
1044
+ * await client.jobs.submitElevenlabsMusic({
1045
+ * input: {
1046
+ * prompt: "prompt",
1047
+ * duration_ms: 1
1048
+ * }
1049
+ * })
1050
+ */
1051
+ submitElevenlabsMusic(request, requestOptions) {
1052
+ return core.HttpResponsePromise.fromPromise(this.__submitElevenlabsMusic(request, requestOptions));
1053
+ }
1054
+ __submitElevenlabsMusic(request, requestOptions) {
1055
+ return __awaiter(this, void 0, void 0, function* () {
1056
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1057
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
1058
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1059
+ const _response = yield core.fetcher({
1060
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-music"),
1061
+ method: "POST",
1062
+ headers: _headers,
1063
+ contentType: "application/json",
1064
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
1065
+ requestType: "json",
1066
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
1067
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
1068
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
1069
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
1070
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
1071
+ logging: this._options.logging,
1072
+ });
1073
+ if (_response.ok) {
1074
+ return { data: _response.body, rawResponse: _response.rawResponse };
1075
+ }
1076
+ if (_response.error.reason === "status-code") {
1077
+ switch (_response.error.statusCode) {
1078
+ case 400:
1079
+ throw new Hedra.BadRequestError(_response.error.body, _response.rawResponse);
1080
+ case 401:
1081
+ throw new Hedra.UnauthorizedError(_response.error.body, _response.rawResponse);
1082
+ case 402:
1083
+ throw new Hedra.PaymentRequiredError(_response.error.body, _response.rawResponse);
1084
+ case 403:
1085
+ throw new Hedra.ForbiddenError(_response.error.body, _response.rawResponse);
1086
+ case 404:
1087
+ throw new Hedra.NotFoundError(_response.error.body, _response.rawResponse);
1088
+ case 422:
1089
+ throw new Hedra.UnprocessableEntityError(_response.error.body, _response.rawResponse);
1090
+ case 429:
1091
+ throw new Hedra.TooManyRequestsError(_response.error.body, _response.rawResponse);
1092
+ case 500:
1093
+ throw new Hedra.InternalServerError(_response.error.body, _response.rawResponse);
1094
+ default:
1095
+ throw new errors.HedraError({
1096
+ statusCode: _response.error.statusCode,
1097
+ body: _response.error.body,
1098
+ rawResponse: _response.rawResponse,
1099
+ });
1100
+ }
1101
+ }
1102
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/models/elevenlabs-music");
1103
+ });
1104
+ }
1105
+ /**
1106
+ * One-off sound effects from a written description, loopable on request.
1020
1107
  *
1021
1108
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1022
1109
  *
@@ -1049,7 +1136,7 @@ class JobsClient {
1049
1136
  return __awaiter(this, void 0, void 0, function* () {
1050
1137
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1051
1138
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1052
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1139
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1053
1140
  const _response = yield core.fetcher({
1054
1141
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-sound-effects"),
1055
1142
  method: "POST",
@@ -1097,7 +1184,7 @@ class JobsClient {
1097
1184
  });
1098
1185
  }
1099
1186
  /**
1100
- * ElevenLabs V3
1187
+ * The most expressive ElevenLabs voice — emotional range and delivery cues for performance, not just narration.
1101
1188
  *
1102
1189
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1103
1190
  *
@@ -1130,7 +1217,7 @@ class JobsClient {
1130
1217
  return __awaiter(this, void 0, void 0, function* () {
1131
1218
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1132
1219
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1133
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1220
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1134
1221
  const _response = yield core.fetcher({
1135
1222
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-v3"),
1136
1223
  method: "POST",
@@ -1214,7 +1301,7 @@ class JobsClient {
1214
1301
  return __awaiter(this, void 0, void 0, function* () {
1215
1302
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1216
1303
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1217
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1304
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1218
1305
  const _response = yield core.fetcher({
1219
1306
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/elevenlabs-voice-clone"),
1220
1307
  method: "POST",
@@ -1296,7 +1383,7 @@ class JobsClient {
1296
1383
  return __awaiter(this, void 0, void 0, function* () {
1297
1384
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1298
1385
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1299
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1386
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1300
1387
  const _response = yield core.fetcher({
1301
1388
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux-11-pro"),
1302
1389
  method: "POST",
@@ -1377,7 +1464,7 @@ class JobsClient {
1377
1464
  return __awaiter(this, void 0, void 0, function* () {
1378
1465
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1379
1466
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1380
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1467
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1381
1468
  const _response = yield core.fetcher({
1382
1469
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux-11-ultra"),
1383
1470
  method: "POST",
@@ -1425,7 +1512,7 @@ class JobsClient {
1425
1512
  });
1426
1513
  }
1427
1514
  /**
1428
- * Black Forest Labs FLUX.3 text-to-video with native audio.
1515
+ * Video with native audio, straight from a prompt.
1429
1516
  *
1430
1517
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1431
1518
  *
@@ -1460,7 +1547,7 @@ class JobsClient {
1460
1547
  return __awaiter(this, void 0, void 0, function* () {
1461
1548
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1462
1549
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1463
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1550
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1464
1551
  const _response = yield core.fetcher({
1465
1552
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux-3"),
1466
1553
  method: "POST",
@@ -1542,7 +1629,7 @@ class JobsClient {
1542
1629
  return __awaiter(this, void 0, void 0, function* () {
1543
1630
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1544
1631
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1545
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1632
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1546
1633
  const _response = yield core.fetcher({
1547
1634
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux-dev"),
1548
1635
  method: "POST",
@@ -1622,7 +1709,7 @@ class JobsClient {
1622
1709
  return __awaiter(this, void 0, void 0, function* () {
1623
1710
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1624
1711
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1625
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1712
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1626
1713
  const _response = yield core.fetcher({
1627
1714
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux-kontext-max"),
1628
1715
  method: "POST",
@@ -1702,7 +1789,7 @@ class JobsClient {
1702
1789
  return __awaiter(this, void 0, void 0, function* () {
1703
1790
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1704
1791
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1705
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1792
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1706
1793
  const _response = yield core.fetcher({
1707
1794
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux-kontext-pro"),
1708
1795
  method: "POST",
@@ -1750,7 +1837,7 @@ class JobsClient {
1750
1837
  });
1751
1838
  }
1752
1839
  /**
1753
- * Image creation and editing with FLUX.2 [flex] from Black Forest Labs.
1840
+ * The tunable Flux.2 tier trade denoising steps against speed per generation.
1754
1841
  *
1755
1842
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1756
1843
  *
@@ -1783,7 +1870,7 @@ class JobsClient {
1783
1870
  return __awaiter(this, void 0, void 0, function* () {
1784
1871
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1785
1872
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1786
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1873
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1787
1874
  const _response = yield core.fetcher({
1788
1875
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux2-flex"),
1789
1876
  method: "POST",
@@ -1831,7 +1918,7 @@ class JobsClient {
1831
1918
  });
1832
1919
  }
1833
1920
  /**
1834
- * Flux.2 [klein] 9B model from Black Forest Labs.
1921
+ * The lean Flux.2 tier quick, inexpensive stills for concepting and high-volume work.
1835
1922
  *
1836
1923
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1837
1924
  *
@@ -1864,7 +1951,7 @@ class JobsClient {
1864
1951
  return __awaiter(this, void 0, void 0, function* () {
1865
1952
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1866
1953
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1867
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1954
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1868
1955
  const _response = yield core.fetcher({
1869
1956
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux2-klein-9b"),
1870
1957
  method: "POST",
@@ -1912,7 +1999,7 @@ class JobsClient {
1912
1999
  });
1913
2000
  }
1914
2001
  /**
1915
- * FLUX.2 [max] delivers state-of-the-art image generation and advanced image editing with exceptional realism, precision, and consistency.
2002
+ * The top Flux.2 tier, for realism and precision in final deliverables.
1916
2003
  *
1917
2004
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1918
2005
  *
@@ -1945,7 +2032,7 @@ class JobsClient {
1945
2032
  return __awaiter(this, void 0, void 0, function* () {
1946
2033
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
1947
2034
  const _authRequest = yield this._options.authProvider.getAuthRequest();
1948
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2035
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
1949
2036
  const _response = yield core.fetcher({
1950
2037
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux2-max"),
1951
2038
  method: "POST",
@@ -1993,7 +2080,7 @@ class JobsClient {
1993
2080
  });
1994
2081
  }
1995
2082
  /**
1996
- * Image creation and editing with FLUX.2 [pro] from Black Forest Labs. Ideal for high-quality image manipulation, style transfer, and sequential editing workflows
2083
+ * The everyday Flux.2 tier style transfer and sequential edits that hold together across passes.
1997
2084
  *
1998
2085
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
1999
2086
  *
@@ -2026,7 +2113,7 @@ class JobsClient {
2026
2113
  return __awaiter(this, void 0, void 0, function* () {
2027
2114
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2028
2115
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2029
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2116
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2030
2117
  const _response = yield core.fetcher({
2031
2118
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/flux2-pro"),
2032
2119
  method: "POST",
@@ -2107,7 +2194,7 @@ class JobsClient {
2107
2194
  return __awaiter(this, void 0, void 0, function* () {
2108
2195
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2109
2196
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2110
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2197
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2111
2198
  const _response = yield core.fetcher({
2112
2199
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/gemini-omni-flash"),
2113
2200
  method: "POST",
@@ -2155,7 +2242,7 @@ class JobsClient {
2155
2242
  });
2156
2243
  }
2157
2244
  /**
2158
- * OpenAI-powered image generation with exceptional prompt understanding and versatile editing capabilities.
2245
+ * Reads a long, specific brief closely the choice when the prompt carries the detail.
2159
2246
  *
2160
2247
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
2161
2248
  *
@@ -2188,7 +2275,7 @@ class JobsClient {
2188
2275
  return __awaiter(this, void 0, void 0, function* () {
2189
2276
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2190
2277
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2191
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2278
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2192
2279
  const _response = yield core.fetcher({
2193
2280
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/gpt-image-15"),
2194
2281
  method: "POST",
@@ -2259,8 +2346,7 @@ class JobsClient {
2259
2346
  * input: {
2260
2347
  * prompt: "prompt",
2261
2348
  * aspect_ratio: "16:9",
2262
- * resolution: "1K",
2263
- * quality: "low"
2349
+ * resolution: "1K"
2264
2350
  * }
2265
2351
  * })
2266
2352
  */
@@ -2271,7 +2357,7 @@ class JobsClient {
2271
2357
  return __awaiter(this, void 0, void 0, function* () {
2272
2358
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2273
2359
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2274
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2360
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2275
2361
  const _response = yield core.fetcher({
2276
2362
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/gpt-image-2"),
2277
2363
  method: "POST",
@@ -2319,7 +2405,7 @@ class JobsClient {
2319
2405
  });
2320
2406
  }
2321
2407
  /**
2322
- * xAI's Grok Imagine image generation model
2408
+ * Grok's take on a prompt — punchy, irreverent stills, in everything from ultrawide to tall.
2323
2409
  *
2324
2410
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
2325
2411
  *
@@ -2351,7 +2437,7 @@ class JobsClient {
2351
2437
  return __awaiter(this, void 0, void 0, function* () {
2352
2438
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2353
2439
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2354
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2440
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2355
2441
  const _response = yield core.fetcher({
2356
2442
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/grok-imagine"),
2357
2443
  method: "POST",
@@ -2399,7 +2485,89 @@ class JobsClient {
2399
2485
  });
2400
2486
  }
2401
2487
  /**
2402
- * xAI's text-to-video generation model.
2488
+ * xAI's current Grok Imagine — the same irreverence at higher fidelity, from a prompt or from up to three source images.
2489
+ *
2490
+ * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
2491
+ *
2492
+ * @param {Hedra.SubmitBodyGrokImagine20} request
2493
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
2494
+ *
2495
+ * @throws {@link Hedra.BadRequestError}
2496
+ * @throws {@link Hedra.UnauthorizedError}
2497
+ * @throws {@link Hedra.PaymentRequiredError}
2498
+ * @throws {@link Hedra.ForbiddenError}
2499
+ * @throws {@link Hedra.NotFoundError}
2500
+ * @throws {@link Hedra.UnprocessableEntityError}
2501
+ * @throws {@link Hedra.TooManyRequestsError}
2502
+ * @throws {@link Hedra.InternalServerError}
2503
+ * @throws {@link errors.HedraError}
2504
+ * @throws {@link errors.HedraTimeoutError}
2505
+ *
2506
+ * @example
2507
+ * await client.jobs.submitGrokImagine20({
2508
+ * input: {
2509
+ * prompt: "prompt",
2510
+ * aspect_ratio: "2:1",
2511
+ * resolution: "1k"
2512
+ * }
2513
+ * })
2514
+ */
2515
+ submitGrokImagine20(request, requestOptions) {
2516
+ return core.HttpResponsePromise.fromPromise(this.__submitGrokImagine20(request, requestOptions));
2517
+ }
2518
+ __submitGrokImagine20(request, requestOptions) {
2519
+ return __awaiter(this, void 0, void 0, function* () {
2520
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2521
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
2522
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2523
+ const _response = yield core.fetcher({
2524
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/grok-imagine-20"),
2525
+ method: "POST",
2526
+ headers: _headers,
2527
+ contentType: "application/json",
2528
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
2529
+ requestType: "json",
2530
+ body: (0, requestBody_js_1.mergeAdditionalBodyParameters)(request, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.additionalBodyParameters),
2531
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
2532
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
2533
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
2534
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
2535
+ logging: this._options.logging,
2536
+ });
2537
+ if (_response.ok) {
2538
+ return { data: _response.body, rawResponse: _response.rawResponse };
2539
+ }
2540
+ if (_response.error.reason === "status-code") {
2541
+ switch (_response.error.statusCode) {
2542
+ case 400:
2543
+ throw new Hedra.BadRequestError(_response.error.body, _response.rawResponse);
2544
+ case 401:
2545
+ throw new Hedra.UnauthorizedError(_response.error.body, _response.rawResponse);
2546
+ case 402:
2547
+ throw new Hedra.PaymentRequiredError(_response.error.body, _response.rawResponse);
2548
+ case 403:
2549
+ throw new Hedra.ForbiddenError(_response.error.body, _response.rawResponse);
2550
+ case 404:
2551
+ throw new Hedra.NotFoundError(_response.error.body, _response.rawResponse);
2552
+ case 422:
2553
+ throw new Hedra.UnprocessableEntityError(_response.error.body, _response.rawResponse);
2554
+ case 429:
2555
+ throw new Hedra.TooManyRequestsError(_response.error.body, _response.rawResponse);
2556
+ case 500:
2557
+ throw new Hedra.InternalServerError(_response.error.body, _response.rawResponse);
2558
+ default:
2559
+ throw new errors.HedraError({
2560
+ statusCode: _response.error.statusCode,
2561
+ body: _response.error.body,
2562
+ rawResponse: _response.rawResponse,
2563
+ });
2564
+ }
2565
+ }
2566
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/models/grok-imagine-20");
2567
+ });
2568
+ }
2569
+ /**
2570
+ * Short, punchy clips from a prompt at 480p or 720p.
2403
2571
  *
2404
2572
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
2405
2573
  *
@@ -2434,7 +2602,7 @@ class JobsClient {
2434
2602
  return __awaiter(this, void 0, void 0, function* () {
2435
2603
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2436
2604
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2437
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2605
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2438
2606
  const _response = yield core.fetcher({
2439
2607
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/grok-video"),
2440
2608
  method: "POST",
@@ -2482,7 +2650,7 @@ class JobsClient {
2482
2650
  });
2483
2651
  }
2484
2652
  /**
2485
- * Generate video from text with Alibaba Happy Horse 1.0.
2653
+ * Open-weight video generation from a prompt.
2486
2654
  *
2487
2655
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
2488
2656
  *
@@ -2517,7 +2685,7 @@ class JobsClient {
2517
2685
  return __awaiter(this, void 0, void 0, function* () {
2518
2686
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2519
2687
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2520
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2688
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2521
2689
  const _response = yield core.fetcher({
2522
2690
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/happy-horse"),
2523
2691
  method: "POST",
@@ -2607,7 +2775,7 @@ class JobsClient {
2607
2775
  return __awaiter(this, void 0, void 0, function* () {
2608
2776
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2609
2777
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2610
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2778
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2611
2779
  const _response = yield core.fetcher({
2612
2780
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/hedra-avatar"),
2613
2781
  method: "POST",
@@ -2697,7 +2865,7 @@ class JobsClient {
2697
2865
  return __awaiter(this, void 0, void 0, function* () {
2698
2866
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2699
2867
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2700
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2868
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2701
2869
  const _response = yield core.fetcher({
2702
2870
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/hedra-character-3"),
2703
2871
  method: "POST",
@@ -2767,8 +2935,7 @@ class JobsClient {
2767
2935
  * await client.jobs.submitHidreamO1Image({
2768
2936
  * input: {
2769
2937
  * prompt: "prompt",
2770
- * aspect_ratio: "16:9",
2771
- * quality: "standard"
2938
+ * aspect_ratio: "16:9"
2772
2939
  * }
2773
2940
  * })
2774
2941
  */
@@ -2779,7 +2946,7 @@ class JobsClient {
2779
2946
  return __awaiter(this, void 0, void 0, function* () {
2780
2947
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2781
2948
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2782
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2949
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2783
2950
  const _response = yield core.fetcher({
2784
2951
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/hidream-o1-image"),
2785
2952
  method: "POST",
@@ -2860,7 +3027,7 @@ class JobsClient {
2860
3027
  return __awaiter(this, void 0, void 0, function* () {
2861
3028
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2862
3029
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2863
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3030
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2864
3031
  const _response = yield core.fetcher({
2865
3032
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/ideogram-v2"),
2866
3033
  method: "POST",
@@ -2931,8 +3098,7 @@ class JobsClient {
2931
3098
  * input: {
2932
3099
  * prompt: "prompt",
2933
3100
  * aspect_ratio: "16:9",
2934
- * resolution: "720p",
2935
- * quality: "turbo"
3101
+ * resolution: "720p"
2936
3102
  * }
2937
3103
  * })
2938
3104
  */
@@ -2943,7 +3109,7 @@ class JobsClient {
2943
3109
  return __awaiter(this, void 0, void 0, function* () {
2944
3110
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
2945
3111
  const _authRequest = yield this._options.authProvider.getAuthRequest();
2946
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3112
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
2947
3113
  const _response = yield core.fetcher({
2948
3114
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/ideogram-v4"),
2949
3115
  method: "POST",
@@ -2991,7 +3157,7 @@ class JobsClient {
2991
3157
  });
2992
3158
  }
2993
3159
  /**
2994
- * The latest text to image model from Google
3160
+ * Google's earlier photoreal generator, kept for parity.
2995
3161
  *
2996
3162
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
2997
3163
  *
@@ -3024,7 +3190,7 @@ class JobsClient {
3024
3190
  return __awaiter(this, void 0, void 0, function* () {
3025
3191
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3026
3192
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3027
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3193
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3028
3194
  const _response = yield core.fetcher({
3029
3195
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/imagen3"),
3030
3196
  method: "POST",
@@ -3106,7 +3272,7 @@ class JobsClient {
3106
3272
  return __awaiter(this, void 0, void 0, function* () {
3107
3273
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3108
3274
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3109
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3275
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3110
3276
  const _response = yield core.fetcher({
3111
3277
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/imagen4"),
3112
3278
  method: "POST",
@@ -3184,7 +3350,7 @@ class JobsClient {
3184
3350
  return __awaiter(this, void 0, void 0, function* () {
3185
3351
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3186
3352
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3187
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3353
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3188
3354
  const _response = yield core.fetcher({
3189
3355
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-16"),
3190
3356
  method: "POST",
@@ -3266,7 +3432,7 @@ class JobsClient {
3266
3432
  return __awaiter(this, void 0, void 0, function* () {
3267
3433
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3268
3434
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3269
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3435
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3270
3436
  const _response = yield core.fetcher({
3271
3437
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-21-master"),
3272
3438
  method: "POST",
@@ -3348,7 +3514,7 @@ class JobsClient {
3348
3514
  return __awaiter(this, void 0, void 0, function* () {
3349
3515
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3350
3516
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3351
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3517
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3352
3518
  const _response = yield core.fetcher({
3353
3519
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-25-turbo"),
3354
3520
  method: "POST",
@@ -3436,7 +3602,7 @@ class JobsClient {
3436
3602
  return __awaiter(this, void 0, void 0, function* () {
3437
3603
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3438
3604
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3439
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3605
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3440
3606
  const _response = yield core.fetcher({
3441
3607
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-26-motion-control"),
3442
3608
  method: "POST",
@@ -3518,7 +3684,7 @@ class JobsClient {
3518
3684
  return __awaiter(this, void 0, void 0, function* () {
3519
3685
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3520
3686
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3521
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3687
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3522
3688
  const _response = yield core.fetcher({
3523
3689
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-26-pro"),
3524
3690
  method: "POST",
@@ -3595,8 +3761,7 @@ class JobsClient {
3595
3761
  * audio: {
3596
3762
  * source: "url",
3597
3763
  * url: "url"
3598
- * },
3599
- * quality: "standard"
3764
+ * }
3600
3765
  * }
3601
3766
  * })
3602
3767
  */
@@ -3607,7 +3772,7 @@ class JobsClient {
3607
3772
  return __awaiter(this, void 0, void 0, function* () {
3608
3773
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3609
3774
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3610
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3775
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3611
3776
  const _response = yield core.fetcher({
3612
3777
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-ai-avatar-v2"),
3613
3778
  method: "POST",
@@ -3689,7 +3854,7 @@ class JobsClient {
3689
3854
  return __awaiter(this, void 0, void 0, function* () {
3690
3855
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3691
3856
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3692
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3857
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3693
3858
  const _response = yield core.fetcher({
3694
3859
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-o1"),
3695
3860
  method: "POST",
@@ -3737,7 +3902,7 @@ class JobsClient {
3737
3902
  });
3738
3903
  }
3739
3904
  /**
3740
- * Text-to-video model with up to 15-second generations and native audio.
3905
+ * Clips up to 15 seconds with native audio.
3741
3906
  *
3742
3907
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
3743
3908
  *
@@ -3759,8 +3924,7 @@ class JobsClient {
3759
3924
  * await client.jobs.submitKlingO3({
3760
3925
  * input: {
3761
3926
  * aspect_ratio: "16:9",
3762
- * duration_ms: 1,
3763
- * quality: "standard"
3927
+ * duration_ms: 1
3764
3928
  * }
3765
3929
  * })
3766
3930
  */
@@ -3771,7 +3935,7 @@ class JobsClient {
3771
3935
  return __awaiter(this, void 0, void 0, function* () {
3772
3936
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3773
3937
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3774
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3938
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3775
3939
  const _response = yield core.fetcher({
3776
3940
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-o3"),
3777
3941
  method: "POST",
@@ -3856,7 +4020,7 @@ class JobsClient {
3856
4020
  return __awaiter(this, void 0, void 0, function* () {
3857
4021
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3858
4022
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3859
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4023
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3860
4024
  const _response = yield core.fetcher({
3861
4025
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-o3-edit"),
3862
4026
  method: "POST",
@@ -3941,7 +4105,7 @@ class JobsClient {
3941
4105
  return __awaiter(this, void 0, void 0, function* () {
3942
4106
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
3943
4107
  const _authRequest = yield this._options.authProvider.getAuthRequest();
3944
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4108
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
3945
4109
  const _response = yield core.fetcher({
3946
4110
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-o3-reference"),
3947
4111
  method: "POST",
@@ -3989,7 +4153,7 @@ class JobsClient {
3989
4153
  });
3990
4154
  }
3991
4155
  /**
3992
- * Text-to-video with ultra-high-definition storyboards and native audio.
4156
+ * Ultra-high-definition storyboards with native audio.
3993
4157
  *
3994
4158
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
3995
4159
  *
@@ -4011,8 +4175,7 @@ class JobsClient {
4011
4175
  * await client.jobs.submitKlingV3({
4012
4176
  * input: {
4013
4177
  * aspect_ratio: "16:9",
4014
- * duration_ms: 1,
4015
- * quality: "standard"
4178
+ * duration_ms: 1
4016
4179
  * }
4017
4180
  * })
4018
4181
  */
@@ -4023,7 +4186,7 @@ class JobsClient {
4023
4186
  return __awaiter(this, void 0, void 0, function* () {
4024
4187
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4025
4188
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4026
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4189
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4027
4190
  const _response = yield core.fetcher({
4028
4191
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-v3"),
4029
4192
  method: "POST",
@@ -4111,7 +4274,7 @@ class JobsClient {
4111
4274
  return __awaiter(this, void 0, void 0, function* () {
4112
4275
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4113
4276
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4114
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4277
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4115
4278
  const _response = yield core.fetcher({
4116
4279
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/kling-v3-motion-control"),
4117
4280
  method: "POST",
@@ -4159,7 +4322,7 @@ class JobsClient {
4159
4322
  });
4160
4323
  }
4161
4324
  /**
4162
- * Lightricks LTX-2.3 text-to-video at up to 4K, with synchronized native audio
4325
+ * Clips up to 4K with synchronized native audio, for final output.
4163
4326
  *
4164
4327
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4165
4328
  *
@@ -4183,8 +4346,7 @@ class JobsClient {
4183
4346
  * prompt: "prompt",
4184
4347
  * resolution: "1080p",
4185
4348
  * duration_ms: 1,
4186
- * aspect_ratio: "auto",
4187
- * quality: "fast"
4349
+ * aspect_ratio: "auto"
4188
4350
  * }
4189
4351
  * })
4190
4352
  */
@@ -4195,7 +4357,7 @@ class JobsClient {
4195
4357
  return __awaiter(this, void 0, void 0, function* () {
4196
4358
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4197
4359
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4198
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4360
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4199
4361
  const _response = yield core.fetcher({
4200
4362
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/ltx-2-3"),
4201
4363
  method: "POST",
@@ -4243,7 +4405,7 @@ class JobsClient {
4243
4405
  });
4244
4406
  }
4245
4407
  /**
4246
- * Luma Ray 3.2 text-to-video with cinematic motion and camera control
4408
+ * Cinematic motion with deliberate camera control, from a prompt.
4247
4409
  *
4248
4410
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4249
4411
  *
@@ -4265,7 +4427,7 @@ class JobsClient {
4265
4427
  * await client.jobs.submitLumaRay32({
4266
4428
  * input: {
4267
4429
  * prompt: "prompt",
4268
- * aspect_ratio: "1:1",
4430
+ * aspect_ratio: "3:4",
4269
4431
  * resolution: "540p",
4270
4432
  * duration_ms: 1
4271
4433
  * }
@@ -4278,7 +4440,7 @@ class JobsClient {
4278
4440
  return __awaiter(this, void 0, void 0, function* () {
4279
4441
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4280
4442
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4281
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4443
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4282
4444
  const _response = yield core.fetcher({
4283
4445
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/luma-ray-32"),
4284
4446
  method: "POST",
@@ -4348,8 +4510,7 @@ class JobsClient {
4348
4510
  * await client.jobs.submitMaiImage25({
4349
4511
  * input: {
4350
4512
  * prompt: "prompt",
4351
- * aspect_ratio: "1:1",
4352
- * quality: "standard"
4513
+ * aspect_ratio: "1:1"
4353
4514
  * }
4354
4515
  * })
4355
4516
  */
@@ -4360,7 +4521,7 @@ class JobsClient {
4360
4521
  return __awaiter(this, void 0, void 0, function* () {
4361
4522
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4362
4523
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4363
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4524
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4364
4525
  const _response = yield core.fetcher({
4365
4526
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/mai-image-2-5"),
4366
4527
  method: "POST",
@@ -4408,7 +4569,7 @@ class JobsClient {
4408
4569
  });
4409
4570
  }
4410
4571
  /**
4411
- * MiniMax H3 video generation from text, frames, or references.
4572
+ * One model for every starting point — a prompt, a keyframe pair, or reference images that keep a subject consistent.
4412
4573
  *
4413
4574
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4414
4575
  *
@@ -4430,7 +4591,7 @@ class JobsClient {
4430
4591
  * await client.jobs.submitMinimaxH3({
4431
4592
  * input: {
4432
4593
  * prompt: "prompt",
4433
- * resolution: "768p",
4594
+ * resolution: "480p",
4434
4595
  * duration_ms: 1
4435
4596
  * }
4436
4597
  * })
@@ -4442,7 +4603,7 @@ class JobsClient {
4442
4603
  return __awaiter(this, void 0, void 0, function* () {
4443
4604
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4444
4605
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4445
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4606
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4446
4607
  const _response = yield core.fetcher({
4447
4608
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/minimax-h3"),
4448
4609
  method: "POST",
@@ -4512,8 +4673,7 @@ class JobsClient {
4512
4673
  * await client.jobs.submitMinimaxHailuo02({
4513
4674
  * input: {
4514
4675
  * prompt: "prompt",
4515
- * duration_ms: 1,
4516
- * quality: "standard"
4676
+ * duration_ms: 1
4517
4677
  * }
4518
4678
  * })
4519
4679
  */
@@ -4524,7 +4684,7 @@ class JobsClient {
4524
4684
  return __awaiter(this, void 0, void 0, function* () {
4525
4685
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4526
4686
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4527
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4687
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4528
4688
  const _response = yield core.fetcher({
4529
4689
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/minimax-hailuo-02"),
4530
4690
  method: "POST",
@@ -4594,8 +4754,7 @@ class JobsClient {
4594
4754
  * await client.jobs.submitMinimaxHailuo23({
4595
4755
  * input: {
4596
4756
  * prompt: "prompt",
4597
- * duration_ms: 1,
4598
- * quality: "standard"
4757
+ * duration_ms: 1
4599
4758
  * }
4600
4759
  * })
4601
4760
  */
@@ -4606,7 +4765,7 @@ class JobsClient {
4606
4765
  return __awaiter(this, void 0, void 0, function* () {
4607
4766
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4608
4767
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4609
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4768
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4610
4769
  const _response = yield core.fetcher({
4611
4770
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/minimax-hailuo-23"),
4612
4771
  method: "POST",
@@ -4654,7 +4813,7 @@ class JobsClient {
4654
4813
  });
4655
4814
  }
4656
4815
  /**
4657
- * The brand new HD model. Ultimate Similarity, Ultra-High Quality. Supports 40+ languages including Tamil, Hebrew, Swedish, etc.
4816
+ * The high-fidelity tier closest voice likeness, across 40+ languages.
4658
4817
  *
4659
4818
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4660
4819
  *
@@ -4687,7 +4846,7 @@ class JobsClient {
4687
4846
  return __awaiter(this, void 0, void 0, function* () {
4688
4847
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4689
4848
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4690
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4849
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4691
4850
  const _response = yield core.fetcher({
4692
4851
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/minimax-speech-25-hd-preview"),
4693
4852
  method: "POST",
@@ -4735,7 +4894,7 @@ class JobsClient {
4735
4894
  });
4736
4895
  }
4737
4896
  /**
4738
- * The brand new Turbo model. Ultimate Value, 40 Languages. Major improvements to natural English expression.
4897
+ * The value tier natural English delivery across 40+ languages, at a lower rate.
4739
4898
  *
4740
4899
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4741
4900
  *
@@ -4768,7 +4927,7 @@ class JobsClient {
4768
4927
  return __awaiter(this, void 0, void 0, function* () {
4769
4928
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4770
4929
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4771
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4930
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4772
4931
  const _response = yield core.fetcher({
4773
4932
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/minimax-speech-25-turbo-preview"),
4774
4933
  method: "POST",
@@ -4816,7 +4975,7 @@ class JobsClient {
4816
4975
  });
4817
4976
  }
4818
4977
  /**
4819
- * Best in class image model with reference image support and ultra high quality generations for professional grade images.
4978
+ * Reference-guided stills that hold a character or product across a set.
4820
4979
  *
4821
4980
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4822
4981
  *
@@ -4850,7 +5009,7 @@ class JobsClient {
4850
5009
  return __awaiter(this, void 0, void 0, function* () {
4851
5010
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4852
5011
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4853
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5012
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4854
5013
  const _response = yield core.fetcher({
4855
5014
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/nano-banana"),
4856
5015
  method: "POST",
@@ -4898,7 +5057,7 @@ class JobsClient {
4898
5057
  });
4899
5058
  }
4900
5059
  /**
4901
- * Gemini 3.1 Flash native image generation with improved quality and advanced features including multi-subject reference and high-fidelity style transfer
5060
+ * Multi-subject stills up to 4K hand it several references and it keeps each one recognizable.
4902
5061
  *
4903
5062
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4904
5063
  *
@@ -4920,8 +5079,8 @@ class JobsClient {
4920
5079
  * await client.jobs.submitNanoBanana2({
4921
5080
  * input: {
4922
5081
  * prompt: "prompt",
4923
- * aspect_ratio: "16:9",
4924
- * resolution: "1K"
5082
+ * aspect_ratio: "adaptive",
5083
+ * resolution: "512px"
4925
5084
  * }
4926
5085
  * })
4927
5086
  */
@@ -4932,7 +5091,7 @@ class JobsClient {
4932
5091
  return __awaiter(this, void 0, void 0, function* () {
4933
5092
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
4934
5093
  const _authRequest = yield this._options.authProvider.getAuthRequest();
4935
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5094
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
4936
5095
  const _response = yield core.fetcher({
4937
5096
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/nano-banana-2"),
4938
5097
  method: "POST",
@@ -4980,7 +5139,7 @@ class JobsClient {
4980
5139
  });
4981
5140
  }
4982
5141
  /**
4983
- * Gemini 3 Pro native image generation with advanced multimodal understanding and richer visuals
5142
+ * The reasoning-heavy tier dense prompts, mixed references, and style transfer up to 4K.
4984
5143
  *
4985
5144
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
4986
5145
  *
@@ -5002,7 +5161,7 @@ class JobsClient {
5002
5161
  * await client.jobs.submitNanoBananaPro({
5003
5162
  * input: {
5004
5163
  * prompt: "prompt",
5005
- * aspect_ratio: "16:9",
5164
+ * aspect_ratio: "adaptive",
5006
5165
  * resolution: "1K"
5007
5166
  * }
5008
5167
  * })
@@ -5014,7 +5173,7 @@ class JobsClient {
5014
5173
  return __awaiter(this, void 0, void 0, function* () {
5015
5174
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5016
5175
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5017
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5176
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5018
5177
  const _response = yield core.fetcher({
5019
5178
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/nano-banana-pro"),
5020
5179
  method: "POST",
@@ -5102,7 +5261,7 @@ class JobsClient {
5102
5261
  return __awaiter(this, void 0, void 0, function* () {
5103
5262
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5104
5263
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5105
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5264
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5106
5265
  const _response = yield core.fetcher({
5107
5266
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/omnihuman-15"),
5108
5267
  method: "POST",
@@ -5150,7 +5309,7 @@ class JobsClient {
5150
5309
  });
5151
5310
  }
5152
5311
  /**
5153
- * PixVerse V6 text-to-video with native audio and 1080p output up to 15 seconds
5312
+ * Stylized 1080p clips up to 15 seconds, with native audio.
5154
5313
  *
5155
5314
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
5156
5315
  *
@@ -5184,7 +5343,7 @@ class JobsClient {
5184
5343
  return __awaiter(this, void 0, void 0, function* () {
5185
5344
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5186
5345
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5187
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5346
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5188
5347
  const _response = yield core.fetcher({
5189
5348
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/pixverse-v6"),
5190
5349
  method: "POST",
@@ -5255,8 +5414,7 @@ class JobsClient {
5255
5414
  * input: {
5256
5415
  * prompt: "prompt",
5257
5416
  * aspect_ratio: "16:9",
5258
- * resolution: "540p",
5259
- * quality: "standard"
5417
+ * resolution: "540p"
5260
5418
  * }
5261
5419
  * })
5262
5420
  */
@@ -5267,7 +5425,7 @@ class JobsClient {
5267
5425
  return __awaiter(this, void 0, void 0, function* () {
5268
5426
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5269
5427
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5270
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5428
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5271
5429
  const _response = yield core.fetcher({
5272
5430
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/qwen-image-2"),
5273
5431
  method: "POST",
@@ -5349,7 +5507,7 @@ class JobsClient {
5349
5507
  return __awaiter(this, void 0, void 0, function* () {
5350
5508
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5351
5509
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5352
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5510
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5353
5511
  const _response = yield core.fetcher({
5354
5512
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/recraft-v3"),
5355
5513
  method: "POST",
@@ -5430,7 +5588,7 @@ class JobsClient {
5430
5588
  return __awaiter(this, void 0, void 0, function* () {
5431
5589
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5432
5590
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5433
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5591
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5434
5592
  const _response = yield core.fetcher({
5435
5593
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/reve-21"),
5436
5594
  method: "POST",
@@ -5515,7 +5673,7 @@ class JobsClient {
5515
5673
  return __awaiter(this, void 0, void 0, function* () {
5516
5674
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5517
5675
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5518
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5676
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5519
5677
  const _response = yield core.fetcher({
5520
5678
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/reve-21-edit"),
5521
5679
  method: "POST",
@@ -5600,7 +5758,7 @@ class JobsClient {
5600
5758
  return __awaiter(this, void 0, void 0, function* () {
5601
5759
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5602
5760
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5603
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5761
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5604
5762
  const _response = yield core.fetcher({
5605
5763
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/reve-21-remix"),
5606
5764
  method: "POST",
@@ -5682,7 +5840,7 @@ class JobsClient {
5682
5840
  return __awaiter(this, void 0, void 0, function* () {
5683
5841
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5684
5842
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5685
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5843
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5686
5844
  const _response = yield core.fetcher({
5687
5845
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/sana"),
5688
5846
  method: "POST",
@@ -5730,7 +5888,7 @@ class JobsClient {
5730
5888
  });
5731
5889
  }
5732
5890
  /**
5733
- * ByteDance Seedance 1.5 Pro video generation model
5891
+ * Keyframe-driven video with native audio, from a start frame, an end frame, or both.
5734
5892
  *
5735
5893
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
5736
5894
  *
@@ -5765,7 +5923,7 @@ class JobsClient {
5765
5923
  return __awaiter(this, void 0, void 0, function* () {
5766
5924
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5767
5925
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5768
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5926
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5769
5927
  const _response = yield core.fetcher({
5770
5928
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedance-15-pro"),
5771
5929
  method: "POST",
@@ -5813,7 +5971,7 @@ class JobsClient {
5813
5971
  });
5814
5972
  }
5815
5973
  /**
5816
- * ByteDance Seedance 2.0 video generation model
5974
+ * Reference-driven video up to 4K with native audio — hold a look across shots with reference images, clips, or audio.
5817
5975
  *
5818
5976
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
5819
5977
  *
@@ -5837,8 +5995,7 @@ class JobsClient {
5837
5995
  * prompt: "prompt",
5838
5996
  * aspect_ratio: "1:1",
5839
5997
  * resolution: "4K",
5840
- * duration_ms: 1,
5841
- * quality: "standard"
5998
+ * duration_ms: 1
5842
5999
  * }
5843
6000
  * })
5844
6001
  */
@@ -5849,7 +6006,7 @@ class JobsClient {
5849
6006
  return __awaiter(this, void 0, void 0, function* () {
5850
6007
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5851
6008
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5852
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6009
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5853
6010
  const _response = yield core.fetcher({
5854
6011
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedance-20"),
5855
6012
  method: "POST",
@@ -5897,7 +6054,7 @@ class JobsClient {
5897
6054
  });
5898
6055
  }
5899
6056
  /**
5900
- * ByteDance Seedance 2.0 Mini video generation model
6057
+ * The lightest Seedance tier short reference-driven clips at 480p and 720p.
5901
6058
  *
5902
6059
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
5903
6060
  *
@@ -5932,7 +6089,7 @@ class JobsClient {
5932
6089
  return __awaiter(this, void 0, void 0, function* () {
5933
6090
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
5934
6091
  const _authRequest = yield this._options.authProvider.getAuthRequest();
5935
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6092
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
5936
6093
  const _response = yield core.fetcher({
5937
6094
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedance-20-mini"),
5938
6095
  method: "POST",
@@ -5980,7 +6137,7 @@ class JobsClient {
5980
6137
  });
5981
6138
  }
5982
6139
  /**
5983
- * ByteDance Seedance 2.5 video generation model
6140
+ * Reference-driven video up to 30 seconds at 1080p, with native audio.
5984
6141
  *
5985
6142
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
5986
6143
  *
@@ -6015,7 +6172,7 @@ class JobsClient {
6015
6172
  return __awaiter(this, void 0, void 0, function* () {
6016
6173
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6017
6174
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6018
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6175
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6019
6176
  const _response = yield core.fetcher({
6020
6177
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedance-25"),
6021
6178
  method: "POST",
@@ -6063,7 +6220,7 @@ class JobsClient {
6063
6220
  });
6064
6221
  }
6065
6222
  /**
6066
- * Ultra-fast pro grade image model, pairing reference image support with high quality output for professional visuals
6223
+ * Quick, reference-aware stills for professional work on a tight turnaround.
6067
6224
  *
6068
6225
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
6069
6226
  *
@@ -6097,7 +6254,7 @@ class JobsClient {
6097
6254
  return __awaiter(this, void 0, void 0, function* () {
6098
6255
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6099
6256
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6100
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6257
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6101
6258
  const _response = yield core.fetcher({
6102
6259
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedream-40"),
6103
6260
  method: "POST",
@@ -6145,7 +6302,7 @@ class JobsClient {
6145
6302
  });
6146
6303
  }
6147
6304
  /**
6148
- * Latest Seedream with enhanced detail, refined composition, and multi-reference image support for professional visuals.
6305
+ * Finer detail and steadier composition than 4.0, with support for several references at once.
6149
6306
  *
6150
6307
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
6151
6308
  *
@@ -6179,7 +6336,7 @@ class JobsClient {
6179
6336
  return __awaiter(this, void 0, void 0, function* () {
6180
6337
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6181
6338
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6182
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6339
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6183
6340
  const _response = yield core.fetcher({
6184
6341
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedream-45"),
6185
6342
  method: "POST",
@@ -6227,7 +6384,7 @@ class JobsClient {
6227
6384
  });
6228
6385
  }
6229
6386
  /**
6230
- * ByteDance Seedream 5.0 Lite Text-to-Image
6387
+ * Sharp 2K and 4K stills from a prompt, at the light tier's price.
6231
6388
  *
6232
6389
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
6233
6390
  *
@@ -6261,7 +6418,7 @@ class JobsClient {
6261
6418
  return __awaiter(this, void 0, void 0, function* () {
6262
6419
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6263
6420
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6264
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6421
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6265
6422
  const _response = yield core.fetcher({
6266
6423
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedream-50-lite"),
6267
6424
  method: "POST",
@@ -6309,7 +6466,7 @@ class JobsClient {
6309
6466
  });
6310
6467
  }
6311
6468
  /**
6312
- * ByteDance Seedream 5.0 Pro Text-to-Image
6469
+ * The top Seedream tier layer-separable output and strong multilingual in-image text, up to 2K.
6313
6470
  *
6314
6471
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
6315
6472
  *
@@ -6343,7 +6500,7 @@ class JobsClient {
6343
6500
  return __awaiter(this, void 0, void 0, function* () {
6344
6501
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6345
6502
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6346
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6503
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6347
6504
  const _response = yield core.fetcher({
6348
6505
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/seedream-50-pro"),
6349
6506
  method: "POST",
@@ -6426,7 +6583,7 @@ class JobsClient {
6426
6583
  return __awaiter(this, void 0, void 0, function* () {
6427
6584
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6428
6585
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6429
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6586
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6430
6587
  const _response = yield core.fetcher({
6431
6588
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/sora-2-pro"),
6432
6589
  method: "POST",
@@ -6510,7 +6667,7 @@ class JobsClient {
6510
6667
  return __awaiter(this, void 0, void 0, function* () {
6511
6668
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6512
6669
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6513
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6670
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6514
6671
  const _response = yield core.fetcher({
6515
6672
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-image-upscaler"),
6516
6673
  method: "POST",
@@ -6594,7 +6751,7 @@ class JobsClient {
6594
6751
  return __awaiter(this, void 0, void 0, function* () {
6595
6752
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6596
6753
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6597
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6754
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6598
6755
  const _response = yield core.fetcher({
6599
6756
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-image-upscaler-wonder"),
6600
6757
  method: "POST",
@@ -6678,7 +6835,7 @@ class JobsClient {
6678
6835
  return __awaiter(this, void 0, void 0, function* () {
6679
6836
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6680
6837
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6681
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6838
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6682
6839
  const _response = yield core.fetcher({
6683
6840
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-video-upscaler"),
6684
6841
  method: "POST",
@@ -6761,7 +6918,7 @@ class JobsClient {
6761
6918
  return __awaiter(this, void 0, void 0, function* () {
6762
6919
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6763
6920
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6764
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6921
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6765
6922
  const _response = yield core.fetcher({
6766
6923
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-video-upscaler-hyperion-2-5"),
6767
6924
  method: "POST",
@@ -6845,7 +7002,7 @@ class JobsClient {
6845
7002
  return __awaiter(this, void 0, void 0, function* () {
6846
7003
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6847
7004
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6848
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7005
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6849
7006
  const _response = yield core.fetcher({
6850
7007
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-video-upscaler-starlight-fast"),
6851
7008
  method: "POST",
@@ -6929,7 +7086,7 @@ class JobsClient {
6929
7086
  return __awaiter(this, void 0, void 0, function* () {
6930
7087
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
6931
7088
  const _authRequest = yield this._options.authProvider.getAuthRequest();
6932
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7089
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
6933
7090
  const _response = yield core.fetcher({
6934
7091
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-video-upscaler-starlight-hq"),
6935
7092
  method: "POST",
@@ -7013,7 +7170,7 @@ class JobsClient {
7013
7170
  return __awaiter(this, void 0, void 0, function* () {
7014
7171
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7015
7172
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7016
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7173
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7017
7174
  const _response = yield core.fetcher({
7018
7175
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/topaz-video-upscaler-starlight-precise"),
7019
7176
  method: "POST",
@@ -7103,7 +7260,7 @@ class JobsClient {
7103
7260
  return __awaiter(this, void 0, void 0, function* () {
7104
7261
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7105
7262
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7106
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7263
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7107
7264
  const _response = yield core.fetcher({
7108
7265
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/veed-fabric-10"),
7109
7266
  method: "POST",
@@ -7186,7 +7343,7 @@ class JobsClient {
7186
7343
  return __awaiter(this, void 0, void 0, function* () {
7187
7344
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7188
7345
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7189
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7346
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7190
7347
  const _response = yield core.fetcher({
7191
7348
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/veed-video-background-removal"),
7192
7349
  method: "POST",
@@ -7234,7 +7391,7 @@ class JobsClient {
7234
7391
  });
7235
7392
  }
7236
7393
  /**
7237
- * The current state of the art in video generation
7394
+ * Google's earlier cinematic generator, kept for existing workflows.
7238
7395
  *
7239
7396
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
7240
7397
  *
@@ -7266,7 +7423,7 @@ class JobsClient {
7266
7423
  return __awaiter(this, void 0, void 0, function* () {
7267
7424
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7268
7425
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7269
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7426
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7270
7427
  const _response = yield core.fetcher({
7271
7428
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/veo-2"),
7272
7429
  method: "POST",
@@ -7338,8 +7495,7 @@ class JobsClient {
7338
7495
  * prompt: "prompt",
7339
7496
  * aspect_ratio: "16:9",
7340
7497
  * resolution: "720p",
7341
- * duration_ms: 1,
7342
- * quality: "standard"
7498
+ * duration_ms: 1
7343
7499
  * }
7344
7500
  * })
7345
7501
  */
@@ -7350,7 +7506,7 @@ class JobsClient {
7350
7506
  return __awaiter(this, void 0, void 0, function* () {
7351
7507
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7352
7508
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7353
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7509
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7354
7510
  const _response = yield core.fetcher({
7355
7511
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/veo-3"),
7356
7512
  method: "POST",
@@ -7421,8 +7577,7 @@ class JobsClient {
7421
7577
  * input: {
7422
7578
  * prompt: "prompt",
7423
7579
  * aspect_ratio: "16:9",
7424
- * resolution: "720p",
7425
- * quality: "standard"
7580
+ * resolution: "720p"
7426
7581
  * }
7427
7582
  * })
7428
7583
  */
@@ -7433,7 +7588,7 @@ class JobsClient {
7433
7588
  return __awaiter(this, void 0, void 0, function* () {
7434
7589
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7435
7590
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7436
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7591
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7437
7592
  const _response = yield core.fetcher({
7438
7593
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/veo-31"),
7439
7594
  method: "POST",
@@ -7481,7 +7636,7 @@ class JobsClient {
7481
7636
  });
7482
7637
  }
7483
7638
  /**
7484
- * Vidu Q3 video with native dialogue and sound, up to 16 seconds from a text prompt, from a start frame, or between a start and end frame
7639
+ * The longest clips in the catalog up to 16 seconds with native dialogue and sound, from a text prompt, from a start frame, or between a start and end frame
7485
7640
  *
7486
7641
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
7487
7642
  *
@@ -7504,8 +7659,7 @@ class JobsClient {
7504
7659
  * input: {
7505
7660
  * prompt: "prompt",
7506
7661
  * resolution: "540p",
7507
- * duration_ms: 1,
7508
- * quality: "standard"
7662
+ * duration_ms: 1
7509
7663
  * }
7510
7664
  * })
7511
7665
  */
@@ -7516,7 +7670,7 @@ class JobsClient {
7516
7670
  return __awaiter(this, void 0, void 0, function* () {
7517
7671
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7518
7672
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7519
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7673
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7520
7674
  const _response = yield core.fetcher({
7521
7675
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/vidu-q3"),
7522
7676
  method: "POST",
@@ -7564,7 +7718,7 @@ class JobsClient {
7564
7718
  });
7565
7719
  }
7566
7720
  /**
7567
- * Vidu Q3 reference-to-video keeping up to four subjects consistent
7721
+ * Keep up to four subjects consistent across a clip from reference images.
7568
7722
  *
7569
7723
  * Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
7570
7724
  *
@@ -7603,7 +7757,7 @@ class JobsClient {
7603
7757
  return __awaiter(this, void 0, void 0, function* () {
7604
7758
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7605
7759
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7606
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7760
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7607
7761
  const _response = yield core.fetcher({
7608
7762
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/vidu-q3-reference"),
7609
7763
  method: "POST",
@@ -7685,7 +7839,7 @@ class JobsClient {
7685
7839
  return __awaiter(this, void 0, void 0, function* () {
7686
7840
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7687
7841
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7688
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7842
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7689
7843
  const _response = yield core.fetcher({
7690
7844
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/wan-2-7"),
7691
7845
  method: "POST",
@@ -7757,8 +7911,7 @@ class JobsClient {
7757
7911
  * prompt: "prompt",
7758
7912
  * aspect_ratio: "adaptive",
7759
7913
  * resolution: "480p",
7760
- * duration_ms: 1,
7761
- * quality: "standard"
7914
+ * duration_ms: 1
7762
7915
  * }
7763
7916
  * })
7764
7917
  */
@@ -7769,7 +7922,7 @@ class JobsClient {
7769
7922
  return __awaiter(this, void 0, void 0, function* () {
7770
7923
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7771
7924
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7772
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7925
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7773
7926
  const _response = yield core.fetcher({
7774
7927
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "models/wan-3-0"),
7775
7928
  method: "POST",
@@ -7852,7 +8005,7 @@ class JobsClient {
7852
8005
  return __awaiter(this, void 0, void 0, function* () {
7853
8006
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
7854
8007
  const _authRequest = yield this._options.authProvider.getAuthRequest();
7855
- const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
8008
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.16.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
7856
8009
  const _response = yield core.fetcher({
7857
8010
  url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, `models/${core.url.encodePathParam(model)}`),
7858
8011
  method: "POST",