• Preparing search index...
  • The search index is not available
@google/genai
  • @google/genai
  • gaos/funcs/voices-list
  • voicesList

Function voicesList

  • voicesList(
        client: GoogleGenAICore,
        api_version?: string,
        accent?: string[],
        contexts?: string[],
        gender?: string[],
        language_code?: string[],
        page_size?: number,
        page_token?: string,
        persona?: string[],
        pitch?: string[],
        region_code?: string[],
        search?: string,
        type?: string[],
        options?: Omit<RequestOptions, "extra_body">,
    ): APIPromise<
        Result<
            ListVoicesResponse,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    Lists custom stored voices owned by the caller (ordered newest first) followed by prebuilt system voices from Google's voice catalog.

    Parameters

    • client: GoogleGenAICore
    • Optionalapi_version: string
    • Optionalaccent: string[]
    • Optionalcontexts: string[]
    • Optionalgender: string[]
    • Optionallanguage_code: string[]
    • Optionalpage_size: number
    • Optionalpage_token: string
    • Optionalpersona: string[]
    • Optionalpitch: string[]
    • Optionalregion_code: string[]
    • Optionalsearch: string
    • Optionaltype: string[]
    • Optionaloptions: Omit<RequestOptions, "extra_body">

    Returns APIPromise<
        Result<
            ListVoicesResponse,
            | UnexpectedClientError
            | InvalidRequestError
            | RequestAbortedError
            | RequestTimeoutError
            | ConnectionError
            | GoogleGenAiError,
        >,
    >

    • Defined in src/gaos/funcs/voices-list.ts:38

Settings

@google/genai
  • Loading...

Generated using TypeDoc