@hedra/sdk 4.0.1 → 5.1.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 (413) hide show
  1. package/README.md +196 -49
  2. package/dist/cjs/BaseClient.d.ts +2 -2
  3. package/dist/cjs/BaseClient.js +3 -3
  4. package/dist/cjs/api/resources/billing/client/Client.d.ts +22 -0
  5. package/dist/cjs/api/resources/billing/client/Client.js +78 -2
  6. package/dist/cjs/api/resources/billing/client/requests/BillingListTransactionsRequest.d.ts +10 -0
  7. package/dist/cjs/api/resources/billing/client/requests/BillingListTransactionsRequest.js +3 -0
  8. package/dist/cjs/api/resources/billing/client/requests/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/files/client/Client.js +1 -1
  10. package/dist/cjs/api/resources/jobs/client/Client.d.ts +194 -72
  11. package/dist/cjs/api/resources/jobs/client/Client.js +497 -167
  12. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyCreatifyAurora.d.ts +24 -0
  13. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyCreatifyAurora.js +3 -0
  14. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.d.ts +17 -0
  15. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.js +3 -0
  16. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage2.d.ts +1 -2
  17. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.d.ts +18 -0
  18. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.js +3 -0
  19. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyHeygenPhotoAvatar4.d.ts +25 -0
  20. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyHeygenPhotoAvatar4.js +3 -0
  21. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyHidreamO1Image.d.ts +1 -2
  22. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyIdeogramV4.d.ts +1 -2
  23. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingAiAvatarV2.d.ts +1 -2
  24. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.ts +1 -2
  25. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.ts +1 -2
  26. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyLtx23.d.ts +1 -2
  27. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyLumaRay32.d.ts +1 -1
  28. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMaiImage25.d.ts +1 -2
  29. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxH3.d.ts +1 -1
  30. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo02.d.ts +1 -2
  31. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo23.d.ts +1 -2
  32. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyNanoBanana2.d.ts +2 -2
  33. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyNanoBananaPro.d.ts +1 -1
  34. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyQwenImage2.d.ts +1 -2
  35. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodySeedance20.d.ts +1 -2
  36. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeo3.d.ts +1 -2
  37. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeo31.d.ts +1 -2
  38. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyViduQ3.d.ts +1 -2
  39. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.d.ts +1 -2
  40. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +4 -0
  41. package/dist/cjs/api/resources/keys/client/Client.js +4 -4
  42. package/dist/cjs/api/resources/logDrains/client/Client.js +6 -6
  43. package/dist/cjs/api/resources/models/client/Client.d.ts +23 -0
  44. package/dist/cjs/api/resources/models/client/Client.js +85 -6
  45. package/dist/cjs/api/resources/models/client/requests/ModelsSearchVoicesRequest.d.ts +17 -0
  46. package/dist/cjs/api/resources/models/client/requests/ModelsSearchVoicesRequest.js +3 -0
  47. package/dist/cjs/api/resources/models/client/requests/index.d.ts +1 -0
  48. package/dist/cjs/api/resources/tokens/client/Client.js +1 -1
  49. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -7
  50. package/dist/cjs/api/types/InputCreatifyAurora.d.ts +24 -0
  51. package/dist/cjs/api/types/InputCreatifyAurora.js +12 -0
  52. package/dist/cjs/api/types/InputCreatifyAuroraAudio.d.ts +23 -0
  53. package/dist/cjs/api/types/InputCreatifyAuroraAudio.js +3 -0
  54. package/dist/cjs/api/types/InputCreatifyAuroraStartImage.d.ts +23 -0
  55. package/dist/cjs/api/types/InputCreatifyAuroraStartImage.js +3 -0
  56. package/dist/cjs/api/types/InputElevenlabsMusic.d.ts +13 -0
  57. package/dist/cjs/api/types/InputElevenlabsMusic.js +3 -0
  58. package/dist/cjs/api/types/InputFlux3.d.ts +2 -2
  59. package/dist/cjs/api/types/InputFlux3EndImage.d.ts +1 -1
  60. package/dist/cjs/api/types/InputFlux3StartImage.d.ts +1 -1
  61. package/dist/cjs/api/types/InputGeminiOmniFlash.d.ts +2 -2
  62. package/dist/cjs/api/types/InputGeminiOmniFlashSourceVideo.d.ts +1 -1
  63. package/dist/cjs/api/types/InputGeminiOmniFlashStartImage.d.ts +1 -1
  64. package/dist/cjs/api/types/InputGptImage2.d.ts +3 -3
  65. package/dist/cjs/api/types/InputGptImage2.js +1 -1
  66. package/dist/cjs/api/types/InputGrokImagine.d.ts +32 -3
  67. package/dist/cjs/api/types/InputGrokImagine.js +22 -1
  68. package/dist/cjs/api/types/InputGrokImagine20.d.ts +52 -0
  69. package/dist/cjs/api/types/InputGrokImagine20.js +34 -0
  70. package/dist/cjs/api/types/InputGrokImagine20ImagesItem.d.ts +20 -0
  71. package/dist/cjs/api/types/InputGrokImagine20ImagesItem.js +3 -0
  72. package/dist/cjs/api/types/InputGrokVideo.d.ts +1 -1
  73. package/dist/cjs/api/types/InputGrokVideoStartImage.d.ts +1 -1
  74. package/dist/cjs/api/types/InputHappyHorse.d.ts +1 -1
  75. package/dist/cjs/api/types/InputHappyHorseStartImage.d.ts +1 -1
  76. package/dist/cjs/api/types/InputHedraAvatar.d.ts +1 -1
  77. package/dist/cjs/api/types/InputHedraAvatarStartImage.d.ts +1 -1
  78. package/dist/cjs/api/types/InputHedraCharacter3.d.ts +1 -1
  79. package/dist/cjs/api/types/InputHedraCharacter3StartImage.d.ts +1 -1
  80. package/dist/cjs/api/types/InputHeygenPhotoAvatar4.d.ts +39 -0
  81. package/dist/cjs/api/types/InputHeygenPhotoAvatar4.js +24 -0
  82. package/dist/cjs/api/types/InputHeygenPhotoAvatar4Audio.d.ts +23 -0
  83. package/dist/cjs/api/types/InputHeygenPhotoAvatar4Audio.js +3 -0
  84. package/dist/cjs/api/types/InputHeygenPhotoAvatar4StartImage.d.ts +23 -0
  85. package/dist/cjs/api/types/InputHeygenPhotoAvatar4StartImage.js +3 -0
  86. package/dist/cjs/api/types/InputHidreamO1Image.d.ts +3 -3
  87. package/dist/cjs/api/types/InputHidreamO1Image.js +1 -1
  88. package/dist/cjs/api/types/InputIdeogramV4.d.ts +3 -3
  89. package/dist/cjs/api/types/InputIdeogramV4.js +1 -1
  90. package/dist/cjs/api/types/InputKling16.d.ts +1 -1
  91. package/dist/cjs/api/types/InputKling16StartImage.d.ts +1 -1
  92. package/dist/cjs/api/types/InputKling21Master.d.ts +1 -1
  93. package/dist/cjs/api/types/InputKling21MasterStartImage.d.ts +1 -1
  94. package/dist/cjs/api/types/InputKling25Turbo.d.ts +1 -1
  95. package/dist/cjs/api/types/InputKling25TurboStartImage.d.ts +1 -1
  96. package/dist/cjs/api/types/InputKling26MotionControl.d.ts +2 -2
  97. package/dist/cjs/api/types/InputKling26MotionControlSourceVideo.d.ts +1 -1
  98. package/dist/cjs/api/types/InputKling26MotionControlStartImage.d.ts +1 -1
  99. package/dist/cjs/api/types/InputKling26Pro.d.ts +1 -1
  100. package/dist/cjs/api/types/InputKling26ProStartImage.d.ts +1 -1
  101. package/dist/cjs/api/types/InputKlingAiAvatarV2.d.ts +4 -4
  102. package/dist/cjs/api/types/InputKlingAiAvatarV2.js +1 -1
  103. package/dist/cjs/api/types/InputKlingAiAvatarV2StartImage.d.ts +1 -1
  104. package/dist/cjs/api/types/InputKlingO1.d.ts +2 -2
  105. package/dist/cjs/api/types/InputKlingO1EndImage.d.ts +1 -1
  106. package/dist/cjs/api/types/InputKlingO1StartImage.d.ts +1 -1
  107. package/dist/cjs/api/types/InputKlingO3.d.ts +5 -5
  108. package/dist/cjs/api/types/InputKlingO3.js +1 -1
  109. package/dist/cjs/api/types/InputKlingO3Edit.d.ts +1 -1
  110. package/dist/cjs/api/types/InputKlingO3EditSourceVideo.d.ts +1 -1
  111. package/dist/cjs/api/types/InputKlingO3EndImage.d.ts +1 -1
  112. package/dist/cjs/api/types/InputKlingO3Reference.d.ts +1 -1
  113. package/dist/cjs/api/types/InputKlingO3ReferenceSourceVideo.d.ts +1 -1
  114. package/dist/cjs/api/types/InputKlingO3StartImage.d.ts +1 -1
  115. package/dist/cjs/api/types/InputKlingV3.d.ts +5 -5
  116. package/dist/cjs/api/types/InputKlingV3.js +1 -1
  117. package/dist/cjs/api/types/InputKlingV3EndImage.d.ts +1 -1
  118. package/dist/cjs/api/types/InputKlingV3MotionControl.d.ts +2 -2
  119. package/dist/cjs/api/types/InputKlingV3MotionControlSourceVideo.d.ts +1 -1
  120. package/dist/cjs/api/types/InputKlingV3MotionControlStartImage.d.ts +1 -1
  121. package/dist/cjs/api/types/InputKlingV3StartImage.d.ts +1 -1
  122. package/dist/cjs/api/types/InputLtx23.d.ts +5 -5
  123. package/dist/cjs/api/types/InputLtx23.js +1 -1
  124. package/dist/cjs/api/types/InputLtx23EndImage.d.ts +1 -1
  125. package/dist/cjs/api/types/InputLtx23StartImage.d.ts +1 -1
  126. package/dist/cjs/api/types/InputLumaRay32.d.ts +2 -2
  127. package/dist/cjs/api/types/InputLumaRay32.js +2 -2
  128. package/dist/cjs/api/types/InputMaiImage25.d.ts +3 -3
  129. package/dist/cjs/api/types/InputMaiImage25.js +1 -1
  130. package/dist/cjs/api/types/InputMinimaxH3.d.ts +3 -2
  131. package/dist/cjs/api/types/InputMinimaxH3.js +1 -0
  132. package/dist/cjs/api/types/InputMinimaxH3EndImage.d.ts +1 -1
  133. package/dist/cjs/api/types/InputMinimaxH3StartImage.d.ts +1 -1
  134. package/dist/cjs/api/types/InputMinimaxHailuo02.d.ts +5 -5
  135. package/dist/cjs/api/types/InputMinimaxHailuo02.js +1 -1
  136. package/dist/cjs/api/types/InputMinimaxHailuo02EndImage.d.ts +1 -1
  137. package/dist/cjs/api/types/InputMinimaxHailuo02StartImage.d.ts +1 -1
  138. package/dist/cjs/api/types/InputMinimaxHailuo23.d.ts +4 -4
  139. package/dist/cjs/api/types/InputMinimaxHailuo23.js +1 -1
  140. package/dist/cjs/api/types/InputMinimaxHailuo23StartImage.d.ts +1 -1
  141. package/dist/cjs/api/types/InputNanoBanana.d.ts +2 -2
  142. package/dist/cjs/api/types/InputNanoBanana.js +1 -1
  143. package/dist/cjs/api/types/InputNanoBanana2.d.ts +20 -2
  144. package/dist/cjs/api/types/InputNanoBanana2.js +12 -1
  145. package/dist/cjs/api/types/InputNanoBananaPro.d.ts +5 -2
  146. package/dist/cjs/api/types/InputNanoBananaPro.js +2 -1
  147. package/dist/cjs/api/types/InputOmnihuman15.d.ts +1 -1
  148. package/dist/cjs/api/types/InputOmnihuman15StartImage.d.ts +1 -1
  149. package/dist/cjs/api/types/InputPixverseV6.d.ts +1 -1
  150. package/dist/cjs/api/types/InputPixverseV6StartImage.d.ts +1 -1
  151. package/dist/cjs/api/types/InputQwenImage2.d.ts +3 -3
  152. package/dist/cjs/api/types/InputQwenImage2.js +1 -1
  153. package/dist/cjs/api/types/InputSeedance15Pro.d.ts +3 -2
  154. package/dist/cjs/api/types/InputSeedance15Pro.js +1 -0
  155. package/dist/cjs/api/types/InputSeedance15ProEndImage.d.ts +1 -1
  156. package/dist/cjs/api/types/InputSeedance15ProStartImage.d.ts +1 -1
  157. package/dist/cjs/api/types/InputSeedance20.d.ts +6 -5
  158. package/dist/cjs/api/types/InputSeedance20.js +2 -1
  159. package/dist/cjs/api/types/InputSeedance20EndImage.d.ts +1 -1
  160. package/dist/cjs/api/types/InputSeedance20Mini.d.ts +3 -2
  161. package/dist/cjs/api/types/InputSeedance20Mini.js +1 -0
  162. package/dist/cjs/api/types/InputSeedance20MiniEndImage.d.ts +1 -1
  163. package/dist/cjs/api/types/InputSeedance20MiniStartImage.d.ts +1 -1
  164. package/dist/cjs/api/types/InputSeedance20StartImage.d.ts +1 -1
  165. package/dist/cjs/api/types/InputSeedance25.d.ts +2 -2
  166. package/dist/cjs/api/types/InputSeedance25EndImage.d.ts +1 -1
  167. package/dist/cjs/api/types/InputSeedance25StartImage.d.ts +1 -1
  168. package/dist/cjs/api/types/InputSeedream50Lite.d.ts +8 -0
  169. package/dist/cjs/api/types/InputSeedream50Lite.js +5 -0
  170. package/dist/cjs/api/types/InputSeedream50Pro.d.ts +8 -0
  171. package/dist/cjs/api/types/InputSeedream50Pro.js +5 -0
  172. package/dist/cjs/api/types/InputSora2Pro.d.ts +1 -1
  173. package/dist/cjs/api/types/InputSora2ProStartImage.d.ts +1 -1
  174. package/dist/cjs/api/types/InputVeedFabric10.d.ts +1 -1
  175. package/dist/cjs/api/types/InputVeedFabric10StartImage.d.ts +1 -1
  176. package/dist/cjs/api/types/InputVeo2.d.ts +1 -1
  177. package/dist/cjs/api/types/InputVeo2StartImage.d.ts +1 -1
  178. package/dist/cjs/api/types/InputVeo3.d.ts +4 -4
  179. package/dist/cjs/api/types/InputVeo3.js +1 -1
  180. package/dist/cjs/api/types/InputVeo31.d.ts +6 -6
  181. package/dist/cjs/api/types/InputVeo31.js +1 -1
  182. package/dist/cjs/api/types/InputVeo31EndImage.d.ts +1 -1
  183. package/dist/cjs/api/types/InputVeo31SourceVideo.d.ts +1 -1
  184. package/dist/cjs/api/types/InputVeo31StartImage.d.ts +1 -1
  185. package/dist/cjs/api/types/InputVeo3StartImage.d.ts +1 -1
  186. package/dist/cjs/api/types/InputViduQ3.d.ts +5 -5
  187. package/dist/cjs/api/types/InputViduQ3.js +1 -1
  188. package/dist/cjs/api/types/InputViduQ3EndImage.d.ts +1 -1
  189. package/dist/cjs/api/types/InputViduQ3StartImage.d.ts +1 -1
  190. package/dist/cjs/api/types/InputWan27.d.ts +2 -2
  191. package/dist/cjs/api/types/InputWan27EndImage.d.ts +1 -1
  192. package/dist/cjs/api/types/InputWan27StartImage.d.ts +1 -1
  193. package/dist/cjs/api/types/InputWan30.d.ts +5 -5
  194. package/dist/cjs/api/types/InputWan30.js +1 -1
  195. package/dist/cjs/api/types/InputWan30EndImage.d.ts +1 -1
  196. package/dist/cjs/api/types/InputWan30StartImage.d.ts +1 -1
  197. package/dist/cjs/api/types/TransactionListResponse.d.ts +7 -0
  198. package/dist/cjs/api/types/TransactionListResponse.js +3 -0
  199. package/dist/cjs/api/types/TransactionRecord.d.ts +15 -0
  200. package/dist/cjs/api/types/TransactionRecord.js +3 -0
  201. package/dist/cjs/api/types/VoiceGender.d.ts +12 -0
  202. package/dist/cjs/api/types/VoiceGender.js +15 -0
  203. package/dist/cjs/api/types/index.d.ts +12 -0
  204. package/dist/cjs/api/types/index.js +12 -0
  205. package/dist/cjs/version.d.ts +1 -1
  206. package/dist/cjs/version.js +1 -1
  207. package/dist/esm/BaseClient.d.mts +2 -2
  208. package/dist/esm/BaseClient.mjs +3 -3
  209. package/dist/esm/api/resources/billing/client/Client.d.mts +22 -0
  210. package/dist/esm/api/resources/billing/client/Client.mjs +78 -2
  211. package/dist/esm/api/resources/billing/client/requests/BillingListTransactionsRequest.d.mts +10 -0
  212. package/dist/esm/api/resources/billing/client/requests/BillingListTransactionsRequest.mjs +2 -0
  213. package/dist/esm/api/resources/billing/client/requests/index.d.mts +1 -0
  214. package/dist/esm/api/resources/files/client/Client.mjs +1 -1
  215. package/dist/esm/api/resources/jobs/client/Client.d.mts +194 -72
  216. package/dist/esm/api/resources/jobs/client/Client.mjs +497 -167
  217. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyCreatifyAurora.d.mts +24 -0
  218. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyCreatifyAurora.mjs +2 -0
  219. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.d.mts +17 -0
  220. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.mjs +2 -0
  221. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage2.d.mts +1 -2
  222. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.d.mts +18 -0
  223. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.mjs +2 -0
  224. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyHeygenPhotoAvatar4.d.mts +25 -0
  225. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyHeygenPhotoAvatar4.mjs +2 -0
  226. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyHidreamO1Image.d.mts +1 -2
  227. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyIdeogramV4.d.mts +1 -2
  228. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingAiAvatarV2.d.mts +1 -2
  229. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.mts +1 -2
  230. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.mts +1 -2
  231. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyLtx23.d.mts +1 -2
  232. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyLumaRay32.d.mts +1 -1
  233. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMaiImage25.d.mts +1 -2
  234. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxH3.d.mts +1 -1
  235. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo02.d.mts +1 -2
  236. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo23.d.mts +1 -2
  237. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyNanoBanana2.d.mts +2 -2
  238. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyNanoBananaPro.d.mts +1 -1
  239. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyQwenImage2.d.mts +1 -2
  240. package/dist/esm/api/resources/jobs/client/requests/SubmitBodySeedance20.d.mts +1 -2
  241. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeo3.d.mts +1 -2
  242. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeo31.d.mts +1 -2
  243. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyViduQ3.d.mts +1 -2
  244. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.d.mts +1 -2
  245. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +4 -0
  246. package/dist/esm/api/resources/keys/client/Client.mjs +4 -4
  247. package/dist/esm/api/resources/logDrains/client/Client.mjs +6 -6
  248. package/dist/esm/api/resources/models/client/Client.d.mts +23 -0
  249. package/dist/esm/api/resources/models/client/Client.mjs +85 -6
  250. package/dist/esm/api/resources/models/client/requests/ModelsSearchVoicesRequest.d.mts +17 -0
  251. package/dist/esm/api/resources/models/client/requests/ModelsSearchVoicesRequest.mjs +2 -0
  252. package/dist/esm/api/resources/models/client/requests/index.d.mts +1 -0
  253. package/dist/esm/api/resources/tokens/client/Client.mjs +1 -1
  254. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -7
  255. package/dist/esm/api/types/InputCreatifyAurora.d.mts +24 -0
  256. package/dist/esm/api/types/InputCreatifyAurora.mjs +9 -0
  257. package/dist/esm/api/types/InputCreatifyAuroraAudio.d.mts +23 -0
  258. package/dist/esm/api/types/InputCreatifyAuroraAudio.mjs +2 -0
  259. package/dist/esm/api/types/InputCreatifyAuroraStartImage.d.mts +23 -0
  260. package/dist/esm/api/types/InputCreatifyAuroraStartImage.mjs +2 -0
  261. package/dist/esm/api/types/InputElevenlabsMusic.d.mts +13 -0
  262. package/dist/esm/api/types/InputElevenlabsMusic.mjs +2 -0
  263. package/dist/esm/api/types/InputFlux3.d.mts +2 -2
  264. package/dist/esm/api/types/InputFlux3EndImage.d.mts +1 -1
  265. package/dist/esm/api/types/InputFlux3StartImage.d.mts +1 -1
  266. package/dist/esm/api/types/InputGeminiOmniFlash.d.mts +2 -2
  267. package/dist/esm/api/types/InputGeminiOmniFlashSourceVideo.d.mts +1 -1
  268. package/dist/esm/api/types/InputGeminiOmniFlashStartImage.d.mts +1 -1
  269. package/dist/esm/api/types/InputGptImage2.d.mts +3 -3
  270. package/dist/esm/api/types/InputGptImage2.mjs +1 -1
  271. package/dist/esm/api/types/InputGrokImagine.d.mts +32 -3
  272. package/dist/esm/api/types/InputGrokImagine.mjs +22 -1
  273. package/dist/esm/api/types/InputGrokImagine20.d.mts +52 -0
  274. package/dist/esm/api/types/InputGrokImagine20.mjs +31 -0
  275. package/dist/esm/api/types/InputGrokImagine20ImagesItem.d.mts +20 -0
  276. package/dist/esm/api/types/InputGrokImagine20ImagesItem.mjs +2 -0
  277. package/dist/esm/api/types/InputGrokVideo.d.mts +1 -1
  278. package/dist/esm/api/types/InputGrokVideoStartImage.d.mts +1 -1
  279. package/dist/esm/api/types/InputHappyHorse.d.mts +1 -1
  280. package/dist/esm/api/types/InputHappyHorseStartImage.d.mts +1 -1
  281. package/dist/esm/api/types/InputHedraAvatar.d.mts +1 -1
  282. package/dist/esm/api/types/InputHedraAvatarStartImage.d.mts +1 -1
  283. package/dist/esm/api/types/InputHedraCharacter3.d.mts +1 -1
  284. package/dist/esm/api/types/InputHedraCharacter3StartImage.d.mts +1 -1
  285. package/dist/esm/api/types/InputHeygenPhotoAvatar4.d.mts +39 -0
  286. package/dist/esm/api/types/InputHeygenPhotoAvatar4.mjs +21 -0
  287. package/dist/esm/api/types/InputHeygenPhotoAvatar4Audio.d.mts +23 -0
  288. package/dist/esm/api/types/InputHeygenPhotoAvatar4Audio.mjs +2 -0
  289. package/dist/esm/api/types/InputHeygenPhotoAvatar4StartImage.d.mts +23 -0
  290. package/dist/esm/api/types/InputHeygenPhotoAvatar4StartImage.mjs +2 -0
  291. package/dist/esm/api/types/InputHidreamO1Image.d.mts +3 -3
  292. package/dist/esm/api/types/InputHidreamO1Image.mjs +1 -1
  293. package/dist/esm/api/types/InputIdeogramV4.d.mts +3 -3
  294. package/dist/esm/api/types/InputIdeogramV4.mjs +1 -1
  295. package/dist/esm/api/types/InputKling16.d.mts +1 -1
  296. package/dist/esm/api/types/InputKling16StartImage.d.mts +1 -1
  297. package/dist/esm/api/types/InputKling21Master.d.mts +1 -1
  298. package/dist/esm/api/types/InputKling21MasterStartImage.d.mts +1 -1
  299. package/dist/esm/api/types/InputKling25Turbo.d.mts +1 -1
  300. package/dist/esm/api/types/InputKling25TurboStartImage.d.mts +1 -1
  301. package/dist/esm/api/types/InputKling26MotionControl.d.mts +2 -2
  302. package/dist/esm/api/types/InputKling26MotionControlSourceVideo.d.mts +1 -1
  303. package/dist/esm/api/types/InputKling26MotionControlStartImage.d.mts +1 -1
  304. package/dist/esm/api/types/InputKling26Pro.d.mts +1 -1
  305. package/dist/esm/api/types/InputKling26ProStartImage.d.mts +1 -1
  306. package/dist/esm/api/types/InputKlingAiAvatarV2.d.mts +4 -4
  307. package/dist/esm/api/types/InputKlingAiAvatarV2.mjs +1 -1
  308. package/dist/esm/api/types/InputKlingAiAvatarV2StartImage.d.mts +1 -1
  309. package/dist/esm/api/types/InputKlingO1.d.mts +2 -2
  310. package/dist/esm/api/types/InputKlingO1EndImage.d.mts +1 -1
  311. package/dist/esm/api/types/InputKlingO1StartImage.d.mts +1 -1
  312. package/dist/esm/api/types/InputKlingO3.d.mts +5 -5
  313. package/dist/esm/api/types/InputKlingO3.mjs +1 -1
  314. package/dist/esm/api/types/InputKlingO3Edit.d.mts +1 -1
  315. package/dist/esm/api/types/InputKlingO3EditSourceVideo.d.mts +1 -1
  316. package/dist/esm/api/types/InputKlingO3EndImage.d.mts +1 -1
  317. package/dist/esm/api/types/InputKlingO3Reference.d.mts +1 -1
  318. package/dist/esm/api/types/InputKlingO3ReferenceSourceVideo.d.mts +1 -1
  319. package/dist/esm/api/types/InputKlingO3StartImage.d.mts +1 -1
  320. package/dist/esm/api/types/InputKlingV3.d.mts +5 -5
  321. package/dist/esm/api/types/InputKlingV3.mjs +1 -1
  322. package/dist/esm/api/types/InputKlingV3EndImage.d.mts +1 -1
  323. package/dist/esm/api/types/InputKlingV3MotionControl.d.mts +2 -2
  324. package/dist/esm/api/types/InputKlingV3MotionControlSourceVideo.d.mts +1 -1
  325. package/dist/esm/api/types/InputKlingV3MotionControlStartImage.d.mts +1 -1
  326. package/dist/esm/api/types/InputKlingV3StartImage.d.mts +1 -1
  327. package/dist/esm/api/types/InputLtx23.d.mts +5 -5
  328. package/dist/esm/api/types/InputLtx23.mjs +1 -1
  329. package/dist/esm/api/types/InputLtx23EndImage.d.mts +1 -1
  330. package/dist/esm/api/types/InputLtx23StartImage.d.mts +1 -1
  331. package/dist/esm/api/types/InputLumaRay32.d.mts +2 -2
  332. package/dist/esm/api/types/InputLumaRay32.mjs +2 -2
  333. package/dist/esm/api/types/InputMaiImage25.d.mts +3 -3
  334. package/dist/esm/api/types/InputMaiImage25.mjs +1 -1
  335. package/dist/esm/api/types/InputMinimaxH3.d.mts +3 -2
  336. package/dist/esm/api/types/InputMinimaxH3.mjs +1 -0
  337. package/dist/esm/api/types/InputMinimaxH3EndImage.d.mts +1 -1
  338. package/dist/esm/api/types/InputMinimaxH3StartImage.d.mts +1 -1
  339. package/dist/esm/api/types/InputMinimaxHailuo02.d.mts +5 -5
  340. package/dist/esm/api/types/InputMinimaxHailuo02.mjs +1 -1
  341. package/dist/esm/api/types/InputMinimaxHailuo02EndImage.d.mts +1 -1
  342. package/dist/esm/api/types/InputMinimaxHailuo02StartImage.d.mts +1 -1
  343. package/dist/esm/api/types/InputMinimaxHailuo23.d.mts +4 -4
  344. package/dist/esm/api/types/InputMinimaxHailuo23.mjs +1 -1
  345. package/dist/esm/api/types/InputMinimaxHailuo23StartImage.d.mts +1 -1
  346. package/dist/esm/api/types/InputNanoBanana.d.mts +2 -2
  347. package/dist/esm/api/types/InputNanoBanana.mjs +1 -1
  348. package/dist/esm/api/types/InputNanoBanana2.d.mts +20 -2
  349. package/dist/esm/api/types/InputNanoBanana2.mjs +12 -1
  350. package/dist/esm/api/types/InputNanoBananaPro.d.mts +5 -2
  351. package/dist/esm/api/types/InputNanoBananaPro.mjs +2 -1
  352. package/dist/esm/api/types/InputOmnihuman15.d.mts +1 -1
  353. package/dist/esm/api/types/InputOmnihuman15StartImage.d.mts +1 -1
  354. package/dist/esm/api/types/InputPixverseV6.d.mts +1 -1
  355. package/dist/esm/api/types/InputPixverseV6StartImage.d.mts +1 -1
  356. package/dist/esm/api/types/InputQwenImage2.d.mts +3 -3
  357. package/dist/esm/api/types/InputQwenImage2.mjs +1 -1
  358. package/dist/esm/api/types/InputSeedance15Pro.d.mts +3 -2
  359. package/dist/esm/api/types/InputSeedance15Pro.mjs +1 -0
  360. package/dist/esm/api/types/InputSeedance15ProEndImage.d.mts +1 -1
  361. package/dist/esm/api/types/InputSeedance15ProStartImage.d.mts +1 -1
  362. package/dist/esm/api/types/InputSeedance20.d.mts +6 -5
  363. package/dist/esm/api/types/InputSeedance20.mjs +2 -1
  364. package/dist/esm/api/types/InputSeedance20EndImage.d.mts +1 -1
  365. package/dist/esm/api/types/InputSeedance20Mini.d.mts +3 -2
  366. package/dist/esm/api/types/InputSeedance20Mini.mjs +1 -0
  367. package/dist/esm/api/types/InputSeedance20MiniEndImage.d.mts +1 -1
  368. package/dist/esm/api/types/InputSeedance20MiniStartImage.d.mts +1 -1
  369. package/dist/esm/api/types/InputSeedance20StartImage.d.mts +1 -1
  370. package/dist/esm/api/types/InputSeedance25.d.mts +2 -2
  371. package/dist/esm/api/types/InputSeedance25EndImage.d.mts +1 -1
  372. package/dist/esm/api/types/InputSeedance25StartImage.d.mts +1 -1
  373. package/dist/esm/api/types/InputSeedream50Lite.d.mts +8 -0
  374. package/dist/esm/api/types/InputSeedream50Lite.mjs +5 -0
  375. package/dist/esm/api/types/InputSeedream50Pro.d.mts +8 -0
  376. package/dist/esm/api/types/InputSeedream50Pro.mjs +5 -0
  377. package/dist/esm/api/types/InputSora2Pro.d.mts +1 -1
  378. package/dist/esm/api/types/InputSora2ProStartImage.d.mts +1 -1
  379. package/dist/esm/api/types/InputVeedFabric10.d.mts +1 -1
  380. package/dist/esm/api/types/InputVeedFabric10StartImage.d.mts +1 -1
  381. package/dist/esm/api/types/InputVeo2.d.mts +1 -1
  382. package/dist/esm/api/types/InputVeo2StartImage.d.mts +1 -1
  383. package/dist/esm/api/types/InputVeo3.d.mts +4 -4
  384. package/dist/esm/api/types/InputVeo3.mjs +1 -1
  385. package/dist/esm/api/types/InputVeo31.d.mts +6 -6
  386. package/dist/esm/api/types/InputVeo31.mjs +1 -1
  387. package/dist/esm/api/types/InputVeo31EndImage.d.mts +1 -1
  388. package/dist/esm/api/types/InputVeo31SourceVideo.d.mts +1 -1
  389. package/dist/esm/api/types/InputVeo31StartImage.d.mts +1 -1
  390. package/dist/esm/api/types/InputVeo3StartImage.d.mts +1 -1
  391. package/dist/esm/api/types/InputViduQ3.d.mts +5 -5
  392. package/dist/esm/api/types/InputViduQ3.mjs +1 -1
  393. package/dist/esm/api/types/InputViduQ3EndImage.d.mts +1 -1
  394. package/dist/esm/api/types/InputViduQ3StartImage.d.mts +1 -1
  395. package/dist/esm/api/types/InputWan27.d.mts +2 -2
  396. package/dist/esm/api/types/InputWan27EndImage.d.mts +1 -1
  397. package/dist/esm/api/types/InputWan27StartImage.d.mts +1 -1
  398. package/dist/esm/api/types/InputWan30.d.mts +5 -5
  399. package/dist/esm/api/types/InputWan30.mjs +1 -1
  400. package/dist/esm/api/types/InputWan30EndImage.d.mts +1 -1
  401. package/dist/esm/api/types/InputWan30StartImage.d.mts +1 -1
  402. package/dist/esm/api/types/TransactionListResponse.d.mts +7 -0
  403. package/dist/esm/api/types/TransactionListResponse.mjs +2 -0
  404. package/dist/esm/api/types/TransactionRecord.d.mts +15 -0
  405. package/dist/esm/api/types/TransactionRecord.mjs +2 -0
  406. package/dist/esm/api/types/VoiceGender.d.mts +12 -0
  407. package/dist/esm/api/types/VoiceGender.mjs +12 -0
  408. package/dist/esm/api/types/index.d.mts +12 -0
  409. package/dist/esm/api/types/index.mjs +12 -0
  410. package/dist/esm/version.d.mts +1 -1
  411. package/dist/esm/version.mjs +1 -1
  412. package/package.json +2 -2
  413. package/reference.md +496 -72
