// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface FallbackInworldVoice {
    /** This is the flag to toggle voice caching for the assistant. */
    cachingEnabled?: boolean | undefined;
    /**
     * Available voices by language:
     * • en: Alex, Ashley, Craig, Deborah, Dennis, Edward, Elizabeth, Hades, Julia, Pixie, Mark, Olivia, Priya, Ronald, Sarah, Shaun, Theodore, Timothy, Wendy, Dominus, Hana, Clive, Carter, Blake, Luna
     * • zh: Yichen, Xiaoyin, Xinyi, Jing
     * • nl: Erik, Katrien, Lennart, Lore
     * • fr: Alain, Hélène, Mathieu, Étienne
     * • de: Johanna, Josef
     * • it: Gianni, Orietta
     * • ja: Asuka, Satoshi
     * • ko: Hyunwoo, Minji, Seojun, Yoona
     * • pl: Szymon, Wojciech
     * • pt: Heitor, Maitê
     * • es: Diego, Lupita, Miguel, Rafael
     * • ru: Svetlana, Elena, Dmitry, Nikolai
     * • hi: Riya, Manoj
     * • he: Yael, Oren
     * • ar: Nour, Omar
     */
    voiceId: Vapi.FallbackInworldVoiceVoiceId;
    /** This is the model that will be used. */
    model?: Vapi.FallbackInworldVoiceModel | undefined;
    /** Language code for Inworld TTS synthesis */
    languageCode?: Vapi.FallbackInworldVoiceLanguageCode | undefined;
    /**
     * A floating point number between 0, exclusive, and 2, inclusive. If equal to null or not provided, the model's default temperature of 1.1 will be used. The temperature parameter controls variance.
     * Higher values will make the output more random and can lead to more expressive results. Lower values will make it more deterministic.
     * See https://docs.inworld.ai/docs/tts/capabilities/generating-audio#additional-configurations for more details.
     */
    temperature?: number | undefined;
    /**
     * A floating point number between 0.5, inclusive, and 1.5, inclusive. If equal to null or not provided, the model's default speaking speed of 1.0 will be used.
     * Values above 0.8 are recommended for higher quality.
     * See https://docs.inworld.ai/docs/tts/capabilities/generating-audio#additional-configurations for more details.
     */
    speakingRate?: number | undefined;
    /** This is the plan for chunking the model output before it is sent to the voice provider. */
    chunkPlan?: Vapi.ChunkPlan | undefined;
}
