azure-speech-to-text
O que ela faz
Esta skill transcreve áudio e vídeo em texto com o Azure AI Speech. Ela é para quem produz vídeos e escreve textos e precisa de legendas, subtítulos ou uma cópia escrita da fala.
Quando usar
- ✓Quando você precisa de uma transcrição escrita de um arquivo de áudio ou vídeo.
- ✓Quando você quer legendas com tempos por palavra.
- ✓Quando você quer uma transcrição na nuvem que funcione mais rápido que uma ferramenta local.
Link da skill
https://github.com/calesthio/OpenMontage/blob/main/.agents/skills/azure-speech-to-text/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Transcreva esta gravação de entrevista e me dê legendas com os tempos.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente envia o arquivo de áudio ao serviço de fala do Azure e recebe o texto com os tempos de cada palavra. Ele também pode identificar o idioma e separar os falantes. Uma ferramenta de transcrição local é usada quando o Azure não está configurado.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Azure AI Speech — Speech-to-Text
Transcribe audio to text with Azure Fast Transcription — synchronous,
word-level timestamps, speaker diarization, and multi-language identification.
In OpenMontage this is exposed through the azure_stt tool (capability=analysis,
provider=azure). It is an optional cloud STT provider — when
AZURE_SPEECH_KEY is configured, prefer it for cloud transcription. The local
transcriber tool (faster-whisper) remains the default offline path and the
fallback when Azure is unavailable.
Why Fast Transcription (not Batch)
Azure exposes three STT surfaces. OpenMontage uses Fast Transcription because the pipeline transcribes local audio files:
| Surface | Input | Latency | Needs |
|---|---|---|---|
| Fast Transcription (used here) | local file, multipart POST | synchronous, sub-real-time | key + region |
| Batch Transcription | audio at a URL (Blob + SAS) | async job + polling | Blob storage plumbing |
Speech SDK (spx) |
mic / stream / file | streaming | native azure-cognitiveservices-speech package |
Fast Transcription needs no Blob storage, no SAS URLs, and no native SDK — just
requests and the two env vars.
Setup
Create a Speech resource in the Azure portal; copy the key and region from its Keys and Endpoint page.
export AZURE_SPEECH_KEY=your_speech_resource_key
export AZURE_SPEECH_REGION=eastus # your resource's region
# export AZURE_SPEECH_ENDPOINT=https://... # optional: overrides region
azure_stt reports AVAILABLE once AZURE_SPEECH_KEY plus either
AZURE_SPEECH_REGION or AZURE_SPEECH_ENDPOINT are set.
Using it in a pipeline
Prefer azure_stt over transcriber unless the run must be offline. Its output
matches the transcriber schema exactly, so it is a drop-in for subtitle_gen
and any stage that consumes a transcript.
from tools.tool_registry import registry
registry.discover()
stt = registry._tools["azure_stt"]
result = stt.execute({
"input_path": "projects/my-video/assets/audio/narration.mp3",
# "language": "en", # ISO 639-1 or BCP-47 ("en-US"); omit for auto-ID
# "diarize": True, # speaker labels, no HuggingFace token needed
# "max_speakers": 4,
"output_dir": "projects/my-video/artifacts",
})
if result.success:
segs = result.data["segments"] # [{id,start,end,text,words:[...]}]
words = result.data["word_timestamps"] # flat [{word,start,end,probability}]
If azure_stt is unavailable (no key) or errors, fall back to transcriber
(local whisper) — its execute signature and output are identical.
Parameters that matter
language— pass an ISO code ("en") or a full locale ("en-US"). Pin it when you know the language; it is faster and more accurate than auto-ID.candidate_locales— whenlanguageis omitted, Azure runs language identification across this shortlist. Narrow it to the languages you actually expect; a huge list slows detection and invites misclassification.diarize/max_speakers— enable for multi-speaker audio (interviews, podcasts). Setmax_speakersto the real upper bound.profanity_filter—None|Masked(default) |Removed|Tags.
Response shape (mapped to the transcriber schema)
The raw Azure response (phrases[] with offsetMilliseconds / words[]) is
converted to seconds and the OpenMontage transcript schema:
{
"segments": [
{"id": 0, "start": 0.0, "end": 2.4, "text": "Hello world",
"speaker": 1,
"words": [{"word": "Hello", "start": 0.0, "end": 0.5, "probability": 0.98}]}
],
"word_timestamps": [{"word": "Hello", "start": 0.0, "end": 0.5, "probability": 0.98}],
"language": "en-US",
"duration_seconds": 2.4,
"provider": "azure"
}
Note: Fast Transcription has no per-word confidence, so each word carries the
phrase confidence in probability.
Limits & tips
- Single file up to ~2 hours / a few hundred MB per request. For longer or bulk jobs, use Azure Batch Transcription instead.
- Send clean audio (16 kHz+ mono is plenty). Transcode video to audio first if you only need speech — smaller upload, same result.
- Veri
Perguntas frequentes
O que preciso configurar?
Você precisa de uma chave e uma região do Azure Speech definidas no seu ambiente.
Existe uma opção offline?
Sim. Uma ferramenta de transcrição local é o caminho offline padrão quando o Azure não está configurado.
Ela lida com mais de um falante?
Sim. O serviço pode separar os falantes na transcrição.
Detalhes
Descrição original do autor
Transcribe audio to text using Azure AI Speech (Fast Transcription REST API). Use when converting audio/video to text, generating subtitles, or processing spoken content in OpenMontage. Optional cloud STT provider — preferred when AZURE_SPEECH_KEY is configured; the local faster-whisper `transcriber` is the default offline path.
repo: calesthio/OpenMontage
Popularidade
- Estrelas no GitHub
- 75 mil
- Posição no ranking
- #2640
- Licença
- AGPL-3.0
- Atualizada em
- 28/10/2026
Comentários
- …
Mais skills deste repositório
3d-asset-generation
75 milAjuda seu agente a escolher como criar objetos 3D para uma cena, usando catálogos, ferramentas de texto ou imagem para 3D e o Blender para a montagem final.
acestep
75 milAjuda seu agente a criar músicas de fundo, canções, jingles e stems para um vídeo usando o gerador de música aberto ACE-Step.
agents
75 milAjuda seu agente a construir assistentes de voz com IA usando o ElevenLabs, como bots de atendimento ao cliente e personagens de voz interativos.
ai-video-gen
75 milAjuda seu agente a gerar clipes de vídeo com IA a partir de uma descrição em texto ou de uma imagem de referência, escolhendo entre vários serviços de geração.
Skills parecidas
openai-whisper-api
394 milPermite que seu agente transforme uma gravação de áudio em texto usando o serviço de transcrição da OpenAI, com opções de identificação de falantes e arquivos de saída.
openai-whisper
394 milAjuda seu agente a transcrever áudio no seu próprio computador com o comando Whisper, sem chave de API e sem envio para a nuvem.
sag
394 milAjuda seu agente a ler textos em voz alta com vozes da ElevenLabs e tocar o resultado no seu computador, com dicas de pronúncia e entonação.