@hedra/sdk 3.0.0 → 4.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 (256) 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 +407 -0
  6. package/dist/cjs/api/resources/jobs/client/Client.js +1882 -799
  7. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.d.ts +19 -0
  8. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.js +3 -0
  9. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.d.ts +20 -0
  10. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.js +3 -0
  11. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.d.ts +20 -0
  12. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.js +3 -0
  13. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.d.ts +17 -0
  14. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.js +3 -0
  15. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.d.ts +20 -0
  16. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.js +3 -0
  17. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.d.ts +20 -0
  18. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.js +3 -0
  19. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.d.ts +20 -0
  20. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.js +3 -0
  21. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.d.ts +20 -0
  22. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.js +3 -0
  23. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.d.ts +19 -0
  24. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.js +3 -0
  25. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.d.ts +20 -0
  26. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.js +3 -0
  27. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.d.ts +20 -0
  28. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.js +3 -0
  29. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.d.ts +20 -0
  30. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.js +3 -0
  31. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.d.ts +20 -0
  32. package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.js +3 -0
  33. package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +13 -0
  34. package/dist/cjs/api/resources/keys/client/Client.js +4 -4
  35. package/dist/cjs/api/resources/logDrains/client/Client.js +6 -6
  36. package/dist/cjs/api/resources/models/client/Client.d.ts +2 -1
  37. package/dist/cjs/api/resources/models/client/Client.js +11 -7
  38. package/dist/cjs/api/resources/tokens/client/Client.js +1 -1
  39. package/dist/cjs/api/resources/webhooks/client/Client.js +7 -7
  40. package/dist/cjs/api/types/ApiKeyScope.d.ts +1 -0
  41. package/dist/cjs/api/types/ApiKeyScope.js +1 -0
  42. package/dist/cjs/api/types/ErrorCode.d.ts +1 -0
  43. package/dist/cjs/api/types/ErrorCode.js +1 -0
  44. package/dist/cjs/api/types/InputElevenlabsAudioIsolation.d.ts +8 -0
  45. package/dist/cjs/api/types/InputElevenlabsAudioIsolation.js +3 -0
  46. package/dist/cjs/api/types/InputElevenlabsAudioIsolationAudio.d.ts +23 -0
  47. package/dist/cjs/api/types/InputElevenlabsAudioIsolationAudio.js +3 -0
  48. package/dist/cjs/api/types/InputElevenlabsEnglishStsV2.d.ts +10 -0
  49. package/dist/cjs/api/types/InputElevenlabsEnglishStsV2.js +3 -0
  50. package/dist/cjs/api/types/InputElevenlabsEnglishStsV2Audio.d.ts +23 -0
  51. package/dist/cjs/api/types/InputElevenlabsEnglishStsV2Audio.js +3 -0
  52. package/dist/cjs/api/types/InputElevenlabsFlashMultilingualV2.d.ts +1 -1
  53. package/dist/cjs/api/types/InputElevenlabsFlashV2.d.ts +1 -1
  54. package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2.d.ts +10 -0
  55. package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2.js +3 -0
  56. package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2Audio.d.ts +23 -0
  57. package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2Audio.js +3 -0
  58. package/dist/cjs/api/types/InputElevenlabsMultilingualV2.d.ts +1 -1
  59. package/dist/cjs/api/types/InputElevenlabsSoundEffects.d.ts +13 -0
  60. package/dist/cjs/api/types/InputElevenlabsSoundEffects.js +3 -0
  61. package/dist/cjs/api/types/InputElevenlabsV3.d.ts +1 -1
  62. package/dist/cjs/api/types/InputElevenlabsVoiceClone.d.ts +10 -0
  63. package/dist/cjs/api/types/InputElevenlabsVoiceClone.js +3 -0
  64. package/dist/cjs/api/types/InputElevenlabsVoiceCloneAudio.d.ts +23 -0
  65. package/dist/cjs/api/types/InputElevenlabsVoiceCloneAudio.js +3 -0
  66. package/dist/cjs/api/types/InputGptImage2.d.ts +1 -1
  67. package/dist/cjs/api/types/InputMinimaxSpeech25HdPreview.d.ts +1 -1
  68. package/dist/cjs/api/types/InputMinimaxSpeech25TurboPreview.d.ts +1 -1
  69. package/dist/cjs/api/types/InputSeedance15Pro.d.ts +2 -2
  70. package/dist/cjs/api/types/InputSeedance15ProEndImage.d.ts +1 -1
  71. package/dist/cjs/api/types/InputSeedance15ProStartImage.d.ts +1 -1
  72. package/dist/cjs/api/types/InputSeedance20.d.ts +3 -3
  73. package/dist/cjs/api/types/InputSeedance20EndImage.d.ts +1 -1
  74. package/dist/cjs/api/types/InputSeedance20Mini.d.ts +3 -3
  75. package/dist/cjs/api/types/InputSeedance20MiniEndImage.d.ts +1 -1
  76. package/dist/cjs/api/types/InputSeedance20MiniStartImage.d.ts +1 -1
  77. package/dist/cjs/api/types/InputSeedance20StartImage.d.ts +1 -1
  78. package/dist/cjs/api/types/InputSeedance25.d.ts +3 -3
  79. package/dist/cjs/api/types/InputSeedance25EndImage.d.ts +1 -1
  80. package/dist/cjs/api/types/InputSeedance25StartImage.d.ts +1 -1
  81. package/dist/cjs/api/types/InputTopazImageUpscaler.d.ts +41 -0
  82. package/dist/cjs/api/types/InputTopazImageUpscaler.js +27 -0
  83. package/dist/cjs/api/types/InputTopazImageUpscalerSourceImage.d.ts +23 -0
  84. package/dist/cjs/api/types/InputTopazImageUpscalerSourceImage.js +3 -0
  85. package/dist/cjs/api/types/InputTopazImageUpscalerWonder.d.ts +32 -0
  86. package/dist/cjs/api/types/InputTopazImageUpscalerWonder.js +19 -0
  87. package/dist/cjs/api/types/InputTopazImageUpscalerWonderSourceImage.d.ts +23 -0
  88. package/dist/cjs/api/types/InputTopazImageUpscalerWonderSourceImage.js +3 -0
  89. package/dist/cjs/api/types/InputTopazVideoUpscaler.d.ts +37 -0
  90. package/dist/cjs/api/types/InputTopazVideoUpscaler.js +23 -0
  91. package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25.d.ts +10 -0
  92. package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25.js +3 -0
  93. package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.d.ts +23 -0
  94. package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.js +3 -0
  95. package/dist/cjs/api/types/InputTopazVideoUpscalerSourceVideo.d.ts +23 -0
  96. package/dist/cjs/api/types/InputTopazVideoUpscalerSourceVideo.js +3 -0
  97. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFast.d.ts +23 -0
  98. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFast.js +13 -0
  99. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.d.ts +23 -0
  100. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.js +3 -0
  101. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHq.d.ts +23 -0
  102. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHq.js +13 -0
  103. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.d.ts +23 -0
  104. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.js +3 -0
  105. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPrecise.d.ts +31 -0
  106. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPrecise.js +20 -0
  107. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.d.ts +23 -0
  108. package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.js +3 -0
  109. package/dist/cjs/api/types/InputWan30.d.ts +62 -0
  110. package/dist/cjs/api/types/InputWan30.js +27 -0
  111. package/dist/cjs/api/types/InputWan30AudiosItem.d.ts +20 -0
  112. package/dist/cjs/api/types/InputWan30AudiosItem.js +3 -0
  113. package/dist/cjs/api/types/InputWan30EndImage.d.ts +23 -0
  114. package/dist/cjs/api/types/InputWan30EndImage.js +3 -0
  115. package/dist/cjs/api/types/InputWan30ImagesItem.d.ts +20 -0
  116. package/dist/cjs/api/types/InputWan30ImagesItem.js +3 -0
  117. package/dist/cjs/api/types/InputWan30StartImage.d.ts +23 -0
  118. package/dist/cjs/api/types/InputWan30StartImage.js +3 -0
  119. package/dist/cjs/api/types/InputWan30VideosItem.d.ts +20 -0
  120. package/dist/cjs/api/types/InputWan30VideosItem.js +3 -0
  121. package/dist/cjs/api/types/OutputItem.d.ts +6 -0
  122. package/dist/cjs/api/types/UsageBucket.d.ts +2 -0
  123. package/dist/cjs/api/types/UsageResponse.d.ts +2 -0
  124. package/dist/cjs/api/types/index.d.ts +29 -0
  125. package/dist/cjs/api/types/index.js +29 -0
  126. package/dist/cjs/version.d.ts +1 -1
  127. package/dist/cjs/version.js +1 -1
  128. package/dist/esm/BaseClient.d.mts +2 -2
  129. package/dist/esm/BaseClient.mjs +3 -3
  130. package/dist/esm/api/resources/billing/client/Client.mjs +2 -2
  131. package/dist/esm/api/resources/files/client/Client.mjs +1 -1
  132. package/dist/esm/api/resources/jobs/client/Client.d.mts +407 -0
  133. package/dist/esm/api/resources/jobs/client/Client.mjs +1882 -799
  134. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.d.mts +19 -0
  135. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.mjs +2 -0
  136. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.d.mts +20 -0
  137. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.mjs +2 -0
  138. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.d.mts +20 -0
  139. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.mjs +2 -0
  140. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.d.mts +17 -0
  141. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.mjs +2 -0
  142. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.d.mts +20 -0
  143. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.mjs +2 -0
  144. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.d.mts +20 -0
  145. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.mjs +2 -0
  146. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.d.mts +20 -0
  147. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.mjs +2 -0
  148. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.d.mts +20 -0
  149. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.mjs +2 -0
  150. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.d.mts +19 -0
  151. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.mjs +2 -0
  152. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.d.mts +20 -0
  153. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.mjs +2 -0
  154. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.d.mts +20 -0
  155. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.mjs +2 -0
  156. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.d.mts +20 -0
  157. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.mjs +2 -0
  158. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.d.mts +20 -0
  159. package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.mjs +2 -0
  160. package/dist/esm/api/resources/jobs/client/requests/index.d.mts +13 -0
  161. package/dist/esm/api/resources/keys/client/Client.mjs +4 -4
  162. package/dist/esm/api/resources/logDrains/client/Client.mjs +6 -6
  163. package/dist/esm/api/resources/models/client/Client.d.mts +2 -1
  164. package/dist/esm/api/resources/models/client/Client.mjs +11 -7
  165. package/dist/esm/api/resources/tokens/client/Client.mjs +1 -1
  166. package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -7
  167. package/dist/esm/api/types/ApiKeyScope.d.mts +1 -0
  168. package/dist/esm/api/types/ApiKeyScope.mjs +1 -0
  169. package/dist/esm/api/types/ErrorCode.d.mts +1 -0
  170. package/dist/esm/api/types/ErrorCode.mjs +1 -0
  171. package/dist/esm/api/types/InputElevenlabsAudioIsolation.d.mts +8 -0
  172. package/dist/esm/api/types/InputElevenlabsAudioIsolation.mjs +2 -0
  173. package/dist/esm/api/types/InputElevenlabsAudioIsolationAudio.d.mts +23 -0
  174. package/dist/esm/api/types/InputElevenlabsAudioIsolationAudio.mjs +2 -0
  175. package/dist/esm/api/types/InputElevenlabsEnglishStsV2.d.mts +10 -0
  176. package/dist/esm/api/types/InputElevenlabsEnglishStsV2.mjs +2 -0
  177. package/dist/esm/api/types/InputElevenlabsEnglishStsV2Audio.d.mts +23 -0
  178. package/dist/esm/api/types/InputElevenlabsEnglishStsV2Audio.mjs +2 -0
  179. package/dist/esm/api/types/InputElevenlabsFlashMultilingualV2.d.mts +1 -1
  180. package/dist/esm/api/types/InputElevenlabsFlashV2.d.mts +1 -1
  181. package/dist/esm/api/types/InputElevenlabsMultilingualStsV2.d.mts +10 -0
  182. package/dist/esm/api/types/InputElevenlabsMultilingualStsV2.mjs +2 -0
  183. package/dist/esm/api/types/InputElevenlabsMultilingualStsV2Audio.d.mts +23 -0
  184. package/dist/esm/api/types/InputElevenlabsMultilingualStsV2Audio.mjs +2 -0
  185. package/dist/esm/api/types/InputElevenlabsMultilingualV2.d.mts +1 -1
  186. package/dist/esm/api/types/InputElevenlabsSoundEffects.d.mts +13 -0
  187. package/dist/esm/api/types/InputElevenlabsSoundEffects.mjs +2 -0
  188. package/dist/esm/api/types/InputElevenlabsV3.d.mts +1 -1
  189. package/dist/esm/api/types/InputElevenlabsVoiceClone.d.mts +10 -0
  190. package/dist/esm/api/types/InputElevenlabsVoiceClone.mjs +2 -0
  191. package/dist/esm/api/types/InputElevenlabsVoiceCloneAudio.d.mts +23 -0
  192. package/dist/esm/api/types/InputElevenlabsVoiceCloneAudio.mjs +2 -0
  193. package/dist/esm/api/types/InputGptImage2.d.mts +1 -1
  194. package/dist/esm/api/types/InputMinimaxSpeech25HdPreview.d.mts +1 -1
  195. package/dist/esm/api/types/InputMinimaxSpeech25TurboPreview.d.mts +1 -1
  196. package/dist/esm/api/types/InputSeedance15Pro.d.mts +2 -2
  197. package/dist/esm/api/types/InputSeedance15ProEndImage.d.mts +1 -1
  198. package/dist/esm/api/types/InputSeedance15ProStartImage.d.mts +1 -1
  199. package/dist/esm/api/types/InputSeedance20.d.mts +3 -3
  200. package/dist/esm/api/types/InputSeedance20EndImage.d.mts +1 -1
  201. package/dist/esm/api/types/InputSeedance20Mini.d.mts +3 -3
  202. package/dist/esm/api/types/InputSeedance20MiniEndImage.d.mts +1 -1
  203. package/dist/esm/api/types/InputSeedance20MiniStartImage.d.mts +1 -1
  204. package/dist/esm/api/types/InputSeedance20StartImage.d.mts +1 -1
  205. package/dist/esm/api/types/InputSeedance25.d.mts +3 -3
  206. package/dist/esm/api/types/InputSeedance25EndImage.d.mts +1 -1
  207. package/dist/esm/api/types/InputSeedance25StartImage.d.mts +1 -1
  208. package/dist/esm/api/types/InputTopazImageUpscaler.d.mts +41 -0
  209. package/dist/esm/api/types/InputTopazImageUpscaler.mjs +24 -0
  210. package/dist/esm/api/types/InputTopazImageUpscalerSourceImage.d.mts +23 -0
  211. package/dist/esm/api/types/InputTopazImageUpscalerSourceImage.mjs +2 -0
  212. package/dist/esm/api/types/InputTopazImageUpscalerWonder.d.mts +32 -0
  213. package/dist/esm/api/types/InputTopazImageUpscalerWonder.mjs +16 -0
  214. package/dist/esm/api/types/InputTopazImageUpscalerWonderSourceImage.d.mts +23 -0
  215. package/dist/esm/api/types/InputTopazImageUpscalerWonderSourceImage.mjs +2 -0
  216. package/dist/esm/api/types/InputTopazVideoUpscaler.d.mts +37 -0
  217. package/dist/esm/api/types/InputTopazVideoUpscaler.mjs +20 -0
  218. package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25.d.mts +10 -0
  219. package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25.mjs +2 -0
  220. package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.d.mts +23 -0
  221. package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.mjs +2 -0
  222. package/dist/esm/api/types/InputTopazVideoUpscalerSourceVideo.d.mts +23 -0
  223. package/dist/esm/api/types/InputTopazVideoUpscalerSourceVideo.mjs +2 -0
  224. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFast.d.mts +23 -0
  225. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFast.mjs +10 -0
  226. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.d.mts +23 -0
  227. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.mjs +2 -0
  228. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHq.d.mts +23 -0
  229. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHq.mjs +10 -0
  230. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.d.mts +23 -0
  231. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.mjs +2 -0
  232. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPrecise.d.mts +31 -0
  233. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPrecise.mjs +17 -0
  234. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.d.mts +23 -0
  235. package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.mjs +2 -0
  236. package/dist/esm/api/types/InputWan30.d.mts +62 -0
  237. package/dist/esm/api/types/InputWan30.mjs +24 -0
  238. package/dist/esm/api/types/InputWan30AudiosItem.d.mts +20 -0
  239. package/dist/esm/api/types/InputWan30AudiosItem.mjs +2 -0
  240. package/dist/esm/api/types/InputWan30EndImage.d.mts +23 -0
  241. package/dist/esm/api/types/InputWan30EndImage.mjs +2 -0
  242. package/dist/esm/api/types/InputWan30ImagesItem.d.mts +20 -0
  243. package/dist/esm/api/types/InputWan30ImagesItem.mjs +2 -0
  244. package/dist/esm/api/types/InputWan30StartImage.d.mts +23 -0
  245. package/dist/esm/api/types/InputWan30StartImage.mjs +2 -0
  246. package/dist/esm/api/types/InputWan30VideosItem.d.mts +20 -0
  247. package/dist/esm/api/types/InputWan30VideosItem.mjs +2 -0
  248. package/dist/esm/api/types/OutputItem.d.mts +6 -0
  249. package/dist/esm/api/types/UsageBucket.d.mts +2 -0
  250. package/dist/esm/api/types/UsageResponse.d.mts +2 -0
  251. package/dist/esm/api/types/index.d.mts +29 -0
  252. package/dist/esm/api/types/index.mjs +29 -0
  253. package/dist/esm/version.d.mts +1 -1
  254. package/dist/esm/version.mjs +1 -1
  255. package/package.json +2 -2
  256. package/reference.md +1388 -448
