mh-openai-whisper-api
بواسطة mohdalhashemi98-hue
AI & LLMsموجز
Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
الوصف
ما الذي تفعله هذه المهارة
Transcribes audio files by sending them to OpenAI's Whisper API endpoint. Supports multiple audio formats, language hints, speaker prompts, and JSON or plain text output.
Uses OpenAI's hosted Whisper model via a single curl call, so no local model setup or GPU is needed.
متى تستخدمها
- Transcribing recorded meetings or interviews
- Converting voice memos to text
- Generating subtitles from audio clips
- Transcribing podcast episodes
- Extracting text from language learning recordings
مثال على سير العمل
User asks: transcribe my interview recording at /recordings/interview.m4a with speaker names Peter and Daniel
- 1
Receives audio file path and speaker context
- 2
Calls transcribe.sh with --prompt flag set to 'Speaker names: Peter, Daniel'
- 3
Sends multipart form request to /v1/audio/transcriptions with whisper-1 model
- 4
Writes transcript to interview.m4a.txt in the same directory
Plain text transcript saved to /recordings/interview.m4a.txt
المتطلبات
- OPENAI_API_KEY environment variable
التثبيت
clawhub install mohdalhashemi98-hue/mh-openai-whisper-apiشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.