@@ -0,0 +1,24 @@
1
+ import type * as Hedra from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * input: {
6
+ * resolution: "480p",
7
+ * start_image: {
8
+ * source: "url",
9
+ * url: "url"
10
+ * },
11
+ * audio: {
12
+ * source: "url",
13
+ * url: "url"
14
+ * }
15
+ * }
16
+ * }
17
+ */
18
+ export interface SubmitBodyCreatifyAurora {
19
+ input: Hedra.InputCreatifyAurora;
20
+ /** URL to receive a signed completion webhook. */
21
+ webhook?: string | null;
22
+ /** Replays the original ack for a retried submit instead of enqueueing a duplicate job. */
23
+ idempotency_key?: string | null;
24
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,17 @@
1
+ import type * as Hedra from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * input: {
6
+ * prompt: "prompt",
7
+ * duration_ms: 1
8
+ * }
9
+ * }
10
+ */
11
+ export interface SubmitBodyElevenlabsMusic {
12
+ input: Hedra.InputElevenlabsMusic;
13
+ /** URL to receive a signed completion webhook. */
14
+ webhook?: string | null;
15
+ /** Replays the original ack for a retried submit instead of enqueueing a duplicate job. */
16
+ idempotency_key?: string | null;
17
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -5,8 +5,7 @@ import type * as Hedra from "../../../../index.mjs";
5
5
  * input: {
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "16:9",
8
- * resolution: "1K",
9
- * quality: "low"
8
+ * resolution: "1K"
10
9
  * }
11
10
  * }
