@hedra/sdk 4.0.0 → 5.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.d.ts +22 -0
- package/dist/cjs/api/resources/billing/client/Client.js +78 -2
- package/dist/cjs/api/resources/billing/client/requests/BillingListTransactionsRequest.d.ts +10 -0
- package/dist/cjs/api/resources/billing/client/requests/BillingListTransactionsRequest.js +3 -0
- package/dist/cjs/api/resources/billing/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/files/client/Client.js +1 -1
- package/dist/cjs/api/resources/jobs/client/Client.d.ts +121 -72
- package/dist/cjs/api/resources/jobs/client/Client.js +320 -167
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.d.ts +17 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGptImage2.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.d.ts +18 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.js +3 -0
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyHidreamO1Image.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyIdeogramV4.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingAiAvatarV2.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyLtx23.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyLumaRay32.d.ts +1 -1
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMaiImage25.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxH3.d.ts +1 -1
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo02.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo23.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyNanoBanana2.d.ts +2 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyNanoBananaPro.d.ts +1 -1
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyQwenImage2.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodySeedance20.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeo3.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyVeo31.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyViduQ3.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/SubmitBodyWan30.d.ts +1 -2
- package/dist/cjs/api/resources/jobs/client/requests/index.d.ts +2 -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 +23 -0
- package/dist/cjs/api/resources/models/client/Client.js +85 -6
- package/dist/cjs/api/resources/models/client/requests/ModelsSearchVoicesRequest.d.ts +17 -0
- package/dist/cjs/api/resources/models/client/requests/ModelsSearchVoicesRequest.js +3 -0
- package/dist/cjs/api/resources/models/client/requests/index.d.ts +1 -0
- 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/InputElevenlabsMusic.d.ts +13 -0
- package/dist/cjs/api/types/InputElevenlabsMusic.js +3 -0
- package/dist/cjs/api/types/InputFlux3.d.ts +2 -2
- package/dist/cjs/api/types/InputFlux3EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputFlux3StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputGeminiOmniFlash.d.ts +2 -2
- package/dist/cjs/api/types/InputGeminiOmniFlashSourceVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputGeminiOmniFlashStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputGptImage2.d.ts +3 -3
- package/dist/cjs/api/types/InputGptImage2.js +1 -1
- package/dist/cjs/api/types/InputGrokImagine.d.ts +32 -3
- package/dist/cjs/api/types/InputGrokImagine.js +22 -1
- package/dist/cjs/api/types/InputGrokImagine20.d.ts +52 -0
- package/dist/cjs/api/types/InputGrokImagine20.js +34 -0
- package/dist/cjs/api/types/InputGrokImagine20ImagesItem.d.ts +20 -0
- package/dist/cjs/api/types/InputGrokImagine20ImagesItem.js +3 -0
- package/dist/cjs/api/types/InputGrokVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputGrokVideoStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputHappyHorse.d.ts +1 -1
- package/dist/cjs/api/types/InputHappyHorseStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputHedraAvatar.d.ts +1 -1
- package/dist/cjs/api/types/InputHedraAvatarStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputHedraCharacter3.d.ts +1 -1
- package/dist/cjs/api/types/InputHedraCharacter3StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputHidreamO1Image.d.ts +3 -3
- package/dist/cjs/api/types/InputHidreamO1Image.js +1 -1
- package/dist/cjs/api/types/InputIdeogramV4.d.ts +3 -3
- package/dist/cjs/api/types/InputIdeogramV4.js +1 -1
- package/dist/cjs/api/types/InputKling16.d.ts +1 -1
- package/dist/cjs/api/types/InputKling16StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKling21Master.d.ts +1 -1
- package/dist/cjs/api/types/InputKling21MasterStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKling25Turbo.d.ts +1 -1
- package/dist/cjs/api/types/InputKling25TurboStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKling26MotionControl.d.ts +2 -2
- package/dist/cjs/api/types/InputKling26MotionControlSourceVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputKling26MotionControlStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKling26Pro.d.ts +1 -1
- package/dist/cjs/api/types/InputKling26ProStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingAiAvatarV2.d.ts +4 -4
- package/dist/cjs/api/types/InputKlingAiAvatarV2.js +1 -1
- package/dist/cjs/api/types/InputKlingAiAvatarV2StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO1.d.ts +2 -2
- package/dist/cjs/api/types/InputKlingO1EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO1StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3.d.ts +5 -5
- package/dist/cjs/api/types/InputKlingO3.js +1 -1
- package/dist/cjs/api/types/InputKlingO3Edit.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3EditSourceVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3Reference.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3ReferenceSourceVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingO3StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingV3.d.ts +5 -5
- package/dist/cjs/api/types/InputKlingV3.js +1 -1
- package/dist/cjs/api/types/InputKlingV3EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingV3MotionControl.d.ts +2 -2
- package/dist/cjs/api/types/InputKlingV3MotionControlSourceVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingV3MotionControlStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputKlingV3StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputLtx23.d.ts +5 -5
- package/dist/cjs/api/types/InputLtx23.js +1 -1
- package/dist/cjs/api/types/InputLtx23EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputLtx23StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputLumaRay32.d.ts +2 -2
- package/dist/cjs/api/types/InputLumaRay32.js +2 -2
- package/dist/cjs/api/types/InputMaiImage25.d.ts +3 -3
- package/dist/cjs/api/types/InputMaiImage25.js +1 -1
- package/dist/cjs/api/types/InputMinimaxH3.d.ts +3 -2
- package/dist/cjs/api/types/InputMinimaxH3.js +1 -0
- 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/InputMinimaxHailuo02.d.ts +5 -5
- package/dist/cjs/api/types/InputMinimaxHailuo02.js +1 -1
- package/dist/cjs/api/types/InputMinimaxHailuo02EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputMinimaxHailuo02StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputMinimaxHailuo23.d.ts +4 -4
- package/dist/cjs/api/types/InputMinimaxHailuo23.js +1 -1
- package/dist/cjs/api/types/InputMinimaxHailuo23StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputNanoBanana.d.ts +2 -2
- package/dist/cjs/api/types/InputNanoBanana.js +1 -1
- package/dist/cjs/api/types/InputNanoBanana2.d.ts +20 -2
- package/dist/cjs/api/types/InputNanoBanana2.js +12 -1
- package/dist/cjs/api/types/InputNanoBananaPro.d.ts +5 -2
- package/dist/cjs/api/types/InputNanoBananaPro.js +2 -1
- package/dist/cjs/api/types/InputOmnihuman15.d.ts +1 -1
- package/dist/cjs/api/types/InputOmnihuman15StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputPixverseV6.d.ts +1 -1
- package/dist/cjs/api/types/InputPixverseV6StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputQwenImage2.d.ts +3 -3
- package/dist/cjs/api/types/InputQwenImage2.js +1 -1
- package/dist/cjs/api/types/InputSeedance15Pro.d.ts +3 -2
- package/dist/cjs/api/types/InputSeedance15Pro.js +1 -0
- 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 +6 -5
- package/dist/cjs/api/types/InputSeedance20.js +2 -1
- package/dist/cjs/api/types/InputSeedance20EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputSeedance20Mini.d.ts +3 -2
- package/dist/cjs/api/types/InputSeedance20Mini.js +1 -0
- 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 +2 -2
- 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/InputSeedream50Lite.d.ts +8 -0
- package/dist/cjs/api/types/InputSeedream50Lite.js +5 -0
- package/dist/cjs/api/types/InputSeedream50Pro.d.ts +8 -0
- package/dist/cjs/api/types/InputSeedream50Pro.js +5 -0
- package/dist/cjs/api/types/InputSora2Pro.d.ts +1 -1
- package/dist/cjs/api/types/InputSora2ProStartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputVeedFabric10.d.ts +1 -1
- package/dist/cjs/api/types/InputVeedFabric10StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputVeo2.d.ts +1 -1
- package/dist/cjs/api/types/InputVeo2StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputVeo3.d.ts +4 -4
- package/dist/cjs/api/types/InputVeo3.js +1 -1
- package/dist/cjs/api/types/InputVeo31.d.ts +6 -6
- package/dist/cjs/api/types/InputVeo31.js +1 -1
- package/dist/cjs/api/types/InputVeo31EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputVeo31SourceVideo.d.ts +1 -1
- package/dist/cjs/api/types/InputVeo31StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputVeo3StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputViduQ3.d.ts +5 -5
- package/dist/cjs/api/types/InputViduQ3.js +1 -1
- package/dist/cjs/api/types/InputViduQ3EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputViduQ3StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputWan27.d.ts +2 -2
- package/dist/cjs/api/types/InputWan27EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputWan27StartImage.d.ts +1 -1
- package/dist/cjs/api/types/InputWan30.d.ts +5 -5
- package/dist/cjs/api/types/InputWan30.js +1 -1
- package/dist/cjs/api/types/InputWan30EndImage.d.ts +1 -1
- package/dist/cjs/api/types/InputWan30StartImage.d.ts +1 -1
- package/dist/cjs/api/types/TransactionListResponse.d.ts +7 -0
- package/dist/cjs/api/types/TransactionListResponse.js +3 -0
- package/dist/cjs/api/types/TransactionRecord.d.ts +15 -0
- package/dist/cjs/api/types/TransactionRecord.js +3 -0
- package/dist/cjs/api/types/VoiceGender.d.ts +12 -0
- package/dist/cjs/api/types/VoiceGender.js +15 -0
- package/dist/cjs/api/types/index.d.ts +6 -0
- package/dist/cjs/api/types/index.js +6 -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.d.mts +22 -0
- package/dist/esm/api/resources/billing/client/Client.mjs +78 -2
- package/dist/esm/api/resources/billing/client/requests/BillingListTransactionsRequest.d.mts +10 -0
- package/dist/esm/api/resources/billing/client/requests/BillingListTransactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/billing/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/files/client/Client.mjs +1 -1
- package/dist/esm/api/resources/jobs/client/Client.d.mts +121 -72
- package/dist/esm/api/resources/jobs/client/Client.mjs +320 -167
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.d.mts +17 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyElevenlabsMusic.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGptImage2.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.d.mts +18 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyGrokImagine20.mjs +2 -0
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyHidreamO1Image.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyIdeogramV4.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingAiAvatarV2.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingO3.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyKlingV3.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyLtx23.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyLumaRay32.d.mts +1 -1
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMaiImage25.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxH3.d.mts +1 -1
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo02.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyMinimaxHailuo23.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyNanoBanana2.d.mts +2 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyNanoBananaPro.d.mts +1 -1
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyQwenImage2.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodySeedance20.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeo3.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyVeo31.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyViduQ3.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/SubmitBodyWan30.d.mts +1 -2
- package/dist/esm/api/resources/jobs/client/requests/index.d.mts +2 -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 +23 -0
- package/dist/esm/api/resources/models/client/Client.mjs +85 -6
- package/dist/esm/api/resources/models/client/requests/ModelsSearchVoicesRequest.d.mts +17 -0
- package/dist/esm/api/resources/models/client/requests/ModelsSearchVoicesRequest.mjs +2 -0
- package/dist/esm/api/resources/models/client/requests/index.d.mts +1 -0
- 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/InputElevenlabsMusic.d.mts +13 -0
- package/dist/esm/api/types/InputElevenlabsMusic.mjs +2 -0
- package/dist/esm/api/types/InputFlux3.d.mts +2 -2
- package/dist/esm/api/types/InputFlux3EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputFlux3StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputGeminiOmniFlash.d.mts +2 -2
- package/dist/esm/api/types/InputGeminiOmniFlashSourceVideo.d.mts +1 -1
- package/dist/esm/api/types/InputGeminiOmniFlashStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputGptImage2.d.mts +3 -3
- package/dist/esm/api/types/InputGptImage2.mjs +1 -1
- package/dist/esm/api/types/InputGrokImagine.d.mts +32 -3
- package/dist/esm/api/types/InputGrokImagine.mjs +22 -1
- package/dist/esm/api/types/InputGrokImagine20.d.mts +52 -0
- package/dist/esm/api/types/InputGrokImagine20.mjs +31 -0
- package/dist/esm/api/types/InputGrokImagine20ImagesItem.d.mts +20 -0
- package/dist/esm/api/types/InputGrokImagine20ImagesItem.mjs +2 -0
- package/dist/esm/api/types/InputGrokVideo.d.mts +1 -1
- package/dist/esm/api/types/InputGrokVideoStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputHappyHorse.d.mts +1 -1
- package/dist/esm/api/types/InputHappyHorseStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputHedraAvatar.d.mts +1 -1
- package/dist/esm/api/types/InputHedraAvatarStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputHedraCharacter3.d.mts +1 -1
- package/dist/esm/api/types/InputHedraCharacter3StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputHidreamO1Image.d.mts +3 -3
- package/dist/esm/api/types/InputHidreamO1Image.mjs +1 -1
- package/dist/esm/api/types/InputIdeogramV4.d.mts +3 -3
- package/dist/esm/api/types/InputIdeogramV4.mjs +1 -1
- package/dist/esm/api/types/InputKling16.d.mts +1 -1
- package/dist/esm/api/types/InputKling16StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKling21Master.d.mts +1 -1
- package/dist/esm/api/types/InputKling21MasterStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKling25Turbo.d.mts +1 -1
- package/dist/esm/api/types/InputKling25TurboStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKling26MotionControl.d.mts +2 -2
- package/dist/esm/api/types/InputKling26MotionControlSourceVideo.d.mts +1 -1
- package/dist/esm/api/types/InputKling26MotionControlStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKling26Pro.d.mts +1 -1
- package/dist/esm/api/types/InputKling26ProStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingAiAvatarV2.d.mts +4 -4
- package/dist/esm/api/types/InputKlingAiAvatarV2.mjs +1 -1
- package/dist/esm/api/types/InputKlingAiAvatarV2StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO1.d.mts +2 -2
- package/dist/esm/api/types/InputKlingO1EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO1StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3.d.mts +5 -5
- package/dist/esm/api/types/InputKlingO3.mjs +1 -1
- package/dist/esm/api/types/InputKlingO3Edit.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3EditSourceVideo.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3Reference.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3ReferenceSourceVideo.d.mts +1 -1
- package/dist/esm/api/types/InputKlingO3StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingV3.d.mts +5 -5
- package/dist/esm/api/types/InputKlingV3.mjs +1 -1
- package/dist/esm/api/types/InputKlingV3EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingV3MotionControl.d.mts +2 -2
- package/dist/esm/api/types/InputKlingV3MotionControlSourceVideo.d.mts +1 -1
- package/dist/esm/api/types/InputKlingV3MotionControlStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputKlingV3StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputLtx23.d.mts +5 -5
- package/dist/esm/api/types/InputLtx23.mjs +1 -1
- package/dist/esm/api/types/InputLtx23EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputLtx23StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputLumaRay32.d.mts +2 -2
- package/dist/esm/api/types/InputLumaRay32.mjs +2 -2
- package/dist/esm/api/types/InputMaiImage25.d.mts +3 -3
- package/dist/esm/api/types/InputMaiImage25.mjs +1 -1
- package/dist/esm/api/types/InputMinimaxH3.d.mts +3 -2
- package/dist/esm/api/types/InputMinimaxH3.mjs +1 -0
- 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/InputMinimaxHailuo02.d.mts +5 -5
- package/dist/esm/api/types/InputMinimaxHailuo02.mjs +1 -1
- package/dist/esm/api/types/InputMinimaxHailuo02EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputMinimaxHailuo02StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputMinimaxHailuo23.d.mts +4 -4
- package/dist/esm/api/types/InputMinimaxHailuo23.mjs +1 -1
- package/dist/esm/api/types/InputMinimaxHailuo23StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputNanoBanana.d.mts +2 -2
- package/dist/esm/api/types/InputNanoBanana.mjs +1 -1
- package/dist/esm/api/types/InputNanoBanana2.d.mts +20 -2
- package/dist/esm/api/types/InputNanoBanana2.mjs +12 -1
- package/dist/esm/api/types/InputNanoBananaPro.d.mts +5 -2
- package/dist/esm/api/types/InputNanoBananaPro.mjs +2 -1
- package/dist/esm/api/types/InputOmnihuman15.d.mts +1 -1
- package/dist/esm/api/types/InputOmnihuman15StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputPixverseV6.d.mts +1 -1
- package/dist/esm/api/types/InputPixverseV6StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputQwenImage2.d.mts +3 -3
- package/dist/esm/api/types/InputQwenImage2.mjs +1 -1
- package/dist/esm/api/types/InputSeedance15Pro.d.mts +3 -2
- package/dist/esm/api/types/InputSeedance15Pro.mjs +1 -0
- 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 +6 -5
- package/dist/esm/api/types/InputSeedance20.mjs +2 -1
- package/dist/esm/api/types/InputSeedance20EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputSeedance20Mini.d.mts +3 -2
- package/dist/esm/api/types/InputSeedance20Mini.mjs +1 -0
- 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 +2 -2
- 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/InputSeedream50Lite.d.mts +8 -0
- package/dist/esm/api/types/InputSeedream50Lite.mjs +5 -0
- package/dist/esm/api/types/InputSeedream50Pro.d.mts +8 -0
- package/dist/esm/api/types/InputSeedream50Pro.mjs +5 -0
- package/dist/esm/api/types/InputSora2Pro.d.mts +1 -1
- package/dist/esm/api/types/InputSora2ProStartImage.d.mts +1 -1
- package/dist/esm/api/types/InputVeedFabric10.d.mts +1 -1
- package/dist/esm/api/types/InputVeedFabric10StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputVeo2.d.mts +1 -1
- package/dist/esm/api/types/InputVeo2StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputVeo3.d.mts +4 -4
- package/dist/esm/api/types/InputVeo3.mjs +1 -1
- package/dist/esm/api/types/InputVeo31.d.mts +6 -6
- package/dist/esm/api/types/InputVeo31.mjs +1 -1
- package/dist/esm/api/types/InputVeo31EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputVeo31SourceVideo.d.mts +1 -1
- package/dist/esm/api/types/InputVeo31StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputVeo3StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputViduQ3.d.mts +5 -5
- package/dist/esm/api/types/InputViduQ3.mjs +1 -1
- package/dist/esm/api/types/InputViduQ3EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputViduQ3StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputWan27.d.mts +2 -2
- package/dist/esm/api/types/InputWan27EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputWan27StartImage.d.mts +1 -1
- package/dist/esm/api/types/InputWan30.d.mts +5 -5
- package/dist/esm/api/types/InputWan30.mjs +1 -1
- package/dist/esm/api/types/InputWan30EndImage.d.mts +1 -1
- package/dist/esm/api/types/InputWan30StartImage.d.mts +1 -1
- package/dist/esm/api/types/TransactionListResponse.d.mts +7 -0
- package/dist/esm/api/types/TransactionListResponse.mjs +2 -0
- package/dist/esm/api/types/TransactionRecord.d.mts +15 -0
- package/dist/esm/api/types/TransactionRecord.mjs +2 -0
- package/dist/esm/api/types/VoiceGender.d.mts +12 -0
- package/dist/esm/api/types/VoiceGender.mjs +12 -0
- package/dist/esm/api/types/index.d.mts +6 -0
- package/dist/esm/api/types/index.mjs +6 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -2
- package/reference.md +341 -72
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.InputNanoBanana2 = void 0;
|
|
5
5
|
var InputNanoBanana2;
|
|
6
6
|
(function (InputNanoBanana2) {
|
|
7
|
-
/** Output aspect ratio. */
|
|
7
|
+
/** Output aspect ratio. 'adaptive' lets the model size the output itself — matching the source image when you pass one. */
|
|
8
8
|
InputNanoBanana2.AspectRatio = {
|
|
9
|
+
Adaptive: "adaptive",
|
|
9
10
|
Sixteen9: "16:9",
|
|
10
11
|
Nine16: "9:16",
|
|
11
12
|
One1: "1:1",
|
|
@@ -16,11 +17,21 @@ var InputNanoBanana2;
|
|
|
16
17
|
Two3: "2:3",
|
|
17
18
|
Five4: "5:4",
|
|
18
19
|
Four5: "4:5",
|
|
20
|
+
One4: "1:4",
|
|
21
|
+
Four1: "4:1",
|
|
22
|
+
One8: "1:8",
|
|
23
|
+
Eight1: "8:1",
|
|
19
24
|
};
|
|
20
25
|
/** Output resolution. */
|
|
21
26
|
InputNanoBanana2.Resolution = {
|
|
27
|
+
FiveHundredTwelvePx: "512px",
|
|
22
28
|
OneK: "1K",
|
|
23
29
|
TwoK: "2K",
|
|
24
30
|
FourK: "4K",
|
|
25
31
|
};
|
|
32
|
+
/** How much the model plans before it draws. Omit for the model's own default ('minimal'); 'high' reasons further at the cost of latency. */
|
|
33
|
+
InputNanoBanana2.ThinkingLevel = {
|
|
34
|
+
Minimal: "minimal",
|
|
35
|
+
High: "high",
|
|
36
|
+
};
|
|
26
37
|
})(InputNanoBanana2 || (exports.InputNanoBanana2 = InputNanoBanana2 = {}));
|
|
@@ -9,7 +9,7 @@ export interface InputNanoBananaPro {
|
|
|
9
9
|
num_outputs?: number | undefined;
|
|
10
10
|
/** Rewrite the prompt before generation. An LLM expands it into a fuller description and the model receives that text instead of the submitted one; the result's `prompt` reports what ran. */
|
|
11
11
|
enhance_prompt?: boolean | undefined;
|
|
12
|
-
/** Output aspect ratio. */
|
|
12
|
+
/** Output aspect ratio. 'adaptive' lets the model size the output itself — matching the source image when you pass one. */
|
|
13
13
|
aspect_ratio: InputNanoBananaPro.AspectRatio;
|
|
14
14
|
/** Output resolution. */
|
|
15
15
|
resolution: InputNanoBananaPro.Resolution;
|
|
@@ -17,10 +17,13 @@ export interface InputNanoBananaPro {
|
|
|
17
17
|
images?: Hedra.InputNanoBananaProImagesItem[] | undefined;
|
|
18
18
|
/** Seed for reproducible output; omit for a random seed. */
|
|
19
19
|
seed?: number | undefined;
|
|
20
|
+
/** Ground the generation in live Google Search results, so a prompt about current events or real-world specifics draws on what the web says now. Grounded generations cost more than ungrounded ones. */
|
|
21
|
+
google_search?: boolean | undefined;
|
|
20
22
|
}
|
|
21
23
|
export declare namespace InputNanoBananaPro {
|
|
22
|
-
/** Output aspect ratio. */
|
|
24
|
+
/** Output aspect ratio. 'adaptive' lets the model size the output itself — matching the source image when you pass one. */
|
|
23
25
|
const AspectRatio: {
|
|
26
|
+
readonly Adaptive: "adaptive";
|
|
24
27
|
readonly Sixteen9: "16:9";
|
|
25
28
|
readonly Nine16: "9:16";
|
|
26
29
|
readonly One1: "1:1";
|
|
@@ -4,8 +4,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.InputNanoBananaPro = void 0;
|
|
5
5
|
var InputNanoBananaPro;
|
|
6
6
|
(function (InputNanoBananaPro) {
|
|
7
|
-
/** Output aspect ratio. */
|
|
7
|
+
/** Output aspect ratio. 'adaptive' lets the model size the output itself — matching the source image when you pass one. */
|
|
8
8
|
InputNanoBananaPro.AspectRatio = {
|
|
9
|
+
Adaptive: "adaptive",
|
|
9
10
|
Sixteen9: "16:9",
|
|
10
11
|
Nine16: "9:16",
|
|
11
12
|
One1: "1:1",
|
|
@@ -11,7 +11,7 @@ export interface InputOmnihuman15 {
|
|
|
11
11
|
aspect_ratio?: InputOmnihuman15.AspectRatio | undefined;
|
|
12
12
|
/** Output resolution. */
|
|
13
13
|
resolution: InputOmnihuman15.Resolution;
|
|
14
|
-
/** Start frame
|
|
14
|
+
/** Start frame. At most 10.4 MB. */
|
|
15
15
|
start_image: Hedra.InputOmnihuman15StartImage;
|
|
16
16
|
/** Driving audio. At most 59.88s and at most 104.8 MB. */
|
|
17
17
|
audio: Hedra.InputOmnihuman15Audio;
|
|
@@ -21,7 +21,7 @@ export interface InputPixverseV6 {
|
|
|
21
21
|
negative_prompt?: string | undefined;
|
|
22
22
|
/** Seed for reproducible output; omit for a random seed. */
|
|
23
23
|
seed?: number | undefined;
|
|
24
|
-
/** Start frame
|
|
24
|
+
/** Start frame. At most 10.4 MB. */
|
|
25
25
|
start_image?: Hedra.InputPixverseV6StartImage | undefined;
|
|
26
26
|
/** Output aspect ratio. */
|
|
27
27
|
aspect_ratio?: InputPixverseV6.AspectRatio | undefined;
|
|
@@ -25,8 +25,8 @@ export interface InputQwenImage2 {
|
|
|
25
25
|
images?: Hedra.InputQwenImage2ImagesItem[] | undefined;
|
|
26
26
|
/** Seed for reproducible output; omit for a random seed. From 0 to 2147483647. */
|
|
27
27
|
seed?: number | undefined;
|
|
28
|
-
/** Quality level to generate at. */
|
|
29
|
-
quality
|
|
28
|
+
/** Quality level to generate at. `standard` — tuned for speed, for rapid iteration. `pro` — the higher-fidelity tier, for fine detail and in-image text accuracy. */
|
|
29
|
+
quality?: InputQwenImage2.Quality | undefined;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace InputQwenImage2 {
|
|
32
32
|
/** Output aspect ratio. */
|
|
@@ -53,7 +53,7 @@ export declare namespace InputQwenImage2 {
|
|
|
53
53
|
readonly Webp: "webp";
|
|
54
54
|
};
|
|
55
55
|
type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
56
|
-
/** Quality level to generate at. */
|
|
56
|
+
/** Quality level to generate at. `standard` — tuned for speed, for rapid iteration. `pro` — the higher-fidelity tier, for fine detail and in-image text accuracy. */
|
|
57
57
|
const Quality: {
|
|
58
58
|
readonly Standard: "standard";
|
|
59
59
|
readonly Pro: "pro";
|
|
@@ -25,7 +25,7 @@ var InputQwenImage2;
|
|
|
25
25
|
Png: "png",
|
|
26
26
|
Webp: "webp",
|
|
27
27
|
};
|
|
28
|
-
/** Quality level to generate at. */
|
|
28
|
+
/** Quality level to generate at. `standard` — tuned for speed, for rapid iteration. `pro` — the higher-fidelity tier, for fine detail and in-image text accuracy. */
|
|
29
29
|
InputQwenImage2.Quality = {
|
|
30
30
|
Standard: "standard",
|
|
31
31
|
Pro: "pro",
|
|
@@ -15,9 +15,9 @@ export interface InputSeedance15Pro {
|
|
|
15
15
|
duration_ms: number;
|
|
16
16
|
/** Whether to generate native audio for the video. */
|
|
17
17
|
generate_audio?: boolean | undefined;
|
|
18
|
-
/** Start frame
|
|
18
|
+
/** Start frame. 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.InputSeedance15ProStartImage | undefined;
|
|
20
|
-
/** End frame
|
|
20
|
+
/** End frame. 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.InputSeedance15ProEndImage | undefined;
|
|
22
22
|
/** Seed for reproducible output; omit for a random seed. From 0 to 4294967295. */
|
|
23
23
|
seed?: number | undefined;
|
|
@@ -31,6 +31,7 @@ export declare namespace InputSeedance15Pro {
|
|
|
31
31
|
readonly Sixteen9: "16:9";
|
|
32
32
|
readonly TwentyOne9: "21:9";
|
|
33
33
|
readonly Nine16: "9:16";
|
|
34
|
+
readonly Adaptive: "adaptive";
|
|
34
35
|
};
|
|
35
36
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
36
37
|
/** Output resolution. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* End frame
|
|
3
|
+
* End frame. 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 InputSeedance15ProEndImage =
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. 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 InputSeedance15ProStartImage =
|
|
6
6
|
/**
|
|
@@ -19,9 +19,9 @@ 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
|
|
22
|
+
/** Start frame. 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
|
|
24
|
+
/** End frame. 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
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;
|
|
@@ -29,8 +29,8 @@ export interface InputSeedance20 {
|
|
|
29
29
|
videos?: Hedra.InputSeedance20VideosItem[] | undefined;
|
|
30
30
|
/** Reference audios. 1 to 3 audio files, each at most 104.8 MB, at most 15s in total. */
|
|
31
31
|
audios?: Hedra.InputSeedance20AudiosItem[] | undefined;
|
|
32
|
-
/** Quality level to generate at. */
|
|
33
|
-
quality
|
|
32
|
+
/** Quality level to generate at. `standard` — the full model, and the only level that reaches 1080p and 4K. `fast` — tuned for turnaround, at 480p and 720p. */
|
|
33
|
+
quality?: InputSeedance20.Quality | undefined;
|
|
34
34
|
}
|
|
35
35
|
export declare namespace InputSeedance20 {
|
|
36
36
|
/** Output aspect ratio. */
|
|
@@ -41,6 +41,7 @@ export declare namespace InputSeedance20 {
|
|
|
41
41
|
readonly Sixteen9: "16:9";
|
|
42
42
|
readonly TwentyOne9: "21:9";
|
|
43
43
|
readonly Nine16: "9:16";
|
|
44
|
+
readonly Adaptive: "adaptive";
|
|
44
45
|
};
|
|
45
46
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
46
47
|
/** Output resolution. */
|
|
@@ -51,7 +52,7 @@ export declare namespace InputSeedance20 {
|
|
|
51
52
|
readonly OneThousandEightyP: "1080p";
|
|
52
53
|
};
|
|
53
54
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
54
|
-
/** Quality level to generate at. */
|
|
55
|
+
/** Quality level to generate at. `standard` — the full model, and the only level that reaches 1080p and 4K. `fast` — tuned for turnaround, at 480p and 720p. */
|
|
55
56
|
const Quality: {
|
|
56
57
|
readonly Standard: "standard";
|
|
57
58
|
readonly Fast: "fast";
|
|
@@ -12,6 +12,7 @@ var InputSeedance20;
|
|
|
12
12
|
Sixteen9: "16:9",
|
|
13
13
|
TwentyOne9: "21:9",
|
|
14
14
|
Nine16: "9:16",
|
|
15
|
+
Adaptive: "adaptive",
|
|
15
16
|
};
|
|
16
17
|
/** Output resolution. */
|
|
17
18
|
InputSeedance20.Resolution = {
|
|
@@ -20,7 +21,7 @@ var InputSeedance20;
|
|
|
20
21
|
SevenHundredTwentyP: "720p",
|
|
21
22
|
OneThousandEightyP: "1080p",
|
|
22
23
|
};
|
|
23
|
-
/** Quality level to generate at. */
|
|
24
|
+
/** Quality level to generate at. `standard` — the full model, and the only level that reaches 1080p and 4K. `fast` — tuned for turnaround, at 480p and 720p. */
|
|
24
25
|
InputSeedance20.Quality = {
|
|
25
26
|
Standard: "standard",
|
|
26
27
|
Fast: "fast",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* End frame
|
|
3
|
+
* End frame. 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,9 +13,9 @@ export interface InputSeedance20Mini {
|
|
|
13
13
|
resolution: InputSeedance20Mini.Resolution;
|
|
14
14
|
/** Duration in ms. */
|
|
15
15
|
duration_ms: number;
|
|
16
|
-
/** Start frame
|
|
16
|
+
/** Start frame. 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
|
|
18
|
+
/** End frame. 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
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;
|
|
@@ -33,6 +33,7 @@ export declare namespace InputSeedance20Mini {
|
|
|
33
33
|
readonly Sixteen9: "16:9";
|
|
34
34
|
readonly TwentyOne9: "21:9";
|
|
35
35
|
readonly Nine16: "9:16";
|
|
36
|
+
readonly Adaptive: "adaptive";
|
|
36
37
|
};
|
|
37
38
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
38
39
|
/** Output resolution. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* End frame
|
|
3
|
+
* End frame. 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.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. 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.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. 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,9 +15,9 @@ 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
|
|
18
|
+
/** Start frame. 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
|
|
20
|
+
/** End frame. 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
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* End frame
|
|
3
|
+
* End frame. 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.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. 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
|
/**
|
|
@@ -17,6 +17,8 @@ export interface InputSeedream50Lite {
|
|
|
17
17
|
aspect_ratio: InputSeedream50Lite.AspectRatio;
|
|
18
18
|
/** Output resolution. */
|
|
19
19
|
resolution: InputSeedream50Lite.Resolution;
|
|
20
|
+
/** Output image format. */
|
|
21
|
+
output_format?: InputSeedream50Lite.OutputFormat | undefined;
|
|
20
22
|
/** Images to edit or blend. 1 to 14 images, each at most 30 MB. */
|
|
21
23
|
images?: Hedra.InputSeedream50LiteImagesItem[] | undefined;
|
|
22
24
|
}
|
|
@@ -42,4 +44,10 @@ export declare namespace InputSeedream50Lite {
|
|
|
42
44
|
readonly TwoThousandOneHundredSixtyP4KUhd: "2160p (4K UHD)";
|
|
43
45
|
};
|
|
44
46
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
47
|
+
/** Output image format. */
|
|
48
|
+
const OutputFormat: {
|
|
49
|
+
readonly Jpeg: "jpeg";
|
|
50
|
+
readonly Png: "png";
|
|
51
|
+
};
|
|
52
|
+
type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
45
53
|
}
|
|
@@ -23,4 +23,9 @@ var InputSeedream50Lite;
|
|
|
23
23
|
OneThousandFourHundredFortyP2KQhd: "1440p (2K QHD)",
|
|
24
24
|
TwoThousandOneHundredSixtyP4KUhd: "2160p (4K UHD)",
|
|
25
25
|
};
|
|
26
|
+
/** Output image format. */
|
|
27
|
+
InputSeedream50Lite.OutputFormat = {
|
|
28
|
+
Jpeg: "jpeg",
|
|
29
|
+
Png: "png",
|
|
30
|
+
};
|
|
26
31
|
})(InputSeedream50Lite || (exports.InputSeedream50Lite = InputSeedream50Lite = {}));
|
|
@@ -17,6 +17,8 @@ export interface InputSeedream50Pro {
|
|
|
17
17
|
aspect_ratio: InputSeedream50Pro.AspectRatio;
|
|
18
18
|
/** Output resolution. */
|
|
19
19
|
resolution: InputSeedream50Pro.Resolution;
|
|
20
|
+
/** Output image format. */
|
|
21
|
+
output_format?: InputSeedream50Pro.OutputFormat | undefined;
|
|
20
22
|
/** Images to edit or blend. 1 to 10 images, each at most 30 MB. */
|
|
21
23
|
images?: Hedra.InputSeedream50ProImagesItem[] | undefined;
|
|
22
24
|
}
|
|
@@ -42,4 +44,10 @@ export declare namespace InputSeedream50Pro {
|
|
|
42
44
|
readonly OneThousandFourHundredFortyP2KQhd: "1440p (2K QHD)";
|
|
43
45
|
};
|
|
44
46
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
47
|
+
/** Output image format. */
|
|
48
|
+
const OutputFormat: {
|
|
49
|
+
readonly Jpeg: "jpeg";
|
|
50
|
+
readonly Png: "png";
|
|
51
|
+
};
|
|
52
|
+
type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
45
53
|
}
|
|
@@ -23,4 +23,9 @@ var InputSeedream50Pro;
|
|
|
23
23
|
OneThousandEightyP: "1080p",
|
|
24
24
|
OneThousandFourHundredFortyP2KQhd: "1440p (2K QHD)",
|
|
25
25
|
};
|
|
26
|
+
/** Output image format. */
|
|
27
|
+
InputSeedream50Pro.OutputFormat = {
|
|
28
|
+
Jpeg: "jpeg",
|
|
29
|
+
Png: "png",
|
|
30
|
+
};
|
|
26
31
|
})(InputSeedream50Pro || (exports.InputSeedream50Pro = InputSeedream50Pro = {}));
|
|
@@ -17,7 +17,7 @@ export interface InputSora2Pro {
|
|
|
17
17
|
resolution: InputSora2Pro.Resolution;
|
|
18
18
|
/** Duration in ms. */
|
|
19
19
|
duration_ms: number;
|
|
20
|
-
/** Start frame
|
|
20
|
+
/** Start frame. At most 10.4 MB. */
|
|
21
21
|
start_image?: Hedra.InputSora2ProStartImage | undefined;
|
|
22
22
|
}
|
|
23
23
|
export declare namespace InputSora2Pro {
|
|
@@ -11,7 +11,7 @@ export interface InputVeedFabric10 {
|
|
|
11
11
|
aspect_ratio: InputVeedFabric10.AspectRatio;
|
|
12
12
|
/** Output resolution. */
|
|
13
13
|
resolution: InputVeedFabric10.Resolution;
|
|
14
|
-
/** Start frame
|
|
14
|
+
/** Start frame. At most 10.4 MB. */
|
|
15
15
|
start_image: Hedra.InputVeedFabric10StartImage;
|
|
16
16
|
/** Driving audio. At most 104.8 MB. */
|
|
17
17
|
audio: Hedra.InputVeedFabric10Audio;
|
|
@@ -17,7 +17,7 @@ export interface InputVeo2 {
|
|
|
17
17
|
resolution?: InputVeo2.Resolution | undefined;
|
|
18
18
|
/** Duration in ms. */
|
|
19
19
|
duration_ms?: number | undefined;
|
|
20
|
-
/** Start frame
|
|
20
|
+
/** Start frame. At most 8 MB. */
|
|
21
21
|
start_image?: Hedra.InputVeo2StartImage | undefined;
|
|
22
22
|
/** What to avoid in the generated video. */
|
|
23
23
|
negative_prompt?: string | undefined;
|
|
@@ -19,14 +19,14 @@ export interface InputVeo3 {
|
|
|
19
19
|
duration_ms: number;
|
|
20
20
|
/** Whether to generate native audio for the video. */
|
|
21
21
|
generate_audio?: boolean | undefined;
|
|
22
|
-
/** Start frame
|
|
22
|
+
/** Start frame. At most 8 MB. */
|
|
23
23
|
start_image?: Hedra.InputVeo3StartImage | undefined;
|
|
24
24
|
/** What to avoid in the generated video. */
|
|
25
25
|
negative_prompt?: string | undefined;
|
|
26
26
|
/** Seed for reproducible output; omit for a random seed. */
|
|
27
27
|
seed?: number | undefined;
|
|
28
|
-
/** Quality level to generate at. */
|
|
29
|
-
quality
|
|
28
|
+
/** Quality level to generate at. `standard` — the full model, for hero shots. `fast` — the same model tuned for turnaround, at a lower rate. */
|
|
29
|
+
quality?: InputVeo3.Quality | undefined;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace InputVeo3 {
|
|
32
32
|
/** Output aspect ratio. */
|
|
@@ -41,7 +41,7 @@ export declare namespace InputVeo3 {
|
|
|
41
41
|
readonly OneThousandEightyP: "1080p";
|
|
42
42
|
};
|
|
43
43
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
44
|
-
/** Quality level to generate at. */
|
|
44
|
+
/** Quality level to generate at. `standard` — the full model, for hero shots. `fast` — the same model tuned for turnaround, at a lower rate. */
|
|
45
45
|
const Quality: {
|
|
46
46
|
readonly Standard: "standard";
|
|
47
47
|
readonly Fast: "fast";
|
|
@@ -14,7 +14,7 @@ var InputVeo3;
|
|
|
14
14
|
SevenHundredTwentyP: "720p",
|
|
15
15
|
OneThousandEightyP: "1080p",
|
|
16
16
|
};
|
|
17
|
-
/** Quality level to generate at. */
|
|
17
|
+
/** Quality level to generate at. `standard` — the full model, for hero shots. `fast` — the same model tuned for turnaround, at a lower rate. */
|
|
18
18
|
InputVeo3.Quality = {
|
|
19
19
|
Standard: "standard",
|
|
20
20
|
Fast: "fast",
|
|
@@ -17,18 +17,18 @@ export interface InputVeo31 {
|
|
|
17
17
|
generate_audio?: boolean | undefined;
|
|
18
18
|
/** What to avoid in the generated video. */
|
|
19
19
|
negative_prompt?: string | undefined;
|
|
20
|
-
/** Start frame
|
|
20
|
+
/** Start frame. At most 20 MB. */
|
|
21
21
|
start_image?: Hedra.InputVeo31StartImage | undefined;
|
|
22
|
-
/** End frame
|
|
22
|
+
/** End frame. At most 20 MB. */
|
|
23
23
|
end_image?: Hedra.InputVeo31EndImage | undefined;
|
|
24
|
-
/** Source video
|
|
24
|
+
/** Source video. From 1s to 30s and at most 524.2 MB. */
|
|
25
25
|
source_video?: Hedra.InputVeo31SourceVideo | undefined;
|
|
26
26
|
/** Reference images. 1 to 3 images, each at most 20 MB. */
|
|
27
27
|
images?: Hedra.InputVeo31ImagesItem[] | undefined;
|
|
28
28
|
/** Seed for reproducible output; omit for a random seed. From 0 to 4294967295. */
|
|
29
29
|
seed?: number | undefined;
|
|
30
|
-
/** Quality level to generate at. */
|
|
31
|
-
quality
|
|
30
|
+
/** Quality level to generate at. `standard` — the full model, for maximum detail and nuance. `fast` — the same model tuned for turnaround, at a lower rate. */
|
|
31
|
+
quality?: InputVeo31.Quality | undefined;
|
|
32
32
|
}
|
|
33
33
|
export declare namespace InputVeo31 {
|
|
34
34
|
/** Output aspect ratio. */
|
|
@@ -43,7 +43,7 @@ export declare namespace InputVeo31 {
|
|
|
43
43
|
readonly OneThousandEightyP: "1080p";
|
|
44
44
|
};
|
|
45
45
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
46
|
-
/** Quality level to generate at. */
|
|
46
|
+
/** Quality level to generate at. `standard` — the full model, for maximum detail and nuance. `fast` — the same model tuned for turnaround, at a lower rate. */
|
|
47
47
|
const Quality: {
|
|
48
48
|
readonly Standard: "standard";
|
|
49
49
|
readonly Fast: "fast";
|
|
@@ -14,7 +14,7 @@ var InputVeo31;
|
|
|
14
14
|
SevenHundredTwentyP: "720p",
|
|
15
15
|
OneThousandEightyP: "1080p",
|
|
16
16
|
};
|
|
17
|
-
/** Quality level to generate at. */
|
|
17
|
+
/** Quality level to generate at. `standard` — the full model, for maximum detail and nuance. `fast` — the same model tuned for turnaround, at a lower rate. */
|
|
18
18
|
InputVeo31.Quality = {
|
|
19
19
|
Standard: "standard",
|
|
20
20
|
Fast: "fast",
|
|
@@ -18,14 +18,14 @@ export interface InputViduQ3 {
|
|
|
18
18
|
resolution: InputViduQ3.Resolution;
|
|
19
19
|
/** Duration in ms. */
|
|
20
20
|
duration_ms: number;
|
|
21
|
-
/** Start frame
|
|
21
|
+
/** Start frame. At most 10.4 MB. */
|
|
22
22
|
start_image?: Hedra.InputViduQ3StartImage | undefined;
|
|
23
|
-
/** End frame
|
|
23
|
+
/** End frame. At most 10.4 MB. */
|
|
24
24
|
end_image?: Hedra.InputViduQ3EndImage | undefined;
|
|
25
25
|
/** Output aspect ratio. */
|
|
26
26
|
aspect_ratio?: InputViduQ3.AspectRatio | undefined;
|
|
27
|
-
/** Quality level to generate at. */
|
|
28
|
-
quality
|
|
27
|
+
/** Quality level to generate at. `standard` — the full model. `turbo` — the same options tuned for turnaround, at a lower rate. */
|
|
28
|
+
quality?: InputViduQ3.Quality | undefined;
|
|
29
29
|
}
|
|
30
30
|
export declare namespace InputViduQ3 {
|
|
31
31
|
/** Output resolution. */
|
|
@@ -44,7 +44,7 @@ export declare namespace InputViduQ3 {
|
|
|
44
44
|
readonly One1: "1:1";
|
|
45
45
|
};
|
|
46
46
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
47
|
-
/** Quality level to generate at. */
|
|
47
|
+
/** Quality level to generate at. `standard` — the full model. `turbo` — the same options tuned for turnaround, at a lower rate. */
|
|
48
48
|
const Quality: {
|
|
49
49
|
readonly Standard: "standard";
|
|
50
50
|
readonly Turbo: "turbo";
|
|
@@ -18,7 +18,7 @@ var InputViduQ3;
|
|
|
18
18
|
Three4: "3:4",
|
|
19
19
|
One1: "1:1",
|
|
20
20
|
};
|
|
21
|
-
/** Quality level to generate at. */
|
|
21
|
+
/** Quality level to generate at. `standard` — the full model. `turbo` — the same options tuned for turnaround, at a lower rate. */
|
|
22
22
|
InputViduQ3.Quality = {
|
|
23
23
|
Standard: "standard",
|
|
24
24
|
Turbo: "turbo",
|