openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > MH openai-whisper-api

Transcribe audio via OpenAI Audio Transcriptions API (Whisper).

媒体与内容

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 300 · 0 current installs · 0 all-time installs

0

安装量(当前) 0

🛡 VirusTotal :良性 · OpenClaw :良性

Package:mh-openai-whisper-api

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

This skill is internally consistent: it simply uploads a local audio file to OpenAI's /v1/audio/transcriptions endpoint using curl and an OPENAI_API_KEY.

目的

Name/description, required binary (curl), required env var (OPENAI_API_KEY), and provided script all align with a Whisper transcription client that calls OpenAI's audio/transcriptions API.

说明范围

SKILL.md and the script only instruct uploading a provided audio file to api.openai.com and writing the response to a local file. The README suggests an alternate place to store the API key (~/.openclaw/openclaw.json) for user convenience, but the script itself only reads OPENAI_API_KEY from the environment. There are no instructions to read arbitrary system files or send data to other endpoints.

安装机制

Instruction-only skill with no install spec and a small helper script; no downloads or extraction steps. This is low-risk from an install perspective.

证书

Only OPENAI_API_KEY is required, which is appropriate for calling OpenAI's API. No other credentials, system config paths, or unrelated environment variables are requested. The key is used directly in an Authorization header to call OpenAI — expected behavior.

持久

The skill is not always-enabled and does not request elevated or persistent system privileges. It does not modify other skills or system configuration.

综合结论

This skill simply uploads a local audio file to OpenAI's transcription endpoint using curl and your OPENAI_API_KEY. Before installing, consider: (1) Privacy — your audio is sent to OpenAI; don't upload sensitive audio unless you're comfortable with OpenAI's handling and retention policies. (2) Keep your OPENAI_API_KEY secret and revoke it if compromised. (3) The SKILL.md mentions storing a key in ~/.openclaw/openclaw.json for convenience, but …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「MH openai-whisper-api」。简介:Transcribe audio via OpenAI Audio Transcriptions API (Whisper).。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/mohdalhashemi98-hue/mh-openai-whisper-api/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: openai-whisper-api
description: Transcribe audio via OpenAI Audio Transcriptions API (Whisper).
homepage: https://platform.openai.com/docs/guides/speech-to-text
metadata:
  {
    "openclaw":
      {
        "emoji": "☁️",
        "requires": { "bins": ["curl"], "env": ["OPENAI_API_KEY"] },
        "primaryEnv": "OPENAI_API_KEY",
      },
  }
---

# OpenAI Whisper API (curl)

Transcribe an audio file via OpenAI’s `/v1/audio/transcriptions` endpoint.

## Quick start

```bash
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a
```

Defaults:

- Model: `whisper-1`
- Output: `<input>.txt`

## Useful flags

```bash
{baseDir}/scripts/transcribe.sh /path/to/audio.ogg --model whisper-1 --out /tmp/transcript.txt
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --language en
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --prompt "Speaker names: Peter, Daniel"
{baseDir}/scripts/transcribe.sh /path/to/audio.m4a --json --out /tmp/transcript.json
```

## API key

Set `OPENAI_API_KEY`, or configure it in `~/.openclaw/openclaw.json`:

```json5
{
  skills: {
    "openai-whisper-api": {
      apiKey: "OPENAI_KEY_HERE",
    },
  },
}
```