videosphere
    Preparing search index...
    • Truncates TTS input at a sentence/word boundary when over the API limit.

      Parameters

      • text: string

        Raw caption text.

      • maxChars: number = GCP_TTS_MAX_INPUT_CHARS

        Maximum characters to keep.

      Returns string

      Safe synthesize input.