# text2audio **Repository Path**: novame/text2audio ## Basic Information - **Project Name**: text2audio - **Description**: 使用百度语音合成创建一个文本转语音的小网站 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-12-08 - **Last Updated**: 2023-12-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 文字转语音小网站 这个使用百度的语音合成 api,使用 js 写的一个简单的小工具, 由于 access_token 需要 30 天更换一次。所以访问的时候可能无法使用。 目前支持中英文和语音包选择。 ### 获取 token 链接 ``` "https://openapi.baidu.com/oauth/2.0/token?grant_type=client_credentials&client_id=api_key&client_secret=Secret Key" ```