Agent SkillsNoizAI/skills › speech-to-text

speech-to-text

GitHub

提供音频转录技能,支持将语音转换为文本。具备多语言自动检测、时间戳生成及说话人识别功能,适用于提取音频或视频文件中的 spoken words 及字幕生成需求。

skills/speech-to-text/SKILL.md NoizAI/skills

触发场景

transcribe / transcript / transcription speech to text / STT / audio to text what does this audio say / convert audio 转录 / 语音转文字 / 识别音频

安装

npx skills add NoizAI/skills --skill speech-to-text -g -y
更多选项

不安装直接使用

npx skills use NoizAI/skills@speech-to-text

指定 Agent (Claude Code)

npx skills add NoizAI/skills --skill speech-to-text -a claude-code -g -y

安装 repo 全部 skill

npx skills add NoizAI/skills --all -g -y

预览 repo 内 skill

npx skills add NoizAI/skills --list

SKILL.md

Frontmatter
{
    "name": "speech-to-text",
    "metadata": {
        "openclaw": {
            "primaryEnv": "NOIZ_API_KEY"
        }
    },
    "description": "Use this skill whenever the user wants to transcribe audio to text, convert speech to text, or get a transcript from an audio or video file. Triggers include: any mention of 'transcribe', 'transcription', 'speech to text', 'STT', 'convert audio to text', 'what does this audio say', 'get transcript', 'subtitle generation', or requests to extract spoken words from a file. Also use when the user wants speaker identification from audio, timestamps for captions, or multilingual transcription.",
    "permissions": [
        "network",
        "filesystem"
    ]
}

speech-to-text

Transcribe any audio file to text. Supports multilingual auto-detection, timestamps, and speaker labels.

Triggers

  • transcribe / transcript / transcription
  • speech to text / STT / audio to text
  • what does this audio say / convert audio
  • 转录 / 语音转文字 / 识别音频

Quick Start

# Transcribe with auto language detection
python3 skills/speech-to-text/scripts/stt.py audio.mp3

# Specify language explicitly
python3 skills/speech-to-text/scripts/stt.py interview.wav --language en

# Save transcript to file
python3 skills/speech-to-text/scripts/stt.py podcast.m4a -o transcript.txt

# Output full JSON (with timestamps and speaker labels)
python3 skills/speech-to-text/scripts/stt.py meeting.wav --json -o result.json

Arguments

Argument Default Description
file required Audio file to transcribe (mp3, wav, m4a, ogg, flac, aac, webm). Max 50 MB, max 10 min.
--language / -l auto-detect BCP-47 language code (e.g. en, zh, ja). Omit to auto-detect.
--output / -o stdout Path to save transcript text (or JSON if --json is set).
--json off Output full JSON response with timestamps and speaker labels.
--api-key from env/config Noiz API key (overrides stored key).

Output Format

Without --json, only the transcript text is printed:

Hello, welcome to today's podcast. We have a special guest joining us...

With --json, the full structured response is printed:

{
  "language": "en",
  "transcript": "Hello, welcome to today's podcast...",
  "duration": 42.5,
  "segments": [
    {"text": "Hello, welcome to today's podcast.", "start": 0.0, "end": 3.2, "spk": 0},
    {"text": "We have a special guest joining us.", "start": 3.5, "end": 6.1, "spk": 0}
  ]
}

Supported Languages

Common codes: en (English), zh (Chinese), ja (Japanese), ko (Korean), es (Spanish), fr (French), de (German), pt (Portuguese), ru (Russian), ar (Arabic). Omit --language to auto-detect.

Configuration

# Save your API key once
python3 skills/speech-to-text/scripts/stt.py config --set-api-key YOUR_KEY

# Or set via environment variable
export NOIZ_API_KEY=YOUR_KEY

Get your API key at developers.noiz.ai.

Pricing

Billed at $0.0006 per second of audio. A 10-minute file costs ~$0.36. New accounts include 10,000 free TTS characters; STT is billed separately.

Security & data disclosure

  • Credential storage: API key is saved to ~/.config/noiz/api_key (permissions 0600). NOIZ_API_KEY env var is also supported.
  • Network calls: The audio file is uploaded to https://noiz.ai/v1/speech-to-text for transcription. No data is sent until you run the command.
  • File limits: Max 50 MB per file, max 10 minutes (600 seconds) of audio.

Requirements

版本历史

  • 2a0e09d 当前 2026-07-25 11:56

同 Skill 集合

skills/chat-with-anyone/SKILL.md
skills/daily-news-caster/SKILL.md
skills/template-skill/SKILL.md
skills/video-translation/SKILL.md
skills/characteristic-voice/SKILL.md
skills/sound-fx/SKILL.md
skills/tts/SKILL.md

元信息

文件数
0
版本
2a0e09d
Hash
f6f5d1b9
收录时间
2026-07-25 11:56

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-31 22:00
浙ICP备14020137号-1 $访客地图$