@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
@@ -3,7 +3,6 @@ import type * as Hedra from "../../../../index.mjs";
3
3
  * @example
4
4
  * {
5
5
  * input: {
6
- * prompt: "prompt",
7
6
  * aspect_ratio: "16:9",
8
7
  * duration_ms: 1,
9
8
  * quality: "standard"
@@ -3,7 +3,6 @@ import type * as Hedra from "../../../../index.mjs";
3
3
  * @example
4
4
  * {
5
5
  * input: {
6
- * prompt: "prompt",
7
6
  * aspect_ratio: "16:9",
8
7
  * duration_ms: 1,
9
8
  * quality: "standard"
@@ -0,0 +1,19 @@
1
+ import type * as Hedra from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * input: {
6
+ * source_video: {
7
+ * source: "url",
8
+ * url: "url"
9
+ * }
10
+ * }
11
+ * }
12
+ */
13
+ export interface SubmitBodyVeedVideoBackgroundRemoval {
14
+ input: Hedra.InputVeedVideoBackgroundRemoval;
15
+ /** URL to receive a signed completion webhook. */
16
+ webhook?: string | null;
17
+ /** Replays the original ack for a retried submit instead of enqueueing a duplicate job. */
18
+ idempotency_key?: string | null;
19
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -73,6 +73,7 @@ export type { SubmitBodySeedream50Lite } from "./SubmitBodySeedream50Lite.mjs";
73
73
  export type { SubmitBodySeedream50Pro } from "./SubmitBodySeedream50Pro.mjs";
74
74
  export type { SubmitBodySora2Pro } from "./SubmitBodySora2Pro.mjs";
75
75
  export type { SubmitBodyVeedFabric10 } from "./SubmitBodyVeedFabric10.mjs";
76
+ export type { SubmitBodyVeedVideoBackgroundRemoval } from "./SubmitBodyVeedVideoBackgroundRemoval.mjs";
76
77
  export type { SubmitBodyVeo2 } from "./SubmitBodyVeo2.mjs";
77
78
  export type { SubmitBodyVeo3 } from "./SubmitBodyVeo3.mjs";
78
79
  export type { SubmitBodyVeo31 } from "./SubmitBodyVeo31.mjs";
@@ -47,7 +47,7 @@ export class KeysClient {
47
47
  workspace_id: workspaceId,
48
48
  };
49
49
  const _authRequest = yield this._options.authProvider.getAuthRequest();
50
- 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);
50
+ 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);
51
51
  const _response = yield core.fetcher({
52
52
  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, "keys"),
53
53
  method: "GET",
@@ -114,7 +114,7 @@ export class KeysClient {
114
114
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
115
115
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
116
116
  const _authRequest = yield this._options.authProvider.getAuthRequest();
117
- 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);
117
+ 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);
118
118
  const _response = yield core.fetcher({
119
119
  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, "keys"),
120
120
  method: "POST",
@@ -181,7 +181,7 @@ export class KeysClient {
181
181
  return __awaiter(this, arguments, void 0, function* (key_id, request = {}, requestOptions) {
182
182
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
183
183
  const _authRequest = yield this._options.authProvider.getAuthRequest();
184
- 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);
184
+ 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);
185
185
  const _response = yield core.fetcher({
186
186
  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, `keys/${core.url.encodePathParam(key_id)}/rotate`),
187
187
  method: "POST",
@@ -248,7 +248,7 @@ export class KeysClient {
248
248
  return __awaiter(this, arguments, void 0, function* (key_id, _request = {}, requestOptions) {
249
249
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
250
250
  const _authRequest = yield this._options.authProvider.getAuthRequest();
251
- 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);
251
+ 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);
252
252
  const _response = yield core.fetcher({
253
253
  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, `keys/${core.url.encodePathParam(key_id)}`),
254
254
  method: "DELETE",
@@ -64,7 +64,7 @@ export class LogDrainsClient {
64
64
  return __awaiter(this, void 0, void 0, function* () {
65
65
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
66
66
  const _authRequest = yield this._options.authProvider.getAuthRequest();
67
- 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);
67
+ 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);
68
68
  const _response = yield core.fetcher({
69
69
  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, "log-drains"),
70
70
  method: "GET",
@@ -130,7 +130,7 @@ export class LogDrainsClient {
130
130
  return __awaiter(this, void 0, void 0, function* () {
131
131
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
132
132
  const _authRequest = yield this._options.authProvider.getAuthRequest();
133
- 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);
133
+ 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);
134
134
  const _response = yield core.fetcher({
135
135
  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, "log-drains"),
136
136
  method: "POST",
@@ -197,7 +197,7 @@ export class LogDrainsClient {
197
197
  return __awaiter(this, arguments, void 0, function* (drain_id, _request = {}, requestOptions) {
198
198
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
199
199
  const _authRequest = yield this._options.authProvider.getAuthRequest();
200
- 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);
200
+ 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);
201
201
  const _response = yield core.fetcher({
202
202
  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, `log-drains/${core.url.encodePathParam(drain_id)}`),
203
203
  method: "GET",
@@ -261,7 +261,7 @@ export class LogDrainsClient {
261
261
  return __awaiter(this, arguments, void 0, function* (drain_id, _request = {}, requestOptions) {
262
262
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
263
263
  const _authRequest = yield this._options.authProvider.getAuthRequest();
264
- 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);
264
+ 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);
265
265
  const _response = yield core.fetcher({
266
266
  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, `log-drains/${core.url.encodePathParam(drain_id)}`),
267
267
  method: "DELETE",
@@ -325,7 +325,7 @@ export class LogDrainsClient {
325
325
  return __awaiter(this, arguments, void 0, function* (drain_id, request = {}, requestOptions) {
326
326
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
327
327
  const _authRequest = yield this._options.authProvider.getAuthRequest();
328
- 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);
328
+ 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);
329
329
  const _response = yield core.fetcher({
330
330
  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, `log-drains/${core.url.encodePathParam(drain_id)}`),
331
331
  method: "PATCH",
@@ -392,7 +392,7 @@ export class LogDrainsClient {
392
392
  return __awaiter(this, arguments, void 0, function* (drain_id, _request = {}, requestOptions) {
393
393
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
394
394
  const _authRequest = yield this._options.authProvider.getAuthRequest();
395
- 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);
395
+ 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);
396
396
  const _response = yield core.fetcher({
397
397
  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, `log-drains/${core.url.encodePathParam(drain_id)}/test`),
398
398
  method: "POST",
@@ -48,7 +48,7 @@ export class ModelsClient {
48
48
  const _queryParams = {
49
49
  modality: modality !== undefined ? modality : undefined,
50
50
  };
51
- const _headers = mergeHeaders((_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);
51
+ const _headers = mergeHeaders((_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);
52
52
  const _response = yield core.fetcher({
53
53
  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"),
54
54
  method: "GET",
@@ -112,7 +112,7 @@ export class ModelsClient {
112
112
  __get(model_1) {
113
113
  return __awaiter(this, arguments, void 0, function* (model, _request = {}, requestOptions) {
114
114
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
115
- const _headers = mergeHeaders((_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);
115
+ const _headers = mergeHeaders((_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);
116
116
  const _response = yield core.fetcher({
117
117
  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)}`),
118
118
  method: "GET",
@@ -177,7 +177,7 @@ export class ModelsClient {
177
177
  cursor,
178
178
  };
179
179
  const _authRequest = yield this._options.authProvider.getAuthRequest();
180
- 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);
180
+ 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);
181
181
  const _response = yield core.fetcher({
182
182
  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)}/jobs`),
183
183
  method: "GET",
@@ -257,7 +257,7 @@ export class ModelsClient {
257
257
  __listVoices(model_1) {
258
258
  return __awaiter(this, arguments, void 0, function* (model, _request = {}, requestOptions) {
259
259
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
260
- const _headers = mergeHeaders((_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);
260
+ const _headers = mergeHeaders((_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);
261
261
  const _response = yield core.fetcher({
262
262
  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)}/voices`),
263
263
  method: "GET",
@@ -319,7 +319,7 @@ export class ModelsClient {
319
319
  __getOpenapi(model_1) {
320
320
  return __awaiter(this, arguments, void 0, function* (model, _request = {}, requestOptions) {
321
321
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
322
- const _headers = mergeHeaders((_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);
322
+ const _headers = mergeHeaders((_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);
323
323
  const _response = yield core.fetcher({
324
324
  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)}/openapi.json`),
325
325
  method: "GET",
@@ -381,7 +381,7 @@ export class ModelsClient {
381
381
  return __awaiter(this, arguments, void 0, function* (model, request = {}, requestOptions) {
382
382
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
383
383
  const _authRequest = yield this._options.authProvider.getAuthRequest();
384
- 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);
384
+ 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);
385
385
  const _response = yield core.fetcher({
386
386
  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)}/estimate`),
387
387
  method: "POST",
@@ -43,7 +43,7 @@ export class TokensClient {
43
43
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
44
44
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
45
45
  const _authRequest = yield this._options.authProvider.getAuthRequest();
46
- 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);
46
+ 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);
47
47
  const _response = yield core.fetcher({
48
48
  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, "tokens"),
49
49
  method: "POST",
@@ -84,7 +84,7 @@ export class WebhooksClient {
84
84
  __getPublicKey(requestOptions) {
85
85
  return __awaiter(this, void 0, void 0, function* () {
86
86
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
87
- const _headers = mergeHeaders((_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);
87
+ const _headers = mergeHeaders((_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);
88
88
  const _response = yield core.fetcher({
89
89
  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, "webhooks/public-key"),
90
90
  method: "GET",
@@ -144,7 +144,7 @@ export class WebhooksClient {
144
144
  return __awaiter(this, void 0, void 0, function* () {
145
145
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
146
146
  const _authRequest = yield this._options.authProvider.getAuthRequest();
147
- 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);
147
+ 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);
148
148
  const _response = yield core.fetcher({
149
149
  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, "webhooks/default"),
150
150
  method: "GET",
@@ -209,7 +209,7 @@ export class WebhooksClient {
209
209
  return __awaiter(this, void 0, void 0, function* () {
210
210
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
211
211
  const _authRequest = yield this._options.authProvider.getAuthRequest();
212
- 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);
212
+ 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);
213
213
  const _response = yield core.fetcher({
214
214
  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, "webhooks/default"),
215
215
  method: "PUT",
@@ -274,7 +274,7 @@ export class WebhooksClient {
274
274
  return __awaiter(this, void 0, void 0, function* () {
275
275
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
276
276
  const _authRequest = yield this._options.authProvider.getAuthRequest();
277
- 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);
277
+ 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);
278
278
  const _response = yield core.fetcher({
279
279
  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, "webhooks/default"),
280
280
  method: "DELETE",
@@ -336,7 +336,7 @@ export class WebhooksClient {
336
336
  return __awaiter(this, void 0, void 0, function* () {
337
337
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
338
338
  const _authRequest = yield this._options.authProvider.getAuthRequest();
339
- 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);
339
+ 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);
340
340
  const _response = yield core.fetcher({
341
341
  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, "webhooks/default/test"),
342
342
  method: "POST",
@@ -402,7 +402,7 @@ export class WebhooksClient {
402
402
  cursor,
403
403
  };
404
404
  const _authRequest = yield this._options.authProvider.getAuthRequest();
405
- 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);
405
+ 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);
406
406
  const _response = yield core.fetcher({
407
407
  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, "webhooks/deliveries"),
408
408
  method: "GET",
@@ -498,7 +498,7 @@ export class WebhooksClient {
498
498
  return __awaiter(this, arguments, void 0, function* (job_id, _request = {}, requestOptions) {
499
499
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
500
500
  const _authRequest = yield this._options.authProvider.getAuthRequest();
501
- 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);
501
+ 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);
502
502
  const _response = yield core.fetcher({
503
503
  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, `webhooks/deliveries/${core.url.encodePathParam(job_id)}/redeliver`),
504
504
  method: "POST",
@@ -2,11 +2,11 @@
2
2
  * Model-specific inputs for `elevenlabs-flash-multilingual-v2`.
3
3
  */
4
4
  export interface InputElevenlabsFlashMultilingualV2 {
5
- /** Generation prompt. */
5
+ /** Generation prompt. At most 40000 characters. */
6
6
  text: string;
7
- /** Voice stability, from 0 to 1. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. */
7
+ /** Voice stability. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. From 0 to 1. */
8
8
  stability?: number | undefined;
9
- /** Speech rate multiplier; 1.0 is the voice's natural pace. */
9
+ /** Speech rate multiplier; 1.0 is the voice's natural pace. From 0.7 to 1.2. */
10
10
  speed?: number | undefined;
11
11
  /** Language code; 'auto' by default. */
12
12
  language?: string | undefined;
@@ -2,11 +2,11 @@
2
2
  * Model-specific inputs for `elevenlabs-flash-v2`.
3
3
  */
4
4
  export interface InputElevenlabsFlashV2 {
5
- /** Generation prompt. */
5
+ /** Generation prompt. At most 30000 characters. */
6
6
  text: string;
7
- /** Voice stability, from 0 to 1. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. */
7
+ /** Voice stability. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. From 0 to 1. */
8
8
  stability?: number | undefined;
9
- /** Speech rate multiplier; 1.0 is the voice's natural pace. */
9
+ /** Speech rate multiplier; 1.0 is the voice's natural pace. From 0.7 to 1.2. */
10
10
  speed?: number | undefined;
11
11
  /** Language code; 'auto' by default. */
12
12
  language?: string | undefined;
@@ -2,11 +2,11 @@
2
2
  * Model-specific inputs for `elevenlabs-multilingual-v2`.
3
3
  */
4
4
  export interface InputElevenlabsMultilingualV2 {
5
- /** Generation prompt. */
5
+ /** Generation prompt. At most 10000 characters. */
6
6
  text: string;
7
- /** Voice stability, from 0 to 1. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. */
7
+ /** Voice stability. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. From 0 to 1. */
8
8
  stability?: number | undefined;
9
- /** Speech rate multiplier; 1.0 is the voice's natural pace. */
9
+ /** Speech rate multiplier; 1.0 is the voice's natural pace. From 0.7 to 1.2. */
10
10
  speed?: number | undefined;
11
11
  /** Language code; 'auto' by default. */
12
12
  language?: string | undefined;
@@ -2,11 +2,11 @@
2
2
  * Model-specific inputs for `elevenlabs-v3`.
3
3
  */
4
4
  export interface InputElevenlabsV3 {
5
- /** Generation prompt. */
5
+ /** Generation prompt. At most 5000 characters. */
6
6
  text: string;
7
- /** Voice stability, from 0 to 1. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. */
7
+ /** Voice stability. Higher values give a steadier, more consistent delivery; lower values allow more expressive variation between generations. From 0 to 1. */
8
8
  stability?: number | undefined;
9
- /** Speech rate multiplier; 1.0 is the voice's natural pace. */
9
+ /** Speech rate multiplier; 1.0 is the voice's natural pace. From 0.7 to 1.2. */
10
10
  speed?: number | undefined;
11
11
  /** Language code; 'auto' by default. */
12
12
  language?: string | undefined;
@@ -15,15 +15,15 @@ export interface InputFlux2Flex {
15
15
  enhance_prompt?: boolean | undefined;
16
16
  /** Output aspect ratio. */
17
17
  aspect_ratio: InputFlux2Flex.AspectRatio;
18
- /** Images to edit or blend. */
18
+ /** Images to edit or blend. 1 to 8 images, each at most 30 MB. */
19
19
  images?: Hedra.InputFlux2FlexImagesItem[] | undefined;
20
20
  /** Output image format. */
21
21
  output_format?: InputFlux2Flex.OutputFormat | undefined;
22
22
  /** Seed for reproducible output; omit for a random seed. */
23
23
  seed?: number | undefined;
24
- /** How closely the model follows the prompt. */
24
+ /** How closely the model follows the prompt. From 1.5 to 10. */
25
25
  guidance?: number | undefined;
26
- /** Denoising steps to run. */
26
+ /** Denoising steps to run. From 2 to 50. */
27
27
  steps?: number | undefined;
28
28
  }
29
29
  export declare namespace InputFlux2Flex {
@@ -15,7 +15,7 @@ export interface InputFlux2Klein9B {
15
15
  enhance_prompt?: boolean | undefined;
16
16
  /** Output aspect ratio. */
17
17
  aspect_ratio: InputFlux2Klein9B.AspectRatio;
18
- /** Images to edit or blend. */
18
+ /** Images to edit or blend. 1 to 4 images, each at most 30 MB. */
19
19
  images?: Hedra.InputFlux2Klein9BImagesItem[] | undefined;
20
20
  /** Output image format. */
21
21
  output_format?: InputFlux2Klein9B.OutputFormat | undefined;
@@ -23,9 +23,9 @@ export interface InputFlux2Klein9B {
23
23
  negative_prompt?: string | undefined;
24
24
  /** Seed for reproducible output; omit for a random seed. */
25
25
  seed?: number | undefined;
26
- /** How closely the model follows the prompt. */
26
+ /** How closely the model follows the prompt. From 0 to 20. */
27
27
  guidance_scale?: number | undefined;
28
- /** Denoising steps to run. */
28
+ /** Denoising steps to run. From 4 to 50. */
29
29
  num_inference_steps?: number | undefined;
30
30
  }
31
31
  export declare namespace InputFlux2Klein9B {
@@ -15,7 +15,7 @@ export interface InputFlux2Max {
15
15
  enhance_prompt?: boolean | undefined;
16
16
  /** Output aspect ratio. */
17
17
  aspect_ratio: InputFlux2Max.AspectRatio;
18
- /** Images to edit or blend. */
18
+ /** Images to edit or blend. 1 to 8 images, each at most 30 MB. */
19
19
  images?: Hedra.InputFlux2MaxImagesItem[] | undefined;
20
20
  /** Output image format. */
21
21
  output_format?: InputFlux2Max.OutputFormat | undefined;
@@ -15,7 +15,7 @@ export interface InputFlux2Pro {
15
15
  enhance_prompt?: boolean | undefined;
16
16
  /** Output aspect ratio. */
17
17
  aspect_ratio: InputFlux2Pro.AspectRatio;
18
- /** Images to edit or blend. */
18
+ /** Images to edit or blend. 1 to 8 images, each at most 30 MB. */
19
19
  images?: Hedra.InputFlux2ProImagesItem[] | undefined;
20
20
  /** Output image format. */
21
21
  output_format?: InputFlux2Pro.OutputFormat | undefined;
@@ -20,9 +20,9 @@ export interface InputFlux3 {
20
20
  duration_ms: number;
21
21
  /** Whether to generate native audio for the video. */
22
22
  generate_audio?: boolean | undefined;
23
- /** Start frame (image-to-video). */
23
+ /** Start frame (image-to-video). At most 10.4 MB. */
24
24
  start_image?: Hedra.InputFlux3StartImage | undefined;
25
- /** End frame (first-last-frame-to-video). */
25
+ /** End frame (first-last-frame-to-video). At most 10.4 MB. */
26
26
  end_image?: Hedra.InputFlux3EndImage | undefined;
27
27
  }
28
28
  export declare namespace InputFlux3 {
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.mjs";
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 InputFlux3EndImage =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.mjs";
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 InputFlux3StartImage =
6
6
  /**
@@ -16,9 +16,9 @@ export interface InputFluxDev {
16
16
  output_format?: InputFluxDev.OutputFormat | undefined;
17
17
  /** Seed for reproducible output; omit for a random seed. */
18
18
  seed?: number | undefined;
19
- /** How closely the model follows the prompt. */
19
+ /** How closely the model follows the prompt. From 1 to 20. */
20
20
  guidance_scale?: number | undefined;
21
- /** Denoising steps to run. */
21
+ /** Denoising steps to run. From 1 to 50. */
22
22
  num_inference_steps?: number | undefined;
23
23
  }
24
24
  export declare namespace InputFluxDev {
@@ -13,7 +13,7 @@ export interface InputFluxKontextMax {
13
13
  num_outputs?: number | undefined;
14
14
  /** Rewrite the prompt before generation. An LLM expands it into a fuller description and the model receives that text instead of the submitted one; the result's `prompt` reports what ran. */
15
15
  enhance_prompt?: boolean | undefined;
16
- /** The single source image to edit. */
16
+ /** The single source image to edit. Exactly 1 image, at most 30 MB. */
17
17
  images?: Hedra.InputFluxKontextMaxImagesItem[] | undefined;
18
18
  /** Output image format. */
19
19
  output_format?: InputFluxKontextMax.OutputFormat | undefined;
@@ -13,7 +13,7 @@ export interface InputFluxKontextPro {
13
13
  num_outputs?: number | undefined;
14
14
  /** Rewrite the prompt before generation. An LLM expands it into a fuller description and the model receives that text instead of the submitted one; the result's `prompt` reports what ran. */
15
15
  enhance_prompt?: boolean | undefined;
16
- /** The single source image to edit. */
16
+ /** The single source image to edit. Exactly 1 image, at most 30 MB. */
17
17
  images?: Hedra.InputFluxKontextProImagesItem[] | undefined;
18
18
  /** Output image format. */
19
19
  output_format?: InputFluxKontextPro.OutputFormat | undefined;
@@ -13,13 +13,13 @@ export interface InputGeminiOmniFlash {
13
13
  resolution?: InputGeminiOmniFlash.Resolution | undefined;
14
14
  /** Duration in ms. */
15
15
  duration_ms?: number | undefined;
16
- /** Start frame (image-to-video). */
16
+ /** Start frame (image-to-video). At most 10.4 MB. */
17
17
  start_image?: Hedra.InputGeminiOmniFlashStartImage | undefined;
18
- /** Source video (video-to-video). */
18
+ /** Source video (video-to-video). From 1s to 10s and at most 524.2 MB. */
19
19
  source_video?: Hedra.InputGeminiOmniFlashSourceVideo | undefined;
20
- /** Reference images. */
20
+ /** Reference images. 1 to 10 images, each at most 10.4 MB. */
21
21
  images?: Hedra.InputGeminiOmniFlashImagesItem[] | undefined;
22
- /** Reference videos. */
22
+ /** Reference videos. 1 to 3 videos, each at most 10s and at most 524.2 MB. */
23
23
  videos?: Hedra.InputGeminiOmniFlashVideosItem[] | undefined;
24
24
  }
25
25
  export declare namespace InputGeminiOmniFlash {
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.mjs";
2
2
  /**
3
- * Source video (video-to-video).
3
+ * Source video (video-to-video). From 1s to 10s and at most 524.2 MB.
4
4
  */
5
5
  export type InputGeminiOmniFlashSourceVideo =
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import type * as Hedra from "../index.mjs";
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 InputGeminiOmniFlashStartImage =
6
6
  /**
@@ -7,7 +7,7 @@ import type * as Hedra from "../index.mjs";
7
7
  * (2) requires: aspect_ratio, prompt; must omit: images
8
8
  */
9
9
  export interface InputGptImage15 {
10
- /** Generation prompt. */
10
+ /** Generation prompt. At most 32000 characters. */
11
11
  prompt: string;
12
12
  /** Number of outputs generated per job. Only 1 is supported. */
13
13
  num_outputs?: number | undefined;
@@ -17,7 +17,7 @@ export interface InputGptImage15 {
17
17
  aspect_ratio: InputGptImage15.AspectRatio;
18
18
  /** Output resolution. */
19
19
  resolution?: InputGptImage15.Resolution | undefined;
20
- /** Images to edit or blend. */
20
+ /** Images to edit or blend. 1 to 16 images, each at most 30 MB. */
21
21
  images?: Hedra.InputGptImage15ImagesItem[] | undefined;
22
22
  /** Output image format. */
23
23
  output_format?: InputGptImage15.OutputFormat | undefined;
@@ -7,7 +7,7 @@ import type * as Hedra from "../index.mjs";
7
7
  * (2) requires: aspect_ratio, prompt, resolution; must omit: images
8
8
  */
9
9
  export interface InputGptImage2 {
10
- /** Generation prompt. */
10
+ /** Generation prompt. At most 32000 characters. */
11
11
  prompt: string;
12
12
  /** Number of outputs generated per job. Only 1 is supported. */
13
13
  num_outputs?: number | undefined;
@@ -17,7 +17,7 @@ export interface InputGptImage2 {
17
17
  aspect_ratio: InputGptImage2.AspectRatio;
18
18
  /** Output resolution. */
19
19
  resolution: InputGptImage2.Resolution;
20
- /** Images to edit or blend. */
20
+ /** Images to edit or blend. 1 to 16 images, each at most 30 MB. */
21
21
  images?: Hedra.InputGptImage2ImagesItem[] | undefined;
22
22
  /** Output image format. */
23
23
  output_format?: InputGptImage2.OutputFormat | undefined;
@@ -7,13 +7,13 @@ import type * as Hedra from "../index.mjs";
7
7
  * (2) requires: aspect_ratio, prompt; must omit: images
8
8
  */
9
9
  export interface InputGrokImagine {
10
- /** Generation prompt. */
10
+ /** Generation prompt. At most 8000 characters. */
11
11
  prompt: string;
12
12
  /** Number of outputs generated per job. Only 1 is supported. */
13
13
  num_outputs?: number | undefined;
14
14
  /** Rewrite the prompt before generation. An LLM expands it into a fuller description and the model receives that text instead of the submitted one; the result's `prompt` reports what ran. */
15
15
  enhance_prompt?: boolean | undefined;
16
- /** Images to edit or blend. */
16
+ /** Images to edit or blend. 1 to 3 images, each at most 30 MB. */
17
17
  images?: Hedra.InputGrokImagineImagesItem[] | undefined;
18
18
  /** Output image format. */
19
19
  output_format?: InputGrokImagine.OutputFormat | undefined;
@@ -9,7 +9,7 @@ import type * as Hedra from "../index.mjs";
9
9
  export interface InputGrokVideo {
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 4096 characters. */
13
13
  prompt: string;
14
14
  /** Output aspect ratio. */
15
15
  aspect_ratio: InputGrokVideo.AspectRatio;
@@ -17,7 +17,7 @@ export interface InputGrokVideo {
17
17
  resolution: InputGrokVideo.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.InputGrokVideoStartImage | undefined;
22
22
  }
23
23
  export declare namespace InputGrokVideo {