Skip to main content

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​

NameReferenceTypeRequiredDefaultOptionsDescription
API KeyWHISPER_API_KEYPasswordβœ…--API Key from OpenAI
Audio FileWHISPER_FILEAlphanumericβœ…--The audio file that you would like to translate to English
Transcription File NameWHISPER_DESTINATION_FILE_NAMEAlphanumericβœ…--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'