Whisper - Transcribe Audio with API
Overviewβ
This Blueprint takes in a audio file and transcribes it to a text file.
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
API Key | WHISPER_API_KEY | Password | β | - | - | API Key from OpenAI |
File to Transcribe | WHISPER_FILE | Alphanumeric | β | - | - | The filename you wish to transcribe |
Transcription File Name | WHISPER_DESTINATION_FILE_NAME | Alphanumeric | β | transcription.txt | - | File name of transcription |
Language | WHISPER_LANGUAGE | Alphanumeric | β | en | - | Language of the audio file. Should be in ISO-639-1 format. |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Whisper - Transcribe Audio with API
inputs:
WHISPER_API_KEY: null ## REQUIRED
WHISPER_FILE: null ## REQUIRED
WHISPER_DESTINATION_FILE_NAME: transcription.txt ## REQUIRED
WHISPER_LANGUAGE: en ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'