Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-py

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install azure-speech-to-text-rest-py in Claude Code

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

A

No 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 →

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.

azure-speech-to-text-rest-py Install

Add to stack

Loading.