OpenAI Transcribe
This skill uses aivault to always keep your API keys safe.
Setup
Install aivault if it is not already available:
bash
curl -fsSL https://aivault.moldable.sh/install.sh | sh
Store your OpenAI API key in aivault. The credential and all openai/* capabilities are auto-provisioned from the built-in registry.
bash
aivault secrets create --name OPENAI_API_KEY --value "sk-..." --scope global
This skill uses openai/transcription.
Quick start
bash
npx -y tsx {baseDir}/scripts/transcribe.ts /path/to/audio.m4a
Common examples
bash
npx -y tsx {baseDir}/scripts/transcribe.ts /path/to/audio.wav
npx -y tsx {baseDir}/scripts/transcribe.ts /path/to/audio.wav --json
Notes
- •Capability id is hard-coded to
openai/transcription. - •Default model sent to upstream is
whisper-1. - •The script uses
aivault jsonso upstream JSON is parsed/validated by aivault; without--jsonit prints just the extracted transcript text.