telnyx-stt

TotalClaw 作者 totalclaw

使用 Telnyx Speech-to-Text API 将音频文件转录为文本。当您需要将录音、语音消息或语音内容转换为文本时使用。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~teamtelnyx-telnyx-stt
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~teamtelnyx-telnyx-stt/file -o teamtelnyx-telnyx-stt.md
## 概述(中文)

使用 Telnyx Speech-to-Text API 将音频文件转录为文本。当您需要将录音、语音消息或语音内容转换为文本时使用。

## 原文

# Telnyx Speech-to-Text

Transcribe audio files to text using the Telnyx STT API (powered by Whisper).

## Usage

To transcribe an audio file, run:

```bash
{baseDir}/scripts/telnyx-stt.py /path/to/audio.mp3
```

The script outputs the transcribed text to stdout.

## Supported Formats

- MP3
- WAV
- OGG
- M4A
- WebM

## Example

```bash
{baseDir}/scripts/telnyx-stt.py /tmp/voice-message.ogg
```

Output:
```
Hello, this is a test transcription.
```

## Environment

Requires `TELNYX_API_KEY` environment variable to be set.