360 Secure SkillHub
360 安全技能中心

Venice Transcribe

该 Skill 通过 uv 运行 Python 脚本,读取本地音频文件并调用 Venice AI 的 Whisper 类语音识别接口,返回转录文本,可选择是否附带词/段级时间戳,支持 JSON 或纯文本输出并保存到文件,需配置 Venice AI 的 API 密钥环境变量。

sabrinaaquino
sabrinaaquino
热度 62.41
最近更新 2026-02-26 07:15:41
分类:效率依赖:代码执行 / 第三方 API / 读写文件应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add venice-transcribe
Metadata
name
venice-transcribe
description
Transcribe audio to text using Venice AI's Whisper-based speech recognition. Supports WAV, MP3, FLAC, M4A, AAC formats with optional timestamps.
homepage
https://venice.ai
metadata
{"openclaw":{"emoji":"🎤","requires":{"bins":["uv"],"env":["VENICE_API_KEY"]},"primaryEnv":"VENICE_API_KEY","install":[{"id":"uv-brew","kind":"brew","formula":"uv","bins":["uv"],"label":"Install uv (brew)"}]}}

Venice Transcribe

Transcribe audio files to text using Venice AI's speech recognition (Whisper-based).

API Base URL: https://api.venice.ai/api/v1 Documentation: docs.venice.ai

Setup

  1. Get your API key from venice.ai → Settings → API Keys
  2. Set the environment variable:
export VENICE_API_KEY="your_api_key_here"

Transcribe Audio

Convert audio files to text.

uv run {baseDir}/scripts/transcribe.py --file recording.mp3

Options:

  • --file (required): Audio file path
  • --output: Save transcription to file (default: prints to stdout)
  • --model: ASR model (default: openai/whisper-large-v3)
  • --format: Output format: json or text (default: json)
  • --timestamps: Include word/segment timestamps
  • --language: Language hint (ISO 639-1 code, e.g., en, es, fr)

Supported audio formats:

  • WAV, WAVE
  • MP3
  • FLAC
  • M4A, AAC
  • MP4 (audio track)

Examples

Basic transcription:

uv run {baseDir}/scripts/transcribe.py --file meeting.mp3

Get just the text (no JSON):

uv run {baseDir}/scripts/transcribe.py --file audio.wav --format text

With timestamps:

uv run {baseDir}/scripts/transcribe.py --file podcast.mp3 --timestamps

Spanish audio with language hint:

uv run {baseDir}/scripts/transcribe.py --file spanish.mp3 --language es

Save to file:

uv run {baseDir}/scripts/transcribe.py --file interview.mp3 --output transcript.json

Output Format

JSON format (default):

{
  "text": "Hello, this is a transcription test.",
  "duration": 3.5
}

JSON with timestamps:

{
  "text": "Hello world",
  "duration": 2.1,
  "timestamps": {
    "word": [
      {"word": "Hello", "start": 0.0, "end": 0.5},
      {"word": "world", "start": 0.6, "end": 1.0}
    ],
    "segment": [
      {"text": "Hello world", "start": 0.0, "end": 1.0}
    ]
  }
}

Text format:

Hello, this is a transcription test.

Runtime Note

This skill uses uv run which automatically installs Python dependencies (httpx) via PEP 723 inline script metadata. No manual Python package installation required - uv handles everything.


API Reference

Endpoint Description Method
/audio/transcriptions Transcribe audio to text POST (multipart)

Full API docs: docs.venice.ai