12
11
  */
@@ -0,0 +1,18 @@
1
+ import type * as Hedra from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * input: {
6
+ * prompt: "prompt",
7
+ * aspect_ratio: "2:1",
8
+ * resolution: "1k"
9
+ * }
10
+ * }
11
+ */
12
+ export interface SubmitBodyGrokImagine20 {
13
+ input: Hedra.InputGrokImagine20;
14
+ /** URL to receive a signed completion webhook. */
15
+ webhook?: string | null;
16
+ /** Replays the original ack for a retried submit instead of enqueueing a duplicate job. */
17
+ idempotency_key?: string | null;
18
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,25 @@
1
+ import type * as Hedra from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * input: {
6
+ * aspect_ratio: "16:9",
7
+ * resolution: "360p",
8
+ * start_image: {
9
+ * source: "url",
10
+ * url: "url"
11
+ * },
12
+ * audio: {
13
+ * source: "url",
14
+ * url: "url"
15
+ * }
16
+ * }
17
+ * }
18
+ */
19
+ export interface SubmitBodyHeygenPhotoAvatar4 {
20
+ input: Hedra.InputHeygenPhotoAvatar4;
21
+ /** URL to receive a signed completion webhook. */
22
+ webhook?: string | null;
23
+ /** Replays the original ack for a retried submit instead of enqueueing a duplicate job. */
24
+ idempotency_key?: string | null;
25
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -4,8 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * aspect_ratio: "16:9",
8
- * quality: "standard"
7
+ * aspect_ratio: "16:9"
9
8
  * }
