Speech Provider - v0.1.4
    Preparing search index...

    Function getVoiceProvider

    • Get the appropriate voice provider based on available API keys.

      Parameters

      • options: { cacheMaxAge?: number; elevenLabsApiKey?: null | string }

        Configuration options for the voice provider

        • OptionalcacheMaxAge?: number

          Maximum age of cached responses in seconds (default: 1 hour)

        • OptionalelevenLabsApiKey?: null | string

          API key for Eleven Labs (if available)

      Returns VoiceProvider

      A voice provider instance