@hedra/sdk 2.0.2 → 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.
- 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 +438 -2
- package/dist/cjs/api/resources/jobs/client/Client.js +1984 -820
- 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/SubmitBodyKlingO3.d.ts +0 -1
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.ts +0 -1
- 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/SubmitBodyVeedVideoBackgroundRemoval.d.ts +19 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeedVideoBackgroundRemoval.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 +14 -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/InputKlingAiAvatarV2.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingAiAvatarV2Audio.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3.d.ts +29 -7
- package/dist/cjs/api/types/InputKlingO3.js +5 -0
- package/dist/cjs/api/types/InputKlingV3.d.ts +29 -7
- package/dist/cjs/api/types/InputKlingV3.js +5 -0
- package/dist/cjs/api/types/InputMinimaxH3.d.ts +3 -3
- package/dist/cjs/api/types/InputMinimaxH3EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputMinimaxH3StartImage.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 +4 -3
- package/dist/cjs/api/types/InputSeedance25.js +1 -0
- 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/InputVeedVideoBackgroundRemoval.d.ts +12 -0
- package/dist/cjs/api/types/InputVeedVideoBackgroundRemoval.js +3 -0
- package/dist/cjs/api/types/InputVeedVideoBackgroundRemovalSourceVideo.d.ts +23 -0
- package/dist/cjs/api/types/InputVeedVideoBackgroundRemovalSourceVideo.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/ModelDetail.d.ts +2 -0
- package/dist/cjs/api/types/ModelSummary.d.ts +2 -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 +31 -0
- package/dist/cjs/api/types/index.js +31 -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 +438 -2
- package/dist/esm/api/resources/jobs/client/Client.mjs +1984 -820
- 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/SubmitBodyKlingO3.d.mts +0 -1
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.mts +0 -1
- 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/SubmitBodyVeedVideoBackgroundRemoval.d.mts +19 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeedVideoBackgroundRemoval.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 +14 -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/InputKlingAiAvatarV2.d.mts +1 -1
- package/dist/esm/api/types/InputKlingAiAvatarV2Audio.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3.d.mts +29 -7
- package/dist/esm/api/types/InputKlingO3.mjs +5 -0
- package/dist/esm/api/types/InputKlingV3.d.mts +29 -7
- package/dist/esm/api/types/InputKlingV3.mjs +5 -0
- package/dist/esm/api/types/InputMinimaxH3.d.mts +3 -3
- package/dist/esm/api/types/InputMinimaxH3EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputMinimaxH3StartImage.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 +4 -3
- package/dist/esm/api/types/InputSeedance25.mjs +1 -0
- 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/InputVeedVideoBackgroundRemoval.d.mts +12 -0
- package/dist/esm/api/types/InputVeedVideoBackgroundRemoval.mjs +2 -0
- package/dist/esm/api/types/InputVeedVideoBackgroundRemovalSourceVideo.d.mts +23 -0
- package/dist/esm/api/types/InputVeedVideoBackgroundRemovalSourceVideo.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/ModelDetail.d.mts +2 -0
- package/dist/esm/api/types/ModelSummary.d.mts +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 +31 -0
- package/dist/esm/api/types/index.mjs +31 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +1473 -463
|
@@ -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,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,12 @@
|
|
|
1
|
+
import type * as Hedra from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `veed-video-background-removal`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputVeedVideoBackgroundRemoval {
|
|
6
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
7
|
+
num_outputs?: number | undefined;
|
|
8
|
+
/** Video whose background should be made transparent. At most 120s and at most 524.2 MB. */
|
|
9
|
+
source_video: Hedra.InputVeedVideoBackgroundRemovalSourceVideo;
|
|
10
|
+
/** Optimize segmentation for a person rather than an object. */
|
|
11
|
+
subject_is_person?: boolean | undefined;
|
|
12
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Video whose background should be made transparent. At most 120s and at most 524.2 MB.
|
|
4
|
+
*/
|
|
5
|
+
export type InputVeedVideoBackgroundRemovalSourceVideo =
|
|
6
|
+
/**
|
|
7
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
8
|
+
Hedra.InputVeedVideoBackgroundRemovalSourceVideo.Url
|
|
9
|
+
/**
|
|
10
|
+
* An existing asset you own, referenced by its id. */
|
|
11
|
+
| Hedra.InputVeedVideoBackgroundRemovalSourceVideo.Asset;
|
|
12
|
+
export declare namespace InputVeedVideoBackgroundRemovalSourceVideo {
|
|
13
|
+
interface Url {
|
|
14
|
+
source: "url";
|
|
15
|
+
/** A URL returned by POST /v3/files. */
|
|
16
|
+
url: string;
|
|
17
|
+
}
|
|
18
|
+
interface Asset {
|
|
19
|
+
source: "asset";
|
|
20
|
+
/** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
|
|
21
|
+
asset_id: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,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,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,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,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,20 @@
|
|
|
1
|
+
import type * as Hedra from "../index.js";
|
|
2
|
+
export type InputWan30VideosItem =
|
|
3
|
+
/**
|
|
4
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
5
|
+
Hedra.InputWan30VideosItem.Url
|
|
6
|
+
/**
|
|
7
|
+
* An existing asset you own, referenced by its id. */
|
|
8
|
+
| Hedra.InputWan30VideosItem.Asset;
|
|
9
|
+
export declare namespace InputWan30VideosItem {
|
|
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
|
+
}
|
|
@@ -7,6 +7,8 @@ export interface ModelDetail {
|
|
|
7
7
|
name?: (string | null) | undefined;
|
|
8
8
|
/** One-line summary of what the model does. */
|
|
9
9
|
description?: (string | null) | undefined;
|
|
10
|
+
/** Short USD pricing summary for this model. Exact cost depends on input. */
|
|
11
|
+
price_description?: string | undefined;
|
|
10
12
|
/** URL of the provider's logo. */
|
|
11
13
|
logo_url?: (string | null) | undefined;
|
|
12
14
|
/** JSON Schema for this model's `input` object on submit — the same schema `GET /v3/models/{model}/openapi.json` embeds. */
|
|
@@ -7,6 +7,8 @@ export interface ModelSummary {
|
|
|
7
7
|
name?: (string | null) | undefined;
|
|
8
8
|
/** One-line summary of what the model does. */
|
|
9
9
|
description?: (string | null) | undefined;
|
|
10
|
+
/** Short USD pricing summary for this model. Exact cost depends on input. */
|
|
11
|
+
price_description?: string | undefined;
|
|
10
12
|
/** URL of the provider's logo. */
|
|
11
13
|
logo_url?: (string | null) | undefined;
|
|
12
14
|
}
|
|
@@ -8,11 +8,17 @@ import type * as Hedra from "../index.js";
|
|
|
8
8
|
* `fps: null`, an audio output `width: null` — so the shape is one object
|
|
9
9
|
* rather than one per modality. `url` and `asset_id` go null on an expired
|
|
10
10
|
* output, which has metadata but no retrievable bytes.
|
|
11
|
+
*
|
|
12
|
+
* A voice-clone job's output is a voice rather than a file: it reports
|
|
13
|
+
* `voice_id` and leaves `url`, `content_type`, and `asset_id` null, since
|
|
14
|
+
* there are no bytes to fetch and nothing to pass back as a media input.
|
|
11
15
|
*/
|
|
12
16
|
export interface OutputItem {
|
|
13
17
|
status?: Hedra.OutputStatus | undefined;
|
|
14
18
|
/** This output's asset id — server-issued, and opaque. Pass it as `{"source": "asset", "asset_id": ...}` in a later submit's media inputs to reuse this output as a reference. Null once the output has expired, since its bytes are no longer retrievable. */
|
|
15
19
|
asset_id?: (string | null) | undefined;
|
|
20
|
+
/** The voice a voice-clone job created (`voice_<uuid>`). Send it back as `voice_id` on a text-to-speech submit to speak with this voice; it stays usable by the account that created it. Null for every other kind of output. */
|
|
21
|
+
voice_id?: (string | null) | undefined;
|
|
16
22
|
/** Presigned download URL for the output bytes. Null once the output has expired. */
|
|
17
23
|
url?: (string | null) | undefined;
|
|
18
24
|
/** MIME type of the output bytes. */
|
|
@@ -8,6 +8,8 @@ export interface UsageBucket {
|
|
|
8
8
|
key: string;
|
|
9
9
|
/** Jobs submitted in this bucket. */
|
|
10
10
|
jobs: number;
|
|
11
|
+
/** Settled LLM chat requests in this bucket. Unlike `jobs` (which counts submits, charged or not), this counts requests whose usage settled — a request refused before any work never appears, and a late settlement lands in the window the request was created in. */
|
|
12
|
+
requests?: number | undefined;
|
|
11
13
|
/** Net amount spent in this bucket. */
|
|
12
14
|
spent: number;
|
|
13
15
|
}
|
|
@@ -7,6 +7,8 @@ export interface UsageResponse {
|
|
|
7
7
|
group_by: Hedra.UsageGroupBy;
|
|
8
8
|
/** Jobs submitted across the whole window. */
|
|
9
9
|
total_jobs: number;
|
|
10
|
+
/** Settled LLM chat requests across the whole window. */
|
|
11
|
+
total_requests?: number | undefined;
|
|
10
12
|
/** Net amount spent across the whole window. */
|
|
11
13
|
total_spent: number;
|
|
12
14
|
/** ISO-4217 currency code for every amount in this response. */
|
|
@@ -9,10 +9,19 @@ export * from "./EstimateResponse.js";
|
|
|
9
9
|
export * from "./FieldError.js";
|
|
10
10
|
export * from "./FileUploadResponse.js";
|
|
11
11
|
export * from "./InputDreamina31.js";
|
|
12
|
+
export * from "./InputElevenlabsAudioIsolation.js";
|
|
13
|
+
export * from "./InputElevenlabsAudioIsolationAudio.js";
|
|
14
|
+
export * from "./InputElevenlabsEnglishStsV2.js";
|
|
15
|
+
export * from "./InputElevenlabsEnglishStsV2Audio.js";
|
|
12
16
|
export * from "./InputElevenlabsFlashMultilingualV2.js";
|
|
13
17
|
export * from "./InputElevenlabsFlashV2.js";
|
|
18
|
+
export * from "./InputElevenlabsMultilingualStsV2.js";
|
|
19
|
+
export * from "./InputElevenlabsMultilingualStsV2Audio.js";
|
|
14
20
|
export * from "./InputElevenlabsMultilingualV2.js";
|
|
21
|
+
export * from "./InputElevenlabsSoundEffects.js";
|
|
15
22
|
export * from "./InputElevenlabsV3.js";
|
|
23
|
+
export * from "./InputElevenlabsVoiceClone.js";
|
|
24
|
+
export * from "./InputElevenlabsVoiceCloneAudio.js";
|
|
16
25
|
export * from "./InputFlux2Flex.js";
|
|
17
26
|
export * from "./InputFlux2FlexImagesItem.js";
|
|
18
27
|
export * from "./InputFlux2Klein9B.js";
|
|
@@ -165,9 +174,25 @@ export * from "./InputSeedream50Pro.js";
|
|
|
165
174
|
export * from "./InputSeedream50ProImagesItem.js";
|
|
166
175
|
export * from "./InputSora2Pro.js";
|
|
167
176
|
export * from "./InputSora2ProStartImage.js";
|
|
177
|
+
export * from "./InputTopazImageUpscaler.js";
|
|
178
|
+
export * from "./InputTopazImageUpscalerSourceImage.js";
|
|
179
|
+
export * from "./InputTopazImageUpscalerWonder.js";
|
|
180
|
+
export * from "./InputTopazImageUpscalerWonderSourceImage.js";
|
|
181
|
+
export * from "./InputTopazVideoUpscaler.js";
|
|
182
|
+
export * from "./InputTopazVideoUpscalerHyperion25.js";
|
|
183
|
+
export * from "./InputTopazVideoUpscalerHyperion25SourceVideo.js";
|
|
184
|
+
export * from "./InputTopazVideoUpscalerSourceVideo.js";
|
|
185
|
+
export * from "./InputTopazVideoUpscalerStarlightFast.js";
|
|
186
|
+
export * from "./InputTopazVideoUpscalerStarlightFastSourceVideo.js";
|
|
187
|
+
export * from "./InputTopazVideoUpscalerStarlightHq.js";
|
|
188
|
+
export * from "./InputTopazVideoUpscalerStarlightHqSourceVideo.js";
|
|
189
|
+
export * from "./InputTopazVideoUpscalerStarlightPrecise.js";
|
|
190
|
+
export * from "./InputTopazVideoUpscalerStarlightPreciseSourceVideo.js";
|
|
168
191
|
export * from "./InputVeedFabric10.js";
|
|
169
192
|
export * from "./InputVeedFabric10Audio.js";
|
|
170
193
|
export * from "./InputVeedFabric10StartImage.js";
|
|
194
|
+
export * from "./InputVeedVideoBackgroundRemoval.js";
|
|
195
|
+
export * from "./InputVeedVideoBackgroundRemovalSourceVideo.js";
|
|
171
196
|
export * from "./InputVeo2.js";
|
|
172
197
|
export * from "./InputVeo2StartImage.js";
|
|
173
198
|
export * from "./InputVeo3.js";
|
|
@@ -186,6 +211,12 @@ export * from "./InputWan27.js";
|
|
|
186
211
|
export * from "./InputWan27EndImage.js";
|
|
187
212
|
export * from "./InputWan27ImagesItem.js";
|
|
188
213
|
export * from "./InputWan27StartImage.js";
|
|
214
|
+
export * from "./InputWan30.js";
|
|
215
|
+
export * from "./InputWan30AudiosItem.js";
|
|
216
|
+
export * from "./InputWan30EndImage.js";
|
|
217
|
+
export * from "./InputWan30ImagesItem.js";
|
|
218
|
+
export * from "./InputWan30StartImage.js";
|
|
219
|
+
export * from "./InputWan30VideosItem.js";
|
|
189
220
|
export * from "./JobListResponse.js";
|
|
190
221
|
export * from "./JobLogEvent.js";
|
|
191
222
|
export * from "./JobLogItem.js";
|
|
@@ -25,10 +25,19 @@ __exportStar(require("./EstimateResponse.js"), exports);
|
|
|
25
25
|
__exportStar(require("./FieldError.js"), exports);
|
|
26
26
|
__exportStar(require("./FileUploadResponse.js"), exports);
|
|
27
27
|
__exportStar(require("./InputDreamina31.js"), exports);
|
|
28
|
+
__exportStar(require("./InputElevenlabsAudioIsolation.js"), exports);
|
|
29
|
+
__exportStar(require("./InputElevenlabsAudioIsolationAudio.js"), exports);
|
|
30
|
+
__exportStar(require("./InputElevenlabsEnglishStsV2.js"), exports);
|
|
31
|
+
__exportStar(require("./InputElevenlabsEnglishStsV2Audio.js"), exports);
|
|
28
32
|
__exportStar(require("./InputElevenlabsFlashMultilingualV2.js"), exports);
|
|
29
33
|
__exportStar(require("./InputElevenlabsFlashV2.js"), exports);
|
|
34
|
+
__exportStar(require("./InputElevenlabsMultilingualStsV2.js"), exports);
|
|
35
|
+
__exportStar(require("./InputElevenlabsMultilingualStsV2Audio.js"), exports);
|
|
30
36
|
__exportStar(require("./InputElevenlabsMultilingualV2.js"), exports);
|
|
37
|
+
__exportStar(require("./InputElevenlabsSoundEffects.js"), exports);
|
|
31
38
|
__exportStar(require("./InputElevenlabsV3.js"), exports);
|
|
39
|
+
__exportStar(require("./InputElevenlabsVoiceClone.js"), exports);
|
|
40
|
+
__exportStar(require("./InputElevenlabsVoiceCloneAudio.js"), exports);
|
|
32
41
|
__exportStar(require("./InputFlux2Flex.js"), exports);
|
|
33
42
|
__exportStar(require("./InputFlux2FlexImagesItem.js"), exports);
|
|
34
43
|
__exportStar(require("./InputFlux2Klein9B.js"), exports);
|
|
@@ -181,9 +190,25 @@ __exportStar(require("./InputSeedream50Pro.js"), exports);
|
|
|
181
190
|
__exportStar(require("./InputSeedream50ProImagesItem.js"), exports);
|
|
182
191
|
__exportStar(require("./InputSora2Pro.js"), exports);
|
|
183
192
|
__exportStar(require("./InputSora2ProStartImage.js"), exports);
|
|
193
|
+
__exportStar(require("./InputTopazImageUpscaler.js"), exports);
|
|
194
|
+
__exportStar(require("./InputTopazImageUpscalerSourceImage.js"), exports);
|
|
195
|
+
__exportStar(require("./InputTopazImageUpscalerWonder.js"), exports);
|
|
196
|
+
__exportStar(require("./InputTopazImageUpscalerWonderSourceImage.js"), exports);
|
|
197
|
+
__exportStar(require("./InputTopazVideoUpscaler.js"), exports);
|
|
198
|
+
__exportStar(require("./InputTopazVideoUpscalerHyperion25.js"), exports);
|
|
199
|
+
__exportStar(require("./InputTopazVideoUpscalerHyperion25SourceVideo.js"), exports);
|
|
200
|
+
__exportStar(require("./InputTopazVideoUpscalerSourceVideo.js"), exports);
|
|
201
|
+
__exportStar(require("./InputTopazVideoUpscalerStarlightFast.js"), exports);
|
|
202
|
+
__exportStar(require("./InputTopazVideoUpscalerStarlightFastSourceVideo.js"), exports);
|
|
203
|
+
__exportStar(require("./InputTopazVideoUpscalerStarlightHq.js"), exports);
|
|
204
|
+
__exportStar(require("./InputTopazVideoUpscalerStarlightHqSourceVideo.js"), exports);
|
|
205
|
+
__exportStar(require("./InputTopazVideoUpscalerStarlightPrecise.js"), exports);
|
|
206
|
+
__exportStar(require("./InputTopazVideoUpscalerStarlightPreciseSourceVideo.js"), exports);
|
|
184
207
|
__exportStar(require("./InputVeedFabric10.js"), exports);
|
|
185
208
|
__exportStar(require("./InputVeedFabric10Audio.js"), exports);
|
|
186
209
|
__exportStar(require("./InputVeedFabric10StartImage.js"), exports);
|
|
210
|
+
__exportStar(require("./InputVeedVideoBackgroundRemoval.js"), exports);
|
|
211
|
+
__exportStar(require("./InputVeedVideoBackgroundRemovalSourceVideo.js"), exports);
|
|
187
212
|
__exportStar(require("./InputVeo2.js"), exports);
|
|
188
213
|
__exportStar(require("./InputVeo2StartImage.js"), exports);
|
|
189
214
|
__exportStar(require("./InputVeo3.js"), exports);
|
|
@@ -202,6 +227,12 @@ __exportStar(require("./InputWan27.js"), exports);
|
|
|
202
227
|
__exportStar(require("./InputWan27EndImage.js"), exports);
|
|
203
228
|
__exportStar(require("./InputWan27ImagesItem.js"), exports);
|
|
204
229
|
__exportStar(require("./InputWan27StartImage.js"), exports);
|
|
230
|
+
__exportStar(require("./InputWan30.js"), exports);
|
|
231
|
+
__exportStar(require("./InputWan30AudiosItem.js"), exports);
|
|
232
|
+
__exportStar(require("./InputWan30EndImage.js"), exports);
|
|
233
|
+
__exportStar(require("./InputWan30ImagesItem.js"), exports);
|
|
234
|
+
__exportStar(require("./InputWan30StartImage.js"), exports);
|
|
235
|
+
__exportStar(require("./InputWan30VideosItem.js"), exports);
|
|
205
236
|
__exportStar(require("./JobListResponse.js"), exports);
|
|
206
237
|
__exportStar(require("./JobLogEvent.js"), exports);
|
|
207
238
|
__exportStar(require("./JobLogItem.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "
|
|
1
|
+
export declare const SDK_VERSION = "4.0.0";
|
package/dist/cjs/version.js
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.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.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/esm/BaseClient.mjs
CHANGED
|
@@ -7,11 +7,11 @@ export function normalizeClientOptions(options) {
|
|
|
7
7
|
const headers = mergeHeaders({
|
|
8
8
|
"X-Fern-Language": "JavaScript",
|
|
9
9
|
"X-Fern-SDK-Name": "@hedra/sdk",
|
|
10
|
-
"X-Fern-SDK-Version": "
|
|
11
|
-
"User-Agent": "@hedra/sdk/
|
|
10
|
+
"X-Fern-SDK-Version": "4.0.0",
|
|
11
|
+
"User-Agent": "@hedra/sdk/4.0.0",
|
|
12
12
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
13
13
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
14
|
-
"X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.3
|
|
14
|
+
"X-Hedra-Spec-Version": (_a = options === null || options === void 0 ? void 0 : options.specVersion) !== null && _a !== void 0 ? _a : "3.13.3",
|
|
15
15
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
16
16
|
return Object.assign(Object.assign({}, options), { logging: core.logging.createLogger(options === null || options === void 0 ? void 0 : options.logging), headers });
|
|
17
17
|
}
|