@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
|
@@ -19,11 +19,11 @@ export interface InputSeedance20 {
|
|
|
19
19
|
duration_ms: number;
|
|
20
20
|
/** Whether to generate native audio for the video. */
|
|
21
21
|
generate_audio?: boolean | undefined;
|
|
22
|
-
/** Start frame (image-to-video).
|
|
22
|
+
/** Start frame (image-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
23
23
|
start_image?: Hedra.InputSeedance20StartImage | undefined;
|
|
24
|
-
/** End frame (first-last-frame-to-video).
|
|
24
|
+
/** End frame (first-last-frame-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
25
25
|
end_image?: Hedra.InputSeedance20EndImage | undefined;
|
|
26
|
-
/** Reference images. 1 to 9 images, each
|
|
26
|
+
/** Reference images. 1 to 9 images, each from 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
27
27
|
images?: Hedra.InputSeedance20ImagesItem[] | undefined;
|
|
28
28
|
/** Reference videos. 1 to 3 videos, each from 2s to 15s and at most 524.2 MB, at most 15s in total. */
|
|
29
29
|
videos?: Hedra.InputSeedance20VideosItem[] | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* End frame (first-last-frame-to-video).
|
|
3
|
+
* End frame (first-last-frame-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputSeedance20EndImage =
|
|
6
6
|
/**
|
|
@@ -13,11 +13,11 @@ export interface InputSeedance20Mini {
|
|
|
13
13
|
resolution: InputSeedance20Mini.Resolution;
|
|
14
14
|
/** Duration in ms. */
|
|
15
15
|
duration_ms: number;
|
|
16
|
-
/** Start frame (image-to-video).
|
|
16
|
+
/** Start frame (image-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
17
17
|
start_image?: Hedra.InputSeedance20MiniStartImage | undefined;
|
|
18
|
-
/** End frame (first-last-frame-to-video).
|
|
18
|
+
/** End frame (first-last-frame-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
19
19
|
end_image?: Hedra.InputSeedance20MiniEndImage | undefined;
|
|
20
|
-
/** Reference images. 1 to 9 images, each
|
|
20
|
+
/** Reference images. 1 to 9 images, each from 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
21
21
|
images?: Hedra.InputSeedance20MiniImagesItem[] | undefined;
|
|
22
22
|
/** Reference videos. 1 to 3 videos, each from 2s to 15s and at most 524.2 MB, at most 15s in total. */
|
|
23
23
|
videos?: Hedra.InputSeedance20MiniVideosItem[] | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* End frame (first-last-frame-to-video).
|
|
3
|
+
* End frame (first-last-frame-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputSeedance20MiniEndImage =
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame (image-to-video).
|
|
3
|
+
* Start frame (image-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputSeedance20MiniStartImage =
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame (image-to-video).
|
|
3
|
+
* Start frame (image-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputSeedance20StartImage =
|
|
6
6
|
/**
|
|
@@ -15,11 +15,11 @@ export interface InputSeedance25 {
|
|
|
15
15
|
duration_ms: number;
|
|
16
16
|
/** Whether to generate native audio for the video. */
|
|
17
17
|
generate_audio?: boolean | undefined;
|
|
18
|
-
/** Start frame (image-to-video).
|
|
18
|
+
/** Start frame (image-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
19
19
|
start_image?: Hedra.InputSeedance25StartImage | undefined;
|
|
20
|
-
/** End frame (first-last-frame-to-video).
|
|
20
|
+
/** End frame (first-last-frame-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
21
21
|
end_image?: Hedra.InputSeedance25EndImage | undefined;
|
|
22
|
-
/** Reference images. 1 to 30 images, each
|
|
22
|
+
/** Reference images. 1 to 30 images, each from 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
23
23
|
images?: Hedra.InputSeedance25ImagesItem[] | undefined;
|
|
24
24
|
/** Reference videos. 1 to 10 videos, each from 2s to 30s and at most 524.2 MB, at most 30s in total. */
|
|
25
25
|
videos?: Hedra.InputSeedance25VideosItem[] | undefined;
|
|
@@ -42,6 +42,7 @@ export declare namespace InputSeedance25 {
|
|
|
42
42
|
const Resolution: {
|
|
43
43
|
readonly FourHundredEightyP: "480p";
|
|
44
44
|
readonly SevenHundredTwentyP: "720p";
|
|
45
|
+
readonly OneThousandEightyP: "1080p";
|
|
45
46
|
};
|
|
46
47
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
47
48
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* End frame (first-last-frame-to-video).
|
|
3
|
+
* End frame (first-last-frame-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputSeedance25EndImage =
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.mjs";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame (image-to-video).
|
|
3
|
+
* Start frame (image-to-video). From 300px to 6000px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputSeedance25StartImage =
|
|
6
6
|
/**
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `topaz-image-upscaler`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputTopazImageUpscaler {
|
|
6
|
+
/** The image to upscale. At most 30 MB. */
|
|
7
|
+
source_image: Hedra.InputTopazImageUpscalerSourceImage;
|
|
8
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
9
|
+
num_outputs?: number | undefined;
|
|
10
|
+
/** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
|
|
11
|
+
target_resolution: InputTopazImageUpscaler.TargetResolution;
|
|
12
|
+
/** Restore facial detail, and how strongly. Off leaves faces to the general upscale. */
|
|
13
|
+
face_recovery?: InputTopazImageUpscaler.FaceRecovery | undefined;
|
|
14
|
+
/** How much a recovered face may be reimagined rather than reconstructed. Takes effect only with face_recovery on. */
|
|
15
|
+
face_recovery_creativity?: InputTopazImageUpscaler.FaceRecoveryCreativity | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace InputTopazImageUpscaler {
|
|
18
|
+
/** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
|
|
19
|
+
const TargetResolution: {
|
|
20
|
+
readonly OneThousandEightyP: "1080p";
|
|
21
|
+
readonly TwoK: "2K";
|
|
22
|
+
readonly FourK: "4K";
|
|
23
|
+
};
|
|
24
|
+
type TargetResolution = (typeof TargetResolution)[keyof typeof TargetResolution];
|
|
25
|
+
/** Restore facial detail, and how strongly. Off leaves faces to the general upscale. */
|
|
26
|
+
const FaceRecovery: {
|
|
27
|
+
readonly Off: "off";
|
|
28
|
+
readonly Low: "low";
|
|
29
|
+
readonly Medium: "medium";
|
|
30
|
+
readonly High: "high";
|
|
31
|
+
};
|
|
32
|
+
type FaceRecovery = (typeof FaceRecovery)[keyof typeof FaceRecovery];
|
|
33
|
+
/** How much a recovered face may be reimagined rather than reconstructed. Takes effect only with face_recovery on. */
|
|
34
|
+
const FaceRecoveryCreativity: {
|
|
35
|
+
readonly None: "none";
|
|
36
|
+
readonly Low: "low";
|
|
37
|
+
readonly Medium: "medium";
|
|
38
|
+
readonly High: "high";
|
|
39
|
+
};
|
|
40
|
+
type FaceRecoveryCreativity = (typeof FaceRecoveryCreativity)[keyof typeof FaceRecoveryCreativity];
|
|
41
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var InputTopazImageUpscaler;
|
|
3
|
+
(function (InputTopazImageUpscaler) {
|
|
4
|
+
/** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
|
|
5
|
+
InputTopazImageUpscaler.TargetResolution = {
|
|
6
|
+
OneThousandEightyP: "1080p",
|
|
7
|
+
TwoK: "2K",
|
|
8
|
+
FourK: "4K",
|
|
9
|
+
};
|
|
10
|
+
/** Restore facial detail, and how strongly. Off leaves faces to the general upscale. */
|
|
11
|
+
InputTopazImageUpscaler.FaceRecovery = {
|
|
12
|
+
Off: "off",
|
|
13
|
+
Low: "low",
|
|
14
|
+
Medium: "medium",
|
|
15
|
+
High: "high",
|
|
16
|
+
};
|
|
17
|
+
/** How much a recovered face may be reimagined rather than reconstructed. Takes effect only with face_recovery on. */
|
|
18
|
+
InputTopazImageUpscaler.FaceRecoveryCreativity = {
|
|
19
|
+
None: "none",
|
|
20
|
+
Low: "low",
|
|
21
|
+
Medium: "medium",
|
|
22
|
+
High: "high",
|
|
23
|
+
};
|
|
24
|
+
})(InputTopazImageUpscaler || (InputTopazImageUpscaler = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The image to upscale. At most 30 MB.
|
|
4
|
+
*/
|
|
5
|
+
export type InputTopazImageUpscalerSourceImage =
|
|
6
|
+
/**
|
|
7
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
8
|
+
Hedra.InputTopazImageUpscalerSourceImage.Url
|
|
9
|
+
/**
|
|
10
|
+
* An existing asset you own, referenced by its id. */
|
|
11
|
+
| Hedra.InputTopazImageUpscalerSourceImage.Asset;
|
|
12
|
+
export declare namespace InputTopazImageUpscalerSourceImage {
|
|
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,32 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `topaz-image-upscaler-wonder`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputTopazImageUpscalerWonder {
|
|
6
|
+
/** The image to upscale. At most 30 MB. */
|
|
7
|
+
source_image: Hedra.InputTopazImageUpscalerWonderSourceImage;
|
|
8
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
9
|
+
num_outputs?: number | undefined;
|
|
10
|
+
/** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
|
|
11
|
+
target_resolution: InputTopazImageUpscalerWonder.TargetResolution;
|
|
12
|
+
/** How far the generative pass may depart from the source. Lower values stay closer to the original pixels; higher values invent more detail. */
|
|
13
|
+
enhancement_strength?: InputTopazImageUpscalerWonder.EnhancementStrength | undefined;
|
|
14
|
+
/** Add film grain to the upscaled image, which hides the over-smooth look generative upscaling can leave. */
|
|
15
|
+
film_grain?: boolean | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace InputTopazImageUpscalerWonder {
|
|
18
|
+
/** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
|
|
19
|
+
const TargetResolution: {
|
|
20
|
+
readonly OneThousandEightyP: "1080p";
|
|
21
|
+
readonly TwoK: "2K";
|
|
22
|
+
readonly FourK: "4K";
|
|
23
|
+
};
|
|
24
|
+
type TargetResolution = (typeof TargetResolution)[keyof typeof TargetResolution];
|
|
25
|
+
/** How far the generative pass may depart from the source. Lower values stay closer to the original pixels; higher values invent more detail. */
|
|
26
|
+
const EnhancementStrength: {
|
|
27
|
+
readonly Low: "low";
|
|
28
|
+
readonly Medium: "medium";
|
|
29
|
+
readonly High: "high";
|
|
30
|
+
};
|
|
31
|
+
type EnhancementStrength = (typeof EnhancementStrength)[keyof typeof EnhancementStrength];
|
|
32
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var InputTopazImageUpscalerWonder;
|
|
3
|
+
(function (InputTopazImageUpscalerWonder) {
|
|
4
|
+
/** Short edge of the upscaled image. The long edge follows the source's aspect ratio. */
|
|
5
|
+
InputTopazImageUpscalerWonder.TargetResolution = {
|
|
6
|
+
OneThousandEightyP: "1080p",
|
|
7
|
+
TwoK: "2K",
|
|
8
|
+
FourK: "4K",
|
|
9
|
+
};
|
|
10
|
+
/** How far the generative pass may depart from the source. Lower values stay closer to the original pixels; higher values invent more detail. */
|
|
11
|
+
InputTopazImageUpscalerWonder.EnhancementStrength = {
|
|
12
|
+
Low: "low",
|
|
13
|
+
Medium: "medium",
|
|
14
|
+
High: "high",
|
|
15
|
+
};
|
|
16
|
+
})(InputTopazImageUpscalerWonder || (InputTopazImageUpscalerWonder = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The image to upscale. At most 30 MB.
|
|
4
|
+
*/
|
|
5
|
+
export type InputTopazImageUpscalerWonderSourceImage =
|
|
6
|
+
/**
|
|
7
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
8
|
+
Hedra.InputTopazImageUpscalerWonderSourceImage.Url
|
|
9
|
+
/**
|
|
10
|
+
* An existing asset you own, referenced by its id. */
|
|
11
|
+
| Hedra.InputTopazImageUpscalerWonderSourceImage.Asset;
|
|
12
|
+
export declare namespace InputTopazImageUpscalerWonderSourceImage {
|
|
13
|
+
interface Url {
|
|
14
|
+
source: "url";
|
|
15
|
+
/** A URL returned by POST /v3/files. */
|
|
16
|
+
url: string;
|
|
17
|
+
}
|
|
18
|
+
interface Asset {
|
|
19
|
+
source: "asset";
|
|
20
|
+
/** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
|
|
21
|
+
asset_id: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `topaz-video-upscaler`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputTopazVideoUpscaler {
|
|
6
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
7
|
+
num_outputs?: number | undefined;
|
|
8
|
+
/** The video to upscale. At most 600s and at most 524.2 MB. */
|
|
9
|
+
source_video: Hedra.InputTopazVideoUpscalerSourceVideo;
|
|
10
|
+
/** Output resolution. */
|
|
11
|
+
resolution: InputTopazVideoUpscaler.Resolution;
|
|
12
|
+
/** Interpolate the output to 60fps with this engine. Omit to keep the source rate; a source already at 60fps or faster keeps its own. 'high' doubles the charge. */
|
|
13
|
+
fps_engine?: InputTopazVideoUpscaler.FpsEngine | undefined;
|
|
14
|
+
/** Where the enhancement parameters come from: 'standard' uses Hedra's per-resolution presets, 'auto' lets Topaz estimate them from the source. */
|
|
15
|
+
tuning?: InputTopazVideoUpscaler.Tuning | undefined;
|
|
16
|
+
}
|
|
17
|
+
export declare namespace InputTopazVideoUpscaler {
|
|
18
|
+
/** Output resolution. */
|
|
19
|
+
const Resolution: {
|
|
20
|
+
readonly OneThousandEightyP: "1080p";
|
|
21
|
+
readonly TwoK: "2K";
|
|
22
|
+
readonly FourK: "4K";
|
|
23
|
+
};
|
|
24
|
+
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
25
|
+
/** Interpolate the output to 60fps with this engine. Omit to keep the source rate; a source already at 60fps or faster keeps its own. 'high' doubles the charge. */
|
|
26
|
+
const FpsEngine: {
|
|
27
|
+
readonly Standard: "standard";
|
|
28
|
+
readonly High: "high";
|
|
29
|
+
};
|
|
30
|
+
type FpsEngine = (typeof FpsEngine)[keyof typeof FpsEngine];
|
|
31
|
+
/** Where the enhancement parameters come from: 'standard' uses Hedra's per-resolution presets, 'auto' lets Topaz estimate them from the source. */
|
|
32
|
+
const Tuning: {
|
|
33
|
+
readonly Standard: "standard";
|
|
34
|
+
readonly Auto: "auto";
|
|
35
|
+
};
|
|
36
|
+
type Tuning = (typeof Tuning)[keyof typeof Tuning];
|
|
37
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var InputTopazVideoUpscaler;
|
|
3
|
+
(function (InputTopazVideoUpscaler) {
|
|
4
|
+
/** Output resolution. */
|
|
5
|
+
InputTopazVideoUpscaler.Resolution = {
|
|
6
|
+
OneThousandEightyP: "1080p",
|
|
7
|
+
TwoK: "2K",
|
|
8
|
+
FourK: "4K",
|
|
9
|
+
};
|
|
10
|
+
/** Interpolate the output to 60fps with this engine. Omit to keep the source rate; a source already at 60fps or faster keeps its own. 'high' doubles the charge. */
|
|
11
|
+
InputTopazVideoUpscaler.FpsEngine = {
|
|
12
|
+
Standard: "standard",
|
|
13
|
+
High: "high",
|
|
14
|
+
};
|
|
15
|
+
/** Where the enhancement parameters come from: 'standard' uses Hedra's per-resolution presets, 'auto' lets Topaz estimate them from the source. */
|
|
16
|
+
InputTopazVideoUpscaler.Tuning = {
|
|
17
|
+
Standard: "standard",
|
|
18
|
+
Auto: "auto",
|
|
19
|
+
};
|
|
20
|
+
})(InputTopazVideoUpscaler || (InputTopazVideoUpscaler = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `topaz-video-upscaler-hyperion-2-5`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputTopazVideoUpscalerHyperion25 {
|
|
6
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
7
|
+
num_outputs?: number | undefined;
|
|
8
|
+
/** The SDR video to convert. Its frames may hold at most 14,745,600 pixels (5120x2880). At most 600s and at most 524.2 MB. */
|
|
9
|
+
source_video: Hedra.InputTopazVideoUpscalerHyperion25SourceVideo;
|
|
10
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The SDR video to convert. Its frames may hold at most 14,745,600 pixels (5120x2880). At most 600s and at most 524.2 MB.
|
|
4
|
+
*/
|
|
5
|
+
export type InputTopazVideoUpscalerHyperion25SourceVideo =
|
|
6
|
+
/**
|
|
7
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
8
|
+
Hedra.InputTopazVideoUpscalerHyperion25SourceVideo.Url
|
|
9
|
+
/**
|
|
10
|
+
* An existing asset you own, referenced by its id. */
|
|
11
|
+
| Hedra.InputTopazVideoUpscalerHyperion25SourceVideo.Asset;
|
|
12
|
+
export declare namespace InputTopazVideoUpscalerHyperion25SourceVideo {
|
|
13
|
+
interface Url {
|
|
14
|
+
source: "url";
|
|
15
|
+
/** A URL returned by POST /v3/files. */
|
|
16
|
+
url: string;
|
|
17
|
+
}
|
|
18
|
+
interface Asset {
|
|
19
|
+
source: "asset";
|
|
20
|
+
/** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
|
|
21
|
+
asset_id: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The video to upscale. At most 600s and at most 524.2 MB.
|
|
4
|
+
*/
|
|
5
|
+
export type InputTopazVideoUpscalerSourceVideo =
|
|
6
|
+
/**
|
|
7
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
8
|
+
Hedra.InputTopazVideoUpscalerSourceVideo.Url
|
|
9
|
+
/**
|
|
10
|
+
* An existing asset you own, referenced by its id. */
|
|
11
|
+
| Hedra.InputTopazVideoUpscalerSourceVideo.Asset;
|
|
12
|
+
export declare namespace InputTopazVideoUpscalerSourceVideo {
|
|
13
|
+
interface Url {
|
|
14
|
+
source: "url";
|
|
15
|
+
/** A URL returned by POST /v3/files. */
|
|
16
|
+
url: string;
|
|
17
|
+
}
|
|
18
|
+
interface Asset {
|
|
19
|
+
source: "asset";
|
|
20
|
+
/** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
|
|
21
|
+
asset_id: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `topaz-video-upscaler-starlight-fast`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputTopazVideoUpscalerStarlightFast {
|
|
6
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
7
|
+
num_outputs?: number | undefined;
|
|
8
|
+
/** The video to upscale. At most 300s and at most 524.2 MB. */
|
|
9
|
+
source_video: Hedra.InputTopazVideoUpscalerStarlightFastSourceVideo;
|
|
10
|
+
/** Output resolution. */
|
|
11
|
+
resolution: InputTopazVideoUpscalerStarlightFast.Resolution;
|
|
12
|
+
/** Soften the diffusion pass, which suits sources the default sharpening renders harshly. */
|
|
13
|
+
reduce_sharpening?: boolean | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace InputTopazVideoUpscalerStarlightFast {
|
|
16
|
+
/** Output resolution. */
|
|
17
|
+
const Resolution: {
|
|
18
|
+
readonly OneThousandEightyP: "1080p";
|
|
19
|
+
readonly TwoK: "2K";
|
|
20
|
+
readonly FourK: "4K";
|
|
21
|
+
};
|
|
22
|
+
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var InputTopazVideoUpscalerStarlightFast;
|
|
3
|
+
(function (InputTopazVideoUpscalerStarlightFast) {
|
|
4
|
+
/** Output resolution. */
|
|
5
|
+
InputTopazVideoUpscalerStarlightFast.Resolution = {
|
|
6
|
+
OneThousandEightyP: "1080p",
|
|
7
|
+
TwoK: "2K",
|
|
8
|
+
FourK: "4K",
|
|
9
|
+
};
|
|
10
|
+
})(InputTopazVideoUpscalerStarlightFast || (InputTopazVideoUpscalerStarlightFast = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* The video to upscale. At most 300s and at most 524.2 MB.
|
|
4
|
+
*/
|
|
5
|
+
export type InputTopazVideoUpscalerStarlightFastSourceVideo =
|
|
6
|
+
/**
|
|
7
|
+
* A file uploaded via POST /v3/files, referenced by the returned url. */
|
|
8
|
+
Hedra.InputTopazVideoUpscalerStarlightFastSourceVideo.Url
|
|
9
|
+
/**
|
|
10
|
+
* An existing asset you own, referenced by its id. */
|
|
11
|
+
| Hedra.InputTopazVideoUpscalerStarlightFastSourceVideo.Asset;
|
|
12
|
+
export declare namespace InputTopazVideoUpscalerStarlightFastSourceVideo {
|
|
13
|
+
interface Url {
|
|
14
|
+
source: "url";
|
|
15
|
+
/** A URL returned by POST /v3/files. */
|
|
16
|
+
url: string;
|
|
17
|
+
}
|
|
18
|
+
interface Asset {
|
|
19
|
+
source: "asset";
|
|
20
|
+
/** The asset's id (`asset_<uuid>`), as issued by the server — a completed generation publishes one per output as `outputs[].asset_id`. Do not construct one or derive it from any other id. */
|
|
21
|
+
asset_id: string;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Model-specific inputs for `topaz-video-upscaler-starlight-hq`.
|
|
4
|
+
*/
|
|
5
|
+
export interface InputTopazVideoUpscalerStarlightHq {
|
|
6
|
+
/** Number of outputs generated per job. Only 1 is supported. */
|
|
7
|
+
num_outputs?: number | undefined;
|
|
8
|
+
/** The video to upscale. At most 300s and at most 524.2 MB. */
|
|
9
|
+
source_video: Hedra.InputTopazVideoUpscalerStarlightHqSourceVideo;
|
|
10
|
+
/** Output resolution. */
|
|
11
|
+
resolution: InputTopazVideoUpscalerStarlightHq.Resolution;
|
|
12
|
+
/** Soften the diffusion pass, which suits sources the default sharpening renders harshly. */
|
|
13
|
+
reduce_sharpening?: boolean | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace InputTopazVideoUpscalerStarlightHq {
|
|
16
|
+
/** Output resolution. */
|
|
17
|
+
const Resolution: {
|
|
18
|
+
readonly OneThousandEightyP: "1080p";
|
|
19
|
+
readonly TwoK: "2K";
|
|
20
|
+
readonly FourK: "4K";
|
|
21
|
+
};
|
|
22
|
+
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var InputTopazVideoUpscalerStarlightHq;
|
|
3
|
+
(function (InputTopazVideoUpscalerStarlightHq) {
|
|
4
|
+
/** Output resolution. */
|
|
5
|
+
InputTopazVideoUpscalerStarlightHq.Resolution = {
|
|
6
|
+
OneThousandEightyP: "1080p",
|
|
7
|
+
TwoK: "2K",
|
|
8
|
+
FourK: "4K",
|
|
9
|
+
};
|
|
10
|
+
})(InputTopazVideoUpscalerStarlightHq || (InputTopazVideoUpscalerStarlightHq = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
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.mjs";
|
|
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,17 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var InputTopazVideoUpscalerStarlightPrecise;
|
|
3
|
+
(function (InputTopazVideoUpscalerStarlightPrecise) {
|
|
4
|
+
/** Output resolution. */
|
|
5
|
+
InputTopazVideoUpscalerStarlightPrecise.Resolution = {
|
|
6
|
+
OneThousandEightyP: "1080p",
|
|
7
|
+
TwoK: "2K",
|
|
8
|
+
FourK: "4K",
|
|
9
|
+
};
|
|
10
|
+
/** How far to soften the diffusion pass, for sources the default sharpening renders harshly. */
|
|
11
|
+
InputTopazVideoUpscalerStarlightPrecise.ReduceSharpening = {
|
|
12
|
+
Off: "off",
|
|
13
|
+
Low: "low",
|
|
14
|
+
Medium: "medium",
|
|
15
|
+
High: "high",
|
|
16
|
+
};
|
|
17
|
+
})(InputTopazVideoUpscalerStarlightPrecise || (InputTopazVideoUpscalerStarlightPrecise = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type * as Hedra from "../index.mjs";
|
|
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
|
+
}
|