10
9
  * }
11
10
  */
@@ -5,8 +5,7 @@ import type * as Hedra from "../../../../index.mjs";
5
5
  * input: {
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "16:9",
8
- * resolution: "720p",
9
- * quality: "turbo"
8
+ * resolution: "720p"
10
9
  * }
11
10
  * }
12
11
  */
@@ -11,8 +11,7 @@ import type * as Hedra from "../../../../index.mjs";
11
11
  * audio: {
12
12
  * source: "url",
13
13
  * url: "url"
14
- * },
15
- * quality: "standard"
14
+ * }
16
15
  * }
17
16
  * }
18
17
  */
@@ -4,8 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * aspect_ratio: "16:9",
7
- * duration_ms: 1,
8
- * quality: "standard"
7
+ * duration_ms: 1
9
8
  * }
10
9
  * }
11
10
  */
@@ -4,8 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * aspect_ratio: "16:9",
7
- * duration_ms: 1,
8
- * quality: "standard"
7
+ * duration_ms: 1
9
8
  * }
10
9
  * }
11
10
  */
@@ -6,8 +6,7 @@ import type * as Hedra from "../../../../index.mjs";
6
6
  * prompt: "prompt",
7
7
  * resolution: "1080p",
8
8
  * duration_ms: 1,
9
- * aspect_ratio: "auto",
10
- * quality: "fast"
9
+ * aspect_ratio: "auto"
11
10
  * }
12
11
  * }
13
12
  */
@@ -4,7 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * aspect_ratio: "1:1",
7
+ * aspect_ratio: "3:4",
8
8
  * resolution: "540p",
9
9
  * duration_ms: 1
10
10
  * }
@@ -4,8 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * aspect_ratio: "1:1",
8
- * quality: "standard"
7
+ * aspect_ratio: "1:1"
9
8
  * }
10
9
  * }
11
10
  */
@@ -4,7 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * resolution: "768p",
7
+ * resolution: "480p",
8
8
  * duration_ms: 1
9
9
  * }
10
10
  * }
@@ -4,8 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * duration_ms: 1,
8
- * quality: "standard"
7
+ * duration_ms: 1
9
8
  * }
10
9
  * }
11
10
  */
@@ -4,8 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * duration_ms: 1,
8
- * quality: "standard"
7
+ * duration_ms: 1
9
8
  * }
10
9
  * }
11
10
  */
@@ -4,8 +4,8 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * aspect_ratio: "16:9",
8
- * resolution: "1K"
7
+ * aspect_ratio: "adaptive",
8
+ * resolution: "512px"
9
9
  * }
10
10
  * }
11
11
  */
@@ -4,7 +4,7 @@ import type * as Hedra from "../../../../index.mjs";
4
4
  * {
5
5
  * input: {
6
6
  * prompt: "prompt",
7
- * aspect_ratio: "16:9",
7
+ * aspect_ratio: "adaptive",
8
8
  * resolution: "1K"
9
9
  * }
10
10
  * }
@@ -5,8 +5,7 @@ import type * as Hedra from "../../../../index.mjs";
5
5
  * input: {
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "16:9",
8
- * resolution: "540p",
9
- * quality: "standard"
8
+ * resolution: "540p"
10
9
  * }
11
10
  * }
12
11
  */
@@ -6,8 +6,7 @@ import type * as Hedra from "../../../../index.mjs";
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "1:1",
8
8
  * resolution: "4K",
9
- * duration_ms: 1,
10
- * quality: "standard"
9
+ * duration_ms: 1
11
10
  * }
12
11
  * }
13
12
  */
@@ -6,8 +6,7 @@ import type * as Hedra from "../../../../index.mjs";
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "16:9",
8
8
  * resolution: "720p",
9
- * duration_ms: 1,
10
- * quality: "standard"
9
+ * duration_ms: 1
11
10
  * }
12
11
  * }
13
12
  */
@@ -5,8 +5,7 @@ import type * as Hedra from "../../../../index.mjs";
5
5
  * input: {
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "16:9",
8
- * resolution: "720p",
9
- * quality: "standard"
8
+ * resolution: "720p"
10
9
  * }
11
10
  * }
12
11
  */
@@ -5,8 +5,7 @@ import type * as Hedra from "../../../../index.mjs";
5
5
  * input: {
6
6
  * prompt: "prompt",
7
7
  * resolution: "540p",
8
- * duration_ms: 1,
9
- * quality: "standard"
8
+ * duration_ms: 1
10
9
  * }
