---
id: sm-speech-to-text
name: "speech-to-text"
url: https://skills.yangsir.net/skill/sm-speech-to-text
author: inferen-sh
domain: multimedia
tags: ["speech-recognition", "asr-(automatic-speech-recognition)", "voice-ai", "transcription", "natural-language-processing"]
install_count: 6851
rating: 4.50 (274 reviews)
github: https://github.com/inferen-sh/skills
---

# speech-to-text

> 利用inference.sh API，为代理提供语音转文本功能。

**Stats**: 6,851 installs · 4.5/5 (274 reviews)

## Before / After 对比

### 语音转文本准确率与效率对比

| Metric | Before | After | Change |
|---|---|---|---|
| - | - | - | - |
| - | - | - | - |
| - | - | - | - |

## Readme

# speech-to-text

# Speech-to-Text

Transcribe audio to text via [inference.sh](https://inference.sh) CLI.

## Quick Start

Requires inference.sh CLI (`infsh`). [Install instructions](https://raw.githubusercontent.com/inference-sh/skills/refs/heads/main/cli-install.md)

```
infsh login

infsh app run infsh/fast-whisper-large-v3 --input '{"audio_url": "https://audio.mp3"}'

```

## Available Models

Model
App ID
Best For

ElevenLabs Scribe v2
`elevenlabs/stt`
98%+ accuracy, diarization, 90+ languages

Fast Whisper V3
`infsh/fast-whisper-large-v3`
Fast transcription

Whisper V3 Large
`infsh/whisper-v3-large`
Highest accuracy

## Examples

### Basic Transcription

```
infsh app run infsh/fast-whisper-large-v3 --input '{"audio_url": "https://meeting.mp3"}'

```

### With Timestamps

```
infsh app sample infsh/fast-whisper-large-v3 --save input.json

# {
#   "audio_url": "https://podcast.mp3",
#   "timestamps": true
# }

infsh app run infsh/fast-whisper-large-v3 --input input.json

```

### Translation (to English)

```
infsh app run infsh/whisper-v3-large --input '{
  "audio_url": "https://french-audio.mp3",
  "task": "translate"
}'

```

### From Video

```
# Extract audio from video first
infsh app run infsh/video-audio-extractor --input '{"video_url": "https://video.mp4"}' > audio.json

# Transcribe the extracted audio
infsh app run infsh/fast-whisper-large-v3 --input '{"audio_url": "<audio-url>"}'

```

## Workflow: Video Subtitles

```
# 1. Transcribe video audio
infsh app run infsh/fast-whisper-large-v3 --input '{
  "audio_url": "https://video.mp4",
  "timestamps": true
}' > transcript.json

# 2. Use transcript for captions
infsh app run infsh/caption-videos --input '{
  "video_url": "https://video.mp4",
  "captions": "<transcript-from-step-1>"
}'

```

## Supported Languages

Whisper supports 99+ languages including:
English, Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Arabic, Hindi, Russian, and many more.

## Use Cases

- **Meetings**: Transcribe recordings

- **Podcasts**: Generate transcripts

- **Subtitles**: Create captions for videos

- **Voice Notes**: Convert to searchable text

- **Interviews**: Transcription for research

- **Accessibility**: Make audio content accessible

## Output Format

Returns JSON with:

- `text`: Full transcription

- `segments`: Timestamped segments (if requested)

- `language`: Detected language

## Related Skills

```
# ElevenLabs STT (98%+ accuracy, diarization)
npx skills add inference-sh/skills@elevenlabs-stt

# ElevenLabs TTS (reverse direction)
npx skills add inference-sh/skills@elevenlabs-tts

# Full platform skill (all 150+ apps)
npx skills add inference-sh/skills@infsh-cli

# Text-to-speech (reverse direction)
npx skills add inference-sh/skills@text-to-speech

# Video generation (add captions)
npx skills add inference-sh/skills@ai-video-generation

# AI avatars (lipsync with transcripts)
npx skills add inference-sh/skills@ai-avatar-video

```

Browse all audio apps: `infsh app list --category audio`

## Documentation

- [Running Apps](https://inference.sh/docs/apps/running) - How to run apps via CLI

- [Audio Transcription Example](https://inference.sh/docs/examples/audio-transcription) - Complete transcription guide

- [Apps Overview](https://inference.sh/docs/apps/overview) - Understanding the app ecosystem

Weekly Installs4.6KRepository[inferen-sh/skills](https://github.com/inferen-sh/skills)GitHub Stars159First Seen6 days agoSecurity Audits[Gen Agent Trust HubPass](/inferen-sh/skills/speech-to-text/security/agent-trust-hub)[SocketPass](/inferen-sh/skills/speech-to-text/security/socket)[SnykFail](/inferen-sh/skills/speech-to-text/security/snyk)Installed onclaude-code3.5Kgemini-cli3.3Kcodex3.3Kamp3.3Kgithub-copilot3.3Kkimi-cli3.3K

---
*Source: https://skills.yangsir.net/skill/sm-speech-to-text*
*Markdown mirror: https://skills.yangsir.net/api/skill/sm-speech-to-text/markdown*