import type * as core from "../../../../../core"; import type * as ElevenLabs from "../../../../index"; /** * @example * {} */ export interface BodyDubAVideoOrAnAudioFileV1DubbingPost { /** A list of file paths to audio recordings intended for voice cloning */ file?: core.file.Uploadable | undefined; /** CSV file containing transcription/translation metadata */ csvFile?: core.file.Uploadable | undefined; /** For use only with csv input */ foregroundAudioFile?: core.file.Uploadable | undefined; /** For use only with csv input */ backgroundAudioFile?: core.file.Uploadable | undefined; /** Name of the dubbing project. */ name?: string; /** URL of the source video/audio file. */ sourceUrl?: string; /** Source language. Expects a valid iso639-1 or iso639-3 language code. */ sourceLang?: string; /** The Target language to dub the content into. Expects a valid iso639-1 or iso639-3 language code. */ targetLang?: string; /** [Experimental] An accent to apply when selecting voices from the library and to use to inform translation of the dialect to prefer. */ targetAccent?: string; /** Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers */ numSpeakers?: number; /** Whether to apply watermark to the output video. */ watermark?: boolean; /** Start time of the source video/audio file. */ startTime?: number; /** End time of the source video/audio file. */ endTime?: number; /** Whether to use the highest resolution available. */ highestResolution?: boolean; /** An advanced setting. Whether to drop background audio from the final dub. This can improve dub quality where it's known that audio shouldn't have a background track such as for speeches or monologues. */ dropBackgroundAudio?: boolean; /** [BETA] Whether transcripts should have profanities censored with the words '[censored]' */ useProfanityFilter?: boolean; /** Whether to prepare dub for edits in dubbing studio or edits as a dubbing resource. */ dubbingStudio?: boolean; /** Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library. Voices used from the library will contribute towards a workspace's custom voices limit, and if there aren't enough available slots the dub will fail. Using this feature requires the caller to have the 'add_voice_from_voice_library' permission on their workspace to access new voices. */ disableVoiceCloning?: boolean; /** The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use. Note that manual mode is experimental and production use is strongly discouraged. */ mode?: ElevenLabs.DubbingCreateRequestMode; /** Frames per second to use when parsing a CSV file for dubbing. If not provided, FPS will be inferred from timecodes. */ csvFps?: number; }