Visit ComfyUI Online for ready-to-use ComfyUI environment
Transcribe audio to text with high accuracy using OpenAI's Whisper model for subtitles, interviews, and voice notes.
The openai_whisper
node is designed to transcribe audio files into text using OpenAI's Whisper model. This node is particularly useful for converting spoken language into written text, making it an invaluable tool for tasks such as creating subtitles, transcribing interviews, or generating text from voice notes. By leveraging the powerful Whisper model, this node ensures high accuracy and reliability in transcription, providing you with clear and precise text outputs from your audio inputs. The node is easy to use and integrates seamlessly with other components, allowing you to automate and streamline your transcription workflows.
This parameter is a boolean that determines whether the node is active or not. When set to True
, the node will process the audio input and generate a transcription. If set to False
, the node will not perform any action. The default value is True
.
This parameter accepts an audio file that you want to transcribe. The audio file should be in a format that is compatible with the Whisper model, such as WAV or MP3. The node will read this file and use it as the input for the transcription process.
This optional parameter allows you to specify the base URL for the OpenAI API. If not provided, the node will use the default URL https://api.openai.com/v1/
. This parameter is useful if you need to point to a different API endpoint.
This optional parameter is used to provide your OpenAI API key. If not provided, the node will attempt to load the API key from the environment variables. This key is essential for authenticating your requests to the OpenAI API.
The output parameter text
contains the transcribed text from the provided audio file. This text is generated by the Whisper model and represents the spoken content of the audio input in written form. The output is a string that you can use for further processing or display.
base_url
parameter if you need to connect to a custom OpenAI API endpoint.api_key
to authenticate your requests and avoid errors related to missing or invalid API keys.api_key
parameter or by setting the appropriate environment variable.base_url
parameter is correctly set to a valid OpenAI API endpoint.© Copyright 2024 RunComfy. All Rights Reserved.