Whisper - Translate Audio to English with API
Overviewβ
First time using this Blueprint? Make sure you follow our Whisper authorization guide.β
This Blueprint takes in an audio file and translate it to English.
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
API Key | WHISPER_API_KEY | Password | β | - | - | API Key from OpenAI |
Audio File | WHISPER_FILE | Alphanumeric | β | - | - | The audio file that you would like to translate to English |
Transcription File Name | WHISPER_DESTINATION_FILE_NAME | Alphanumeric | β | - | - | The name of the text file where the transcription will go |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: Whisper - Translate Audio to English with API
inputs:
WHISPER_API_KEY: null ## REQUIRED
WHISPER_FILE: null ## REQUIRED
WHISPER_DESTINATION_FILE_NAME: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'