@hedra/sdk 2.0.0 → 3.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 (310) 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.js +2 -2
  4. package/dist/cjs/api/resources/files/client/Client.js +1 -1
  5. package/dist/cjs/api/resources/jobs/client/Client.d.ts +31 -2
  6. package/dist/cjs/api/resources/jobs/client/Client.js +164 -83
  7. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.ts +0 -1
  8. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.ts +0 -1
  9. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeedVideoBackgroundRemoval.d.ts +19 -0
  10. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeedVideoBackgroundRemoval.js +3 -0
  11. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +1 -0
  12. package/dist/cjs/api/resources/keys/client/Client.js +4 -4
  13. package/dist/cjs/api/resources/logDrains/client/Client.js +6 -6
  14. package/dist/cjs/api/resources/models/client/Client.js +6 -6
  15. package/dist/cjs/api/resources/tokens/client/Client.js +1 -1
  16. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -7
  17. package/dist/cjs/api/types/InputElevenlabsFlashMultilingualV2.d.ts +3 -3
  18. package/dist/cjs/api/types/InputElevenlabsFlashV2.d.ts +3 -3
  19. package/dist/cjs/api/types/InputElevenlabsMultilingualV2.d.ts +3 -3
  20. package/dist/cjs/api/types/InputElevenlabsV3.d.ts +3 -3
  21. package/dist/cjs/api/types/InputFlux2Flex.d.ts +3 -3
  22. package/dist/cjs/api/types/InputFlux2Klein9B.d.ts +3 -3
  23. package/dist/cjs/api/types/InputFlux2Max.d.ts +1 -1
  24. package/dist/cjs/api/types/InputFlux2Pro.d.ts +1 -1
  25. package/dist/cjs/api/types/InputFlux3.d.ts +2 -2
  26. package/dist/cjs/api/types/InputFlux3EndImage.d.ts +1 -1
  27. package/dist/cjs/api/types/InputFlux3StartImage.d.ts +1 -1
  28. package/dist/cjs/api/types/InputFluxDev.d.ts +2 -2
  29. package/dist/cjs/api/types/InputFluxKontextMax.d.ts +1 -1
  30. package/dist/cjs/api/types/InputFluxKontextPro.d.ts +1 -1
  31. package/dist/cjs/api/types/InputGeminiOmniFlash.d.ts +4 -4
  32. package/dist/cjs/api/types/InputGeminiOmniFlashSourceVideo.d.ts +1 -1
  33. package/dist/cjs/api/types/InputGeminiOmniFlashStartImage.d.ts +1 -1
  34. package/dist/cjs/api/types/InputGptImage15.d.ts +2 -2
  35. package/dist/cjs/api/types/InputGptImage2.d.ts +2 -2
  36. package/dist/cjs/api/types/InputGrokImagine.d.ts +2 -2
  37. package/dist/cjs/api/types/InputGrokVideo.d.ts +2 -2
  38. package/dist/cjs/api/types/InputGrokVideoStartImage.d.ts +1 -1
  39. package/dist/cjs/api/types/InputHappyHorse.d.ts +4 -4
  40. package/dist/cjs/api/types/InputHappyHorseStartImage.d.ts +1 -1
  41. package/dist/cjs/api/types/InputHedraAvatar.d.ts +4 -4
  42. package/dist/cjs/api/types/InputHedraAvatarStartImage.d.ts +1 -1
  43. package/dist/cjs/api/types/InputHedraCharacter3.d.ts +4 -4
  44. package/dist/cjs/api/types/InputHedraCharacter3StartImage.d.ts +1 -1
  45. package/dist/cjs/api/types/InputHidreamO1Image.d.ts +4 -4
  46. package/dist/cjs/api/types/InputImagen4.d.ts +1 -1
  47. package/dist/cjs/api/types/InputKling16.d.ts +4 -4
  48. package/dist/cjs/api/types/InputKling16StartImage.d.ts +1 -1
  49. package/dist/cjs/api/types/InputKling21Master.d.ts +4 -4
  50. package/dist/cjs/api/types/InputKling21MasterStartImage.d.ts +1 -1
  51. package/dist/cjs/api/types/InputKling25Turbo.d.ts +4 -4
  52. package/dist/cjs/api/types/InputKling25TurboStartImage.d.ts +1 -1
  53. package/dist/cjs/api/types/InputKling26MotionControl.d.ts +3 -3
  54. package/dist/cjs/api/types/InputKling26MotionControlSourceVideo.d.ts +1 -1
  55. package/dist/cjs/api/types/InputKling26MotionControlStartImage.d.ts +1 -1
  56. package/dist/cjs/api/types/InputKling26Pro.d.ts +4 -4
  57. package/dist/cjs/api/types/InputKling26ProStartImage.d.ts +1 -1
  58. package/dist/cjs/api/types/InputKlingAiAvatarV2.d.ts +3 -3
  59. package/dist/cjs/api/types/InputKlingAiAvatarV2Audio.d.ts +1 -1
  60. package/dist/cjs/api/types/InputKlingAiAvatarV2StartImage.d.ts +1 -1
  61. package/dist/cjs/api/types/InputKlingO1.d.ts +4 -4
  62. package/dist/cjs/api/types/InputKlingO1EndImage.d.ts +1 -1
  63. package/dist/cjs/api/types/InputKlingO1StartImage.d.ts +1 -1
  64. package/dist/cjs/api/types/InputKlingO3.d.ts +33 -11
  65. package/dist/cjs/api/types/InputKlingO3.js +5 -0
  66. package/dist/cjs/api/types/InputKlingO3Edit.d.ts +3 -3
  67. package/dist/cjs/api/types/InputKlingO3EditSourceVideo.d.ts +1 -1
  68. package/dist/cjs/api/types/InputKlingO3EndImage.d.ts +1 -1
  69. package/dist/cjs/api/types/InputKlingO3Reference.d.ts +3 -3
  70. package/dist/cjs/api/types/InputKlingO3ReferenceSourceVideo.d.ts +1 -1
  71. package/dist/cjs/api/types/InputKlingO3StartImage.d.ts +1 -1
  72. package/dist/cjs/api/types/InputKlingV3.d.ts +34 -12
  73. package/dist/cjs/api/types/InputKlingV3.js +5 -0
  74. package/dist/cjs/api/types/InputKlingV3EndImage.d.ts +1 -1
  75. package/dist/cjs/api/types/InputKlingV3MotionControl.d.ts +3 -3
  76. package/dist/cjs/api/types/InputKlingV3MotionControlSourceVideo.d.ts +1 -1
  77. package/dist/cjs/api/types/InputKlingV3MotionControlStartImage.d.ts +1 -1
  78. package/dist/cjs/api/types/InputKlingV3StartImage.d.ts +1 -1
  79. package/dist/cjs/api/types/InputLtx23.d.ts +3 -3
  80. package/dist/cjs/api/types/InputLtx23EndImage.d.ts +1 -1
  81. package/dist/cjs/api/types/InputLtx23StartImage.d.ts +1 -1
  82. package/dist/cjs/api/types/InputLumaRay32.d.ts +1 -1
  83. package/dist/cjs/api/types/InputMaiImage25.d.ts +2 -2
  84. package/dist/cjs/api/types/InputMinimaxH3.d.ts +6 -6
  85. package/dist/cjs/api/types/InputMinimaxH3EndImage.d.ts +1 -1
  86. package/dist/cjs/api/types/InputMinimaxH3StartImage.d.ts +1 -1
  87. package/dist/cjs/api/types/InputMinimaxHailuo02.d.ts +3 -3
  88. package/dist/cjs/api/types/InputMinimaxHailuo02EndImage.d.ts +1 -1
  89. package/dist/cjs/api/types/InputMinimaxHailuo02StartImage.d.ts +1 -1
  90. package/dist/cjs/api/types/InputMinimaxHailuo23.d.ts +2 -2
  91. package/dist/cjs/api/types/InputMinimaxHailuo23StartImage.d.ts +1 -1
  92. package/dist/cjs/api/types/InputMinimaxSpeech25HdPreview.d.ts +3 -3
  93. package/dist/cjs/api/types/InputMinimaxSpeech25TurboPreview.d.ts +3 -3
  94. package/dist/cjs/api/types/InputNanoBanana.d.ts +1 -1
  95. package/dist/cjs/api/types/InputNanoBanana2.d.ts +1 -1
  96. package/dist/cjs/api/types/InputNanoBananaPro.d.ts +1 -1
  97. package/dist/cjs/api/types/InputOmnihuman15.d.ts +2 -2
  98. package/dist/cjs/api/types/InputOmnihuman15Audio.d.ts +1 -1
  99. package/dist/cjs/api/types/InputOmnihuman15StartImage.d.ts +1 -1
  100. package/dist/cjs/api/types/InputPixverseV6.d.ts +3 -3
  101. package/dist/cjs/api/types/InputPixverseV6StartImage.d.ts +1 -1
  102. package/dist/cjs/api/types/InputQwenImage2.d.ts +4 -4
  103. package/dist/cjs/api/types/InputRecraftV3.d.ts +1 -1
  104. package/dist/cjs/api/types/InputReve21.d.ts +1 -1
  105. package/dist/cjs/api/types/InputReve21Edit.d.ts +2 -2
  106. package/dist/cjs/api/types/InputReve21Remix.d.ts +2 -2
  107. package/dist/cjs/api/types/InputSana.d.ts +2 -2
  108. package/dist/cjs/api/types/InputSeedance15Pro.d.ts +3 -3
  109. package/dist/cjs/api/types/InputSeedance15ProEndImage.d.ts +1 -1
  110. package/dist/cjs/api/types/InputSeedance15ProStartImage.d.ts +1 -1
  111. package/dist/cjs/api/types/InputSeedance20.d.ts +5 -5
  112. package/dist/cjs/api/types/InputSeedance20EndImage.d.ts +1 -1
  113. package/dist/cjs/api/types/InputSeedance20Mini.d.ts +5 -5
  114. package/dist/cjs/api/types/InputSeedance20MiniEndImage.d.ts +1 -1
  115. package/dist/cjs/api/types/InputSeedance20MiniStartImage.d.ts +1 -1
  116. package/dist/cjs/api/types/InputSeedance20StartImage.d.ts +1 -1
  117. package/dist/cjs/api/types/InputSeedance25.d.ts +6 -5
  118. package/dist/cjs/api/types/InputSeedance25.js +1 -0
  119. package/dist/cjs/api/types/InputSeedance25EndImage.d.ts +1 -1
  120. package/dist/cjs/api/types/InputSeedance25StartImage.d.ts +1 -1
  121. package/dist/cjs/api/types/InputSeedream40.d.ts +1 -1
  122. package/dist/cjs/api/types/InputSeedream45.d.ts +1 -1
  123. package/dist/cjs/api/types/InputSeedream50Lite.d.ts +1 -1
  124. package/dist/cjs/api/types/InputSeedream50Pro.d.ts +1 -1
  125. package/dist/cjs/api/types/InputSora2Pro.d.ts +2 -2
  126. package/dist/cjs/api/types/InputSora2ProStartImage.d.ts +1 -1
  127. package/dist/cjs/api/types/InputVeedFabric10.d.ts +2 -2
  128. package/dist/cjs/api/types/InputVeedFabric10Audio.d.ts +1 -1
  129. package/dist/cjs/api/types/InputVeedFabric10StartImage.d.ts +1 -1
  130. package/dist/cjs/api/types/InputVeedVideoBackgroundRemoval.d.ts +12 -0
  131. package/dist/cjs/api/types/InputVeedVideoBackgroundRemoval.js +3 -0
  132. package/dist/cjs/api/types/InputVeedVideoBackgroundRemovalSourceVideo.d.ts +23 -0
  133. package/dist/cjs/api/types/InputVeedVideoBackgroundRemovalSourceVideo.js +3 -0
  134. package/dist/cjs/api/types/InputVeo2.d.ts +1 -1
  135. package/dist/cjs/api/types/InputVeo2StartImage.d.ts +1 -1
  136. package/dist/cjs/api/types/InputVeo3.d.ts +2 -2
  137. package/dist/cjs/api/types/InputVeo31.d.ts +5 -5
  138. package/dist/cjs/api/types/InputVeo31EndImage.d.ts +1 -1
  139. package/dist/cjs/api/types/InputVeo31SourceVideo.d.ts +1 -1
  140. package/dist/cjs/api/types/InputVeo31StartImage.d.ts +1 -1
  141. package/dist/cjs/api/types/InputVeo3StartImage.d.ts +1 -1
  142. package/dist/cjs/api/types/InputViduQ3.d.ts +3 -3
  143. package/dist/cjs/api/types/InputViduQ3EndImage.d.ts +1 -1
  144. package/dist/cjs/api/types/InputViduQ3Reference.d.ts +2 -2
  145. package/dist/cjs/api/types/InputViduQ3StartImage.d.ts +1 -1
  146. package/dist/cjs/api/types/InputWan27.d.ts +6 -6
  147. package/dist/cjs/api/types/InputWan27EndImage.d.ts +1 -1
  148. package/dist/cjs/api/types/InputWan27StartImage.d.ts +1 -1
  149. package/dist/cjs/api/types/ModelDetail.d.ts +2 -0
  150. package/dist/cjs/api/types/ModelSummary.d.ts +2 -0
  151. package/dist/cjs/api/types/index.d.ts +2 -0
  152. package/dist/cjs/api/types/index.js +2 -0
  153. package/dist/cjs/version.d.ts +1 -1
  154. package/dist/cjs/version.js +1 -1
  155. package/dist/esm/BaseClient.d.mts +2 -2
  156. package/dist/esm/BaseClient.mjs +3 -3
  157. package/dist/esm/api/resources/billing/client/Client.mjs +2 -2
  158. package/dist/esm/api/resources/files/client/Client.mjs +1 -1
  159. package/dist/esm/api/resources/jobs/client/Client.d.mts +31 -2
  160. package/dist/esm/api/resources/jobs/client/Client.mjs +164 -83
  161. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.mts +0 -1
  162. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.mts +0 -1
  163. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeedVideoBackgroundRemoval.d.mts +19 -0
  164. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeedVideoBackgroundRemoval.mjs +2 -0
  165. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +1 -0
  166. package/dist/esm/api/resources/keys/client/Client.mjs +4 -4
  167. package/dist/esm/api/resources/logDrains/client/Client.mjs +6 -6
  168. package/dist/esm/api/resources/models/client/Client.mjs +6 -6
  169. package/dist/esm/api/resources/tokens/client/Client.mjs +1 -1
  170. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -7
  171. package/dist/esm/api/types/InputElevenlabsFlashMultilingualV2.d.mts +3 -3
  172. package/dist/esm/api/types/InputElevenlabsFlashV2.d.mts +3 -3
  173. package/dist/esm/api/types/InputElevenlabsMultilingualV2.d.mts +3 -3
  174. package/dist/esm/api/types/InputElevenlabsV3.d.mts +3 -3
  175. package/dist/esm/api/types/InputFlux2Flex.d.mts +3 -3
  176. package/dist/esm/api/types/InputFlux2Klein9B.d.mts +3 -3
  177. package/dist/esm/api/types/InputFlux2Max.d.mts +1 -1
  178. package/dist/esm/api/types/InputFlux2Pro.d.mts +1 -1
  179. package/dist/esm/api/types/InputFlux3.d.mts +2 -2
  180. package/dist/esm/api/types/InputFlux3EndImage.d.mts +1 -1
  181. package/dist/esm/api/types/InputFlux3StartImage.d.mts +1 -1
  182. package/dist/esm/api/types/InputFluxDev.d.mts +2 -2
  183. package/dist/esm/api/types/InputFluxKontextMax.d.mts +1 -1
  184. package/dist/esm/api/types/InputFluxKontextPro.d.mts +1 -1
  185. package/dist/esm/api/types/InputGeminiOmniFlash.d.mts +4 -4
  186. package/dist/esm/api/types/InputGeminiOmniFlashSourceVideo.d.mts +1 -1
  187. package/dist/esm/api/types/InputGeminiOmniFlashStartImage.d.mts +1 -1
  188. package/dist/esm/api/types/InputGptImage15.d.mts +2 -2
  189. package/dist/esm/api/types/InputGptImage2.d.mts +2 -2
  190. package/dist/esm/api/types/InputGrokImagine.d.mts +2 -2
  191. package/dist/esm/api/types/InputGrokVideo.d.mts +2 -2
  192. package/dist/esm/api/types/InputGrokVideoStartImage.d.mts +1 -1
  193. package/dist/esm/api/types/InputHappyHorse.d.mts +4 -4
  194. package/dist/esm/api/types/InputHappyHorseStartImage.d.mts +1 -1
  195. package/dist/esm/api/types/InputHedraAvatar.d.mts +4 -4
  196. package/dist/esm/api/types/InputHedraAvatarStartImage.d.mts +1 -1
  197. package/dist/esm/api/types/InputHedraCharacter3.d.mts +4 -4
  198. package/dist/esm/api/types/InputHedraCharacter3StartImage.d.mts +1 -1
  199. package/dist/esm/api/types/InputHidreamO1Image.d.mts +4 -4
  200. package/dist/esm/api/types/InputImagen4.d.mts +1 -1
  201. package/dist/esm/api/types/InputKling16.d.mts +4 -4
  202. package/dist/esm/api/types/InputKling16StartImage.d.mts +1 -1
  203. package/dist/esm/api/types/InputKling21Master.d.mts +4 -4
  204. package/dist/esm/api/types/InputKling21MasterStartImage.d.mts +1 -1
  205. package/dist/esm/api/types/InputKling25Turbo.d.mts +4 -4
  206. package/dist/esm/api/types/InputKling25TurboStartImage.d.mts +1 -1
  207. package/dist/esm/api/types/InputKling26MotionControl.d.mts +3 -3
  208. package/dist/esm/api/types/InputKling26MotionControlSourceVideo.d.mts +1 -1
  209. package/dist/esm/api/types/InputKling26MotionControlStartImage.d.mts +1 -1
  210. package/dist/esm/api/types/InputKling26Pro.d.mts +4 -4
  211. package/dist/esm/api/types/InputKling26ProStartImage.d.mts +1 -1
  212. package/dist/esm/api/types/InputKlingAiAvatarV2.d.mts +3 -3
  213. package/dist/esm/api/types/InputKlingAiAvatarV2Audio.d.mts +1 -1
  214. package/dist/esm/api/types/InputKlingAiAvatarV2StartImage.d.mts +1 -1
  215. package/dist/esm/api/types/InputKlingO1.d.mts +4 -4
  216. package/dist/esm/api/types/InputKlingO1EndImage.d.mts +1 -1
  217. package/dist/esm/api/types/InputKlingO1StartImage.d.mts +1 -1
  218. package/dist/esm/api/types/InputKlingO3.d.mts +33 -11
  219. package/dist/esm/api/types/InputKlingO3.mjs +5 -0
  220. package/dist/esm/api/types/InputKlingO3Edit.d.mts +3 -3
  221. package/dist/esm/api/types/InputKlingO3EditSourceVideo.d.mts +1 -1
  222. package/dist/esm/api/types/InputKlingO3EndImage.d.mts +1 -1
  223. package/dist/esm/api/types/InputKlingO3Reference.d.mts +3 -3
  224. package/dist/esm/api/types/InputKlingO3ReferenceSourceVideo.d.mts +1 -1
  225. package/dist/esm/api/types/InputKlingO3StartImage.d.mts +1 -1
  226. package/dist/esm/api/types/InputKlingV3.d.mts +34 -12
  227. package/dist/esm/api/types/InputKlingV3.mjs +5 -0
  228. package/dist/esm/api/types/InputKlingV3EndImage.d.mts +1 -1
  229. package/dist/esm/api/types/InputKlingV3MotionControl.d.mts +3 -3
  230. package/dist/esm/api/types/InputKlingV3MotionControlSourceVideo.d.mts +1 -1
  231. package/dist/esm/api/types/InputKlingV3MotionControlStartImage.d.mts +1 -1
  232. package/dist/esm/api/types/InputKlingV3StartImage.d.mts +1 -1
  233. package/dist/esm/api/types/InputLtx23.d.mts +3 -3
  234. package/dist/esm/api/types/InputLtx23EndImage.d.mts +1 -1
  235. package/dist/esm/api/types/InputLtx23StartImage.d.mts +1 -1
  236. package/dist/esm/api/types/InputLumaRay32.d.mts +1 -1
  237. package/dist/esm/api/types/InputMaiImage25.d.mts +2 -2
  238. package/dist/esm/api/types/InputMinimaxH3.d.mts +6 -6
  239. package/dist/esm/api/types/InputMinimaxH3EndImage.d.mts +1 -1
  240. package/dist/esm/api/types/InputMinimaxH3StartImage.d.mts +1 -1
  241. package/dist/esm/api/types/InputMinimaxHailuo02.d.mts +3 -3
  242. package/dist/esm/api/types/InputMinimaxHailuo02EndImage.d.mts +1 -1
  243. package/dist/esm/api/types/InputMinimaxHailuo02StartImage.d.mts +1 -1
  244. package/dist/esm/api/types/InputMinimaxHailuo23.d.mts +2 -2
  245. package/dist/esm/api/types/InputMinimaxHailuo23StartImage.d.mts +1 -1
  246. package/dist/esm/api/types/InputMinimaxSpeech25HdPreview.d.mts +3 -3
  247. package/dist/esm/api/types/InputMinimaxSpeech25TurboPreview.d.mts +3 -3
  248. package/dist/esm/api/types/InputNanoBanana.d.mts +1 -1
  249. package/dist/esm/api/types/InputNanoBanana2.d.mts +1 -1
  250. package/dist/esm/api/types/InputNanoBananaPro.d.mts +1 -1
  251. package/dist/esm/api/types/InputOmnihuman15.d.mts +2 -2
  252. package/dist/esm/api/types/InputOmnihuman15Audio.d.mts +1 -1
  253. package/dist/esm/api/types/InputOmnihuman15StartImage.d.mts +1 -1
  254. package/dist/esm/api/types/InputPixverseV6.d.mts +3 -3
  255. package/dist/esm/api/types/InputPixverseV6StartImage.d.mts +1 -1
  256. package/dist/esm/api/types/InputQwenImage2.d.mts +4 -4
  257. package/dist/esm/api/types/InputRecraftV3.d.mts +1 -1
  258. package/dist/esm/api/types/InputReve21.d.mts +1 -1
  259. package/dist/esm/api/types/InputReve21Edit.d.mts +2 -2
  260. package/dist/esm/api/types/InputReve21Remix.d.mts +2 -2
  261. package/dist/esm/api/types/InputSana.d.mts +2 -2
  262. package/dist/esm/api/types/InputSeedance15Pro.d.mts +3 -3
  263. package/dist/esm/api/types/InputSeedance15ProEndImage.d.mts +1 -1
  264. package/dist/esm/api/types/InputSeedance15ProStartImage.d.mts +1 -1
  265. package/dist/esm/api/types/InputSeedance20.d.mts +5 -5
  266. package/dist/esm/api/types/InputSeedance20EndImage.d.mts +1 -1
  267. package/dist/esm/api/types/InputSeedance20Mini.d.mts +5 -5
  268. package/dist/esm/api/types/InputSeedance20MiniEndImage.d.mts +1 -1
  269. package/dist/esm/api/types/InputSeedance20MiniStartImage.d.mts +1 -1
  270. package/dist/esm/api/types/InputSeedance20StartImage.d.mts +1 -1
  271. package/dist/esm/api/types/InputSeedance25.d.mts +6 -5
  272. package/dist/esm/api/types/InputSeedance25.mjs +1 -0
  273. package/dist/esm/api/types/InputSeedance25EndImage.d.mts +1 -1
  274. package/dist/esm/api/types/InputSeedance25StartImage.d.mts +1 -1
  275. package/dist/esm/api/types/InputSeedream40.d.mts +1 -1
  276. package/dist/esm/api/types/InputSeedream45.d.mts +1 -1
  277. package/dist/esm/api/types/InputSeedream50Lite.d.mts +1 -1
  278. package/dist/esm/api/types/InputSeedream50Pro.d.mts +1 -1
  279. package/dist/esm/api/types/InputSora2Pro.d.mts +2 -2
  280. package/dist/esm/api/types/InputSora2ProStartImage.d.mts +1 -1
  281. package/dist/esm/api/types/InputVeedFabric10.d.mts +2 -2
  282. package/dist/esm/api/types/InputVeedFabric10Audio.d.mts +1 -1
  283. package/dist/esm/api/types/InputVeedFabric10StartImage.d.mts +1 -1
  284. package/dist/esm/api/types/InputVeedVideoBackgroundRemoval.d.mts +12 -0
  285. package/dist/esm/api/types/InputVeedVideoBackgroundRemoval.mjs +2 -0
  286. package/dist/esm/api/types/InputVeedVideoBackgroundRemovalSourceVideo.d.mts +23 -0
  287. package/dist/esm/api/types/InputVeedVideoBackgroundRemovalSourceVideo.mjs +2 -0
  288. package/dist/esm/api/types/InputVeo2.d.mts +1 -1
  289. package/dist/esm/api/types/InputVeo2StartImage.d.mts +1 -1
  290. package/dist/esm/api/types/InputVeo3.d.mts +2 -2
  291. package/dist/esm/api/types/InputVeo31.d.mts +5 -5
  292. package/dist/esm/api/types/InputVeo31EndImage.d.mts +1 -1
  293. package/dist/esm/api/types/InputVeo31SourceVideo.d.mts +1 -1
  294. package/dist/esm/api/types/InputVeo31StartImage.d.mts +1 -1
  295. package/dist/esm/api/types/InputVeo3StartImage.d.mts +1 -1
  296. package/dist/esm/api/types/InputViduQ3.d.mts +3 -3
  297. package/dist/esm/api/types/InputViduQ3EndImage.d.mts +1 -1
  298. package/dist/esm/api/types/InputViduQ3Reference.d.mts +2 -2
  299. package/dist/esm/api/types/InputViduQ3StartImage.d.mts +1 -1
  300. package/dist/esm/api/types/InputWan27.d.mts +6 -6
  301. package/dist/esm/api/types/InputWan27EndImage.d.mts +1 -1
  302. package/dist/esm/api/types/InputWan27StartImage.d.mts +1 -1
  303. package/dist/esm/api/types/ModelDetail.d.mts +2 -0
  304. package/dist/esm/api/types/ModelSummary.d.mts +2 -0
  305. package/dist/esm/api/types/index.d.mts +2 -0
  306. package/dist/esm/api/types/index.mjs +2 -0
  307. package/dist/esm/version.d.mts +1 -1
  308. package/dist/esm/version.mjs +1 -1
  309. package/package.json +2 -2
  310. package/reference.md +72 -2
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * End frame (first-last-frame-to-video).
3
+ * End frame (first-last-frame-to-video). With an aspect ratio from 0.4 to 2.5 and at most 30 MB.
4
4
  */
