Skip to content

Powershell script for simple usage OpenAI Whisper Speech to Text calling OpenAI API.

Notifications You must be signed in to change notification settings

asterixix/whisper-transcriber-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

OpenAI Whisper Transcriber Script

This is Powershell script (bash version during setup) for simple usage OpenAI Whisper Speech to Text calling OpenAI API (Requiered: own API key and added money to your OpenAI API account).

How to Use This Script

  • Save this script as Whisper-Transcribe.ps1
  • Open PowerShell and navigate to the directory containing the script (or in explorer use RMB and choose "Open in Powershell")
  • Run the script: .\Whisper-Transcribe.ps1
  • Enter your OpenAI API key when prompted (option to save API key for future usage)
  • Select the MP3 file you want to transcribe from the file dialog
  • The script will transcribe the audio and save the result as a text file in the same folder with the same name as the MP3 file

Notes

  • You need an OpenAI API key with access to the Whisper API
  • This script handles only (for now) MP3 files (can be modified for other formats)
  • The transcribed text will be saved in the same directory as the MP3 file with a .txt extension
  • The script uses the default Whisper-1 model

License and Contribution

Feel free to change, pull request, fork and do what you want.

About

Powershell script for simple usage OpenAI Whisper Speech to Text calling OpenAI API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published