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

openrouter-stt

Skill by OpenRouterTeam

Transcribes audio to text using OpenRouter's speech-to-text API. Gives the assistant a curl-based workflow for the transcriptions endpoint, with examples in bash, TypeScript and Python. Useful for transcripts from recordings, meetings or video audio.

  • Score 73
  • 340 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install openrouter-stt

Built from the published package, never by AI.

git clone --depth 1 https://github.com/OpenRouterTeam/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/openrouter-stt ~/.claude/skills/openrouter-stt

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

Step-by-step: install openrouter-stt in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The openrouter-stt skill transcribes speech to text through OpenRouter's speech-to-text API. It sends audio with a POST request to /api/v1/audio/transcriptions using curl, and the skill tells the assistant to stop and ask for the user's key if OPENROUTER_API_KEY is not set. The request body is JSON with base64 audio under input_audio, not the multipart format used by OpenAI's endpoint, so the OpenAI SDK should not be pointed at it.

The response includes the transcript in text and a usage object with cost, plus seconds or token counts depending on how the provider prices the request. The skill also explains how to list transcription models, choose an audio format, pass provider-specific options, and handle common errors. It includes ready-to-run bash, TypeScript and Python examples. It suits developers and assistant users who need transcripts from recordings, meetings or video audio.

Written from the project's SKILL.md and checked against it.

What it can do

  • Transcribe audioSends base64 audio to the transcriptions endpoint and returns the transcript in text.
  • Discover STT modelsLists transcription models by filtering the models endpoint with output_modalities=transcription.
  • Choose audio formatGuides the format field for wav, mp3, flac, m4a, ogg, webm and aac.
  • Set language and temperatureAccepts an optional ISO-639-1 language code and a temperature from 0 to 1.
  • Pass provider optionsForwards provider-specific keys under provider.options when that provider handles the request.
  • Report usageReads the cost and either seconds or token counts from the response usage object.
  • Troubleshoot errorsCovers garbled output, invalid base64, ZodError responses, 413 errors and model not found.

What you need

  • OpenRouter API key set as OPENROUTER_API_KEY
  • curl
  • jq (used in the bash script)
  • Node.js for the TypeScript example
  • Python with the requests package for the Python example

Try asking

  • Transcribe meeting.wav and give me the text.
  • List the OpenRouter speech-to-text models I can use.
  • Caption the audio track of this video as a transcript.

Good to know

  • Not OpenAI-compatible: the body is JSON with base64 audio, not multipart form data.
  • Base64 adds about 33% to file size, so large files can hit request size limits (413).
  • Provider options are only forwarded when that provider handles the request.
  • The format field must match the actual audio bytes or the result may be garbled.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/openrouter-stt/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to openrouter-stt

All alternatives →

Compare with intelligence-vocabulary, media-use or media_library

openrouter-stt: common questions

Does this work with the OpenAI SDK?

No. The skill says the endpoint is not OpenAI-compatible and the SDK would send the wrong request shape. Use curl, fetch or requests directly.

Which audio formats are supported?

wav, mp3, flac, m4a, ogg, webm and aac are listed. Support varies by provider, and the format must match the file's actual container or codec.

Is the language detected automatically?

Yes, the language is auto-detected when the language field is omitted. An ISO-639-1 code such as en or ja can be set instead.

How do I install openrouter-stt?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is openrouter-stt free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is openrouter-stt safe to use?

It scores 73 of 100. Grades: maintenance A, licence F, quality B. 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 openrouter-stt?

Similar skills: intelligence-vocabulary, media-use, media_library, speak-summary.

openrouter-stt Install

Add to stack

Loading.