openai-whisper-api

Transcribe local audio files to text via OpenAI's Whisper API using curl.

4|2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/0xKobold/0xkobolds --skill openai-whisper-api-0xkobold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openai-whisper-api
Source: https://github.com/0xKobold/0xkobolds/tree/main/skills/openai-whisper-api
Command: npx skills add https://github.com/0xKobold/0xkobolds --skill openai-whisper-api-0xkobold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, and includes scripts (resource) components.

What problem does it solve?

Transcribes audio to text by sending audio files to OpenAI's Whisper API via curl, enabling quick and accurate transcripts without manual typing.

Core Features & Use Cases

  • Transcribes audio to text using OpenAI's Whisper
  • Supports configurable model, language, and prompt for better accuracy
  • Suitable for integrating transcription into workflows, chatbots, or media processing pipelines

Quick Start

Run the transcription script with your audio file, for example {baseDir}/scripts/transcribe.sh /path/to/audio.m4a.

Frequently Asked Questions about openai-whisper-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I transcribe an audio file to text using the OpenAI Whisper API?

To transcribe audio to text, run the provided transcription script with your local audio file path. The script sends a multipart form data request to the OpenAI Whisper API via curl, returning either plain text or JSON transcripts based on your configuration.

What do I need to send audio transcription requests via curl?

You need curl installed and a valid OPENAI_API_KEY environment variable. The script sends audio files as multipart form data to the api.openai.com endpoint to generate accurate text transcripts without manual typing.

Can I configure the language and model for OpenAI Whisper audio transcription?

Yes, the audio transcription process supports configurable model selection, language specification, and custom prompts. These options are passed via curl to the OpenAI API to improve transcription accuracy for your specific audio files.

What audio transcription output formats does the OpenAI API script support?

The script supports outputting either plain text or JSON transcripts from the OpenAI Whisper API. You can configure the output format to integrate the resulting transcription into your workflows, chatbots, or media processing pipelines.

Does the Whisper API transcription script work with local audio files?

Yes, the transcription script is designed to process local audio files. You pass the local file path as an argument to the script, which then handles the multipart upload to the OpenAI API via curl.

Why use curl to send audio to the OpenAI Whisper API instead of other tools?

Using curl to send multipart form data to the Whisper API provides a lightweight, dependency-free method for audio transcription. It enables quick integration into shell scripts and automated media processing pipelines without requiring heavy SDKs.