@sync.so/sdk 0.4.0 → 0.5.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/Client.d.ts +3 -0
- package/Client.js +27 -22
- package/api/resources/account/client/Client.d.ts +19 -1
- package/api/resources/account/client/Client.js +79 -5
- package/api/resources/account/client/index.d.ts +1 -1
- package/api/resources/account/client/index.js +15 -0
- package/api/resources/account/client/requests/GetAccountRequest.d.ts +13 -0
- package/api/resources/account/client/requests/GetAccountRequest.js +5 -0
- package/api/resources/account/client/requests/ListAccountOrganizationsRequest.d.ts +13 -0
- package/api/resources/account/client/requests/ListAccountOrganizationsRequest.js +5 -0
- package/api/resources/account/client/requests/index.d.ts +2 -0
- package/api/resources/account/client/requests/index.js +2 -0
- package/api/resources/account/types/AccountActiveJobs.d.ts +1 -1
- package/api/resources/account/types/AccountCredits.d.ts +1 -1
- package/api/resources/account/types/AccountFreeAllowance.d.ts +2 -2
- package/api/resources/account/types/AccountOrganizationListItem.d.ts +9 -0
- package/api/resources/account/types/AccountOrganizationListItem.js +5 -0
- package/api/resources/account/types/AccountOrganizations.d.ts +7 -0
- package/api/resources/account/types/AccountOrganizations.js +5 -0
- package/api/resources/account/types/AccountOverview.d.ts +5 -1
- package/api/resources/account/types/index.d.ts +2 -0
- package/api/resources/account/types/index.js +2 -0
- package/api/resources/assets/client/Client.d.ts +71 -1
- package/api/resources/assets/client/Client.js +312 -8
- package/api/resources/assets/client/requests/CountAssetsRequest.d.ts +30 -0
- package/api/resources/assets/client/requests/CountAssetsRequest.js +5 -0
- package/api/resources/assets/client/requests/FindUploadedAssetRequest.d.ts +18 -0
- package/api/resources/assets/client/requests/FindUploadedAssetRequest.js +5 -0
- package/api/resources/assets/client/requests/ListAssetsRequest.d.ts +5 -1
- package/api/resources/assets/client/requests/index.d.ts +2 -0
- package/api/resources/audioTrims/client/Client.d.ts +72 -0
- package/api/resources/audioTrims/client/Client.js +217 -0
- package/api/resources/audioTrims/client/index.d.ts +1 -0
- package/api/resources/audioTrims/client/index.js +17 -0
- package/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.d.ts +21 -0
- package/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.js +5 -0
- package/api/resources/audioTrims/client/requests/index.d.ts +1 -0
- package/api/resources/audioTrims/client/requests/index.js +2 -0
- package/api/resources/audioTrims/index.d.ts +1 -0
- package/api/resources/audioTrims/index.js +17 -0
- package/api/resources/batch/client/Client.d.ts +6 -2
- package/api/resources/batch/client/Client.js +18 -6
- package/api/resources/batch/client/requests/CreateBatchFromRowsRequest.d.ts +3 -3
- package/api/resources/batch/client/requests/CreateBatchRequest.d.ts +2 -2
- package/api/resources/common/errors/AudioTrimTooManyRequestsError.d.ts +9 -0
- package/api/resources/common/errors/AudioTrimTooManyRequestsError.js +52 -0
- package/api/resources/common/errors/LinkImportInProgressError.d.ts +9 -0
- package/api/resources/common/errors/LinkImportInProgressError.js +52 -0
- package/api/resources/common/errors/LinkImportTooManyRequestsError.d.ts +9 -0
- package/api/resources/common/errors/LinkImportTooManyRequestsError.js +52 -0
- package/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.d.ts +9 -0
- package/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.js +52 -0
- package/api/resources/common/errors/index.d.ts +4 -0
- package/api/resources/common/errors/index.js +4 -0
- package/api/resources/common/types/ActiveSpeaker.d.ts +3 -3
- package/api/resources/common/types/AnalyzeSpeakersRequest.d.ts +14 -0
- package/api/resources/common/types/AnalyzeSpeakersRequest.js +5 -0
- package/api/resources/common/types/AssetAudioSource.d.ts +17 -0
- package/api/resources/common/types/AssetAudioSource.js +10 -0
- package/api/resources/common/types/AssetIds.d.ts +4 -0
- package/api/resources/common/types/AssetIds.js +5 -0
- package/api/resources/common/types/Audio.d.ts +2 -2
- package/api/resources/common/types/AudioTrim.d.ts +20 -0
- package/api/resources/common/types/AudioTrim.js +5 -0
- package/api/resources/common/types/AudioTrimStatus.d.ts +13 -0
- package/api/resources/common/types/AudioTrimStatus.js +12 -0
- package/api/resources/common/types/BatchConcurrencyError.d.ts +2 -4
- package/api/resources/common/types/BatchGetAssetsRequest.d.ts +8 -0
- package/api/resources/common/types/BatchGetAssetsRequest.js +5 -0
- package/api/resources/common/types/CreateAssetRequest.d.ts +3 -1
- package/api/resources/common/types/CreateAssetUploadRequest.d.ts +1 -1
- package/api/resources/common/types/CreateAudioTrimDto.d.ts +16 -0
- package/api/resources/common/types/CreateAudioTrimDto.js +5 -0
- package/api/resources/common/types/CreateDialogueEditDto.d.ts +2 -2
- package/api/resources/common/types/CreateGenerationDto.d.ts +3 -3
- package/api/resources/common/types/CreateProjectRequest.d.ts +1 -1
- package/api/resources/common/types/CreateTranscriptionDto.d.ts +2 -2
- package/api/resources/common/types/DialogueEditChange.d.ts +1 -1
- package/api/resources/common/types/DialogueEditError.d.ts +5 -1
- package/api/resources/common/types/DialogueEditErrorCode.d.ts +4 -2
- package/api/resources/common/types/DialogueEditErrorCode.js +2 -0
- package/api/resources/common/types/DialogueEditFailedSlot.d.ts +3 -0
- package/api/resources/common/types/DialogueEditJob.d.ts +2 -2
- package/api/resources/common/types/DubDto.d.ts +6 -0
- package/api/resources/common/types/DubLanguage.d.ts +23 -3
- package/api/resources/common/types/DubLanguage.js +17 -0
- package/api/resources/common/types/DubSourceLanguage.d.ts +24 -4
- package/api/resources/common/types/DubSourceLanguage.js +17 -0
- package/api/resources/common/types/EstimateCostRequest.d.ts +1 -1
- package/api/resources/common/types/FindUploadedAssetResponse.d.ts +8 -0
- package/api/resources/common/types/FindUploadedAssetResponse.js +5 -0
- package/api/resources/common/types/Generation.d.ts +9 -5
- package/api/resources/common/types/GenerationCount.d.ts +6 -0
- package/api/resources/common/types/GenerationCount.js +5 -0
- package/api/resources/common/types/GenerationCountType.d.ts +8 -0
- package/api/resources/common/types/GenerationCountType.js +10 -0
- package/api/resources/common/types/GenerationError.d.ts +4 -0
- package/api/resources/common/types/GenerationOptions.d.ts +3 -3
- package/api/resources/common/types/GenerationProgress.d.ts +24 -0
- package/api/resources/common/types/GenerationProgress.js +5 -0
- package/api/resources/common/types/GenerationProgressStage.d.ts +13 -0
- package/api/resources/common/types/GenerationProgressStage.js +12 -0
- package/api/resources/common/types/GenerationSource.d.ts +17 -0
- package/api/resources/common/types/GenerationSource.js +19 -0
- package/api/resources/common/types/GenerationStatus.d.ts +3 -2
- package/api/resources/common/types/GenerationStatus.js +1 -0
- package/api/resources/common/types/Image.d.ts +1 -1
- package/api/resources/common/types/LinkImportError.d.ts +33 -0
- package/api/resources/common/types/LinkImportError.js +5 -0
- package/api/resources/common/types/LinkImportStatus.d.ts +14 -0
- package/api/resources/common/types/LinkImportStatus.js +13 -0
- package/api/resources/common/types/ProjectGenerationError.d.ts +3 -0
- package/api/resources/common/types/ProjectGenerationErrorReason.d.ts +7 -0
- package/api/resources/common/types/ProjectGenerationErrorReason.js +9 -0
- package/api/resources/common/types/SliceSpeakerFaceTrackRequest.d.ts +21 -0
- package/api/resources/common/types/SliceSpeakerFaceTrackRequest.js +5 -0
- package/api/resources/common/types/SpeakerAnalysis.d.ts +26 -0
- package/api/resources/common/types/SpeakerAnalysis.js +5 -0
- package/api/resources/common/types/SpeakerAnalysisSpeaker.d.ts +21 -0
- package/api/resources/common/types/SpeakerAnalysisSpeaker.js +5 -0
- package/api/resources/common/types/SpeakerAnalysisStatus.d.ts +12 -0
- package/api/resources/common/types/SpeakerAnalysisStatus.js +11 -0
- package/api/resources/common/types/SpeakerAvatar.d.ts +16 -0
- package/api/resources/common/types/SpeakerAvatar.js +5 -0
- package/api/resources/common/types/SpeakerAvatarBox.d.ts +12 -0
- package/api/resources/common/types/SpeakerAvatarBox.js +5 -0
- package/api/resources/common/types/SpeakerFaceSupport.d.ts +17 -0
- package/api/resources/common/types/SpeakerFaceSupport.js +5 -0
- package/api/resources/common/types/SpeakerFaceSupportInterval.d.ts +9 -0
- package/api/resources/common/types/SpeakerFaceSupportInterval.js +5 -0
- package/api/resources/common/types/SpeakerFaceTrack.d.ts +18 -0
- package/api/resources/common/types/SpeakerFaceTrack.js +5 -0
- package/api/resources/common/types/SpeakerFaceTrackSlice.d.ts +7 -0
- package/api/resources/common/types/SpeakerFaceTrackSlice.js +5 -0
- package/api/resources/common/types/SpeakerFaceTrackSliceFrames.d.ts +9 -0
- package/api/resources/common/types/SpeakerFaceTrackSliceFrames.js +5 -0
- package/api/resources/common/types/SpeakerMatchEvidence.d.ts +16 -0
- package/api/resources/common/types/SpeakerMatchEvidence.js +5 -0
- package/api/resources/common/types/SpeakerMatchStatus.d.ts +11 -0
- package/api/resources/common/types/SpeakerMatchStatus.js +10 -0
- package/api/resources/common/types/Transcript.d.ts +2 -0
- package/api/resources/common/types/TranscriptSegment.d.ts +2 -0
- package/api/resources/common/types/TranscriptSpeaker.d.ts +13 -0
- package/api/resources/common/types/TranscriptSpeaker.js +5 -0
- package/api/resources/common/types/TranscriptSpeakerLabelFlag.d.ts +11 -0
- package/api/resources/common/types/TranscriptSpeakerLabelFlag.js +10 -0
- package/api/resources/common/types/TranscriptWord.d.ts +4 -0
- package/api/resources/common/types/TranscriptionJob.d.ts +5 -1
- package/api/resources/common/types/TranscriptionJobEstimate.d.ts +20 -0
- package/api/resources/common/types/TranscriptionJobEstimate.js +5 -0
- package/api/resources/common/types/Tts.d.ts +1 -1
- package/api/resources/common/types/UpdateProjectRequest.d.ts +1 -1
- package/api/resources/common/types/Video.d.ts +3 -3
- package/api/resources/common/types/index.d.ts +32 -0
- package/api/resources/common/types/index.js +32 -0
- package/api/resources/dialogueEdits/client/Client.d.ts +35 -31
- package/api/resources/dialogueEdits/client/Client.js +40 -33
- package/api/resources/dialogueEdits/client/index.d.ts +1 -1
- package/api/resources/dialogueEdits/client/index.js +15 -0
- package/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.d.ts +46 -0
- package/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.js +5 -0
- package/api/resources/dialogueEdits/client/requests/index.d.ts +1 -0
- package/api/resources/dialogueEdits/client/requests/index.js +2 -0
- package/api/resources/errors/client/Client.d.ts +1 -1
- package/api/resources/errors/client/Client.js +2 -2
- package/api/resources/feedback/client/Client.js +1 -1
- package/api/resources/generationCosts/index.d.ts +1 -0
- package/api/resources/generationCosts/index.js +17 -0
- package/api/resources/generationCosts/types/CostAvailability.d.ts +10 -0
- package/api/resources/generationCosts/types/CostAvailability.js +12 -0
- package/api/resources/generationCosts/types/CostComponent.d.ts +19 -0
- package/api/resources/generationCosts/types/CostComponent.js +5 -0
- package/api/resources/generationCosts/types/CostComponentStatus.d.ts +10 -0
- package/api/resources/generationCosts/types/CostComponentStatus.js +12 -0
- package/api/resources/generationCosts/types/CostComponentType.d.ts +9 -0
- package/api/resources/generationCosts/types/CostComponentType.js +11 -0
- package/api/resources/generationCosts/types/CostSource.d.ts +9 -0
- package/api/resources/generationCosts/types/CostSource.js +11 -0
- package/api/resources/generationCosts/types/CostUnit.d.ts +8 -0
- package/api/resources/generationCosts/types/CostUnit.js +10 -0
- package/api/resources/generationCosts/types/CostValueBasis.d.ts +9 -0
- package/api/resources/generationCosts/types/CostValueBasis.js +11 -0
- package/api/resources/generationCosts/types/GenerationCosts.d.ts +23 -0
- package/api/resources/generationCosts/types/GenerationCosts.js +5 -0
- package/api/resources/generationCosts/types/GenerationCostsApiKey.d.ts +10 -0
- package/api/resources/generationCosts/types/GenerationCostsApiKey.js +5 -0
- package/api/resources/generationCosts/types/GenerationCostsList.d.ts +12 -0
- package/api/resources/generationCosts/types/GenerationCostsList.js +5 -0
- package/api/resources/generationCosts/types/GenerationCostsListItem.d.ts +17 -0
- package/api/resources/generationCosts/types/GenerationCostsListItem.js +5 -0
- package/api/resources/generationCosts/types/index.d.ts +11 -0
- package/api/resources/generationCosts/types/index.js +27 -0
- package/api/resources/generations/client/Client.d.ts +58 -13
- package/api/resources/generations/client/Client.js +245 -21
- package/api/resources/generations/client/requests/CountGenerationsRequest.d.ts +30 -0
- package/api/resources/generations/client/requests/CountGenerationsRequest.js +5 -0
- package/api/resources/generations/client/requests/CreateGenerationRequest.d.ts +1 -1
- package/api/resources/generations/client/requests/GetGenerationRequest.d.ts +2 -2
- package/api/resources/generations/client/requests/ListGenerationCostsRequest.d.ts +29 -0
- package/api/resources/generations/client/requests/ListGenerationCostsRequest.js +5 -0
- package/api/resources/generations/client/requests/index.d.ts +2 -0
- package/api/resources/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/organizations/client/Client.js +1 -1
- package/api/resources/projects/client/Client.js +7 -7
- package/api/resources/projects/client/requests/ListProjectsRequest.d.ts +1 -1
- package/api/resources/transcriptions/client/Client.d.ts +66 -1
- package/api/resources/transcriptions/client/Client.js +236 -3
- package/api/resources/tts/client/Client.js +3 -3
- package/api/resources/voices/client/Client.d.ts +10 -6
- package/api/resources/voices/client/Client.js +22 -10
- package/api/resources/webhooks/types/GenerationNotification.d.ts +6 -2
- package/api/resources/webhooks/types/WebhookStatus.d.ts +2 -1
- package/api/resources/webhooks/types/WebhookStatus.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +27 -22
- package/dist/api/resources/account/client/Client.d.ts +19 -1
- package/dist/api/resources/account/client/Client.js +79 -5
- package/dist/api/resources/account/client/index.d.ts +1 -1
- package/dist/api/resources/account/client/index.js +15 -0
- package/dist/api/resources/account/client/requests/GetAccountRequest.d.ts +13 -0
- package/dist/api/resources/account/client/requests/GetAccountRequest.js +5 -0
- package/dist/api/resources/account/client/requests/ListAccountOrganizationsRequest.d.ts +13 -0
- package/dist/api/resources/account/client/requests/ListAccountOrganizationsRequest.js +5 -0
- package/dist/api/resources/account/client/requests/index.d.ts +2 -0
- package/dist/api/resources/account/client/requests/index.js +2 -0
- package/dist/api/resources/account/types/AccountActiveJobs.d.ts +1 -1
- package/dist/api/resources/account/types/AccountCredits.d.ts +1 -1
- package/dist/api/resources/account/types/AccountFreeAllowance.d.ts +2 -2
- package/dist/api/resources/account/types/AccountOrganizationListItem.d.ts +9 -0
- package/dist/api/resources/account/types/AccountOrganizationListItem.js +5 -0
- package/dist/api/resources/account/types/AccountOrganizations.d.ts +7 -0
- package/dist/api/resources/account/types/AccountOrganizations.js +5 -0
- package/dist/api/resources/account/types/AccountOverview.d.ts +5 -1
- package/dist/api/resources/account/types/index.d.ts +2 -0
- package/dist/api/resources/account/types/index.js +2 -0
- package/dist/api/resources/assets/client/Client.d.ts +71 -1
- package/dist/api/resources/assets/client/Client.js +312 -8
- package/dist/api/resources/assets/client/requests/CountAssetsRequest.d.ts +30 -0
- package/dist/api/resources/assets/client/requests/CountAssetsRequest.js +5 -0
- package/dist/api/resources/assets/client/requests/FindUploadedAssetRequest.d.ts +18 -0
- package/dist/api/resources/assets/client/requests/FindUploadedAssetRequest.js +5 -0
- package/dist/api/resources/assets/client/requests/ListAssetsRequest.d.ts +5 -1
- package/dist/api/resources/assets/client/requests/index.d.ts +2 -0
- package/dist/api/resources/audioTrims/client/Client.d.ts +72 -0
- package/dist/api/resources/audioTrims/client/Client.js +217 -0
- package/dist/api/resources/audioTrims/client/index.d.ts +1 -0
- package/dist/api/resources/audioTrims/client/index.js +17 -0
- package/dist/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.d.ts +21 -0
- package/dist/api/resources/audioTrims/client/requests/CreateAudioTrimRequest.js +5 -0
- package/dist/api/resources/audioTrims/client/requests/index.d.ts +1 -0
- package/dist/api/resources/audioTrims/client/requests/index.js +2 -0
- package/dist/api/resources/audioTrims/index.d.ts +1 -0
- package/dist/api/resources/audioTrims/index.js +17 -0
- package/dist/api/resources/batch/client/Client.d.ts +6 -2
- package/dist/api/resources/batch/client/Client.js +18 -6
- package/dist/api/resources/batch/client/requests/CreateBatchFromRowsRequest.d.ts +3 -3
- package/dist/api/resources/batch/client/requests/CreateBatchRequest.d.ts +2 -2
- package/dist/api/resources/common/errors/AudioTrimTooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/common/errors/AudioTrimTooManyRequestsError.js +52 -0
- package/dist/api/resources/common/errors/LinkImportInProgressError.d.ts +9 -0
- package/dist/api/resources/common/errors/LinkImportInProgressError.js +52 -0
- package/dist/api/resources/common/errors/LinkImportTooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/common/errors/LinkImportTooManyRequestsError.js +52 -0
- package/dist/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.d.ts +9 -0
- package/dist/api/resources/common/errors/SpeakerAnalysisTooManyRequestsError.js +52 -0
- package/dist/api/resources/common/errors/index.d.ts +4 -0
- package/dist/api/resources/common/errors/index.js +4 -0
- package/dist/api/resources/common/types/ActiveSpeaker.d.ts +3 -3
- package/dist/api/resources/common/types/AnalyzeSpeakersRequest.d.ts +14 -0
- package/dist/api/resources/common/types/AnalyzeSpeakersRequest.js +5 -0
- package/dist/api/resources/common/types/AssetAudioSource.d.ts +17 -0
- package/dist/api/resources/common/types/AssetAudioSource.js +10 -0
- package/dist/api/resources/common/types/AssetIds.d.ts +4 -0
- package/dist/api/resources/common/types/AssetIds.js +5 -0
- package/dist/api/resources/common/types/Audio.d.ts +2 -2
- package/dist/api/resources/common/types/AudioTrim.d.ts +20 -0
- package/dist/api/resources/common/types/AudioTrim.js +5 -0
- package/dist/api/resources/common/types/AudioTrimStatus.d.ts +13 -0
- package/dist/api/resources/common/types/AudioTrimStatus.js +12 -0
- package/dist/api/resources/common/types/BatchConcurrencyError.d.ts +2 -4
- package/dist/api/resources/common/types/BatchGetAssetsRequest.d.ts +8 -0
- package/dist/api/resources/common/types/BatchGetAssetsRequest.js +5 -0
- package/dist/api/resources/common/types/CreateAssetRequest.d.ts +3 -1
- package/dist/api/resources/common/types/CreateAssetUploadRequest.d.ts +1 -1
- package/dist/api/resources/common/types/CreateAudioTrimDto.d.ts +16 -0
- package/dist/api/resources/common/types/CreateAudioTrimDto.js +5 -0
- package/dist/api/resources/common/types/CreateDialogueEditDto.d.ts +2 -2
- package/dist/api/resources/common/types/CreateGenerationDto.d.ts +3 -3
- package/dist/api/resources/common/types/CreateProjectRequest.d.ts +1 -1
- package/dist/api/resources/common/types/CreateTranscriptionDto.d.ts +2 -2
- package/dist/api/resources/common/types/DialogueEditChange.d.ts +1 -1
- package/dist/api/resources/common/types/DialogueEditError.d.ts +5 -1
- package/dist/api/resources/common/types/DialogueEditErrorCode.d.ts +4 -2
- package/dist/api/resources/common/types/DialogueEditErrorCode.js +2 -0
- package/dist/api/resources/common/types/DialogueEditFailedSlot.d.ts +3 -0
- package/dist/api/resources/common/types/DialogueEditJob.d.ts +2 -2
- package/dist/api/resources/common/types/DubDto.d.ts +6 -0
- package/dist/api/resources/common/types/DubLanguage.d.ts +23 -3
- package/dist/api/resources/common/types/DubLanguage.js +17 -0
- package/dist/api/resources/common/types/DubSourceLanguage.d.ts +24 -4
- package/dist/api/resources/common/types/DubSourceLanguage.js +17 -0
- package/dist/api/resources/common/types/EstimateCostRequest.d.ts +1 -1
- package/dist/api/resources/common/types/FindUploadedAssetResponse.d.ts +8 -0
- package/dist/api/resources/common/types/FindUploadedAssetResponse.js +5 -0
- package/dist/api/resources/common/types/Generation.d.ts +9 -5
- package/dist/api/resources/common/types/GenerationCount.d.ts +6 -0
- package/dist/api/resources/common/types/GenerationCount.js +5 -0
- package/dist/api/resources/common/types/GenerationCountType.d.ts +8 -0
- package/dist/api/resources/common/types/GenerationCountType.js +10 -0
- package/dist/api/resources/common/types/GenerationError.d.ts +4 -0
- package/dist/api/resources/common/types/GenerationOptions.d.ts +3 -3
- package/dist/api/resources/common/types/GenerationProgress.d.ts +24 -0
- package/dist/api/resources/common/types/GenerationProgress.js +5 -0
- package/dist/api/resources/common/types/GenerationProgressStage.d.ts +13 -0
- package/dist/api/resources/common/types/GenerationProgressStage.js +12 -0
- package/dist/api/resources/common/types/GenerationSource.d.ts +17 -0
- package/dist/api/resources/common/types/GenerationSource.js +19 -0
- package/dist/api/resources/common/types/GenerationStatus.d.ts +3 -2
- package/dist/api/resources/common/types/GenerationStatus.js +1 -0
- package/dist/api/resources/common/types/Image.d.ts +1 -1
- package/dist/api/resources/common/types/LinkImportError.d.ts +33 -0
- package/dist/api/resources/common/types/LinkImportError.js +5 -0
- package/dist/api/resources/common/types/LinkImportStatus.d.ts +14 -0
- package/dist/api/resources/common/types/LinkImportStatus.js +13 -0
- package/dist/api/resources/common/types/ProjectGenerationError.d.ts +3 -0
- package/dist/api/resources/common/types/ProjectGenerationErrorReason.d.ts +7 -0
- package/dist/api/resources/common/types/ProjectGenerationErrorReason.js +9 -0
- package/dist/api/resources/common/types/SliceSpeakerFaceTrackRequest.d.ts +21 -0
- package/dist/api/resources/common/types/SliceSpeakerFaceTrackRequest.js +5 -0
- package/dist/api/resources/common/types/SpeakerAnalysis.d.ts +26 -0
- package/dist/api/resources/common/types/SpeakerAnalysis.js +5 -0
- package/dist/api/resources/common/types/SpeakerAnalysisSpeaker.d.ts +21 -0
- package/dist/api/resources/common/types/SpeakerAnalysisSpeaker.js +5 -0
- package/dist/api/resources/common/types/SpeakerAnalysisStatus.d.ts +12 -0
- package/dist/api/resources/common/types/SpeakerAnalysisStatus.js +11 -0
- package/dist/api/resources/common/types/SpeakerAvatar.d.ts +16 -0
- package/dist/api/resources/common/types/SpeakerAvatar.js +5 -0
- package/dist/api/resources/common/types/SpeakerAvatarBox.d.ts +12 -0
- package/dist/api/resources/common/types/SpeakerAvatarBox.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceSupport.d.ts +17 -0
- package/dist/api/resources/common/types/SpeakerFaceSupport.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceSupportInterval.d.ts +9 -0
- package/dist/api/resources/common/types/SpeakerFaceSupportInterval.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceTrack.d.ts +18 -0
- package/dist/api/resources/common/types/SpeakerFaceTrack.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSlice.d.ts +7 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSlice.js +5 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSliceFrames.d.ts +9 -0
- package/dist/api/resources/common/types/SpeakerFaceTrackSliceFrames.js +5 -0
- package/dist/api/resources/common/types/SpeakerMatchEvidence.d.ts +16 -0
- package/dist/api/resources/common/types/SpeakerMatchEvidence.js +5 -0
- package/dist/api/resources/common/types/SpeakerMatchStatus.d.ts +11 -0
- package/dist/api/resources/common/types/SpeakerMatchStatus.js +10 -0
- package/dist/api/resources/common/types/Transcript.d.ts +2 -0
- package/dist/api/resources/common/types/TranscriptSegment.d.ts +2 -0
- package/dist/api/resources/common/types/TranscriptSpeaker.d.ts +13 -0
- package/dist/api/resources/common/types/TranscriptSpeaker.js +5 -0
- package/dist/api/resources/common/types/TranscriptSpeakerLabelFlag.d.ts +11 -0
- package/dist/api/resources/common/types/TranscriptSpeakerLabelFlag.js +10 -0
- package/dist/api/resources/common/types/TranscriptWord.d.ts +4 -0
- package/dist/api/resources/common/types/TranscriptionJob.d.ts +5 -1
- package/dist/api/resources/common/types/TranscriptionJobEstimate.d.ts +20 -0
- package/dist/api/resources/common/types/TranscriptionJobEstimate.js +5 -0
- package/dist/api/resources/common/types/Tts.d.ts +1 -1
- package/dist/api/resources/common/types/UpdateProjectRequest.d.ts +1 -1
- package/dist/api/resources/common/types/Video.d.ts +3 -3
- package/dist/api/resources/common/types/index.d.ts +32 -0
- package/dist/api/resources/common/types/index.js +32 -0
- package/dist/api/resources/dialogueEdits/client/Client.d.ts +35 -31
- package/dist/api/resources/dialogueEdits/client/Client.js +40 -33
- package/dist/api/resources/dialogueEdits/client/index.d.ts +1 -1
- package/dist/api/resources/dialogueEdits/client/index.js +15 -0
- package/dist/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.d.ts +46 -0
- package/dist/api/resources/dialogueEdits/client/requests/CreateDialogueEditRequest.js +5 -0
- package/dist/api/resources/dialogueEdits/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dialogueEdits/client/requests/index.js +2 -0
- package/dist/api/resources/errors/client/Client.d.ts +1 -1
- package/dist/api/resources/errors/client/Client.js +2 -2
- package/dist/api/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/generationCosts/index.d.ts +1 -0
- package/dist/api/resources/generationCosts/index.js +17 -0
- package/dist/api/resources/generationCosts/types/CostAvailability.d.ts +10 -0
- package/dist/api/resources/generationCosts/types/CostAvailability.js +12 -0
- package/dist/api/resources/generationCosts/types/CostComponent.d.ts +19 -0
- package/dist/api/resources/generationCosts/types/CostComponent.js +5 -0
- package/dist/api/resources/generationCosts/types/CostComponentStatus.d.ts +10 -0
- package/dist/api/resources/generationCosts/types/CostComponentStatus.js +12 -0
- package/dist/api/resources/generationCosts/types/CostComponentType.d.ts +9 -0
- package/dist/api/resources/generationCosts/types/CostComponentType.js +11 -0
- package/dist/api/resources/generationCosts/types/CostSource.d.ts +9 -0
- package/dist/api/resources/generationCosts/types/CostSource.js +11 -0
- package/dist/api/resources/generationCosts/types/CostUnit.d.ts +8 -0
- package/dist/api/resources/generationCosts/types/CostUnit.js +10 -0
- package/dist/api/resources/generationCosts/types/CostValueBasis.d.ts +9 -0
- package/dist/api/resources/generationCosts/types/CostValueBasis.js +11 -0
- package/dist/api/resources/generationCosts/types/GenerationCosts.d.ts +23 -0
- package/dist/api/resources/generationCosts/types/GenerationCosts.js +5 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsApiKey.d.ts +10 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsApiKey.js +5 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsList.d.ts +12 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsList.js +5 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsListItem.d.ts +17 -0
- package/dist/api/resources/generationCosts/types/GenerationCostsListItem.js +5 -0
- package/dist/api/resources/generationCosts/types/index.d.ts +11 -0
- package/dist/api/resources/generationCosts/types/index.js +27 -0
- package/dist/api/resources/generations/client/Client.d.ts +58 -13
- package/dist/api/resources/generations/client/Client.js +245 -21
- package/dist/api/resources/generations/client/requests/CountGenerationsRequest.d.ts +30 -0
- package/dist/api/resources/generations/client/requests/CountGenerationsRequest.js +5 -0
- package/dist/api/resources/generations/client/requests/CreateGenerationRequest.d.ts +1 -1
- package/dist/api/resources/generations/client/requests/GetGenerationRequest.d.ts +2 -2
- package/dist/api/resources/generations/client/requests/ListGenerationCostsRequest.d.ts +29 -0
- package/dist/api/resources/generations/client/requests/ListGenerationCostsRequest.js +5 -0
- package/dist/api/resources/generations/client/requests/index.d.ts +2 -0
- package/dist/api/resources/index.d.ts +6 -0
- package/dist/api/resources/index.js +7 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/organizations/client/Client.js +1 -1
- package/dist/api/resources/projects/client/Client.js +7 -7
- package/dist/api/resources/projects/client/requests/ListProjectsRequest.d.ts +1 -1
- package/dist/api/resources/transcriptions/client/Client.d.ts +66 -1
- package/dist/api/resources/transcriptions/client/Client.js +236 -3
- package/dist/api/resources/tts/client/Client.js +3 -3
- package/dist/api/resources/voices/client/Client.d.ts +10 -6
- package/dist/api/resources/voices/client/Client.js +22 -10
- package/dist/api/resources/webhooks/types/GenerationNotification.d.ts +6 -2
- package/dist/api/resources/webhooks/types/WebhookStatus.d.ts +2 -1
- package/dist/api/resources/webhooks/types/WebhookStatus.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +995 -124
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* Machine-readable failure code. EDIT_TOO_LONG, SOURCE_TOO_LONG, VOICE_SAMPLE_TOO_SHORT and PLAN_FAILED describe the request and will not succeed on retry.
|
|
5
|
+
* Machine-readable failure code. EDIT_TOO_LONG, SOURCE_TOO_LONG, VOICE_SAMPLE_TOO_SHORT, VOICE_BLOCKED, VOICE_VERIFICATION_REQUIRED and PLAN_FAILED describe the request and will not succeed on retry.
|
|
6
6
|
*/
|
|
7
|
-
export type DialogueEditErrorCode = "EXTRACTION_FAILED" | "VOICE_CLONE_FAILED" | "VOICE_SAMPLE_TOO_SHORT" | "SYNTHESIS_FAILED" | "EDIT_TOO_LONG" | "SOURCE_TOO_LONG" | "PLAN_FAILED" | "TIMEOUT" | "UNKNOWN";
|
|
7
|
+
export type DialogueEditErrorCode = "EXTRACTION_FAILED" | "VOICE_CLONE_FAILED" | "VOICE_SAMPLE_TOO_SHORT" | "VOICE_BLOCKED" | "VOICE_VERIFICATION_REQUIRED" | "SYNTHESIS_FAILED" | "EDIT_TOO_LONG" | "SOURCE_TOO_LONG" | "PLAN_FAILED" | "TIMEOUT" | "UNKNOWN";
|
|
8
8
|
export declare const DialogueEditErrorCode: {
|
|
9
9
|
readonly ExtractionFailed: "EXTRACTION_FAILED";
|
|
10
10
|
readonly VoiceCloneFailed: "VOICE_CLONE_FAILED";
|
|
11
11
|
readonly VoiceSampleTooShort: "VOICE_SAMPLE_TOO_SHORT";
|
|
12
|
+
readonly VoiceBlocked: "VOICE_BLOCKED";
|
|
13
|
+
readonly VoiceVerificationRequired: "VOICE_VERIFICATION_REQUIRED";
|
|
12
14
|
readonly SynthesisFailed: "SYNTHESIS_FAILED";
|
|
13
15
|
readonly EditTooLong: "EDIT_TOO_LONG";
|
|
14
16
|
readonly SourceTooLong: "SOURCE_TOO_LONG";
|
|
@@ -8,6 +8,8 @@ exports.DialogueEditErrorCode = {
|
|
|
8
8
|
ExtractionFailed: "EXTRACTION_FAILED",
|
|
9
9
|
VoiceCloneFailed: "VOICE_CLONE_FAILED",
|
|
10
10
|
VoiceSampleTooShort: "VOICE_SAMPLE_TOO_SHORT",
|
|
11
|
+
VoiceBlocked: "VOICE_BLOCKED",
|
|
12
|
+
VoiceVerificationRequired: "VOICE_VERIFICATION_REQUIRED",
|
|
11
13
|
SynthesisFailed: "SYNTHESIS_FAILED",
|
|
12
14
|
EditTooLong: "EDIT_TOO_LONG",
|
|
13
15
|
SourceTooLong: "SOURCE_TOO_LONG",
|
|
@@ -30,9 +30,9 @@ export interface DialogueEditJob {
|
|
|
30
30
|
resultTranscript?: Sync.Transcript;
|
|
31
31
|
/** The edited regions in order, each located on the preview timeline (outputStartMs, outputDurationMs) and in the source video (sourceStartMs, sourceDurationMs). Everything between two slots is untouched source. Null until the job completes. */
|
|
32
32
|
resultSlots?: Sync.DialogueEditResultSlot[];
|
|
33
|
-
/** Whether the preview was cut for per-region lipsync (true) or for re-lipsyncing the whole window (false). Decided when the job is created and fixed for its lifetime.
|
|
33
|
+
/** Whether the preview was cut for per-region lipsync (true) or for re-lipsyncing the whole window (false). Decided when the job is created and fixed for its lifetime. True for new jobs. */
|
|
34
34
|
segmentLipsyncEnabled: boolean;
|
|
35
|
-
/** Whether the preview was made under the section-expansion policy. Decided when the job is created and fixed for its lifetime.
|
|
35
|
+
/** Whether the preview was made under the section-expansion policy. Decided when the job is created and fixed for its lifetime. True for new jobs. */
|
|
36
36
|
sectionExpansionEnabled: boolean;
|
|
37
37
|
/** Opaque id of the voice cloned from the source and used for synthesis. Pass it as voiceId on the next dialogue-edit job of the same source to skip cloning. Null until the voice exists. */
|
|
38
38
|
voiceId?: string;
|
|
@@ -14,4 +14,10 @@ export interface DubDto {
|
|
|
14
14
|
sourceLang?: Sync.DubSourceLanguage;
|
|
15
15
|
/** [DEPRECATED] Ignored. Speakers are detected automatically. */
|
|
16
16
|
numSpeakers?: number;
|
|
17
|
+
/** Voice cloning strength from 1 to 10. Higher values preserve more of the source voice. Omit to use the provider default. */
|
|
18
|
+
cloningStrength?: number;
|
|
19
|
+
/** Finite start time in seconds, within the source video. Defaults to 0. The output and billing cover only the selected range. Invalid ranges return 422 generation_input_trim_invalid. */
|
|
20
|
+
startTime?: number;
|
|
21
|
+
/** Finite end time in seconds. Must be after startTime and within the source video. Defaults to the end of the video. */
|
|
22
|
+
endTime?: number;
|
|
17
23
|
}
|
|
@@ -4,10 +4,13 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* Target language code supported for dubbing.
|
|
6
6
|
*/
|
|
7
|
-
export type DubLanguage = "en" | "gu" | "no" | "sl" | "pa" | "ta" | "az" | "gl" | "is" | "sw" | "my" | "fi" | "el" | "he" | "lt" | "ms" | "sv" | "fr" | "ca" | "hr" | "lv" | "ro" | "sd" | "th" | "tn" | "pl" | "ceb" | "da" | "hu" | "mr"
|
|
7
|
+
export type DubLanguage = "en" | "gu" | "no" | "sl" | "pa" | "ta" | "az" | "gl" | "is" | "sw" | "my" | "fi" | "el" | "he" | "lt" | "ms" | "sv" | "fr" | "ca" | "hr" | "lv" | "ro" | "sd" | "th" | "tn" | "pl" | "ceb" | "da" | "hu" | "mr"
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
| "
|
|
9
|
+
* Deprecated language alias. Prefer fil for new requests. */
|
|
10
|
+
| "tl" | "ug" | "wo" | "zu" | "zh" | "hi" | "as" | "ha" | "kk" | "ki" | "rn" | "ky" | "st" | "te" | "war" | "ak" | "be" | "cs" | "ka" | "mn" | "bo" | "ts" | "ar" | "ss" | "nl" | "tr" | "af" | "bs" | "et" | "rw" | "ne" | "ko" | "it" | "es" | "sq" | "eu" | "kn" | "sk" | "su" | "ve" | "pt" | "am" | "hy"
|
|
11
|
+
/**
|
|
12
|
+
* Deprecated language alias. Prefer dgo for new requests. */
|
|
13
|
+
| "doi" | "de" | "jv" | "mk" | "ja" | "vi" | "cy" | "nso" | "uk" | "bg" | "id" | "lg" | "yo" | "ml" | "fa" | "tg" | "ur" | "uz" | "ru" | "fil" | "ar-EG" | "yue" | "zh-TW" | "dgo" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "cmn" | "pt-BR" | "pt-PT" | "es-AR" | "es-CL" | "es-ES" | "es-MX";
|
|
11
14
|
export declare const DubLanguage: {
|
|
12
15
|
readonly English: "en";
|
|
13
16
|
readonly Gujarati: "gu";
|
|
@@ -102,4 +105,21 @@ export declare const DubLanguage: {
|
|
|
102
105
|
readonly Uzbek: "uz";
|
|
103
106
|
readonly Russian: "ru";
|
|
104
107
|
readonly Filipino: "fil";
|
|
108
|
+
readonly ArabicEgypt: "ar-EG";
|
|
109
|
+
readonly Cantonese: "yue";
|
|
110
|
+
readonly ChineseTaiwan: "zh-TW";
|
|
111
|
+
readonly DogriCurrent: "dgo";
|
|
112
|
+
readonly EnglishAustralia: "en-AU";
|
|
113
|
+
readonly EnglishCanada: "en-CA";
|
|
114
|
+
readonly EnglishUnitedKingdom: "en-GB";
|
|
115
|
+
readonly EnglishUnitedStates: "en-US";
|
|
116
|
+
readonly FrenchCanada: "fr-CA";
|
|
117
|
+
readonly FrenchFrance: "fr-FR";
|
|
118
|
+
readonly MandarinChinese: "cmn";
|
|
119
|
+
readonly PortugueseBrazil: "pt-BR";
|
|
120
|
+
readonly PortuguesePortugal: "pt-PT";
|
|
121
|
+
readonly SpanishArgentina: "es-AR";
|
|
122
|
+
readonly SpanishChile: "es-CL";
|
|
123
|
+
readonly SpanishSpain: "es-ES";
|
|
124
|
+
readonly SpanishMexico: "es-MX";
|
|
105
125
|
};
|
|
@@ -98,4 +98,21 @@ exports.DubLanguage = {
|
|
|
98
98
|
Uzbek: "uz",
|
|
99
99
|
Russian: "ru",
|
|
100
100
|
Filipino: "fil",
|
|
101
|
+
ArabicEgypt: "ar-EG",
|
|
102
|
+
Cantonese: "yue",
|
|
103
|
+
ChineseTaiwan: "zh-TW",
|
|
104
|
+
DogriCurrent: "dgo",
|
|
105
|
+
EnglishAustralia: "en-AU",
|
|
106
|
+
EnglishCanada: "en-CA",
|
|
107
|
+
EnglishUnitedKingdom: "en-GB",
|
|
108
|
+
EnglishUnitedStates: "en-US",
|
|
109
|
+
FrenchCanada: "fr-CA",
|
|
110
|
+
FrenchFrance: "fr-FR",
|
|
111
|
+
MandarinChinese: "cmn",
|
|
112
|
+
PortugueseBrazil: "pt-BR",
|
|
113
|
+
PortuguesePortugal: "pt-PT",
|
|
114
|
+
SpanishArgentina: "es-AR",
|
|
115
|
+
SpanishChile: "es-CL",
|
|
116
|
+
SpanishSpain: "es-ES",
|
|
117
|
+
SpanishMexico: "es-MX",
|
|
101
118
|
};
|
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* Source language code for dubbing. Use
|
|
5
|
+
* Source language code for dubbing. Use auto to detect the source language.
|
|
6
6
|
*/
|
|
7
|
-
export type DubSourceLanguage = "auto" | "en" | "gu" | "no" | "sl" | "pa" | "ta" | "az" | "gl" | "is" | "sw" | "my" | "fi" | "el" | "he" | "lt" | "ms" | "sv" | "fr" | "ca" | "hr" | "lv" | "ro" | "sd" | "th" | "tn" | "pl" | "ceb" | "da" | "hu" | "mr"
|
|
7
|
+
export type DubSourceLanguage = "auto" | "en" | "gu" | "no" | "sl" | "pa" | "ta" | "az" | "gl" | "is" | "sw" | "my" | "fi" | "el" | "he" | "lt" | "ms" | "sv" | "fr" | "ca" | "hr" | "lv" | "ro" | "sd" | "th" | "tn" | "pl" | "ceb" | "da" | "hu" | "mr"
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
| "
|
|
9
|
+
* Deprecated language alias. Prefer fil for new requests. */
|
|
10
|
+
| "tl" | "ug" | "wo" | "zu" | "zh" | "hi" | "as" | "ha" | "kk" | "ki" | "rn" | "ky" | "st" | "te" | "war" | "ak" | "be" | "cs" | "ka" | "mn" | "bo" | "ts" | "ar" | "ss" | "nl" | "tr" | "af" | "bs" | "et" | "rw" | "ne" | "ko" | "it" | "es" | "sq" | "eu" | "kn" | "sk" | "su" | "ve" | "pt" | "am" | "hy"
|
|
11
|
+
/**
|
|
12
|
+
* Deprecated language alias. Prefer dgo for new requests. */
|
|
13
|
+
| "doi" | "de" | "jv" | "mk" | "ja" | "vi" | "cy" | "nso" | "uk" | "bg" | "id" | "lg" | "yo" | "ml" | "fa" | "tg" | "ur" | "uz" | "ru" | "fil" | "ar-EG" | "yue" | "zh-TW" | "dgo" | "en-AU" | "en-CA" | "en-GB" | "en-US" | "fr-CA" | "fr-FR" | "cmn" | "pt-BR" | "pt-PT" | "es-AR" | "es-CL" | "es-ES" | "es-MX";
|
|
11
14
|
export declare const DubSourceLanguage: {
|
|
12
15
|
readonly Auto: "auto";
|
|
13
16
|
readonly English: "en";
|
|
@@ -103,4 +106,21 @@ export declare const DubSourceLanguage: {
|
|
|
103
106
|
readonly Uzbek: "uz";
|
|
104
107
|
readonly Russian: "ru";
|
|
105
108
|
readonly Filipino: "fil";
|
|
109
|
+
readonly ArabicEgypt: "ar-EG";
|
|
110
|
+
readonly Cantonese: "yue";
|
|
111
|
+
readonly ChineseTaiwan: "zh-TW";
|
|
112
|
+
readonly DogriCurrent: "dgo";
|
|
113
|
+
readonly EnglishAustralia: "en-AU";
|
|
114
|
+
readonly EnglishCanada: "en-CA";
|
|
115
|
+
readonly EnglishUnitedKingdom: "en-GB";
|
|
116
|
+
readonly EnglishUnitedStates: "en-US";
|
|
117
|
+
readonly FrenchCanada: "fr-CA";
|
|
118
|
+
readonly FrenchFrance: "fr-FR";
|
|
119
|
+
readonly MandarinChinese: "cmn";
|
|
120
|
+
readonly PortugueseBrazil: "pt-BR";
|
|
121
|
+
readonly PortuguesePortugal: "pt-PT";
|
|
122
|
+
readonly SpanishArgentina: "es-AR";
|
|
123
|
+
readonly SpanishChile: "es-CL";
|
|
124
|
+
readonly SpanishSpain: "es-ES";
|
|
125
|
+
readonly SpanishMexico: "es-MX";
|
|
106
126
|
};
|
|
@@ -99,4 +99,21 @@ exports.DubSourceLanguage = {
|
|
|
99
99
|
Uzbek: "uz",
|
|
100
100
|
Russian: "ru",
|
|
101
101
|
Filipino: "fil",
|
|
102
|
+
ArabicEgypt: "ar-EG",
|
|
103
|
+
Cantonese: "yue",
|
|
104
|
+
ChineseTaiwan: "zh-TW",
|
|
105
|
+
DogriCurrent: "dgo",
|
|
106
|
+
EnglishAustralia: "en-AU",
|
|
107
|
+
EnglishCanada: "en-CA",
|
|
108
|
+
EnglishUnitedKingdom: "en-GB",
|
|
109
|
+
EnglishUnitedStates: "en-US",
|
|
110
|
+
FrenchCanada: "fr-CA",
|
|
111
|
+
FrenchFrance: "fr-FR",
|
|
112
|
+
MandarinChinese: "cmn",
|
|
113
|
+
PortugueseBrazil: "pt-BR",
|
|
114
|
+
PortuguesePortugal: "pt-PT",
|
|
115
|
+
SpanishArgentina: "es-AR",
|
|
116
|
+
SpanishChile: "es-CL",
|
|
117
|
+
SpanishSpain: "es-ES",
|
|
118
|
+
SpanishMexico: "es-MX",
|
|
102
119
|
};
|
|
@@ -7,7 +7,7 @@ export interface EstimateCostRequest {
|
|
|
7
7
|
model: string;
|
|
8
8
|
/** Finite, positive billable duration in seconds. */
|
|
9
9
|
duration: number;
|
|
10
|
-
/**
|
|
10
|
+
/** Finite, positive source video frame rate. For standard plans, defaults to 25 for credit billing and 30 for usage billing when omitted. */
|
|
11
11
|
fps?: number;
|
|
12
12
|
/** Omit for lip-sync only. `translate-and-dub` includes dubbing and lip-sync, estimated using the source duration. Actual output duration may differ. */
|
|
13
13
|
workflow?: Sync.EstimateWorkflow;
|
|
@@ -5,9 +5,9 @@ import * as Sync from "../../../index";
|
|
|
5
5
|
export interface Generation {
|
|
6
6
|
/** The date and time the generation was created. */
|
|
7
7
|
createdAt: string;
|
|
8
|
-
/** The error message if the generation failed. */
|
|
8
|
+
/** The error message if the generation failed, was rejected or lip-synced nothing (NO_OP). */
|
|
9
9
|
error?: string;
|
|
10
|
-
/** Stable, machine-readable error code if the generation failed (e.g. generation_input_video_inaccessible). The full catalog of codes, messages and suggested fixes is served unauthenticated at GET /v2/errors. */
|
|
10
|
+
/** Stable, machine-readable error code if the generation failed, was rejected or lip-synced nothing (NO_OP) (e.g. generation_input_video_inaccessible). The full catalog of codes, messages and suggested fixes is served unauthenticated at GET /v2/errors. */
|
|
11
11
|
errorCode?: string;
|
|
12
12
|
id: Sync.GenerationId;
|
|
13
13
|
/** An array of input objects used for generation. */
|
|
@@ -26,6 +26,10 @@ export interface Generation {
|
|
|
26
26
|
segments?: Sync.GenerationSegment[];
|
|
27
27
|
/** The URL of the segment output media. */
|
|
28
28
|
segmentOutputUrl?: string;
|
|
29
|
+
/** Dubbed audio URL. Omitted for generations without dubParams; null until the dubbed track is available. */
|
|
30
|
+
dubAudioUrl?: string | null;
|
|
31
|
+
/** Reusable AUDIO asset for the dubbed track. Omitted without dubParams; null until available, or when retention settings or a custom output bucket prevent saving an asset. */
|
|
32
|
+
dubAudioAssetId?: Sync.AssetId | null;
|
|
29
33
|
/** The URL of the audio synthesized from a text (TTS) input. Only present for generations created with a TTS text input; reuse it as an audio input to keep the same take across generations. */
|
|
30
34
|
synthesizedAudioUrl?: string;
|
|
31
35
|
/** The status of the generation. */
|
|
@@ -34,8 +38,8 @@ export interface Generation {
|
|
|
34
38
|
webhookUrl?: string;
|
|
35
39
|
/** The id of the project this generation is attached to, or null when it belongs to no project. Set via the projectId field on the create request. */
|
|
36
40
|
projectId?: Sync.ProjectId;
|
|
37
|
-
/** A completion-time estimate captured once when the generation is accepted. Populated only for generations created in sync's own apps, such as Sync Studio; the field is absent for generations created through the API today. */
|
|
41
|
+
/** A completion-time estimate captured once when the generation is accepted. Populated only for generations created in sync's own apps, such as Sync Studio; the field is absent for generations created through the API today. To get an expected finish time for any generation, request it with include=progress and read `progress.estimatedFinishAt`. */
|
|
38
42
|
generationEstimate?: Sync.GenerationEstimate;
|
|
39
|
-
/**
|
|
40
|
-
|
|
43
|
+
/** Render progress and expected finish. Only included when the generation is requested with include=progress. */
|
|
44
|
+
progress?: Sync.GenerationProgress;
|
|
41
45
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GenerationCountType = void 0;
|
|
7
|
+
exports.GenerationCountType = {
|
|
8
|
+
Playground: "playground",
|
|
9
|
+
Api: "api",
|
|
10
|
+
};
|
|
@@ -15,12 +15,16 @@ export interface GenerationError {
|
|
|
15
15
|
field?: string;
|
|
16
16
|
/** Link to the documentation page for the failing operation. */
|
|
17
17
|
docsUrl?: string;
|
|
18
|
+
/** Billing page for resolving a payment, plan, or allowance issue, when applicable. */
|
|
19
|
+
billingUrl?: string;
|
|
18
20
|
/** Present on unexpected 500 responses. Include it when contacting support so the failing request can be located directly. */
|
|
19
21
|
requestId?: string;
|
|
20
22
|
/** Original generation ID when available for an uncertain keyed submission or a DUPLICATE_SUBMISSION. Poll this ID; do not create another action to bypass IDEMPOTENCY_OUTCOME_UNKNOWN. */
|
|
21
23
|
generationId?: Sync.GenerationId;
|
|
22
24
|
/** For dialogue_edit_removal_too_large: the section to change, when it can be identified. Create a new dialogue edit preview before submitting again. */
|
|
23
25
|
dialogueEditSection?: Sync.DialogueEditRetimeFailureSection;
|
|
26
|
+
/** For voice_clone_pending, the pending clone ID. Poll GET /v2/voices/{voiceId} instead of submitting another clone. */
|
|
27
|
+
voiceId?: string;
|
|
24
28
|
/** For batch creation, on dialogue edit refusals only: the 1-based line of the refused record, counting non-empty JSONL lines. With a `rows` body, line N is `rows[N-1]`. Other record errors name the line only in `message`. */
|
|
25
29
|
lineNumber?: number;
|
|
26
30
|
}
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Sync from "../../../index";
|
|
5
5
|
export interface GenerationOptions {
|
|
6
|
-
/** Defines how to handle duration mismatches between video and audio inputs. Ignored for image inputs (images have no intrinsic duration). See the [Sync Mode](/developer-guides/sync-mode) guide for the full behavior matrix. */
|
|
6
|
+
/** Defines how to handle duration mismatches between video and audio inputs. Ignored for image inputs (images have no intrinsic duration). See the [Sync Mode](/docs/developer-guides/sync-mode) guide for the full behavior matrix. */
|
|
7
7
|
sync_mode?: Sync.SyncMode;
|
|
8
8
|
/** edit region for the model. only works with react-1. defaults to face, which affects lipsync + emotions in the face region. Available options are lips/face/head. When head is selected, model generates natural talking head movements along with emotions + lipsync. */
|
|
9
9
|
model_mode?: Sync.ModelMode;
|
|
10
10
|
/** Prompt for the generation. React-1 accepts emotion prompts; the appearance model accepts a free-form appearance edit instruction. */
|
|
11
11
|
prompt?: string;
|
|
12
|
-
/** Reference image URLs for appearance editing generations. */
|
|
12
|
+
/** Reference image URLs for appearance editing generations. At most 10. */
|
|
13
13
|
prompt_image_uris?: string[];
|
|
14
14
|
/** Prompt for image-to-video generation. */
|
|
15
15
|
i2v_prompt?: string;
|
|
16
16
|
/** option to control how expressive lipsync can be. 0 -> least expressive, 1 -> most expressive. default:0.5 */
|
|
17
17
|
temperature?: number;
|
|
18
|
-
/** Active speaker detection configuration.
|
|
18
|
+
/** Active speaker detection configuration. If the whole field is omitted on a supported video dubbing request, Sync enables auto-detection. When this object is present, auto_detect defaults to false unless you set it to true. Not supported for image inputs. */
|
|
19
19
|
active_speaker_detection?: Sync.ActiveSpeaker;
|
|
20
20
|
/** Whether to detect occlusion during generation, slows down generation speed. */
|
|
21
21
|
occlusion_detection_enabled?: boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Render progress for a generation read with include=progress. Progress is for display only; use `status` to decide when the generation is done. Fields that can't be read at the moment are left out rather than failing the request.
|
|
7
|
+
*/
|
|
8
|
+
export interface GenerationProgress {
|
|
9
|
+
stage: Sync.GenerationProgressStage;
|
|
10
|
+
/** Measured render progress, 0 to 100. 100 once completed. Absent until the render reports progress. */
|
|
11
|
+
percent?: number;
|
|
12
|
+
/** `percent` as a fraction, 0 to 1. Absent when `percent` is absent. */
|
|
13
|
+
fraction?: number;
|
|
14
|
+
/** Render tasks finished so far. Absent when `percent` is absent. */
|
|
15
|
+
completedTasks?: number;
|
|
16
|
+
/** Render tasks running now. Absent when `percent` is absent. */
|
|
17
|
+
runningTasks?: number;
|
|
18
|
+
/** Render tasks waiting to start. Absent when `percent` is absent. */
|
|
19
|
+
waitingTasks?: number;
|
|
20
|
+
/** Expected completion time, when available. This is an estimate, not a deadline. Absent once the generation is terminal. */
|
|
21
|
+
estimatedFinishAt?: string;
|
|
22
|
+
/** Seconds until `estimatedFinishAt`, or 0 once that time has passed or the generation completed. Absent when there is no estimate. */
|
|
23
|
+
estimatedTimeRemaining?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Coarse render stage. `queued` until the render starts its first task, then `processing`, then `completed` or `failed`.
|
|
6
|
+
*/
|
|
7
|
+
export type GenerationProgressStage = "queued" | "processing" | "completed" | "failed";
|
|
8
|
+
export declare const GenerationProgressStage: {
|
|
9
|
+
readonly Queued: "queued";
|
|
10
|
+
readonly Processing: "processing";
|
|
11
|
+
readonly Completed: "completed";
|
|
12
|
+
readonly Failed: "failed";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GenerationProgressStage = void 0;
|
|
7
|
+
exports.GenerationProgressStage = {
|
|
8
|
+
Queued: "queued",
|
|
9
|
+
Processing: "processing",
|
|
10
|
+
Completed: "completed",
|
|
11
|
+
Failed: "failed",
|
|
12
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type GenerationSource = "studio_lite" | "studio_advanced" | "studio_assistant" | "ios" | "premiere-plugin" | "resolve-plugin" | "mcp" | "chatgpt" | "claude" | "gemini" | "api";
|
|
5
|
+
export declare const GenerationSource: {
|
|
6
|
+
readonly StudioLite: "studio_lite";
|
|
7
|
+
readonly StudioAdvanced: "studio_advanced";
|
|
8
|
+
readonly StudioAssistant: "studio_assistant";
|
|
9
|
+
readonly Ios: "ios";
|
|
10
|
+
readonly PremierePlugin: "premiere-plugin";
|
|
11
|
+
readonly ResolvePlugin: "resolve-plugin";
|
|
12
|
+
readonly Mcp: "mcp";
|
|
13
|
+
readonly Chatgpt: "chatgpt";
|
|
14
|
+
readonly Claude: "claude";
|
|
15
|
+
readonly Gemini: "gemini";
|
|
16
|
+
readonly Api: "api";
|
|
17
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GenerationSource = void 0;
|
|
7
|
+
exports.GenerationSource = {
|
|
8
|
+
StudioLite: "studio_lite",
|
|
9
|
+
StudioAdvanced: "studio_advanced",
|
|
10
|
+
StudioAssistant: "studio_assistant",
|
|
11
|
+
Ios: "ios",
|
|
12
|
+
PremierePlugin: "premiere-plugin",
|
|
13
|
+
ResolvePlugin: "resolve-plugin",
|
|
14
|
+
Mcp: "mcp",
|
|
15
|
+
Chatgpt: "chatgpt",
|
|
16
|
+
Claude: "claude",
|
|
17
|
+
Gemini: "gemini",
|
|
18
|
+
Api: "api",
|
|
19
|
+
};
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* The status of the generation.
|
|
5
|
+
* The status of the generation. COMPLETED, NO_OP, FAILED and REJECTED are final. NO_OP means processing finished but no frame was lip-synced, for example because no face was detected: outputUrl is the input video unchanged (with any generated speech or dub audio), error and errorCode say why, and lip sync is not charged. For NO_OP, FAILED or REJECTED, inspect errorCode and error before retrying. Plain API generations return COMPLETED instead of NO_OP until December 17, 2026. See [Finished without lip sync](/docs/product/generation-times#finished-without-lip-sync).
|
|
6
6
|
*/
|
|
7
|
-
export type GenerationStatus = "PENDING" | "PROCESSING" | "COMPLETED" | "FAILED" | "REJECTED";
|
|
7
|
+
export type GenerationStatus = "PENDING" | "PROCESSING" | "COMPLETED" | "NO_OP" | "FAILED" | "REJECTED";
|
|
8
8
|
export declare const GenerationStatus: {
|
|
9
9
|
readonly Pending: "PENDING";
|
|
10
10
|
readonly Processing: "PROCESSING";
|
|
11
11
|
readonly Completed: "COMPLETED";
|
|
12
|
+
readonly NoOp: "NO_OP";
|
|
12
13
|
readonly Failed: "FAILED";
|
|
13
14
|
readonly Rejected: "REJECTED";
|
|
14
15
|
};
|
|
@@ -9,7 +9,7 @@ export interface Image {
|
|
|
9
9
|
type: "image";
|
|
10
10
|
/** Optional reference identifier for segment definitions. Use this when a segment needs to refer back to a specific visual input item. */
|
|
11
11
|
refId?: string;
|
|
12
|
-
/** URL of the image to be used for generation. Either `url` or `assetId` must be provided. */
|
|
12
|
+
/** Absolute HTTP or HTTPS URL of the image to be used for generation. Either `url` or `assetId` must be provided. If your organization has a configured custom output bucket, an s3:// URL in that bucket is supported. */
|
|
13
13
|
url?: string;
|
|
14
14
|
/** ID of an image asset from your media library. Either `url` or `assetId` must be provided. */
|
|
15
15
|
assetId?: Sync.AssetId;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Returned when a TikTok, Instagram, Facebook, or YouTube link in a request is still importing or is refused by the link import limits.
|
|
7
|
+
*/
|
|
8
|
+
export interface LinkImportError {
|
|
9
|
+
/** The HTTP status code. */
|
|
10
|
+
statusCode: number;
|
|
11
|
+
/** Machine-readable error code (`import_in_progress`, `concurrency_limit_reached`, or `import_daily_limit_reached`). */
|
|
12
|
+
errorCode: string;
|
|
13
|
+
/** A human-readable description of the error. */
|
|
14
|
+
message: Sync.GenerationErrorMessage;
|
|
15
|
+
/** For import_in_progress, the import of the link. */
|
|
16
|
+
importJobId?: string;
|
|
17
|
+
/** For import_in_progress, the import's current stage. */
|
|
18
|
+
importStatus?: Sync.LinkImportStatus;
|
|
19
|
+
/** For import_in_progress, download progress from 0 to 100. */
|
|
20
|
+
progress?: number;
|
|
21
|
+
/** Seconds to wait before repeating the request. Mirrors the `Retry-After` header. */
|
|
22
|
+
retryAfterSeconds?: number;
|
|
23
|
+
/** Number of link imports currently in progress. */
|
|
24
|
+
activeImports?: number;
|
|
25
|
+
/** Maximum concurrent link imports. */
|
|
26
|
+
concurrencyLimit?: number;
|
|
27
|
+
/** Maximum link imports in the daily window. */
|
|
28
|
+
dailyLimit?: number;
|
|
29
|
+
/** Number of link imports counted in the daily window. */
|
|
30
|
+
importsToday?: number;
|
|
31
|
+
/** When the daily import limit resets. */
|
|
32
|
+
resetAt?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Stage of a link import.
|
|
6
|
+
*/
|
|
7
|
+
export type LinkImportStatus = "queued" | "downloading" | "processing" | "completed" | "failed";
|
|
8
|
+
export declare const LinkImportStatus: {
|
|
9
|
+
readonly Queued: "queued";
|
|
10
|
+
readonly Downloading: "downloading";
|
|
11
|
+
readonly Processing: "processing";
|
|
12
|
+
readonly Completed: "completed";
|
|
13
|
+
readonly Failed: "failed";
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.LinkImportStatus = void 0;
|
|
7
|
+
exports.LinkImportStatus = {
|
|
8
|
+
Queued: "queued",
|
|
9
|
+
Downloading: "downloading",
|
|
10
|
+
Processing: "processing",
|
|
11
|
+
Completed: "completed",
|
|
12
|
+
Failed: "failed",
|
|
13
|
+
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
4
5
|
export interface ProjectGenerationError {
|
|
5
6
|
status?: number;
|
|
6
7
|
message: string;
|
|
7
8
|
errorCode?: string;
|
|
8
9
|
docsLink?: string;
|
|
10
|
+
/** Why processing failed, when known. A shorter or smaller input may succeed after out_of_memory. */
|
|
11
|
+
reason?: Sync.ProjectGenerationErrorReason;
|
|
9
12
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ProjectGenerationErrorReason = void 0;
|
|
7
|
+
exports.ProjectGenerationErrorReason = {
|
|
8
|
+
OutOfMemory: "out_of_memory",
|
|
9
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Sync from "../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* Request to cut one lipsync segment from a matched speaker's face track. Frames are counted from the start of the source file at fps.
|
|
7
|
+
*/
|
|
8
|
+
export interface SliceSpeakerFaceTrackRequest {
|
|
9
|
+
/** The revision of the transcription job. */
|
|
10
|
+
revision: string;
|
|
11
|
+
/** Id of a matched speaker. */
|
|
12
|
+
speakerId: string;
|
|
13
|
+
/** First frame of the segment. */
|
|
14
|
+
startFrame: number;
|
|
15
|
+
/** Frame after the last frame of the segment. Must be greater than startFrame. */
|
|
16
|
+
endFrame: number;
|
|
17
|
+
/** Frame rate of your source frame grid. */
|
|
18
|
+
fps: number;
|
|
19
|
+
/** Frames inside the segment that its footage no longer holds, for example because a cut removed them. Must lie strictly inside the segment. */
|
|
20
|
+
skip?: Sync.SpeakerFaceTrackSliceFrames;
|
|
21
|
+
}
|