界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

whisper

whisper

【效率与协作】Whisper. Transcribe audio with support for 50+ languages, diarization, and word-level chunks. Triggers: transcription, speech to text, audio transcribe, whisper, subtitles

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: whisper description: "Whisper. Transcribe audio with support for 50+ languages, diarization, and word-level chunks. Triggers: transcription, speech to text, audio transcribe, whisper, subtitles" allowed-tools: Bash(curl *), WebFetch

Whisper

Transcribe audio files using the Whisper large model. Supports 50+ languages, optional speaker diarization, word/segment-level chunking, and translation to English. Built on the Whisper large v3 variant.

Quick Start

Requires an each::labs API key. Get one at eachlabs.ai.

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "whisper",
    "version": "0.0.1",
    "input": {
      "audio_url": "https://example.com/podcast.mp3",
      "task": "transcribe",
      "language": "en",
      "chunk_level": "segment"
    }
  }'

Parameters

ParameterTypeDefaultDescription
audio_urlstring-URL of the audio file to transcribe. Supported formats: mp3, mp4, mpeg, mpga, m4a, wav, webm.
batch_sizeinteger64Batch size for processing.
chunk_levelstringsegmentLevel of chunks to return. Options: none, segment, word
diarizebooleanfalseWhether to diarize the audio file. Setting to true adds speaker labels.
languagestring-Language of the audio file. Supports 50+ language codes (e.g., en, es, fr, de, ja, zh).
num_speakersinteger-Number of speakers in the audio file. If not provided, auto-detected.
promptstring-Prompt to use for generation.
taskstringtranscribeTask to perform. Options: transcribe, translate
versionstring3Version of the model to use. Options: 3

Examples

Basic transcription:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "whisper",
    "version": "0.0.1",
    "input": {
      "audio_url": "https://example.com/meeting-recording.mp3"
    }
  }'

Word-level transcription with diarization:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "whisper",
    "version": "0.0.1",
    "input": {
      "audio_url": "https://example.com/interview.wav",
      "chunk_level": "word",
      "diarize": true,
      "num_speakers": 2,
      "language": "en"
    }
  }'

Translate foreign audio to English:

curl -X POST https://api.eachlabs.ai/v1/prediction \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $EACHLABS_API_KEY" \
  -d '{
    "model": "whisper",
    "version": "0.0.1",
    "input": {
      "audio_url": "https://example.com/german-lecture.mp3",
      "task": "translate",
      "language": "de",
      "chunk_level": "segment"
    }
  }'

Related Models

Documentation

我的收藏