
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
node-red-contrib-speech-to-text-ubos
Advanced tools
The speech to text API provides two endpoints, transcriptions and translations, based on our state-of-the-art open source large-v2 Whisper model.
The speech to text API provides two endpoints, transcriptions and translations, based on our state-of-the-art open source large-v2 Whisper model.
Install with the built in Node-RED Palette manager or using npm:
npm install node-red-contrib-speech-to-text-ubos
When editing the nodes properties, to get your OPENAI_API_KEY
visit https://platform.openai.com/account/api-keys click "+ Create new secret key" then copy and paste the "API key" into the nodes API_KEY
property value.
To get your Organization
visit https://platform.openai.com/account/org-settings then copy and paste the "OrganizationID" into the nodes Organization
property value.
Only whisper-1 is currently available.
msg.OPENAI_API_KEY
: This is the API key provided by OpenAI. It is necessary for authentication when making requests to the OpenAI API.When msg.type
is set to transcriptions
:
msg.file
: The audio file object (not file name) to transcribe, in one of these formats mp3, mp4, ,mpeg, mpga, m4a, wav, or webm. For example msg.file = {
"value": msg.req.files[0].buffer,
"options": {
"filename": msg.req.files[0].originalname
}
};
msg.prompt
: An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.
msg.response_format
: The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
msg.temperature
: The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.
msg.language
: The language of the input audio. Supplying the input language in ISO-639-1 format will improve accuracy and latency.
When msg.type
is set to translations
:
msg.file
: The audio file object (not file name) to transcribe, in one of these formats mp3, mp4, ,mpeg, mpga, m4a, wav, or webm. For example msg.file = {
"value": msg.req.files[0].buffer,
"options": {
"filename": msg.req.files[0].originalname
}
};
msg.prompt
: An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.
msg.response_format
: The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.
msg.temperature
: The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.
Please report any issues or feature requests at GitHub.
FAQs
The speech to text API provides two endpoints, transcriptions and translations, based on our state-of-the-art open source large-v2 Whisper model.
The npm package node-red-contrib-speech-to-text-ubos receives a total of 11 weekly downloads. As such, node-red-contrib-speech-to-text-ubos popularity was classified as not popular.
We found that node-red-contrib-speech-to-text-ubos demonstrated a not healthy version release cadence and project activity because the last version was released 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.