Skip to content

SDKs and tools

Command line tool

shihab-asr: transcribe files and stream your microphone from a terminal.

Install

The CLI ships with the Python package:

Terminal
pip install "shihab-asr[mic]"
export SHIHAB_API_KEY=shk_live_...

Transcribe files

Terminal
shihab-asr transcribe call.m4a                     # plain text
shihab-asr transcribe call.m4a --numerals          # digits instead of number words
shihab-asr transcribe call.m4a --json              # the full JSON response
shihab-asr transcribe call.m4a --srt -o call.srt   # subtitles (or --vtt)
shihab-asr transcribe long.mp3 --async             # async job, waits for the result

Stream

Terminal
shihab-asr stream --mic          # live microphone
shihab-asr stream call.wav       # stream a file in real time (--fast skips the pacing)

stream FILE reads 16-bit WAV directly and converts other formats with ffmpeg when it is installed.

Balance and usage

Terminal
shihab-asr balance
shihab-asr usage --start 2026-10-01 --granularity day
shihab-asr models

Need help? Email [email protected] or message us on WhatsApp.