LWT JavaScript API
    Preparing search index...
    • Read text aloud using an external API service. Makes a fetch request to an external TTS service and plays the returned audio.

      Parameters

      • text: string

        Text to be read aloud

      • voice_api: string

        JSON string containing fetch request configuration

      • lang: string

        Language code for the text

      Returns void