@hedra/sdk 3.0.0 → 4.0.1
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.
- package/dist/cjs/BaseClient.d.ts +2 -2
- package/dist/cjs/BaseClient.js +3 -3
- package/dist/cjs/api/resources/billing/client/Client.js +2 -2
- package/dist/cjs/api/resources/files/client/Client.js +1 -1
- package/dist/cjs/api/resources/jobs/client/Client.d.ts +407 -0
- package/dist/cjs/api/resources/jobs/client/Client.js +1882 -799
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.d.ts +19 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.d.ts +17 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.d.ts +19 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.d.ts +20 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +13 -0
- package/dist/cjs/api/resources/keys/client/Client.js +4 -4
- package/dist/cjs/api/resources/logDrains/client/Client.js +6 -6
- package/dist/cjs/api/resources/models/client/Client.d.ts +2 -1
- package/dist/cjs/api/resources/models/client/Client.js +11 -7
- package/dist/cjs/api/resources/tokens/client/Client.js +1 -1
- package/dist/cjs/api/resources/webhooks/client/Client.js +7 -7
- package/dist/cjs/api/types/ApiKeyScope.d.ts +1 -0
- package/dist/cjs/api/types/ApiKeyScope.js +1 -0
- package/dist/cjs/api/types/ErrorCode.d.ts +1 -0
- package/dist/cjs/api/types/ErrorCode.js +1 -0
- package/dist/cjs/api/types/InputElevenlabsAudioIsolation.d.ts +8 -0
- package/dist/cjs/api/types/InputElevenlabsAudioIsolation.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsAudioIsolationAudio.d.ts +23 -0
- package/dist/cjs/api/types/InputElevenlabsAudioIsolationAudio.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsEnglishStsV2.d.ts +10 -0
- package/dist/cjs/api/types/InputElevenlabsEnglishStsV2.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsEnglishStsV2Audio.d.ts +23 -0
- package/dist/cjs/api/types/InputElevenlabsEnglishStsV2Audio.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsFlashMultilingualV2.d.ts +1 -1
- package/dist/cjs/api/types/InputElevenlabsFlashV2.d.ts +1 -1
- package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2.d.ts +10 -0
- package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2Audio.d.ts +23 -0
- package/dist/cjs/api/types/InputElevenlabsMultilingualStsV2Audio.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsMultilingualV2.d.ts +1 -1
- package/dist/cjs/api/types/InputElevenlabsSoundEffects.d.ts +13 -0
- package/dist/cjs/api/types/InputElevenlabsSoundEffects.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsV3.d.ts +1 -1
- package/dist/cjs/api/types/InputElevenlabsVoiceClone.d.ts +10 -0
- package/dist/cjs/api/types/InputElevenlabsVoiceClone.js +3 -0
- package/dist/cjs/api/types/InputElevenlabsVoiceCloneAudio.d.ts +23 -0
- package/dist/cjs/api/types/InputElevenlabsVoiceCloneAudio.js +3 -0
- package/dist/cjs/api/types/InputGptImage2.d.ts +1 -1
- package/dist/cjs/api/types/InputMinimaxSpeech25HdPreview.d.ts +1 -1
- package/dist/cjs/api/types/InputMinimaxSpeech25TurboPreview.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance15Pro.d.ts +2 -2
- package/dist/cjs/api/types/InputSeedance15ProEndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance15ProStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance20.d.ts +3 -3
- package/dist/cjs/api/types/InputSeedance20EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance20Mini.d.ts +3 -3
- package/dist/cjs/api/types/InputSeedance20MiniEndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance20MiniStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance20StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance25.d.ts +3 -3
- package/dist/cjs/api/types/InputSeedance25EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance25StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputTopazImageUpscaler.d.ts +41 -0
- package/dist/cjs/api/types/InputTopazImageUpscaler.js +27 -0
- package/dist/cjs/api/types/InputTopazImageUpscalerSourceImage.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazImageUpscalerSourceImage.js +3 -0
- package/dist/cjs/api/types/InputTopazImageUpscalerWonder.d.ts +32 -0
- package/dist/cjs/api/types/InputTopazImageUpscalerWonder.js +19 -0
- package/dist/cjs/api/types/InputTopazImageUpscalerWonderSourceImage.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazImageUpscalerWonderSourceImage.js +3 -0
- package/dist/cjs/api/types/InputTopazVideoUpscaler.d.ts +37 -0
- package/dist/cjs/api/types/InputTopazVideoUpscaler.js +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25.d.ts +10 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25.js +3 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.js +3 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerSourceVideo.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerSourceVideo.js +3 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFast.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFast.js +13 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.js +3 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHq.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHq.js +13 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.js +3 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPrecise.d.ts +31 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPrecise.js +20 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.d.ts +23 -0
- package/dist/cjs/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.js +3 -0
- package/dist/cjs/api/types/InputWan30.d.ts +62 -0
- package/dist/cjs/api/types/InputWan30.js +27 -0
- package/dist/cjs/api/types/InputWan30AudiosItem.d.ts +20 -0
- package/dist/cjs/api/types/InputWan30AudiosItem.js +3 -0
- package/dist/cjs/api/types/InputWan30EndImage.d.ts +23 -0
- package/dist/cjs/api/types/InputWan30EndImage.js +3 -0
- package/dist/cjs/api/types/InputWan30ImagesItem.d.ts +20 -0
- package/dist/cjs/api/types/InputWan30ImagesItem.js +3 -0
- package/dist/cjs/api/types/InputWan30StartImage.d.ts +23 -0
- package/dist/cjs/api/types/InputWan30StartImage.js +3 -0
- package/dist/cjs/api/types/InputWan30VideosItem.d.ts +20 -0
- package/dist/cjs/api/types/InputWan30VideosItem.js +3 -0
- package/dist/cjs/api/types/OutputItem.d.ts +6 -0
- package/dist/cjs/api/types/UsageBucket.d.ts +2 -0
- package/dist/cjs/api/types/UsageResponse.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +29 -0
- package/dist/cjs/api/types/index.js +29 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +2 -2
- package/dist/esm/BaseClient.mjs +3 -3
- package/dist/esm/api/resources/billing/client/Client.mjs +2 -2
- package/dist/esm/api/resources/files/client/Client.mjs +1 -1
- package/dist/esm/api/resources/jobs/client/Client.d.mts +407 -0
- package/dist/esm/api/resources/jobs/client/Client.mjs +1882 -799
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.d.mts +19 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsAudioIsolation.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsEnglishStsV2.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMultilingualStsV2.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.d.mts +17 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsSoundEffects.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsVoiceClone.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscaler.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazImageUpscalerWonder.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscaler.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.d.mts +19 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerHyperion25.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightFast.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightHq.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyTopazVideoUpscalerStarlightPrecise.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.d.mts +20 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/index.d.mts +13 -0
- package/dist/esm/api/resources/keys/client/Client.mjs +4 -4
- package/dist/esm/api/resources/logDrains/client/Client.mjs +6 -6
- package/dist/esm/api/resources/models/client/Client.d.mts +2 -1
- package/dist/esm/api/resources/models/client/Client.mjs +11 -7
- package/dist/esm/api/resources/tokens/client/Client.mjs +1 -1
- package/dist/esm/api/resources/webhooks/client/Client.mjs +7 -7
- package/dist/esm/api/types/ApiKeyScope.d.mts +1 -0
- package/dist/esm/api/types/ApiKeyScope.mjs +1 -0
- package/dist/esm/api/types/ErrorCode.d.mts +1 -0
- package/dist/esm/api/types/ErrorCode.mjs +1 -0
- package/dist/esm/api/types/InputElevenlabsAudioIsolation.d.mts +8 -0
- package/dist/esm/api/types/InputElevenlabsAudioIsolation.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsAudioIsolationAudio.d.mts +23 -0
- package/dist/esm/api/types/InputElevenlabsAudioIsolationAudio.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsEnglishStsV2.d.mts +10 -0
- package/dist/esm/api/types/InputElevenlabsEnglishStsV2.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsEnglishStsV2Audio.d.mts +23 -0
- package/dist/esm/api/types/InputElevenlabsEnglishStsV2Audio.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsFlashMultilingualV2.d.mts +1 -1
- package/dist/esm/api/types/InputElevenlabsFlashV2.d.mts +1 -1
- package/dist/esm/api/types/InputElevenlabsMultilingualStsV2.d.mts +10 -0
- package/dist/esm/api/types/InputElevenlabsMultilingualStsV2.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsMultilingualStsV2Audio.d.mts +23 -0
- package/dist/esm/api/types/InputElevenlabsMultilingualStsV2Audio.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsMultilingualV2.d.mts +1 -1
- package/dist/esm/api/types/InputElevenlabsSoundEffects.d.mts +13 -0
- package/dist/esm/api/types/InputElevenlabsSoundEffects.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsV3.d.mts +1 -1
- package/dist/esm/api/types/InputElevenlabsVoiceClone.d.mts +10 -0
- package/dist/esm/api/types/InputElevenlabsVoiceClone.mjs +2 -0
- package/dist/esm/api/types/InputElevenlabsVoiceCloneAudio.d.mts +23 -0
- package/dist/esm/api/types/InputElevenlabsVoiceCloneAudio.mjs +2 -0
- package/dist/esm/api/types/InputGptImage2.d.mts +1 -1
- package/dist/esm/api/types/InputMinimaxSpeech25HdPreview.d.mts +1 -1
- package/dist/esm/api/types/InputMinimaxSpeech25TurboPreview.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance15Pro.d.mts +2 -2
- package/dist/esm/api/types/InputSeedance15ProEndImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance15ProStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance20.d.mts +3 -3
- package/dist/esm/api/types/InputSeedance20EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance20Mini.d.mts +3 -3
- package/dist/esm/api/types/InputSeedance20MiniEndImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance20MiniStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance20StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance25.d.mts +3 -3
- package/dist/esm/api/types/InputSeedance25EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance25StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputTopazImageUpscaler.d.mts +41 -0
- package/dist/esm/api/types/InputTopazImageUpscaler.mjs +24 -0
- package/dist/esm/api/types/InputTopazImageUpscalerSourceImage.d.mts +23 -0
- package/dist/esm/api/types/InputTopazImageUpscalerSourceImage.mjs +2 -0
- package/dist/esm/api/types/InputTopazImageUpscalerWonder.d.mts +32 -0
- package/dist/esm/api/types/InputTopazImageUpscalerWonder.mjs +16 -0
- package/dist/esm/api/types/InputTopazImageUpscalerWonderSourceImage.d.mts +23 -0
- package/dist/esm/api/types/InputTopazImageUpscalerWonderSourceImage.mjs +2 -0
- package/dist/esm/api/types/InputTopazVideoUpscaler.d.mts +37 -0
- package/dist/esm/api/types/InputTopazVideoUpscaler.mjs +20 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25.d.mts +10 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25.mjs +2 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerHyperion25SourceVideo.mjs +2 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerSourceVideo.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerSourceVideo.mjs +2 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFast.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFast.mjs +10 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightFastSourceVideo.mjs +2 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHq.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHq.mjs +10 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightHqSourceVideo.mjs +2 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPrecise.d.mts +31 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPrecise.mjs +17 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.d.mts +23 -0
- package/dist/esm/api/types/InputTopazVideoUpscalerStarlightPreciseSourceVideo.mjs +2 -0
- package/dist/esm/api/types/InputWan30.d.mts +62 -0
- package/dist/esm/api/types/InputWan30.mjs +24 -0
- package/dist/esm/api/types/InputWan30AudiosItem.d.mts +20 -0
- package/dist/esm/api/types/InputWan30AudiosItem.mjs +2 -0
- package/dist/esm/api/types/InputWan30EndImage.d.mts +23 -0
- package/dist/esm/api/types/InputWan30EndImage.mjs +2 -0
- package/dist/esm/api/types/InputWan30ImagesItem.d.mts +20 -0
- package/dist/esm/api/types/InputWan30ImagesItem.mjs +2 -0
- package/dist/esm/api/types/InputWan30StartImage.d.mts +23 -0
- package/dist/esm/api/types/InputWan30StartImage.mjs +2 -0
- package/dist/esm/api/types/InputWan30VideosItem.d.mts +20 -0
- package/dist/esm/api/types/InputWan30VideosItem.mjs +2 -0
- package/dist/esm/api/types/OutputItem.d.mts +6 -0
- package/dist/esm/api/types/UsageBucket.d.mts +2 -0
- package/dist/esm/api/types/UsageResponse.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +29 -0
- package/dist/esm/api/types/index.mjs +29 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +1388 -448
package/dist/cjs/BaseClient.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type BaseClientOptions = {
|
|
|
7
7
|
/** Specify a custom URL to connect the client to. */
|
|
8
8
|
baseUrl?: core.Supplier<string>;
|
|
9
9
|
/** Override the X-Hedra-Spec-Version header */
|
|
10
|
-
specVersion?: "3.
|
|
10
|
+
specVersion?: "3.13.3";
|
|
11
11
|
/** Additional headers to include in requests. */
|
|
12
12
|
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
13
13
|
/** The default maximum time to wait for a response in seconds. */
|
|
@@ -34,7 +34,7 @@ export interface BaseRequestOptions {
|
|
|
34
34
|
/** A hook to abort the request. */
|
|
35
35
|
abortSignal?: AbortSignal;
|
|
36
36
|
/** Override the X-Hedra-Spec-Version header */
|
|
37
|
-
specVersion?: "3.
|
|
37
|
+
specVersion?: "3.13.3";
|
|
38
38
|
/** Additional query string parameters to include in the request. */
|
|
39
39
|
queryParams?: Record<string, unknown>;
|
|
40
40
|
/** A dictionary containing additional parameters to spread into the request's body. */
|
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -44,11 +44,11 @@ function normalizeClientOptions(options) {
|
|
|
44
44
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
45
45
|
"X-Fern-Language": "JavaScript",
|
|
46
46
|
"X-Fern-SDK-Name": "@hedra/sdk",
|
|
47
|
-
"X-Fern-SDK-Version": "
|
|
48
|
-
"User-Agent": "@hedra/sdk/
|
|
47
|
+
"X-Fern-SDK-Version": "4.0.1",
|
|
48
|
+
"User-Agent": "@hedra/sdk/4.0.1",
|
|
49
49
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
50
50
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
51
|
-
"X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.
|
|
51
|
+
"X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.13.3",
|
|
52
52
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
53
53
|
return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
|
|
54
54
|
}
|
|
@@ -80,7 +80,7 @@ class BillingClient {
|
|
|
80
80
|
return __awaiter(this, void 0, void 0, function* () {
|
|
81
81
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
82
82
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
83
|
-
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.
|
|
83
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
85
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "balance"),
|
|
86
86
|
method: "GET",
|
|
@@ -149,7 +149,7 @@ class BillingClient {
|
|
|
149
149
|
group_by: groupBy != null ? groupBy : undefined,
|
|
150
150
|
};
|
|
151
151
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
152
|
-
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.
|
|
152
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
153
153
|
const _response = yield core.fetcher({
|
|
154
154
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "usage"),
|
|
155
155
|
method: "GET",
|
|
@@ -90,7 +90,7 @@ class FilesClient {
|
|
|
90
90
|
yield _body.appendFile("file", request.file);
|
|
91
91
|
const _maybeEncodedRequest = yield _body.getRequest();
|
|
92
92
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
93
|
-
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.
|
|
93
|
+
const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)(Object.assign({ "X-Hedra-Spec-Version": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.specVersion) !== null && _b !== void 0 ? _b : "3.13.3" }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
94
94
|
const _response = yield core.fetcher({
|
|
95
95
|
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.HedraEnvironment.Production, "files"),
|
|
96
96
|
method: "POST",
|
|
@@ -118,6 +118,67 @@ export declare class JobsClient {
|
|
|
118
118
|
*/
|
|
119
119
|
submitDreamina31(request: Hedra.SubmitBodyDreamina31, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
120
120
|
private __submitDreamina31;
|
|
121
|
+
/**
|
|
122
|
+
* Strip background noise from a recording, keeping the speech.
|
|
123
|
+
*
|
|
124
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
125
|
+
*
|
|
126
|
+
* @param {Hedra.SubmitBodyElevenlabsAudioIsolation} request
|
|
127
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link Hedra.BadRequestError}
|
|
130
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
131
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
132
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
133
|
+
* @throws {@link Hedra.NotFoundError}
|
|
134
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
135
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
136
|
+
* @throws {@link Hedra.InternalServerError}
|
|
137
|
+
* @throws {@link errors.HedraError}
|
|
138
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
139
|
+
*
|
|
140
|
+
* @example
|
|
141
|
+
* await client.jobs.submitElevenlabsAudioIsolation({
|
|
142
|
+
* input: {
|
|
143
|
+
* audio: {
|
|
144
|
+
* source: "url",
|
|
145
|
+
* url: "url"
|
|
146
|
+
* }
|
|
147
|
+
* }
|
|
148
|
+
* })
|
|
149
|
+
*/
|
|
150
|
+
submitElevenlabsAudioIsolation(request: Hedra.SubmitBodyElevenlabsAudioIsolation, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
151
|
+
private __submitElevenlabsAudioIsolation;
|
|
152
|
+
/**
|
|
153
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
154
|
+
*
|
|
155
|
+
* @param {Hedra.SubmitBodyElevenlabsEnglishStsV2} request
|
|
156
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
157
|
+
*
|
|
158
|
+
* @throws {@link Hedra.BadRequestError}
|
|
159
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
160
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
161
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
162
|
+
* @throws {@link Hedra.NotFoundError}
|
|
163
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
164
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
165
|
+
* @throws {@link Hedra.InternalServerError}
|
|
166
|
+
* @throws {@link errors.HedraError}
|
|
167
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
168
|
+
*
|
|
169
|
+
* @example
|
|
170
|
+
* await client.jobs.submitElevenlabsEnglishStsV2({
|
|
171
|
+
* input: {
|
|
172
|
+
* audio: {
|
|
173
|
+
* source: "url",
|
|
174
|
+
* url: "url"
|
|
175
|
+
* },
|
|
176
|
+
* voice_id: "voice_id"
|
|
177
|
+
* }
|
|
178
|
+
* })
|
|
179
|
+
*/
|
|
180
|
+
submitElevenlabsEnglishStsV2(request: Hedra.SubmitBodyElevenlabsEnglishStsV2, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
181
|
+
private __submitElevenlabsEnglishStsV2;
|
|
121
182
|
/**
|
|
122
183
|
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
123
184
|
*
|
|
@@ -172,6 +233,36 @@ export declare class JobsClient {
|
|
|
172
233
|
*/
|
|
173
234
|
submitElevenlabsFlashV2(request: Hedra.SubmitBodyElevenlabsFlashV2, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
174
235
|
private __submitElevenlabsFlashV2;
|
|
236
|
+
/**
|
|
237
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
238
|
+
*
|
|
239
|
+
* @param {Hedra.SubmitBodyElevenlabsMultilingualStsV2} request
|
|
240
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
241
|
+
*
|
|
242
|
+
* @throws {@link Hedra.BadRequestError}
|
|
243
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
244
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
245
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
246
|
+
* @throws {@link Hedra.NotFoundError}
|
|
247
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
248
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
249
|
+
* @throws {@link Hedra.InternalServerError}
|
|
250
|
+
* @throws {@link errors.HedraError}
|
|
251
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* await client.jobs.submitElevenlabsMultilingualStsV2({
|
|
255
|
+
* input: {
|
|
256
|
+
* audio: {
|
|
257
|
+
* source: "url",
|
|
258
|
+
* url: "url"
|
|
259
|
+
* },
|
|
260
|
+
* voice_id: "voice_id"
|
|
261
|
+
* }
|
|
262
|
+
* })
|
|
263
|
+
*/
|
|
264
|
+
submitElevenlabsMultilingualStsV2(request: Hedra.SubmitBodyElevenlabsMultilingualStsV2, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
265
|
+
private __submitElevenlabsMultilingualStsV2;
|
|
175
266
|
/**
|
|
176
267
|
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
177
268
|
*
|
|
@@ -199,6 +290,35 @@ export declare class JobsClient {
|
|
|
199
290
|
*/
|
|
200
291
|
submitElevenlabsMultilingualV2(request: Hedra.SubmitBodyElevenlabsMultilingualV2, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
201
292
|
private __submitElevenlabsMultilingualV2;
|
|
293
|
+
/**
|
|
294
|
+
* Generate sound effects from text descriptions using ElevenLabs
|
|
295
|
+
*
|
|
296
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
297
|
+
*
|
|
298
|
+
* @param {Hedra.SubmitBodyElevenlabsSoundEffects} request
|
|
299
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
300
|
+
*
|
|
301
|
+
* @throws {@link Hedra.BadRequestError}
|
|
302
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
303
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
304
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
305
|
+
* @throws {@link Hedra.NotFoundError}
|
|
306
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
307
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
308
|
+
* @throws {@link Hedra.InternalServerError}
|
|
309
|
+
* @throws {@link errors.HedraError}
|
|
310
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
311
|
+
*
|
|
312
|
+
* @example
|
|
313
|
+
* await client.jobs.submitElevenlabsSoundEffects({
|
|
314
|
+
* input: {
|
|
315
|
+
* text: "text",
|
|
316
|
+
* duration_ms: 1
|
|
317
|
+
* }
|
|
318
|
+
* })
|
|
319
|
+
*/
|
|
320
|
+
submitElevenlabsSoundEffects(request: Hedra.SubmitBodyElevenlabsSoundEffects, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
321
|
+
private __submitElevenlabsSoundEffects;
|
|
202
322
|
/**
|
|
203
323
|
* ElevenLabs V3
|
|
204
324
|
*
|
|
@@ -228,6 +348,38 @@ export declare class JobsClient {
|
|
|
228
348
|
*/
|
|
229
349
|
submitElevenlabsV3(request: Hedra.SubmitBodyElevenlabsV3, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
230
350
|
private __submitElevenlabsV3;
|
|
351
|
+
/**
|
|
352
|
+
* Use an audio clip to create a new Voice.
|
|
353
|
+
*
|
|
354
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
355
|
+
*
|
|
356
|
+
* @param {Hedra.SubmitBodyElevenlabsVoiceClone} request
|
|
357
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
358
|
+
*
|
|
359
|
+
* @throws {@link Hedra.BadRequestError}
|
|
360
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
361
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
362
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
363
|
+
* @throws {@link Hedra.NotFoundError}
|
|
364
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
365
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
366
|
+
* @throws {@link Hedra.InternalServerError}
|
|
367
|
+
* @throws {@link errors.HedraError}
|
|
368
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
369
|
+
*
|
|
370
|
+
* @example
|
|
371
|
+
* await client.jobs.submitElevenlabsVoiceClone({
|
|
372
|
+
* input: {
|
|
373
|
+
* audio: {
|
|
374
|
+
* source: "url",
|
|
375
|
+
* url: "url"
|
|
376
|
+
* },
|
|
377
|
+
* name: "name"
|
|
378
|
+
* }
|
|
379
|
+
* })
|
|
380
|
+
*/
|
|
381
|
+
submitElevenlabsVoiceClone(request: Hedra.SubmitBodyElevenlabsVoiceClone, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
382
|
+
private __submitElevenlabsVoiceClone;
|
|
231
383
|
/**
|
|
232
384
|
* Premium color depth and clarity when you want campaign-ready art that feels handcrafted.
|
|
233
385
|
*
|
|
@@ -2164,6 +2316,229 @@ export declare class JobsClient {
|
|
|
2164
2316
|
*/
|
|
2165
2317
|
submitSora2Pro(request: Hedra.SubmitBodySora2Pro, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2166
2318
|
private __submitSora2Pro;
|
|
2319
|
+
/**
|
|
2320
|
+
* Use the powerful and accurate Topaz image enhancer to upscale and enhance your images.
|
|
2321
|
+
*
|
|
2322
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2323
|
+
*
|
|
2324
|
+
* @param {Hedra.SubmitBodyTopazImageUpscaler} request
|
|
2325
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2326
|
+
*
|
|
2327
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2328
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2329
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2330
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2331
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2332
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2333
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2334
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2335
|
+
* @throws {@link errors.HedraError}
|
|
2336
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2337
|
+
*
|
|
2338
|
+
* @example
|
|
2339
|
+
* await client.jobs.submitTopazImageUpscaler({
|
|
2340
|
+
* input: {
|
|
2341
|
+
* source_image: {
|
|
2342
|
+
* source: "url",
|
|
2343
|
+
* url: "url"
|
|
2344
|
+
* },
|
|
2345
|
+
* target_resolution: "1080p"
|
|
2346
|
+
* }
|
|
2347
|
+
* })
|
|
2348
|
+
*/
|
|
2349
|
+
submitTopazImageUpscaler(request: Hedra.SubmitBodyTopazImageUpscaler, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2350
|
+
private __submitTopazImageUpscaler;
|
|
2351
|
+
/**
|
|
2352
|
+
* Generative upscaling with realistic detail, precise text, and clean graphics — Topaz's highest-quality image upscaler.
|
|
2353
|
+
*
|
|
2354
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2355
|
+
*
|
|
2356
|
+
* @param {Hedra.SubmitBodyTopazImageUpscalerWonder} request
|
|
2357
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2358
|
+
*
|
|
2359
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2360
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2361
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2362
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2363
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2364
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2365
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2366
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2367
|
+
* @throws {@link errors.HedraError}
|
|
2368
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2369
|
+
*
|
|
2370
|
+
* @example
|
|
2371
|
+
* await client.jobs.submitTopazImageUpscalerWonder({
|
|
2372
|
+
* input: {
|
|
2373
|
+
* source_image: {
|
|
2374
|
+
* source: "url",
|
|
2375
|
+
* url: "url"
|
|
2376
|
+
* },
|
|
2377
|
+
* target_resolution: "1080p"
|
|
2378
|
+
* }
|
|
2379
|
+
* })
|
|
2380
|
+
*/
|
|
2381
|
+
submitTopazImageUpscalerWonder(request: Hedra.SubmitBodyTopazImageUpscalerWonder, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2382
|
+
private __submitTopazImageUpscalerWonder;
|
|
2383
|
+
/**
|
|
2384
|
+
* Precision upscaling that cleans compression and noise while staying faithful to the source.
|
|
2385
|
+
*
|
|
2386
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2387
|
+
*
|
|
2388
|
+
* @param {Hedra.SubmitBodyTopazVideoUpscaler} request
|
|
2389
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2390
|
+
*
|
|
2391
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2392
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2393
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2394
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2395
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2396
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2397
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2398
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2399
|
+
* @throws {@link errors.HedraError}
|
|
2400
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2401
|
+
*
|
|
2402
|
+
* @example
|
|
2403
|
+
* await client.jobs.submitTopazVideoUpscaler({
|
|
2404
|
+
* input: {
|
|
2405
|
+
* source_video: {
|
|
2406
|
+
* source: "url",
|
|
2407
|
+
* url: "url"
|
|
2408
|
+
* },
|
|
2409
|
+
* resolution: "1080p"
|
|
2410
|
+
* }
|
|
2411
|
+
* })
|
|
2412
|
+
*/
|
|
2413
|
+
submitTopazVideoUpscaler(request: Hedra.SubmitBodyTopazVideoUpscaler, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2414
|
+
private __submitTopazVideoUpscaler;
|
|
2415
|
+
/**
|
|
2416
|
+
* Convert SDR video to 10-bit HDR with richer highlights, color, and tonal separation. The output keeps the source resolution.
|
|
2417
|
+
*
|
|
2418
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2419
|
+
*
|
|
2420
|
+
* @param {Hedra.SubmitBodyTopazVideoUpscalerHyperion25} request
|
|
2421
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2422
|
+
*
|
|
2423
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2424
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2425
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2426
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2427
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2428
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2429
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2430
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2431
|
+
* @throws {@link errors.HedraError}
|
|
2432
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2433
|
+
*
|
|
2434
|
+
* @example
|
|
2435
|
+
* await client.jobs.submitTopazVideoUpscalerHyperion25({
|
|
2436
|
+
* input: {
|
|
2437
|
+
* source_video: {
|
|
2438
|
+
* source: "url",
|
|
2439
|
+
* url: "url"
|
|
2440
|
+
* }
|
|
2441
|
+
* }
|
|
2442
|
+
* })
|
|
2443
|
+
*/
|
|
2444
|
+
submitTopazVideoUpscalerHyperion25(request: Hedra.SubmitBodyTopazVideoUpscalerHyperion25, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2445
|
+
private __submitTopazVideoUpscalerHyperion25;
|
|
2446
|
+
/**
|
|
2447
|
+
* Faster generative diffusion upscaling at half the cost of Starlight Precise.
|
|
2448
|
+
*
|
|
2449
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2450
|
+
*
|
|
2451
|
+
* @param {Hedra.SubmitBodyTopazVideoUpscalerStarlightFast} request
|
|
2452
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2453
|
+
*
|
|
2454
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2455
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2456
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2457
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2458
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2459
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2460
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2461
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2462
|
+
* @throws {@link errors.HedraError}
|
|
2463
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2464
|
+
*
|
|
2465
|
+
* @example
|
|
2466
|
+
* await client.jobs.submitTopazVideoUpscalerStarlightFast({
|
|
2467
|
+
* input: {
|
|
2468
|
+
* source_video: {
|
|
2469
|
+
* source: "url",
|
|
2470
|
+
* url: "url"
|
|
2471
|
+
* },
|
|
2472
|
+
* resolution: "1080p"
|
|
2473
|
+
* }
|
|
2474
|
+
* })
|
|
2475
|
+
*/
|
|
2476
|
+
submitTopazVideoUpscalerStarlightFast(request: Hedra.SubmitBodyTopazVideoUpscalerStarlightFast, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2477
|
+
private __submitTopazVideoUpscalerStarlightFast;
|
|
2478
|
+
/**
|
|
2479
|
+
* Generative diffusion upscaling balancing detail and sharpness for medium-to-high quality sources.
|
|
2480
|
+
*
|
|
2481
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2482
|
+
*
|
|
2483
|
+
* @param {Hedra.SubmitBodyTopazVideoUpscalerStarlightHq} request
|
|
2484
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2485
|
+
*
|
|
2486
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2487
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2488
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2489
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2490
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2491
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2492
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2493
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2494
|
+
* @throws {@link errors.HedraError}
|
|
2495
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2496
|
+
*
|
|
2497
|
+
* @example
|
|
2498
|
+
* await client.jobs.submitTopazVideoUpscalerStarlightHq({
|
|
2499
|
+
* input: {
|
|
2500
|
+
* source_video: {
|
|
2501
|
+
* source: "url",
|
|
2502
|
+
* url: "url"
|
|
2503
|
+
* },
|
|
2504
|
+
* resolution: "1080p"
|
|
2505
|
+
* }
|
|
2506
|
+
* })
|
|
2507
|
+
*/
|
|
2508
|
+
submitTopazVideoUpscalerStarlightHq(request: Hedra.SubmitBodyTopazVideoUpscalerStarlightHq, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2509
|
+
private __submitTopazVideoUpscalerStarlightHq;
|
|
2510
|
+
/**
|
|
2511
|
+
* Generative diffusion upscaling for AI-generated and archival video with realistic faces, textures, and text.
|
|
2512
|
+
*
|
|
2513
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2514
|
+
*
|
|
2515
|
+
* @param {Hedra.SubmitBodyTopazVideoUpscalerStarlightPrecise} request
|
|
2516
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2517
|
+
*
|
|
2518
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2519
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2520
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2521
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2522
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2523
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2524
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2525
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2526
|
+
* @throws {@link errors.HedraError}
|
|
2527
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2528
|
+
*
|
|
2529
|
+
* @example
|
|
2530
|
+
* await client.jobs.submitTopazVideoUpscalerStarlightPrecise({
|
|
2531
|
+
* input: {
|
|
2532
|
+
* source_video: {
|
|
2533
|
+
* source: "url",
|
|
2534
|
+
* url: "url"
|
|
2535
|
+
* },
|
|
2536
|
+
* resolution: "1080p"
|
|
2537
|
+
* }
|
|
2538
|
+
* })
|
|
2539
|
+
*/
|
|
2540
|
+
submitTopazVideoUpscalerStarlightPrecise(request: Hedra.SubmitBodyTopazVideoUpscalerStarlightPrecise, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2541
|
+
private __submitTopazVideoUpscalerStarlightPrecise;
|
|
2167
2542
|
/**
|
|
2168
2543
|
* Talking video with natural lip-sync and expressive animation.
|
|
2169
2544
|
*
|
|
@@ -2420,6 +2795,38 @@ export declare class JobsClient {
|
|
|
2420
2795
|
*/
|
|
2421
2796
|
submitWan27(request: Hedra.SubmitBodyWan27, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2422
2797
|
private __submitWan27;
|
|
2798
|
+
/**
|
|
2799
|
+
* Wan 3.0 video with native audio, up to 30 seconds in one shot — from a text prompt, from a first frame with an optional last frame, or from reference images that keep subjects consistent
|
|
2800
|
+
*
|
|
2801
|
+
* Submits an asynchronous job and returns `202` with a job id. Fetch the result at `GET /v3/jobs/{job_id}` — each item in its `outputs[]` follows the `OutputItem` schema — or track progress via `GET /v3/jobs/{job_id}/status` / the SSE stream at `GET /v3/jobs/{job_id}/stream`.
|
|
2802
|
+
*
|
|
2803
|
+
* @param {Hedra.SubmitBodyWan30} request
|
|
2804
|
+
* @param {JobsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
2805
|
+
*
|
|
2806
|
+
* @throws {@link Hedra.BadRequestError}
|
|
2807
|
+
* @throws {@link Hedra.UnauthorizedError}
|
|
2808
|
+
* @throws {@link Hedra.PaymentRequiredError}
|
|
2809
|
+
* @throws {@link Hedra.ForbiddenError}
|
|
2810
|
+
* @throws {@link Hedra.NotFoundError}
|
|
2811
|
+
* @throws {@link Hedra.UnprocessableEntityError}
|
|
2812
|
+
* @throws {@link Hedra.TooManyRequestsError}
|
|
2813
|
+
* @throws {@link Hedra.InternalServerError}
|
|
2814
|
+
* @throws {@link errors.HedraError}
|
|
2815
|
+
* @throws {@link errors.HedraTimeoutError}
|
|
2816
|
+
*
|
|
2817
|
+
* @example
|
|
2818
|
+
* await client.jobs.submitWan30({
|
|
2819
|
+
* input: {
|
|
2820
|
+
* prompt: "prompt",
|
|
2821
|
+
* aspect_ratio: "adaptive",
|
|
2822
|
+
* resolution: "480p",
|
|
2823
|
+
* duration_ms: 1,
|
|
2824
|
+
* quality: "standard"
|
|
2825
|
+
* }
|
|
2826
|
+
* })
|
|
2827
|
+
*/
|
|
2828
|
+
submitWan30(request: Hedra.SubmitBodyWan30, requestOptions?: JobsClient.RequestOptions): core.HttpResponsePromise<Hedra.SubmitResponse>;
|
|
2829
|
+
private __submitWan30;
|
|
2423
2830
|
/**
|
|
2424
2831
|
* Runs any model in the catalog by its public id, with `input` passed through untyped — the same call the typed operations below make, minus the compile-time schema.
|
|
2425
2832
|
*
|