@@ -0,0 +1,32 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `topaz-image-upscaler-wonder`.
4
+ */
5
+ export interface InputTopazImageUpscalerWonder {
6
+ /** The image to upscale. At most 30 MB. */
7
+ source_image: Hedra.InputTopazImageUpscalerWonderSourceImage;
8
+ /** Number of outputs generated per job. Only 1 is supported. */
9
+ num_outputs?: number | undefined;
10
+ /** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
11
+ target_resolution: InputTopazImageUpscalerWonder.TargetResolution;
12
+ /** How far the generative pass may depart from the source. Lower values stay closer to the original pixels; higher values invent more detail. */
13
+ enhancement_strength?: InputTopazImageUpscalerWonder.EnhancementStrength | undefined;
14
+ /** Add film grain to the upscaled image, which hides the over-smooth look generative upscaling can leave. */
15
+ film_grain?: boolean | undefined;
16
+ }
17
+ export declare namespace InputTopazImageUpscalerWonder {
18
+ /** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
19
+ const TargetResolution: {
20
+ readonly OneThousandEightyP: "1080p";
21
+ readonly TwoK: "2K";
22
+ readonly FourK: "4K";
23
+ };
24
+ type TargetResolution = (typeof TargetResolution)[keyof typeof TargetResolution];
25
+ /** How far the generative pass may depart from the source. Lower values stay closer to the original pixels; higher values invent more detail. */
26
+ const EnhancementStrength: {
27
+ readonly Low: "low";
28
+ readonly Medium: "medium";
29
+ readonly High: "high";
30
+ };
31
+ type EnhancementStrength = (typeof EnhancementStrength)[keyof typeof EnhancementStrength];
32
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputTopazImageUpscalerWonder = void 0;
5
+ var InputTopazImageUpscalerWonder;
6
+ (function (InputTopazImageUpscalerWonder) {
7
+ /** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
8
+ InputTopazImageUpscalerWonder.TargetResolution = {
9
+ OneThousandEightyP: "1080p",
10
+ TwoK: "2K",
11
+ FourK: "4K",
12
+ };
13
+ /** How far the generative pass may depart from the source. Lower values stay closer to the original pixels; higher values invent more detail. */
14
+ InputTopazImageUpscalerWonder.EnhancementStrength = {
15
+ Low: "low",
16
+ Medium: "medium",
17
+ High: "high",
18
+ };
19
+ })(InputTopazImageUpscalerWonder || (exports.InputTopazImageUpscalerWonder = InputTopazImageUpscalerWonder = {}));
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * The image to upscale. At most 30 MB.
4
+ */
5
+ export type InputTopazImageUpscalerWonderSourceImage =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputTopazImageUpscalerWonderSourceImage.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputTopazImageUpscalerWonderSourceImage.Asset;
12
+ export declare namespace InputTopazImageUpscalerWonderSourceImage {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,37 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `topaz-video-upscaler`.
4
+ */
5
+ export interface InputTopazVideoUpscaler {
6
+ /** Number of outputs generated per job. Only 1 is supported. */
7
+ num_outputs?: number | undefined;
8
+ /** The video to upscale. At most 600s and at most 524.2 MB. */
9
+ source_video: Hedra.InputTopazVideoUpscalerSourceVideo;
10
+ /** Output resolution. */
11
+ resolution: InputTopazVideoUpscaler.Resolution;
12
+ /** Interpolate the output to 60fps with this engine. Omit to keep the source rate; a source already at 60fps or faster keeps its own. 'high' doubles the charge. */
13
+ fps_engine?: InputTopazVideoUpscaler.FpsEngine | undefined;
14
+ /** Where the enhancement parameters come from: 'standard' uses Hedra's per-resolution presets, 'auto' lets Topaz estimate them from the source. */
15
+ tuning?: InputTopazVideoUpscaler.Tuning | undefined;
16
+ }
17
+ export declare namespace InputTopazVideoUpscaler {
18
+ /** Output resolution. */
19
+ const Resolution: {
20
+ readonly OneThousandEightyP: "1080p";
21
+ readonly TwoK: "2K";
22
+ readonly FourK: "4K";
23
+ };
24
+ type Resolution = (typeof Resolution)[keyof typeof Resolution];
25
+ /** Interpolate the output to 60fps with this engine. Omit to keep the source rate; a source already at 60fps or faster keeps its own. 'high' doubles the charge. */
26
+ const FpsEngine: {
27
+ readonly Standard: "standard";
28
+ readonly High: "high";
29
+ };
30
+ type FpsEngine = (typeof FpsEngine)[keyof typeof FpsEngine];
31
+ /** Where the enhancement parameters come from: 'standard' uses Hedra's per-resolution presets, 'auto' lets Topaz estimate them from the source. */
32
+ const Tuning: {
33
+ readonly Standard: "standard";
34
+ readonly Auto: "auto";
35
+ };
36
+ type Tuning = (typeof Tuning)[keyof typeof Tuning];
37
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputTopazVideoUpscaler = void 0;
5
+ var InputTopazVideoUpscaler;
6
+ (function (InputTopazVideoUpscaler) {
7
+ /** Output resolution. */
8
+ InputTopazVideoUpscaler.Resolution = {
9
+ OneThousandEightyP: "1080p",
10
+ TwoK: "2K",
11
+ FourK: "4K",
12
+ };
13
+ /** Interpolate the output to 60fps with this engine. Omit to keep the source rate; a source already at 60fps or faster keeps its own. 'high' doubles the charge. */
14
+ InputTopazVideoUpscaler.FpsEngine = {
15
+ Standard: "standard",
16
+ High: "high",
17
+ };
18
+ /** Where the enhancement parameters come from: 'standard' uses Hedra's per-resolution presets, 'auto' lets Topaz estimate them from the source. */
19
+ InputTopazVideoUpscaler.Tuning = {
20
+ Standard: "standard",
21
+ Auto: "auto",
22
+ };
23
+ })(InputTopazVideoUpscaler || (exports.InputTopazVideoUpscaler = InputTopazVideoUpscaler = {}));
@@ -0,0 +1,10 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `topaz-video-upscaler-hyperion-2-5`.
4
+ */
5
+ export interface InputTopazVideoUpscalerHyperion25 {
6
+ /** Number of outputs generated per job. Only 1 is supported. */
7
+ num_outputs?: number | undefined;
8
+ /** The SDR video to convert. Its frames may hold at most 14,745,600 pixels (5120x2880). At most 600s and at most 524.2 MB. */
9
+ source_video: Hedra.InputTopazVideoUpscalerHyperion25SourceVideo;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * The SDR video to convert. Its frames may hold at most 14,745,600 pixels (5120x2880). At most 600s and at most 524.2 MB.
4
+ */
5
+ export type InputTopazVideoUpscalerHyperion25SourceVideo =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputTopazVideoUpscalerHyperion25SourceVideo.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputTopazVideoUpscalerHyperion25SourceVideo.Asset;
12
+ export declare namespace InputTopazVideoUpscalerHyperion25SourceVideo {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * The video to upscale. At most 600s and at most 524.2 MB.
4
+ */
5
+ export type InputTopazVideoUpscalerSourceVideo =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputTopazVideoUpscalerSourceVideo.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputTopazVideoUpscalerSourceVideo.Asset;
12
+ export declare namespace InputTopazVideoUpscalerSourceVideo {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `topaz-video-upscaler-starlight-fast`.
4
+ */
5
+ export interface InputTopazVideoUpscalerStarlightFast {
6
+ /** Number of outputs generated per job. Only 1 is supported. */
7
+ num_outputs?: number | undefined;
8
+ /** The video to upscale. At most 300s and at most 524.2 MB. */
9
+ source_video: Hedra.InputTopazVideoUpscalerStarlightFastSourceVideo;
10
+ /** Output resolution. */
11
+ resolution: InputTopazVideoUpscalerStarlightFast.Resolution;
12
+ /** Soften the diffusion pass, which suits sources the default sharpening renders harshly. */
13
+ reduce_sharpening?: boolean | undefined;
14
+ }
15
+ export declare namespace InputTopazVideoUpscalerStarlightFast {
16
+ /** Output resolution. */
17
+ const Resolution: {
18
+ readonly OneThousandEightyP: "1080p";
19
+ readonly TwoK: "2K";
20
+ readonly FourK: "4K";
21
+ };
22
+ type Resolution = (typeof Resolution)[keyof typeof Resolution];
23
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputTopazVideoUpscalerStarlightFast = void 0;
5
+ var InputTopazVideoUpscalerStarlightFast;
6
+ (function (InputTopazVideoUpscalerStarlightFast) {
7
+ /** Output resolution. */
8
+ InputTopazVideoUpscalerStarlightFast.Resolution = {
9
+ OneThousandEightyP: "1080p",
10
+ TwoK: "2K",
11
+ FourK: "4K",
12
+ };
13
+ })(InputTopazVideoUpscalerStarlightFast || (exports.InputTopazVideoUpscalerStarlightFast = InputTopazVideoUpscalerStarlightFast = {}));
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * The video to upscale. At most 300s and at most 524.2 MB.
4
+ */
5
+ export type InputTopazVideoUpscalerStarlightFastSourceVideo =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputTopazVideoUpscalerStarlightFastSourceVideo.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputTopazVideoUpscalerStarlightFastSourceVideo.Asset;
12
+ export declare namespace InputTopazVideoUpscalerStarlightFastSourceVideo {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `topaz-video-upscaler-starlight-hq`.
4
+ */
5
+ export interface InputTopazVideoUpscalerStarlightHq {
6
+ /** Number of outputs generated per job. Only 1 is supported. */
7
+ num_outputs?: number | undefined;
8
+ /** The video to upscale. At most 300s and at most 524.2 MB. */
9
+ source_video: Hedra.InputTopazVideoUpscalerStarlightHqSourceVideo;
10
+ /** Output resolution. */
11
+ resolution: InputTopazVideoUpscalerStarlightHq.Resolution;
12
+ /** Soften the diffusion pass, which suits sources the default sharpening renders harshly. */
13
+ reduce_sharpening?: boolean | undefined;
14
+ }
15
+ export declare namespace InputTopazVideoUpscalerStarlightHq {
16
+ /** Output resolution. */
17
+ const Resolution: {
18
+ readonly OneThousandEightyP: "1080p";
19
+ readonly TwoK: "2K";
20
+ readonly FourK: "4K";
21
+ };
22
+ type Resolution = (typeof Resolution)[keyof typeof Resolution];
23
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputTopazVideoUpscalerStarlightHq = void 0;
5
+ var InputTopazVideoUpscalerStarlightHq;
6
+ (function (InputTopazVideoUpscalerStarlightHq) {
7
+ /** Output resolution. */
8
+ InputTopazVideoUpscalerStarlightHq.Resolution = {
9
+ OneThousandEightyP: "1080p",
10
+ TwoK: "2K",
11
+ FourK: "4K",
12
+ };
13
+ })(InputTopazVideoUpscalerStarlightHq || (exports.InputTopazVideoUpscalerStarlightHq = InputTopazVideoUpscalerStarlightHq = {}));
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * The video to upscale. At most 300s and at most 524.2 MB.
4
+ */
5
+ export type InputTopazVideoUpscalerStarlightHqSourceVideo =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputTopazVideoUpscalerStarlightHqSourceVideo.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputTopazVideoUpscalerStarlightHqSourceVideo.Asset;
12
+ export declare namespace InputTopazVideoUpscalerStarlightHqSourceVideo {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `topaz-video-upscaler-starlight-precise`.
4
+ */
5
+ export interface InputTopazVideoUpscalerStarlightPrecise {
6
+ /** Number of outputs generated per job. Only 1 is supported. */
7
+ num_outputs?: number | undefined;
8
+ /** The video to upscale. At most 300s and at most 524.2 MB. */
9
+ source_video: Hedra.InputTopazVideoUpscalerStarlightPreciseSourceVideo;
10
+ /** Output resolution. */
11
+ resolution: InputTopazVideoUpscalerStarlightPrecise.Resolution;
12
+ /** How far to soften the diffusion pass, for sources the default sharpening renders harshly. */
13
+ reduce_sharpening?: InputTopazVideoUpscalerStarlightPrecise.ReduceSharpening | undefined;
14
+ }
15
+ export declare namespace InputTopazVideoUpscalerStarlightPrecise {
16
+ /** Output resolution. */
17
+ const Resolution: {
18
+ readonly OneThousandEightyP: "1080p";
19
+ readonly TwoK: "2K";
20
+ readonly FourK: "4K";
21
+ };
22
+ type Resolution = (typeof Resolution)[keyof typeof Resolution];
23
+ /** How far to soften the diffusion pass, for sources the default sharpening renders harshly. */
24
+ const ReduceSharpening: {
25
+ readonly Off: "off";
26
+ readonly Low: "low";
27
+ readonly Medium: "medium";
28
+ readonly High: "high";
29
+ };
30
+ type ReduceSharpening = (typeof ReduceSharpening)[keyof typeof ReduceSharpening];
31
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputTopazVideoUpscalerStarlightPrecise = void 0;
5
+ var InputTopazVideoUpscalerStarlightPrecise;
6
+ (function (InputTopazVideoUpscalerStarlightPrecise) {
7
+ /** Output resolution. */
8
+ InputTopazVideoUpscalerStarlightPrecise.Resolution = {
9
+ OneThousandEightyP: "1080p",
10
+ TwoK: "2K",
11
+ FourK: "4K",
12
+ };
13
+ /** How far to soften the diffusion pass, for sources the default sharpening renders harshly. */
14
+ InputTopazVideoUpscalerStarlightPrecise.ReduceSharpening = {
15
+ Off: "off",
16
+ Low: "low",
17
+ Medium: "medium",
18
+ High: "high",
19
+ };
20
+ })(InputTopazVideoUpscalerStarlightPrecise || (exports.InputTopazVideoUpscalerStarlightPrecise = InputTopazVideoUpscalerStarlightPrecise = {}));
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * The video to upscale. At most 300s and at most 524.2 MB.
4
+ */
5
+ export type InputTopazVideoUpscalerStarlightPreciseSourceVideo =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputTopazVideoUpscalerStarlightPreciseSourceVideo.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputTopazVideoUpscalerStarlightPreciseSourceVideo.Asset;
12
+ export declare namespace InputTopazVideoUpscalerStarlightPreciseSourceVideo {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,62 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Model-specific inputs for `wan-3-0`.
4
+ *
5
+ * Accepted field combinations (one per input mode):
6
+ * (1) requires: aspect_ratio, duration_ms, prompt, resolution, start_image; must omit: audios, images, videos
7
+ * (2) requires: aspect_ratio, duration_ms, images, prompt, resolution; must omit: end_image, start_image
8
+ * (3) requires: aspect_ratio, duration_ms, prompt, resolution; must omit: audios, end_image, images, start_image, videos
9
+ */
10
+ export interface InputWan30 {
11
+ /** Number of outputs generated per job. Only 1 is supported. */
12
+ num_outputs?: number | undefined;
13
+ /** Generation prompt. At most 5000 characters. */
14
+ prompt: string;
15
+ /** Output aspect ratio. */
16
+ aspect_ratio: InputWan30.AspectRatio;
17
+ /** Output resolution. */
18
+ resolution: InputWan30.Resolution;
19
+ /** Duration in ms. */
20
+ duration_ms: number;
21
+ /** Whether to generate native audio for the video. */
22
+ generate_audio?: boolean | undefined;
23
+ /** Seed for reproducible output; omit for a random seed. From 0 to 2147483647. */
24
+ seed?: number | undefined;
25
+ /** Start frame (image-to-video). At most 20 MB. */
26
+ start_image?: Hedra.InputWan30StartImage | undefined;
27
+ /** End frame (first-last-frame-to-video). At most 20 MB. */
28
+ end_image?: Hedra.InputWan30EndImage | undefined;
29
+ /** Reference images. 1 to 10 images, each at most 20 MB. */
30
+ images?: Hedra.InputWan30ImagesItem[] | undefined;
31
+ /** Reference videos. 1 to 5 videos, each at most 15s and at most 524.2 MB, at most 15s in total. */
32
+ videos?: Hedra.InputWan30VideosItem[] | undefined;
33
+ /** Reference audios. 1 to 5 audio files, each at most 15s and at most 104.8 MB, at most 15s in total. */
34
+ audios?: Hedra.InputWan30AudiosItem[] | undefined;
35
+ /** Quality level to generate at. */
36
+ quality: InputWan30.Quality;
37
+ }
38
+ export declare namespace InputWan30 {
39
+ /** Output aspect ratio. */
40
+ const AspectRatio: {
41
+ readonly Adaptive: "adaptive";
42
+ readonly Sixteen9: "16:9";
43
+ readonly Four3: "4:3";
44
+ readonly One1: "1:1";
45
+ readonly Three4: "3:4";
46
+ readonly Nine16: "9:16";
47
+ };
48
+ type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
49
+ /** Output resolution. */
50
+ const Resolution: {
51
+ readonly FourHundredEightyP: "480p";
52
+ readonly SevenHundredTwentyP: "720p";
53
+ readonly OneThousandEightyP: "1080p";
54
+ };
55
+ type Resolution = (typeof Resolution)[keyof typeof Resolution];
56
+ /** Quality level to generate at. */
57
+ const Quality: {
58
+ readonly Standard: "standard";
59
+ readonly Prime: "prime";
60
+ };
61
+ type Quality = (typeof Quality)[keyof typeof Quality];
62
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InputWan30 = void 0;
5
+ var InputWan30;
6
+ (function (InputWan30) {
7
+ /** Output aspect ratio. */
8
+ InputWan30.AspectRatio = {
9
+ Adaptive: "adaptive",
10
+ Sixteen9: "16:9",
11
+ Four3: "4:3",
12
+ One1: "1:1",
13
+ Three4: "3:4",
14
+ Nine16: "9:16",
15
+ };
16
+ /** Output resolution. */
17
+ InputWan30.Resolution = {
18
+ FourHundredEightyP: "480p",
19
+ SevenHundredTwentyP: "720p",
20
+ OneThousandEightyP: "1080p",
21
+ };
22
+ /** Quality level to generate at. */
23
+ InputWan30.Quality = {
24
+ Standard: "standard",
25
+ Prime: "prime",
26
+ };
27
+ })(InputWan30 || (exports.InputWan30 = InputWan30 = {}));
@@ -0,0 +1,20 @@
1
+ import type * as Hedra from "../index.js";
2
+ export type InputWan30AudiosItem =
3
+ /**
4
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
5
+ Hedra.InputWan30AudiosItem.Url
6
+ /**
7
+ * An existing asset you own, referenced by its id. */
8
+ | Hedra.InputWan30AudiosItem.Asset;
9
+ export declare namespace InputWan30AudiosItem {
10
+ interface Url {
11
+ source: "url";
12
+ /** A URL returned by POST /v3/files. */
13
+ url: string;
14
+ }
15
+ interface Asset {
16
+ source: "asset";
17
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
18
+ asset_id: string;
19
+ }
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * End frame (first-last-frame-to-video). At most 20 MB.
4
+ */
5
+ export type InputWan30EndImage =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputWan30EndImage.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputWan30EndImage.Asset;
12
+ export declare namespace InputWan30EndImage {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,20 @@
1
+ import type * as Hedra from "../index.js";
2
+ export type InputWan30ImagesItem =
3
+ /**
4
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
5
+ Hedra.InputWan30ImagesItem.Url
6
+ /**
7
+ * An existing asset you own, referenced by its id. */
8
+ | Hedra.InputWan30ImagesItem.Asset;
9
+ export declare namespace InputWan30ImagesItem {
10
+ interface Url {
11
+ source: "url";
12
+ /** A URL returned by POST /v3/files. */
13
+ url: string;
14
+ }
15
+ interface Asset {
16
+ source: "asset";
17
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
18
+ asset_id: string;
19
+ }
20
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,23 @@
1
+ import type * as Hedra from "../index.js";
2
+ /**
3
+ * Start frame (image-to-video). At most 20 MB.
4
+ */
5
+ export type InputWan30StartImage =
6
+ /**
7
+ * A file uploaded via POST /v3/files, referenced by the returned url. */
8
+ Hedra.InputWan30StartImage.Url
9
+ /**
10
+ * An existing asset you own, referenced by its id. */
11
+ | Hedra.InputWan30StartImage.Asset;
12
+ export declare namespace InputWan30StartImage {
13
+ interface Url {
14
+ source: "url";
15
+ /** A URL returned by POST /v3/files. */
16
+ url: string;
17
+ }
18
+ interface Asset {
19
+ source: "asset";
20
+ /** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
21
+ asset_id: string;
22
+ }
23
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });