azure-speech-to-text-rest-py
Skill by sickn33
Azure Speech to Text REST API skill transcribes audio files up to 60 seconds using plain Python HTTP requests, without the Speech SDK. It is for developers who need simple speech recognition on Azure.
Install azure-speech-to-text-rest-py
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-speech-to-text-rest-py ~/.claude/skills/azure-speech-to-text-rest-pyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install azure-speech-to-text-rest-py in Claude Code
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/skills/azure-speech-to-text-rest-py ~/.gemini/antigravity-cli/skills/azure-speech-to-text-rest-pyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install azure-speech-to-text-rest-py in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The azure-speech-to-text-rest-py skill shows how to send short audio files to the Azure Speech to Text REST API and read back a transcript. It uses plain HTTP requests with the requests library, so the Speech SDK is not needed. The skill covers WAV PCM 16 kHz mono and OGG OPUS input, subscription key and bearer token authentication, and simple or detailed response formats. Detailed results include NBest entries with Display text and a confidence score.
Audio is limited to 60 seconds, and pronunciation assessment to 30 seconds. The API returns final results only, with no partial output. The skill lists longer audio, real-time streaming, speech translation, custom models and batch jobs as cases for the Speech SDK or Batch Transcription API. It is aimed at developers who need simple speech recognition in Python on Azure. The examples send audio to Azure, so check data handling and the endpoint before use.
Written from the project's SKILL.md and checked against it.
What it can do
- Short audio transcriptionSends WAV or OGG audio files to the Azure REST endpoint and returns recognized text.
- Detailed resultsReturns NBest entries with Display text, ITN, Lexical form and a confidence score.
- Chunked transferStreams audio in chunks to reduce latency, as described in the source.
- Bearer token authenticationGets a short-lived access token from the Azure token endpoint for requests.
- Profanity handlingMasks, removes or keeps profanity using the profanity query parameter.
- Async versionShows an aiohttp-based version of the transcription call.
- Error handlingMaps HTTP status codes 400, 401 and 403 to messages and checks RecognitionStatus values.
What you need
- Azure subscription
- Azure Speech resource with a key and region
- AZURE_SPEECH_KEY and AZURE_SPEECH_REGION environment variables
- Python with the requests library
Try asking
- Transcribe my 30-second en-US WAV file using the Azure Speech REST API
- Show me how to get a bearer token for Azure Speech to Text
- Write a Python function that returns detailed NBest results for a short OGG clip
Good to know
- Audio must be 60 seconds or less; pronunciation assessment is limited to 30 seconds.
- Only final results are returned; partial or interim results are not supported.
- Longer audio, real-time streaming, translation and batch jobs require the Speech SDK or Batch Transcription API.
- Examples send audio and reference text to Azure, so confirm the data transfer and retention scope first.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/azure-speech-to-text-rest-py/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
UPSTREAM-LICENSE.txt1 KB -
UPSTREAM-NOTICE.md2 KB -
references/pronunciation-assessment.md8 KB
Alternatives to azure-speech-to-text-rest-py
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
azure-speech-to-text-rest-py: common questions
What is the maximum audio length for this Azure Speech REST API?
The source says the REST API handles short audio up to 60 seconds. For pronunciation assessment the limit is 30 seconds.
Does this skill need the Azure Speech SDK?
No. The source says the skill uses plain HTTP requests and does not require the Speech SDK.
Which audio formats does it support?
The source lists WAV with PCM at 16 kHz mono as recommended, and OGG with OPUS at 16 kHz mono.
How do I install azure-speech-to-text-rest-py?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is azure-speech-to-text-rest-py free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is azure-speech-to-text-rest-py safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to azure-speech-to-text-rest-py?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
