Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A unified interface for multiple Text-to-Speech (TTS) providers.
Provider | Requirements |
---|---|
Edge-TTS | - |
OpenAI TTS | api_key : OpenAI API key |
Azure TTS | speech_key : Azure Speech service keyspeech_region : Azure Speech service region |
Google TTS | Enable the Text-to-Speech API in the Google Cloud Console Set env var GOOGLE_APPLICATION_CREDENTIALS as the path to the service account key file |
Volcengine TTS(火山引擎) | access_key : Volcengine access key ID. (Get it here)secret_key : Volcengine access secret key. (Get it here)app_key : Volcengine app key |
Baidu TTS | api_key : Baidu API keysecret_key : Baidu secret keyBoth can be acquired at the console |
Minimax TTS | api_key : Minimax API keygroup_id : Minimax group IDBoth can be acquired at the Minimax console |
迅飞 TTS | app_id : Xunfei APP IDapi_key : Xunfei API keyapi_secret : Xunfei API secret |
Fish Audio | api_key : Fish Audio API key |
Tetos requires Python 3.8 or higher.
pip install tetos
tetos PROVIDER [PROVIDER_OPTIONS] TEXT [--output FILE]
Please run tetos --help
for available providers and options.
Examples
tetos google "Hello, world!"
tetos azure "Hello, world!" --output output.mp3 # save to another file
tetos edge --lang zh-CN "你好,世界!" # specify language
tetos openai --voice echo "Hello, world!" # specify voice
Use Azure TTS as an example:
from tetos.azure import AzureSpeaker
speaker = AzureSpeaker(speech_key='...', speech_region='...')
speaker.say('Hello, world!', 'output.mp3')
The initialization parameters may be different for other providers.
TeTos respects the proxy environment variables HTTP_PROXY
, HTTPS_PROXY
, ALL_PROXY
and NO_PROXY
.
FAQs
Unified interface for multiple Text-to-Speech (TTS) providers
We found that tetos demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.