Skip to main content

Whisper - Transcribe Audio with API

Overview​

This Blueprint takes in a audio file and transcribes it to a text file.

Variables​

NameReferenceTypeRequiredDefaultOptionsDescription
API KeyWHISPER_API_KEYPasswordβœ…--API Key from OpenAI
File to TranscribeWHISPER_FILEAlphanumericβœ…--The filename you wish to transcribe
Transcription File NameWHISPER_DESTINATION_FILE_NAMEAlphanumericβœ…transcription.txt-File name of transcription
LanguageWHISPER_LANGUAGEAlphanumericβœ…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'