Custom TTS Reader 作者: BassGaming
TTS implementation for the OpenAI api format. It can probably be used for any OpenAI api compliant service but its made for remsky/Kokoro-FastAPI. Click 'Read Selected Text' in the context menu after highlighting text.
扩展元数据
屏幕截图
关于此扩展
Do you have your own OpenAI-compatible Speech endpoint running and want to use it in Firefox?
This is a TTS implementation for the OpenAI API format. It can probably be used for any OpenAI api compliant service but its made for remsky/Kokoro-FastAPI.
Click 'Read Selected Text' in the context menu after highlighting text.
Instructions:
- You can change the API URL, API key, speed and voice by clicking the extension icon in the toolbar.
- If no checkbox is checked, it will generate the audio sentence by sentence during playback.
- The streaming mode is the prefered way of using the extension.
- The download mode will provide an mp3 file.
Since you can host your own speech endpoint, privacy and accessibility are as good as the service you're running.
Github: https://github.com/BassGaming/customtts
Personally I recommend using Kokoro FastAPI in a docker container:
https://github.com/remsky/Kokoro-FastAPI/
Android:
To read text: Mark text -> click the three option dots -> Extensions -> Custom TTS Reader
To access settings: Click the three option dots -> Extensions -> Extension Manager -> Custom TTS Reader -> Settings
Credits:
Winor for refactoring the code, improving the UI and more.
sagesound for improving the non-streaming logic.
rampadc for fixing the streaming code.
Note:
This is just a quick implementation since I couldn't find a similar extension where you could use your own API endpoint anywhere. Feel free to improve it... or not
This is a TTS implementation for the OpenAI API format. It can probably be used for any OpenAI api compliant service but its made for remsky/Kokoro-FastAPI.
Click 'Read Selected Text' in the context menu after highlighting text.
Instructions:
- You can change the API URL, API key, speed and voice by clicking the extension icon in the toolbar.
- If no checkbox is checked, it will generate the audio sentence by sentence during playback.
- The streaming mode is the prefered way of using the extension.
- The download mode will provide an mp3 file.
Since you can host your own speech endpoint, privacy and accessibility are as good as the service you're running.
Github: https://github.com/BassGaming/customtts
Personally I recommend using Kokoro FastAPI in a docker container:
https://github.com/remsky/Kokoro-FastAPI/
Android:
To read text: Mark text -> click the three option dots -> Extensions -> Custom TTS Reader
To access settings: Click the three option dots -> Extensions -> Extension Manager -> Custom TTS Reader -> Settings
Credits:
Winor for refactoring the code, improving the UI and more.
sagesound for improving the non-streaming logic.
rampadc for fixing the streaming code.
Note:
This is just a quick implementation since I couldn't find a similar extension where you could use your own API endpoint anywhere. Feel free to improve it... or not
评分 4.3(1 位用户)
权限与数据
更多信息