Overview of Baidu Speech REST API Demos
masterThis repository provides implementation examples for Baidu Speech REST APIs, specifically covering Speech Recognition (ASR) and Speech Synthesis (TTS).
Because these are REST APIs accessed via HTTP, they are platform-agnostic and can be used with any operating system or programming language capable of making HTTP requests.
Key Capabilities:
- Speech Recognition (ASR): Converts audio input to text.
- Speech Synthesis (TTS): Converts text input to synthesized speech.
Important Note on CORS:
Baidu Speech Synthesis (TTS) interfaces support Cross-Origin Resource Sharing (CORS), allowing for browser-based requests. However, the interface used to obtain the access token does not support CORS. For browser-based TTS examples, refer to the dedicated repository: https://github.com/Baidu-AIP/SPEECH-TTS-CORS.