5
5
  export type InputSeedance25EndImage =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). With an aspect ratio from 0.4 to 2.5 and at most 30 MB.
4
4
  */
5
5
  export type InputSeedance25StartImage =
6
6
  /**
@@ -17,7 +17,7 @@ export interface InputSeedream40 {
17
17
  aspect_ratio: InputSeedream40.AspectRatio;
18
18
  /** Output resolution. */
19
19
  resolution: InputSeedream40.Resolution;
20
- /** Images to edit or blend. */
20
+ /** Images to edit or blend. 1 to 14 images, each at most 30 MB. */
21
21
  images?: Hedra.InputSeedream40ImagesItem[] | undefined;
22
22
  }
23
23
  export declare namespace InputSeedream40 {
@@ -17,7 +17,7 @@ export interface InputSeedream45 {
17
17
  aspect_ratio: InputSeedream45.AspectRatio;
18
18
  /** Output resolution. */
19
19
  resolution: InputSeedream45.Resolution;
20
- /** Images to edit or blend. */
20
+ /** Images to edit or blend. 1 to 14 images, each at most 30 MB. */
21
21
  images?: Hedra.InputSeedream45ImagesItem[] | undefined;
22
22
  }
23
23
  export declare namespace InputSeedream45 {
@@ -17,7 +17,7 @@ export interface InputSeedream50Lite {
17
17
  aspect_ratio: InputSeedream50Lite.AspectRatio;
18
18
  /** Output resolution. */
19
19
  resolution: InputSeedream50Lite.Resolution;
20
- /** Images to edit or blend. */
20
+ /** Images to edit or blend. 1 to 14 images, each at most 30 MB. */
21
21
  images?: Hedra.InputSeedream50LiteImagesItem[] | undefined;
22
22
  }
23
23
  export declare namespace InputSeedream50Lite {
@@ -17,7 +17,7 @@ export interface InputSeedream50Pro {
17
17
  aspect_ratio: InputSeedream50Pro.AspectRatio;
18
18
  /** Output resolution. */
19
19
  resolution: InputSeedream50Pro.Resolution;
20
- /** Images to edit or blend. */
20
+ /** Images to edit or blend. 1 to 10 images, each at most 30 MB. */
21
21
  images?: Hedra.InputSeedream50ProImagesItem[] | undefined;
22
22
  }
23
23
  export declare namespace InputSeedream50Pro {
@@ -9,7 +9,7 @@ import type * as Hedra from "../index.js";
9
9
  export interface InputSora2Pro {
10
10
  /** Number of outputs generated per job. Only 1 is supported. */
11
11
  num_outputs?: number | undefined;
12
- /** Generation prompt. */
12
+ /** Generation prompt. At most 5000 characters. */
13
13
  prompt: string;
14
14
  /** Output aspect ratio. */
15
15
  aspect_ratio: InputSora2Pro.AspectRatio;
@@ -17,7 +17,7 @@ export interface InputSora2Pro {
17
17
  resolution: InputSora2Pro.Resolution;
18
18
  /** Duration in ms. */
19
19
  duration_ms: number;
20
- /** Start frame (image-to-video). */
20
+ /** Start frame (image-to-video). At most 10.4 MB. */
21
21
  start_image?: Hedra.InputSora2ProStartImage | undefined;
22
22
  }
23
23
  export declare namespace InputSora2Pro {
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 10.4 MB.
4
4
  */
5
5
  export type InputSora2ProStartImage =
6
6
  /**
@@ -11,9 +11,9 @@ export interface InputVeedFabric10 {
11
11
  aspect_ratio: InputVeedFabric10.AspectRatio;
12
12
  /** Output resolution. */
13
13
  resolution: InputVeedFabric10.Resolution;
14
- /** Start frame (image-to-video). */
14
+ /** Start frame (image-to-video). At most 10.4 MB. */
15
15
  start_image: Hedra.InputVeedFabric10StartImage;
16
- /** Driving audio. */
16
+ /** Driving audio. At most 104.8 MB. */
17
17
  audio: Hedra.InputVeedFabric10Audio;
18
18
  }
19
19
  export declare namespace InputVeedFabric10 {
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Driving audio.
3
+ * Driving audio. At most 104.8 MB.
4
4
  */
5
5
  export type InputVeedFabric10Audio =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 10.4 MB.
4
4
  */
5
5
  export type InputVeedFabric10StartImage =
6
6
  /**
@@ -0,0 +1,12 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `veed-video-background-removal`.
4
+ */
5
+ export interface InputVeedVideoBackgroundRemoval {
6
+ /** Number of outputs generated per job. Only 1 is supported. */
7
+ num_outputs?: number | undefined;
8
+ /** Video whose background should be made transparent. At most 120s and at most 524.2 MB. */
9
+ source_video: Hedra.InputVeedVideoBackgroundRemovalSourceVideo;
10
+ /** Optimize segmentation for a person rather than an object. */
11
+ subject_is_person?: boolean | undefined;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Video whose background should be made transparent. At most 120s and at most 524.2 MB.
4
+ */
5
+ export type InputVeedVideoBackgroundRemovalSourceVideo =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputVeedVideoBackgroundRemovalSourceVideo.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputVeedVideoBackgroundRemovalSourceVideo.Asset;
12
+ export declare namespace InputVeedVideoBackgroundRemovalSourceVideo {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,7 +17,7 @@ export interface InputVeo2 {
17
17
  resolution?: InputVeo2.Resolution | undefined;
18
18
  /** Duration in ms. */
19
19
  duration_ms?: number | undefined;
20
- /** Start frame (image-to-video). */
20
+ /** Start frame (image-to-video). At most 8 MB. */
21
21
  start_image?: Hedra.InputVeo2StartImage | undefined;
22
22
  /** What to avoid in the generated video. */
23
23
  negative_prompt?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 8 MB.
4
4
  */
5
5
  export type InputVeo2StartImage =
6
6
  /**
@@ -9,7 +9,7 @@ import type * as Hedra from "../index.js";
9
9
  export interface InputVeo3 {
10
10
  /** Number of outputs generated per job. Only 1 is supported. */
11
11
  num_outputs?: number | undefined;
12
- /** Generation prompt. */
12
+ /** Generation prompt. At most 20000 characters. */
13
13
  prompt: string;
14
14
  /** Output aspect ratio. */
15
15
  aspect_ratio: InputVeo3.AspectRatio;
@@ -19,7 +19,7 @@ export interface InputVeo3 {
19
19
  duration_ms: number;
20
20
  /** Whether to generate native audio for the video. */
21
21
  generate_audio?: boolean | undefined;
22
- /** Start frame (image-to-video). */
22
+ /** Start frame (image-to-video). At most 8 MB. */
23
23
  start_image?: Hedra.InputVeo3StartImage | undefined;
24
24
  /** What to avoid in the generated video. */
25
25
  negative_prompt?: string | undefined;
@@ -17,15 +17,15 @@ export interface InputVeo31 {
17
17
  generate_audio?: boolean | undefined;
18
18
  /** What to avoid in the generated video. */
19
19
  negative_prompt?: string | undefined;
20
- /** Start frame (image-to-video). */
20
+ /** Start frame (image-to-video). At most 20 MB. */
21
21
  start_image?: Hedra.InputVeo31StartImage | undefined;
22
- /** End frame (first-last-frame-to-video). */
22
+ /** End frame (first-last-frame-to-video). At most 20 MB. */
23
23
  end_image?: Hedra.InputVeo31EndImage | undefined;
24
- /** Source video (video-to-video). */
24
+ /** Source video (video-to-video). From 1s to 30s and at most 524.2 MB. */
25
25
  source_video?: Hedra.InputVeo31SourceVideo | undefined;
26
- /** Reference images. */
26
+ /** Reference images. 1 to 3 images, each at most 20 MB. */
27
27
  images?: Hedra.InputVeo31ImagesItem[] | undefined;
28
- /** Seed for reproducible output; omit for a random seed. */
28
+ /** Seed for reproducible output; omit for a random seed. From 0 to 4294967295. */
29
29
  seed?: number | undefined;
30
30
  /** Quality level to generate at. */
31
31
  quality: InputVeo31.Quality;
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * End frame (first-last-frame-to-video).
3
+ * End frame (first-last-frame-to-video). At most 20 MB.
4
4
  */
5
5
  export type InputVeo31EndImage =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Source video (video-to-video).
3
+ * Source video (video-to-video). From 1s to 30s and at most 524.2 MB.
4
4
  */
5
5
  export type InputVeo31SourceVideo =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 20 MB.
4
4
  */
5
5
  export type InputVeo31StartImage =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 8 MB.
4
4
  */
5
5
  export type InputVeo3StartImage =
6
6
  /**
@@ -10,7 +10,7 @@ import type * as Hedra from "../index.js";
10
10
  export interface InputViduQ3 {
11
11
  /** Number of outputs generated per job. Only 1 is supported. */
12
12
  num_outputs?: number | undefined;
13
- /** Generation prompt. */
13
+ /** Generation prompt. At most 2000 characters. */
14
14
  prompt: string;
15
15
  /** Seed for reproducible output; omit for a random seed. */
16
16
  seed?: number | undefined;
@@ -18,9 +18,9 @@ export interface InputViduQ3 {
18
18
  resolution: InputViduQ3.Resolution;
19
19
  /** Duration in ms. */
20
20
  duration_ms: number;
21
- /** Start frame (image-to-video). */
21
+ /** Start frame (image-to-video). At most 10.4 MB. */
22
22
  start_image?: Hedra.InputViduQ3StartImage | undefined;
23
- /** End frame (first-last-frame-to-video). */
23
+ /** End frame (first-last-frame-to-video). At most 10.4 MB. */
24
24
  end_image?: Hedra.InputViduQ3EndImage | undefined;
25
25
  /** Output aspect ratio. */
26
26
  aspect_ratio?: InputViduQ3.AspectRatio | undefined;
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * End frame (first-last-frame-to-video).
3
+ * End frame (first-last-frame-to-video). At most 10.4 MB.
4
4
  */
5
5
  export type InputViduQ3EndImage =
6
6
  /**
@@ -5,7 +5,7 @@ import type * as Hedra from "../index.js";
5
5
  export interface InputViduQ3Reference {
6
6
  /** Number of outputs generated per job. Only 1 is supported. */
7
7
  num_outputs?: number | undefined;
8
- /** Generation prompt. */
8
+ /** Generation prompt. At most 2000 characters. */
9
9
  prompt: string;
10
10
  /** Seed for reproducible output; omit for a random seed. */
11
11
  seed?: number | undefined;
@@ -15,7 +15,7 @@ export interface InputViduQ3Reference {
15
15
  resolution: InputViduQ3Reference.Resolution;
16
16
  /** Duration in ms. */
17
17
  duration_ms: number;
18
- /** Reference images. */
18
+ /** Reference images. 1 to 4 images, each at most 10.4 MB. */
19
19
  images: Hedra.InputViduQ3ReferenceImagesItem[];
20
20
  }
21
21
  export declare namespace InputViduQ3Reference {
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 10.4 MB.
4
4
  */
5
5
  export type InputViduQ3StartImage =
6
6
  /**
@@ -10,23 +10,23 @@ import type * as Hedra from "../index.js";
10
10
  export interface InputWan27 {
11
11
  /** Number of outputs generated per job. Only 1 is supported. */
12
12
  num_outputs?: number | undefined;
13
- /** Generation prompt. */
13
+ /** Generation prompt. At most 5000 characters. */
14
14
  prompt: string;
15
- /** What to avoid in the generated video. */
15
+ /** What to avoid in the generated video. At most 500 characters. */
16
16
  negative_prompt?: string | undefined;
17
- /** Seed for reproducible output; omit for a random seed. */
17
+ /** Seed for reproducible output; omit for a random seed. From 0 to 2147483647. */
18
18
  seed?: number | undefined;
19
19
  /** Output resolution. */
20
20
  resolution: InputWan27.Resolution;
21
21
  /** Duration in ms. */
22
22
  duration_ms: number;
23
- /** Start frame (image-to-video). */
23
+ /** Start frame (image-to-video). At most 20 MB. */
24
24
  start_image?: Hedra.InputWan27StartImage | undefined;
25
- /** End frame (first-last-frame-to-video). */
25
+ /** End frame (first-last-frame-to-video). At most 20 MB. */
26
26
  end_image?: Hedra.InputWan27EndImage | undefined;
27
27
  /** Output aspect ratio. */
28
28
  aspect_ratio?: InputWan27.AspectRatio | undefined;
29
- /** Reference images. */
29
+ /** Reference images. 1 to 4 images, each at most 20 MB. */
30
30
  images?: Hedra.InputWan27ImagesItem[] | undefined;
31
31
  }
32
32
  export declare namespace InputWan27 {
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * End frame (first-last-frame-to-video).
3
+ * End frame (first-last-frame-to-video). At most 20 MB.
4
4
  */
5
5
  export type InputWan27EndImage =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.js";
2
2
  /**
3
- * Start frame (image-to-video).
3
+ * Start frame (image-to-video). At most 20 MB.
4
4
  */
5
5
  export type InputWan27StartImage =
6
6
  /**
@@ -7,6 +7,8 @@ export interface ModelDetail {
7
7
  name?: (string | null) | undefined;
8
8
  /** One-line summary of what the model does. */
9
9
  description?: (string | null) | undefined;
10
+ /** Short USD pricing summary for this model. Exact cost depends on input. */
11
+ price_description?: string | undefined;
10
12
  /** URL of the provider's logo. */
11
13
  logo_url?: (string | null) | undefined;
12
14
  /** JSON Schema for this model's `input` object on submit — the same schema `GET /v3/models/{model}/openapi.json` embeds. */
@@ -7,6 +7,8 @@ export interface ModelSummary {
7
7
  name?: (string | null) | undefined;
8
8
  /** One-line summary of what the model does. */
9
9
  description?: (string | null) | undefined;
10
+ /** Short USD pricing summary for this model. Exact cost depends on input. */
11
+ price_description?: string | undefined;
10
12
  /** URL of the provider's logo. */
11
13
  logo_url?: (string | null) | undefined;
12
14
  }
@@ -168,6 +168,8 @@ export * from "./InputSora2ProStartImage.js";
168
168
  export * from "./InputVeedFabric10.js";
169
169
  export * from "./InputVeedFabric10Audio.js";
170
170
  export * from "./InputVeedFabric10StartImage.js";
171
+ export * from "./InputVeedVideoBackgroundRemoval.js";
172
+ export * from "./InputVeedVideoBackgroundRemovalSourceVideo.js";
171
173
  export * from "./InputVeo2.js";
172
174
  export * from "./InputVeo2StartImage.js";
173
175
  export * from "./InputVeo3.js";
@@ -184,6 +184,8 @@ __exportStar(require("./InputSora2ProStartImage.js"), exports);
184
184
  __exportStar(require("./InputVeedFabric10.js"), exports);
185
185
  __exportStar(require("./InputVeedFabric10Audio.js"), exports);
186
186
  __exportStar(require("./InputVeedFabric10StartImage.js"), exports);
187
+ __exportStar(require("./InputVeedVideoBackgroundRemoval.js"), exports);
188
+ __exportStar(require("./InputVeedVideoBackgroundRemovalSourceVideo.js"), exports);
187
189
  __exportStar(require("./InputVeo2.js"), exports);
188
190
  __exportStar(require("./InputVeo2StartImage.js"), exports);
189
191
  __exportStar(require("./InputVeo3.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.0";
1
+ export declare const SDK_VERSION = "3.0.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.0.0";
4
+ exports.SDK_VERSION = "3.0.0";
@@ -7,7 +7,7 @@ export type BaseClientOptions = {
7
7
  /** Specify a custom URL to connect the client to. */
8
8
  baseUrl?: core.Supplier<string>;
9
9
  /** Override the X-Hedra-Spec-Version header */
10
- specVersion?: "3.3.0";
10
+ specVersion?: "3.9.0";
11
11
  /** Additional headers to include in requests. */
12
12
  headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
13
13
  /** The default maximum time to wait for a response in seconds. */
@@ -34,7 +34,7 @@ export interface BaseRequestOptions {
34
34
  /** A hook to abort the request. */
35
35
  abortSignal?: AbortSignal;
36
36
  /** Override the X-Hedra-Spec-Version header */
37
- specVersion?: "3.3.0";
37
+ specVersion?: "3.9.0";
38
38
  /** Additional query string parameters to include in the request. */
39
39
  queryParams?: Record<string, unknown>;
40
40
  /** A dictionary containing additional parameters to spread into the request's body. */
@@ -7,11 +7,11 @@ export function normalizeClientOptions(options) {
7
7
  const headers = mergeHeaders({
8
8
  "X-Fern-Language": "JavaScript",
9
9
  "X-Fern-SDK-Name": "@hedra/sdk",
10
- "X-Fern-SDK-Version": "2.0.0",
11
- "User-Agent": "@hedra/sdk/2.0.0",
10
+ "X-Fern-SDK-Version": "3.0.0",
11
+ "User-Agent": "@hedra/sdk/3.0.0",
12
12
  "X-Fern-Runtime": core.RUNTIME.type,
13
13
  "X-Fern-Runtime-Version": core.RUNTIME.version,
14
- "X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.3.0",
14
+ "X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.9.0",
15
15
  }, options === null || options === void 0 ? void 0 : options.headers);
16
16
  return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
17
17
  }
@@ -44,7 +44,7 @@ export class BillingClient {
44
44
  return __awaiter(this, void 0, void 0, function* () {
45
45
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
46
46
  const _authRequest = yield this._options.authProvider.getAuthRequest();
47
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.3.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
47
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.9.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
48
48
  const _response = yield core.fetcher({
49
49
  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, "balance"),
50
50
  method: "GET",
@@ -113,7 +113,7 @@ export class BillingClient {
113
113
  group_by: groupBy != null ? groupBy : undefined,
114
114
  };
115
115
  const _authRequest = yield this._options.authProvider.getAuthRequest();
116
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.3.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
116
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.9.0" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
117
117
  const _response = yield core.fetcher({
118
118
  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, "usage"),
119
119
  method: "GET",
@@ -54,7 +54,7 @@ export class FilesClient {
54
54
  yield _body.appendFile("file", request.file);
55
55
  const _maybeEncodedRequest = yield _body.getRequest();
56
56
  const _authRequest = yield this._options.authProvider.getAuthRequest();
57
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.3.0" }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
57
+ const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.9.0" }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
58
58
  const _response = yield core.fetcher({
59
59
  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, "files"),
60
60
  method: "POST",
@@ -1165,7 +1165,6 @@ export declare class JobsClient {
1165
1165
  * @example
1166
1166
  * await client.jobs.submitKlingO3({
1167
1167
  * input: {
1168
- * prompt: "prompt",
1169
1168
  * aspect_ratio: "16:9",
1170
1169
  * duration_ms: 1,
1171
1170
  * quality: "standard"
@@ -1262,7 +1261,6 @@ export declare class JobsClient {
1262
1261
  * @example
1263
1262
  * await client.jobs.submitKlingV3({
1264
1263
  * input: {
1265
- * prompt: "prompt",
1266
1264
  * aspect_ratio: "16:9",
1267
1265
  * duration_ms: 1,
1268
1266
  * quality: "standard"
@@ -2204,6 +2202,37 @@ export declare class JobsClient {
2204
2202
  */
2205
2203
  submitVeedFabric10(request: Hedra.SubmitBodyVeedFabric10, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
2206
2204
  private __submitVeedFabric10;
2205
+ /**
2206
+ * Remove a video's background and return transparent WebM.
2207
+ *
2208
+ * 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`.
2209
+ *
2210
+ * @param {Hedra.SubmitBodyVeedVideoBackgroundRemoval} request
2211
+ * @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
2212
+ *
2213
+ * @throws {@link Hedra.BadRequestError}
2214
+ * @throws {@link Hedra.UnauthorizedError}
2215
+ * @throws {@link Hedra.PaymentRequiredError}
2216
+ * @throws {@link Hedra.ForbiddenError}
2217
+ * @throws {@link Hedra.NotFoundError}
2218
+ * @throws {@link Hedra.UnprocessableEntityError}
2219
+ * @throws {@link Hedra.TooManyRequestsError}
2220
+ * @throws {@link Hedra.InternalServerError}
2221
+ * @throws {@link errors.HedraError}
2222
+ * @throws {@link errors.HedraTimeoutError}
2223
+ *
2224
+ * @example
2225
+ * await client.jobs.submitVeedVideoBackgroundRemoval({
2226
+ * input: {
2227
+ * source_video: {
2228
+ * source: "url",
2229
+ * url: "url"
2230
+ * }
2231
+ * }
2232
+ * })
2233
+ */
2234
+ submitVeedVideoBackgroundRemoval(request: Hedra.SubmitBodyVeedVideoBackgroundRemoval, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
2235
+ private __submitVeedVideoBackgroundRemoval;
2207
2236
  /**
2208
2237
  * The current state of the art in video generation
2209
2238
  *