Text-to-Speech Reader

Read selected text using OpenAI TTS API

Tính đến 31-05-2024. Xem phiên bản mới nhất.

Tác giả
snailyp
Đánh giá
0 0 0
Phiên bản
1.0
Đã tạo
31-05-2024
Đã cập nhật
31-05-2024
Size
8 KB
Giấy phép
MIT
Áp dụng cho
Tất cả trang web

一个基于openai api驱动的tts浏览器小工具

## 功能说明
1. 支持第三方api调用
2. 支持选择不同的voice
3. 支持缓存和缓存清理
4. 支持任意网站使用(受到github的CSP策略的影响,在github上不能正常使用tts模型,所以在github上改成了调用系统默认语音)


## 使用说明
1. 配置baseUrl,默认`https://api.openai.com`
2. 配置apikey
3. 配置voice,默认使用onyx

具体配置,如下图:
![](https://cdn.linux.do/uploads/default/original/3X/9/8/98e3d285dc12122bb276eb5793aea41363eeac74.png)

## Tips
如果同一个语句没有声音,点击Clear TTS Cache,清理一下缓存。
![](https://cdn.linux.do/uploads/default/original/3X/3/f/3f953803339abc794e40c473c8d0a1afeab24843.png)

## 结语
如果对你有帮助的话,欢迎点赞分享~