TTS API Endpoints

  1. /tts?t=[text]&v=[voice]&r=[rate]&p=[pitch]&o=[outputFormat] Try it (GET)
  2. /tts (POST with JSON body: {"text": "...", "voice": "...", "rate": ..., "pitch": ..., "format": "...", "preview": false/true})
  3. /voices?l=[locale, e.g., zh|zh-CN]&f=[format, 0/1/empty] Try it (GET)

Note: This service uses a potentially unstable method to get the Azure TTS endpoint and token. For production use, consider standard Azure authentication.