11
10
  * }
12
11
  */
@@ -6,8 +6,7 @@ import type * as Hedra from "../../../../index.mjs";
6
6
  * prompt: "prompt",
7
7
  * aspect_ratio: "adaptive",
8
8
  * resolution: "480p",
9
- * duration_ms: 1,
10
- * quality: "standard"
9
+ * duration_ms: 1
11
10
  * }
12
11
  * }
13
12
  */
@@ -4,6 +4,7 @@ export type { JobsListJobLogsRequest } from "./JobsListJobLogsRequest.mjs";
4
4
  export type { JobsListRequest } from "./JobsListRequest.mjs";
5
5
  export type { JobsStreamRequest } from "./JobsStreamRequest.mjs";
6
6
  export type { SubmitBody } from "./SubmitBody.mjs";
7
+ export type { SubmitBodyCreatifyAurora } from "./SubmitBodyCreatifyAurora.mjs";
7
8
  export type { SubmitBodyDreamina31 } from "./SubmitBodyDreamina31.mjs";
8
9
  export type { SubmitBodyElevenlabsAudioIsolation } from "./SubmitBodyElevenlabsAudioIsolation.mjs";
9
10
  export type { SubmitBodyElevenlabsEnglishStsV2 } from "./SubmitBodyElevenlabsEnglishStsV2.mjs";
