import type * as core from "../../../../../core"; import type * as ElevenLabs from "../../../../index"; /** * @example * { * name: "name" * } */ export interface BodyCreatesAudioNativeEnabledProjectV1AudioNativePost { /** Project name. */ name: string; /** (Deprecated) Image URL used in the player. If not provided, default image set in the Player settings is used. */ image?: string; /** Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used. */ author?: string; /** Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used. */ title?: string; /** (Deprecated) Whether to use small player or not. If not provided, default value set in the Player settings is used. */ small?: boolean; /** Text color used in the player. If not provided, default text color set in the Player settings is used. */ textColor?: string; /** Background color used in the player. If not provided, default background color set in the Player settings is used. */ backgroundColor?: string; /** (Deprecated) Specifies for how many minutes to persist the session across page reloads. If not provided, default sessionization set in the Player settings is used. */ sessionization?: number; /** Voice ID used to voice the content. If not provided, default voice ID set in the Player settings is used. */ voiceId?: string; /** TTS Model ID used in the player. If not provided, default model ID set in the Player settings is used. */ modelId?: string; /** Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</p><h3>More of your content</h3><p>Some more of your content</p></div></body></html>' */ file?: core.file.Uploadable | undefined; /** Whether to auto convert the project to audio or not. */ autoConvert?: boolean; /** * This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'. * When set to 'auto', the system will automatically decide whether to apply text normalization * (e.g., spelling out numbers). With 'on', text normalization will always be applied, while * with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English. * */ applyTextNormalization?: ElevenLabs.AudioNativeCreateRequestApplyTextNormalization; /** A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'. */ pronunciationDictionaryLocators?: string[]; }