@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
|
@@ -11,12 +11,12 @@ export interface InputKlingAiAvatarV2 {
|
|
|
11
11
|
aspect_ratio: InputKlingAiAvatarV2.AspectRatio;
|
|
12
12
|
/** Output resolution. */
|
|
13
13
|
resolution?: InputKlingAiAvatarV2.Resolution | undefined;
|
|
14
|
-
/** Start frame
|
|
14
|
+
/** Start frame. At most 10.4 MB. */
|
|
15
15
|
start_image: Hedra.InputKlingAiAvatarV2StartImage;
|
|
16
16
|
/** Driving audio. From 2s to 60s and at most 5 MB. */
|
|
17
17
|
audio: Hedra.InputKlingAiAvatarV2Audio;
|
|
18
|
-
/** Quality level to generate at. */
|
|
19
|
-
quality
|
|
18
|
+
/** Quality level to generate at. `standard` — the base tier. `pro` — sharper detail and steadier motion at the same resolution, at a higher rate. */
|
|
19
|
+
quality?: InputKlingAiAvatarV2.Quality | undefined;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace InputKlingAiAvatarV2 {
|
|
22
22
|
/** Output aspect ratio. */
|
|
@@ -31,7 +31,7 @@ export declare namespace InputKlingAiAvatarV2 {
|
|
|
31
31
|
readonly SevenHundredTwentyP: "720p";
|
|
32
32
|
};
|
|
33
33
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
34
|
-
/** Quality level to generate at. */
|
|
34
|
+
/** Quality level to generate at. `standard` — the base tier. `pro` — sharper detail and steadier motion at the same resolution, at a higher rate. */
|
|
35
35
|
const Quality: {
|
|
36
36
|
readonly Standard: "standard";
|
|
37
37
|
readonly Pro: "pro";
|
|
@@ -14,7 +14,7 @@ var InputKlingAiAvatarV2;
|
|
|
14
14
|
InputKlingAiAvatarV2.Resolution = {
|
|
15
15
|
SevenHundredTwentyP: "720p",
|
|
16
16
|
};
|
|
17
|
-
/** Quality level to generate at. */
|
|
17
|
+
/** Quality level to generate at. `standard` — the base tier. `pro` — sharper detail and steadier motion at the same resolution, at a higher rate. */
|
|
18
18
|
InputKlingAiAvatarV2.Quality = {
|
|
19
19
|
Standard: "standard",
|
|
20
20
|
Pro: "pro",
|
|
@@ -17,9 +17,9 @@ export interface InputKlingO1 {
|
|
|
17
17
|
resolution?: InputKlingO1.Resolution | undefined;
|
|
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.InputKlingO1StartImage | undefined;
|
|
22
|
-
/** End frame
|
|
22
|
+
/** End frame. At most 10.4 MB. */
|
|
23
23
|
end_image?: Hedra.InputKlingO1EndImage | undefined;
|
|
24
24
|
/** Reference images. 1 to 3 images, each at most 10.4 MB. */
|
|
25
25
|
images?: Hedra.InputKlingO1ImagesItem[] | undefined;
|
|
@@ -27,14 +27,14 @@ export interface InputKlingO3 {
|
|
|
27
27
|
resolution?: InputKlingO3.Resolution | undefined;
|
|
28
28
|
/** Duration in ms. */
|
|
29
29
|
duration_ms: number;
|
|
30
|
-
/** Start frame
|
|
30
|
+
/** Start frame. At most 10.4 MB. */
|
|
31
31
|
start_image?: Hedra.InputKlingO3StartImage | undefined;
|
|
32
|
-
/** End frame
|
|
32
|
+
/** End frame. At most 10.4 MB. */
|
|
33
33
|
end_image?: Hedra.InputKlingO3EndImage | undefined;
|
|
34
34
|
/** Reference images. 1 to 3 images, each at most 10.4 MB. */
|
|
35
35
|
images?: Hedra.InputKlingO3ImagesItem[] | undefined;
|
|
36
|
-
/** Quality level to generate at. */
|
|
37
|
-
quality
|
|
36
|
+
/** Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. */
|
|
37
|
+
quality?: InputKlingO3.Quality | undefined;
|
|
38
38
|
}
|
|
39
39
|
export declare namespace InputKlingO3 {
|
|
40
40
|
type MultiPrompt = MultiPrompt.Item[];
|
|
@@ -69,7 +69,7 @@ export declare namespace InputKlingO3 {
|
|
|
69
69
|
readonly SevenHundredTwentyP: "720p";
|
|
70
70
|
};
|
|
71
71
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
72
|
-
/** Quality level to generate at. */
|
|
72
|
+
/** Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. */
|
|
73
73
|
const Quality: {
|
|
74
74
|
readonly Standard: "standard";
|
|
75
75
|
readonly Pro: "pro";
|
|
@@ -21,7 +21,7 @@ var InputKlingO3;
|
|
|
21
21
|
FourK: "4K",
|
|
22
22
|
SevenHundredTwentyP: "720p",
|
|
23
23
|
};
|
|
24
|
-
/** Quality level to generate at. */
|
|
24
|
+
/** Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. */
|
|
25
25
|
InputKlingO3.Quality = {
|
|
26
26
|
Standard: "standard",
|
|
27
27
|
Pro: "pro",
|
|
@@ -7,7 +7,7 @@ export interface InputKlingO3Edit {
|
|
|
7
7
|
num_outputs?: number | undefined;
|
|
8
8
|
/** Generation prompt. At most 2500 characters. */
|
|
9
9
|
prompt: string;
|
|
10
|
-
/** Source video
|
|
10
|
+
/** Source video. From 3s to 15s and at most 524.2 MB. */
|
|
11
11
|
source_video: Hedra.InputKlingO3EditSourceVideo;
|
|
12
12
|
/** Reference images. 1 to 4 images, each at least 300px on each side and at most 10.4 MB. */
|
|
13
13
|
images?: Hedra.InputKlingO3EditImagesItem[] | undefined;
|
|
@@ -7,7 +7,7 @@ export interface InputKlingO3Reference {
|
|
|
7
7
|
num_outputs?: number | undefined;
|
|
8
8
|
/** Generation prompt. At most 2500 characters. */
|
|
9
9
|
prompt: string;
|
|
10
|
-
/** Source video
|
|
10
|
+
/** Source video. From 3s to 15s and at most 524.2 MB. */
|
|
11
11
|
source_video: Hedra.InputKlingO3ReferenceSourceVideo;
|
|
12
12
|
/** Reference images. 1 to 4 images, each at least 300px on each side and at most 10.4 MB. */
|
|
13
13
|
images?: Hedra.InputKlingO3ReferenceImagesItem[] | undefined;
|
|
@@ -29,14 +29,14 @@ export interface InputKlingV3 {
|
|
|
29
29
|
resolution?: InputKlingV3.Resolution | undefined;
|
|
30
30
|
/** Duration in ms. */
|
|
31
31
|
duration_ms: number;
|
|
32
|
-
/** Start frame
|
|
32
|
+
/** Start frame. At most 10.4 MB. */
|
|
33
33
|
start_image?: Hedra.InputKlingV3StartImage | undefined;
|
|
34
34
|
/** How closely the model follows the prompt. From 0 to 1. */
|
|
35
35
|
cfg_scale?: number | undefined;
|
|
36
|
-
/** End frame
|
|
36
|
+
/** End frame. At most 10.4 MB. */
|
|
37
37
|
end_image?: Hedra.InputKlingV3EndImage | undefined;
|
|
38
|
-
/** Quality level to generate at. */
|
|
39
|
-
quality
|
|
38
|
+
/** Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. */
|
|
39
|
+
quality?: InputKlingV3.Quality | undefined;
|
|
40
40
|
}
|
|
41
41
|
export declare namespace InputKlingV3 {
|
|
42
42
|
type MultiPrompt = MultiPrompt.Item[];
|
|
@@ -71,7 +71,7 @@ export declare namespace InputKlingV3 {
|
|
|
71
71
|
readonly SevenHundredTwentyP: "720p";
|
|
72
72
|
};
|
|
73
73
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
74
|
-
/** Quality level to generate at. */
|
|
74
|
+
/** Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. */
|
|
75
75
|
const Quality: {
|
|
76
76
|
readonly Standard: "standard";
|
|
77
77
|
readonly Pro: "pro";
|
|
@@ -21,7 +21,7 @@ var InputKlingV3;
|
|
|
21
21
|
FourK: "4K",
|
|
22
22
|
SevenHundredTwentyP: "720p",
|
|
23
23
|
};
|
|
24
|
-
/** Quality level to generate at. */
|
|
24
|
+
/** Quality level to generate at. `standard` — the 720p tier. `pro` — the high-resolution tier, at 1080p and 4K. */
|
|
25
25
|
InputKlingV3.Quality = {
|
|
26
26
|
Standard: "standard",
|
|
27
27
|
Pro: "pro",
|
|
@@ -9,9 +9,9 @@ export interface InputKlingV3MotionControl {
|
|
|
9
9
|
prompt?: string | undefined;
|
|
10
10
|
/** Whether the output character's orientation follows the reference video ('video' — better for complex motion) or the character image ('image' — better for camera movement). Also caps the source video: 30s for 'video', 10s for 'image'. */
|
|
11
11
|
character_orientation?: InputKlingV3MotionControl.CharacterOrientation | undefined;
|
|
12
|
-
/** Start frame
|
|
12
|
+
/** Start frame. From 340px to 3850px on each side and at most 10.4 MB. */
|
|
13
13
|
start_image: Hedra.InputKlingV3MotionControlStartImage;
|
|
14
|
-
/** Source video
|
|
14
|
+
/** Source video. From 3s to 30s, from 340px to 3850px on each side, and at most 104.8 MB. */
|
|
15
15
|
source_video: Hedra.InputKlingV3MotionControlSourceVideo;
|
|
16
16
|
/** Output resolution to generate at. */
|
|
17
17
|
resolution: InputKlingV3MotionControl.Resolution;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Source video
|
|
3
|
+
* Source video. From 3s to 30s, from 340px to 3850px on each side, and at most 104.8 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputKlingV3MotionControlSourceVideo =
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. From 340px to 3850px on each side and at most 10.4 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputKlingV3MotionControlStartImage =
|
|
6
6
|
/**
|
|
@@ -21,12 +21,12 @@ export interface InputLtx23 {
|
|
|
21
21
|
duration_ms: number;
|
|
22
22
|
/** Output aspect ratio. */
|
|
23
23
|
aspect_ratio: InputLtx23.AspectRatio;
|
|
24
|
-
/** Start frame
|
|
24
|
+
/** Start frame. At most 10.4 MB. */
|
|
25
25
|
start_image?: Hedra.InputLtx23StartImage | undefined;
|
|
26
|
-
/** End frame
|
|
26
|
+
/** End frame. At most 10.4 MB. */
|
|
27
27
|
end_image?: Hedra.InputLtx23EndImage | undefined;
|
|
28
|
-
/** Quality level to generate at. */
|
|
29
|
-
quality
|
|
28
|
+
/** Quality level to generate at. `fast` — tuned for turnaround, for iteration. `pro` — the higher-fidelity tier, for final output. */
|
|
29
|
+
quality?: InputLtx23.Quality | undefined;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace InputLtx23 {
|
|
32
32
|
/** Output resolution. */
|
|
@@ -43,7 +43,7 @@ export declare namespace InputLtx23 {
|
|
|
43
43
|
readonly Nine16: "9:16";
|
|
44
44
|
};
|
|
45
45
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
46
|
-
/** Quality level to generate at. */
|
|
46
|
+
/** Quality level to generate at. `fast` — tuned for turnaround, for iteration. `pro` — the higher-fidelity tier, for final output. */
|
|
47
47
|
const Quality: {
|
|
48
48
|
readonly Fast: "fast";
|
|
49
49
|
readonly Pro: "pro";
|
|
@@ -16,7 +16,7 @@ var InputLtx23;
|
|
|
16
16
|
Sixteen9: "16:9",
|
|
17
17
|
Nine16: "9:16",
|
|
18
18
|
};
|
|
19
|
-
/** Quality level to generate at. */
|
|
19
|
+
/** Quality level to generate at. `fast` — tuned for turnaround, for iteration. `pro` — the higher-fidelity tier, for final output. */
|
|
20
20
|
InputLtx23.Quality = {
|
|
21
21
|
Fast: "fast",
|
|
22
22
|
Pro: "pro",
|
|
@@ -16,12 +16,12 @@ export interface InputLumaRay32 {
|
|
|
16
16
|
export declare namespace InputLumaRay32 {
|
|
17
17
|
/** Output aspect ratio. */
|
|
18
18
|
const AspectRatio: {
|
|
19
|
-
readonly One1: "1:1";
|
|
20
19
|
readonly Three4: "3:4";
|
|
21
20
|
readonly Four3: "4:3";
|
|
21
|
+
readonly One1: "1:1";
|
|
22
|
+
readonly Nine16: "9:16";
|
|
22
23
|
readonly Sixteen9: "16:9";
|
|
23
24
|
readonly TwentyOne9: "21:9";
|
|
24
|
-
readonly Nine16: "9:16";
|
|
25
25
|
};
|
|
26
26
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
27
27
|
/** Output resolution. */
|
|
@@ -6,12 +6,12 @@ var InputLumaRay32;
|
|
|
6
6
|
(function (InputLumaRay32) {
|
|
7
7
|
/** Output aspect ratio. */
|
|
8
8
|
InputLumaRay32.AspectRatio = {
|
|
9
|
-
One1: "1:1",
|
|
10
9
|
Three4: "3:4",
|
|
11
10
|
Four3: "4:3",
|
|
11
|
+
One1: "1:1",
|
|
12
|
+
Nine16: "9:16",
|
|
12
13
|
Sixteen9: "16:9",
|
|
13
14
|
TwentyOne9: "21:9",
|
|
14
|
-
Nine16: "9:16",
|
|
15
15
|
};
|
|
16
16
|
/** Output resolution. */
|
|
17
17
|
InputLumaRay32.Resolution = {
|
|
@@ -19,8 +19,8 @@ export interface InputMaiImage25 {
|
|
|
19
19
|
images?: Hedra.InputMaiImage25ImagesItem[] | undefined;
|
|
20
20
|
/** Output image format. */
|
|
21
21
|
output_format?: InputMaiImage25.OutputFormat | undefined;
|
|
22
|
-
/** Quality level to generate at. */
|
|
23
|
-
quality
|
|
22
|
+
/** Quality level to generate at. `standard` — photorealistic generation and editing at the base rate. `pro` — the higher-fidelity tier, for final deliverables that need maximum detail and text rendering. */
|
|
23
|
+
quality?: InputMaiImage25.Quality | undefined;
|
|
24
24
|
}
|
|
25
25
|
export declare namespace InputMaiImage25 {
|
|
26
26
|
/** Output aspect ratio. */
|
|
@@ -41,7 +41,7 @@ export declare namespace InputMaiImage25 {
|
|
|
41
41
|
readonly Webp: "webp";
|
|
42
42
|
};
|
|
43
43
|
type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
|
|
44
|
-
/** Quality level to generate at. */
|
|
44
|
+
/** Quality level to generate at. `standard` — photorealistic generation and editing at the base rate. `pro` — the higher-fidelity tier, for final deliverables that need maximum detail and text rendering. */
|
|
45
45
|
const Quality: {
|
|
46
46
|
readonly Standard: "standard";
|
|
47
47
|
readonly Pro: "pro";
|
|
@@ -20,7 +20,7 @@ var InputMaiImage25;
|
|
|
20
20
|
Png: "png",
|
|
21
21
|
Webp: "webp",
|
|
22
22
|
};
|
|
23
|
-
/** Quality level to generate at. */
|
|
23
|
+
/** Quality level to generate at. `standard` — photorealistic generation and editing at the base rate. `pro` — the higher-fidelity tier, for final deliverables that need maximum detail and text rendering. */
|
|
24
24
|
InputMaiImage25.Quality = {
|
|
25
25
|
Standard: "standard",
|
|
26
26
|
Pro: "pro",
|
|
@@ -17,9 +17,9 @@ export interface InputMinimaxH3 {
|
|
|
17
17
|
resolution: InputMinimaxH3.Resolution;
|
|
18
18
|
/** Duration in ms. */
|
|
19
19
|
duration_ms: number;
|
|
20
|
-
/** Start frame
|
|
20
|
+
/** Start frame. From 256px to 5760px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
21
21
|
start_image?: Hedra.InputMinimaxH3StartImage | undefined;
|
|
22
|
-
/** End frame
|
|
22
|
+
/** End frame. From 256px to 5760px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB. */
|
|
23
23
|
end_image?: Hedra.InputMinimaxH3EndImage | undefined;
|
|
24
24
|
/** Output aspect ratio. */
|
|
25
25
|
aspect_ratio?: InputMinimaxH3.AspectRatio | undefined;
|
|
@@ -33,6 +33,7 @@ export interface InputMinimaxH3 {
|
|
|
33
33
|
export declare namespace InputMinimaxH3 {
|
|
34
34
|
/** Output resolution. */
|
|
35
35
|
const Resolution: {
|
|
36
|
+
readonly FourHundredEightyP: "480p";
|
|
36
37
|
readonly SevenHundredSixtyEightP: "768p";
|
|
37
38
|
readonly TwoK: "2K";
|
|
38
39
|
readonly FourK: "4K";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* End frame
|
|
3
|
+
* End frame. From 256px to 5760px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputMinimaxH3EndImage =
|
|
6
6
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. From 256px to 5760px on each side, with an aspect ratio from 0.4 to 2.5, and at most 30 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputMinimaxH3StartImage =
|
|
6
6
|
/**
|
|
@@ -19,14 +19,14 @@ export interface InputMinimaxHailuo02 {
|
|
|
19
19
|
resolution?: InputMinimaxHailuo02.Resolution | undefined;
|
|
20
20
|
/** Duration in ms. */
|
|
21
21
|
duration_ms: number;
|
|
22
|
-
/** Start frame
|
|
22
|
+
/** Start frame. The output video follows this image's aspect ratio. At most 20 MB. */
|
|
23
23
|
start_image?: Hedra.InputMinimaxHailuo02StartImage | undefined;
|
|
24
|
-
/** End frame
|
|
24
|
+
/** End frame. At most 20 MB. */
|
|
25
25
|
end_image?: Hedra.InputMinimaxHailuo02EndImage | undefined;
|
|
26
26
|
/** Output aspect ratio. */
|
|
27
27
|
aspect_ratio?: InputMinimaxHailuo02.AspectRatio | undefined;
|
|
28
|
-
/** Quality level to generate at. */
|
|
29
|
-
quality
|
|
28
|
+
/** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. */
|
|
29
|
+
quality?: InputMinimaxHailuo02.Quality | undefined;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace InputMinimaxHailuo02 {
|
|
32
32
|
/** Output resolution. */
|
|
@@ -40,7 +40,7 @@ export declare namespace InputMinimaxHailuo02 {
|
|
|
40
40
|
readonly Sixteen9: "16:9";
|
|
41
41
|
};
|
|
42
42
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
43
|
-
/** Quality level to generate at. */
|
|
43
|
+
/** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. */
|
|
44
44
|
const Quality: {
|
|
45
45
|
readonly Standard: "standard";
|
|
46
46
|
readonly Pro: "pro";
|
|
@@ -13,7 +13,7 @@ var InputMinimaxHailuo02;
|
|
|
13
13
|
InputMinimaxHailuo02.AspectRatio = {
|
|
14
14
|
Sixteen9: "16:9",
|
|
15
15
|
};
|
|
16
|
-
/** Quality level to generate at. */
|
|
16
|
+
/** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. */
|
|
17
17
|
InputMinimaxHailuo02.Quality = {
|
|
18
18
|
Standard: "standard",
|
|
19
19
|
Pro: "pro",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. The output video follows this image's aspect ratio. At most 20 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputMinimaxHailuo02StartImage =
|
|
6
6
|
/**
|
|
@@ -17,12 +17,12 @@ export interface InputMinimaxHailuo23 {
|
|
|
17
17
|
resolution?: InputMinimaxHailuo23.Resolution | undefined;
|
|
18
18
|
/** Duration in ms. */
|
|
19
19
|
duration_ms: number;
|
|
20
|
-
/** Start frame
|
|
20
|
+
/** Start frame. The output video follows this image's aspect ratio. At most 20 MB. */
|
|
21
21
|
start_image?: Hedra.InputMinimaxHailuo23StartImage | undefined;
|
|
22
22
|
/** Output aspect ratio. */
|
|
23
23
|
aspect_ratio?: InputMinimaxHailuo23.AspectRatio | undefined;
|
|
24
|
-
/** Quality level to generate at. */
|
|
25
|
-
quality
|
|
24
|
+
/** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. `fast-standard` — 768p on the low-latency path, from a start frame only. `fast-pro` — 1080p on the low-latency path, from a start frame only. */
|
|
25
|
+
quality?: InputMinimaxHailuo23.Quality | undefined;
|
|
26
26
|
}
|
|
27
27
|
export declare namespace InputMinimaxHailuo23 {
|
|
28
28
|
/** Output resolution. */
|
|
@@ -36,7 +36,7 @@ export declare namespace InputMinimaxHailuo23 {
|
|
|
36
36
|
readonly Sixteen9: "16:9";
|
|
37
37
|
};
|
|
38
38
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
39
|
-
/** Quality level to generate at. */
|
|
39
|
+
/** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. `fast-standard` — 768p on the low-latency path, from a start frame only. `fast-pro` — 1080p on the low-latency path, from a start frame only. */
|
|
40
40
|
const Quality: {
|
|
41
41
|
readonly Standard: "standard";
|
|
42
42
|
readonly Pro: "pro";
|
|
@@ -13,7 +13,7 @@ var InputMinimaxHailuo23;
|
|
|
13
13
|
InputMinimaxHailuo23.AspectRatio = {
|
|
14
14
|
Sixteen9: "16:9",
|
|
15
15
|
};
|
|
16
|
-
/** Quality level to generate at. */
|
|
16
|
+
/** Quality level to generate at. `standard` — 768p, for everyday motion. `pro` — 1080p, with smoother motion and sharper detail. `fast-standard` — 768p on the low-latency path, from a start frame only. `fast-pro` — 1080p on the low-latency path, from a start frame only. */
|
|
17
17
|
InputMinimaxHailuo23.Quality = {
|
|
18
18
|
Standard: "standard",
|
|
19
19
|
Pro: "pro",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as Hedra from "../index.js";
|
|
2
2
|
/**
|
|
3
|
-
* Start frame
|
|
3
|
+
* Start frame. The output video follows this image's aspect ratio. At most 20 MB.
|
|
4
4
|
*/
|
|
5
5
|
export type InputMinimaxHailuo23StartImage =
|
|
6
6
|
/**
|
|
@@ -11,7 +11,7 @@ export interface InputNanoBanana {
|
|
|
11
11
|
enhance_prompt?: boolean | undefined;
|
|
12
12
|
/** Output aspect ratio. */
|
|
13
13
|
aspect_ratio: InputNanoBanana.AspectRatio;
|
|
14
|
-
/**
|
|
14
|
+
/** Accepted and ignored. gemini-2.5-flash-image takes no `image_size` argument — the aspect ratio alone decides the output geometry — so this value never reaches the provider and never changes the price. It stays on the contract because requests already send it. */
|
|
15
15
|
resolution: InputNanoBanana.Resolution;
|
|
16
16
|
/** Images to edit or blend. 1 to 3 images, each at most 30 MB. */
|
|
17
17
|
images?: Hedra.InputNanoBananaImagesItem[] | undefined;
|
|
@@ -26,7 +26,7 @@ export declare namespace InputNanoBanana {
|
|
|
26
26
|
readonly One1: "1:1";
|
|
27
27
|
};
|
|
28
28
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
29
|
-
/**
|
|
29
|
+
/** Accepted and ignored. gemini-2.5-flash-image takes no `image_size` argument — the aspect ratio alone decides the output geometry — so this value never reaches the provider and never changes the price. It stays on the contract because requests already send it. */
|
|
30
30
|
const Resolution: {
|
|
31
31
|
readonly OneK: "1K";
|
|
32
32
|
readonly TwoK: "2K";
|
|
@@ -10,7 +10,7 @@ var InputNanoBanana;
|
|
|
10
10
|
Nine16: "9:16",
|
|
11
11
|
One1: "1:1",
|
|
12
12
|
};
|
|
13
|
-
/**
|
|
13
|
+
/** Accepted and ignored. gemini-2.5-flash-image takes no `image_size` argument — the aspect ratio alone decides the output geometry — so this value never reaches the provider and never changes the price. It stays on the contract because requests already send it. */
|
|
14
14
|
InputNanoBanana.Resolution = {
|
|
15
15
|
OneK: "1K",
|
|
16
16
|
TwoK: "2K",
|
|
@@ -9,7 +9,7 @@ export interface InputNanoBanana2 {
|
|
|
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: InputNanoBanana2.AspectRatio;
|
|
14
14
|
/** Output resolution. */
|
|
15
15
|
resolution: InputNanoBanana2.Resolution;
|
|
@@ -17,10 +17,17 @@ export interface InputNanoBanana2 {
|
|
|
17
17
|
images?: Hedra.InputNanoBanana2ImagesItem[] | 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;
|
|
22
|
+
/** Let the grounding search return images as well as text, so the model sees what it found rather than only reading about it. Turning this on grounds the generation whether or not google_search is also set. */
|
|
23
|
+
image_search?: boolean | undefined;
|
|
24
|
+
/** How much the model plans before it draws. Omit for the model's own default ('minimal'); 'high' reasons further at the cost of latency. */
|
|
25
|
+
thinking_level?: InputNanoBanana2.ThinkingLevel | undefined;
|
|
20
26
|
}
|
|
21
27
|
export declare namespace InputNanoBanana2 {
|
|
22
|
-
/** Output aspect ratio. */
|
|
28
|
+
/** Output aspect ratio. 'adaptive' lets the model size the output itself — matching the source image when you pass one. */
|
|
23
29
|
const AspectRatio: {
|
|
30
|
+
readonly Adaptive: "adaptive";
|
|
24
31
|
readonly Sixteen9: "16:9";
|
|
25
32
|
readonly Nine16: "9:16";
|
|
26
33
|
readonly One1: "1:1";
|
|
@@ -31,13 +38,24 @@ export declare namespace InputNanoBanana2 {
|
|
|
31
38
|
readonly Two3: "2:3";
|
|
32
39
|
readonly Five4: "5:4";
|
|
33
40
|
readonly Four5: "4:5";
|
|
41
|
+
readonly One4: "1:4";
|
|
42
|
+
readonly Four1: "4:1";
|
|
43
|
+
readonly One8: "1:8";
|
|
44
|
+
readonly Eight1: "8:1";
|
|
34
45
|
};
|
|
35
46
|
type AspectRatio = (typeof AspectRatio)[keyof typeof AspectRatio];
|
|
36
47
|
/** Output resolution. */
|
|
37
48
|
const Resolution: {
|
|
49
|
+
readonly FiveHundredTwelvePx: "512px";
|
|
38
50
|
readonly OneK: "1K";
|
|
39
51
|
readonly TwoK: "2K";
|
|
40
52
|
readonly FourK: "4K";
|
|
41
53
|
};
|
|
42
54
|
type Resolution = (typeof Resolution)[keyof typeof Resolution];
|
|
55
|
+
/** How much the model plans before it draws. Omit for the model's own default ('minimal'); 'high' reasons further at the cost of latency. */
|
|
56
|
+
const ThinkingLevel: {
|
|
57
|
+
readonly Minimal: "minimal";
|
|
58
|
+
readonly High: "high";
|
|
59
|
+
};
|
|
60
|
+
type ThinkingLevel = (typeof ThinkingLevel)[keyof typeof ThinkingLevel];
|
|
43
61
|
}
|