@@ -11,6 +12,7 @@ export type { SubmitBodyElevenlabsFlashMultilingualV2 } from "./SubmitBodyEleven
11
12
  export type { SubmitBodyElevenlabsFlashV2 } from "./SubmitBodyElevenlabsFlashV2.mjs";
12
13
  export type { SubmitBodyElevenlabsMultilingualStsV2 } from "./SubmitBodyElevenlabsMultilingualStsV2.mjs";
13
14
  export type { SubmitBodyElevenlabsMultilingualV2 } from "./SubmitBodyElevenlabsMultilingualV2.mjs";
15
+ export type { SubmitBodyElevenlabsMusic } from "./SubmitBodyElevenlabsMusic.mjs";
14
16
  export type { SubmitBodyElevenlabsSoundEffects } from "./SubmitBodyElevenlabsSoundEffects.mjs";
15
17
  export type { SubmitBodyElevenlabsV3 } from "./SubmitBodyElevenlabsV3.mjs";
16
18
  export type { SubmitBodyElevenlabsVoiceClone } from "./SubmitBodyElevenlabsVoiceClone.mjs";
@@ -28,10 +30,12 @@ export type { SubmitBodyGeminiOmniFlash } from "./SubmitBodyGeminiOmniFlash.mjs"
28
30
  export type { SubmitBodyGptImage2 } from "./SubmitBodyGptImage2.mjs";
29
31
  export type { SubmitBodyGptImage15 } from "./SubmitBodyGptImage15.mjs";
30
32
  export type { SubmitBodyGrokImagine } from "./SubmitBodyGrokImagine.mjs";
33
+ export type { SubmitBodyGrokImagine20 } from "./SubmitBodyGrokImagine20.mjs";
31
34
  export type { SubmitBodyGrokVideo } from "./SubmitBodyGrokVideo.mjs";
32
35
  export type { SubmitBodyHappyHorse } from "./SubmitBodyHappyHorse.mjs";
33
36
  export type { SubmitBodyHedraAvatar } from "./SubmitBodyHedraAvatar.mjs";
34
37
  export type { SubmitBodyHedraCharacter3 } from "./SubmitBodyHedraCharacter3.mjs";
38
+ export type { SubmitBodyHeygenPhotoAvatar4 } from "./SubmitBodyHeygenPhotoAvatar4.mjs";
35
39
  export type { SubmitBodyHidreamO1Image } from "./SubmitBodyHidreamO1Image.mjs";
36
40
  export type { SubmitBodyIdeogramV2 } from "./SubmitBodyIdeogramV2.mjs";
37
41
  export type { SubmitBodyIdeogramV4 } from "./SubmitBodyIdeogramV4.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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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.13.3" }), 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.16.1" }), 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",
@@ -87,6 +87,29 @@ export declare class ModelsClient {
87
87
  */
88
88
  listVoices(model: string, request?: Hedra.ModelsListVoicesRequest, requestOptions?: ModelsClient.RequestOptions): core.HttpResponsePromise<Hedra.VoiceListResponse>;
89
89
  private __listVoices;
90
+ /**
91
+ * The voices this model accepts, ranked against a description — the whole shared library, including the voices the listing does not return.
92
+ *
93
+ * @param {string} model - The model's public id (`GET /v3/models`).
94
+ * @param {Hedra.ModelsSearchVoicesRequest} request
95
+ * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
96
+ *
97
+ * @throws {@link Hedra.BadRequestError}
98
+ * @throws {@link Hedra.UnauthorizedError}
99
+ * @throws {@link Hedra.ForbiddenError}
100
+ * @throws {@link Hedra.NotFoundError}
101
+ * @throws {@link Hedra.TooManyRequestsError}
102
+ * @throws {@link Hedra.InternalServerError}
103
+ * @throws {@link errors.HedraError}
104
+ * @throws {@link errors.HedraTimeoutError}
105
+ *
106
+ * @example
107
+ * await client.models.searchVoices("model", {
108
+ * q: "q"
109
+ * })
110
+ */
111
+ searchVoices(model: string, request: Hedra.ModelsSearchVoicesRequest, requestOptions?: ModelsClient.RequestOptions): core.HttpResponsePromise<Hedra.VoiceListResponse>;
112
+ private __searchVoices;
90
113
  /**
91
114
  * A standalone one-operation OpenAPI spec for this model's submit call.
92
115
  *