Today we’re launching the Sonix CLI — a free, fast command-line tool that puts the entire Sonix workflow at your fingertips. Upload media, pull transcripts, run translations and summaries, and manage your account, all from short commands you can run by hand, drop into a script, or wire into CI. It’s the whole Sonix API, wrapped in a single tool called sonix.
The best part is how easy it is to get started. Install once, and go from a raw recording to finished subtitles on disk in three lines:
npm install -g @sonix-ai/cli
sonix config set api-key sk_live_xxxxxxxx
sonix media create ./interview.mp3 --language en --wait
sonix transcript get <media-id> --format srt > captions.srt That’s an upload, a transcription, and finished SRT subtitles on disk — no glue code.
Under the hood, sonix handles everything the raw API would otherwise make you wire up yourself:
sonix media create ./big-recording.mov just works.--wait to any job and the CLI blocks until it’s done, then prints the result. No more hand-rolled polling loops.Everything is built to pipe. Results go to standard output, diagnostics go to standard error, and --json gives you the raw API response on any command — so sonix media list --json | jq and sonix transcript get … > file stay clean. The full command and flag reference lives in the Sonix CLI docs.
The CLI has a second audience: AI coding agents like Claude Code or Codex. Instead of loading a big tool schema into the model’s context, an agent can shell out to sonix — one cheap command, a clean exit code, done.
sonix agent-context # the entire command surface as JSON, in one call
sonix setup claude # installs a ready-made Sonix skill for Claude Code If you’d rather have your assistant reach into Sonix conversationally — “find my interview with Dr. Patel and pull the three biggest takeaways” — that’s what our MCP server is for. The CLI is the other half of that story: for when you (or an agent) want deterministic, scriptable commands you can trust in a pipeline.
sonix media create at a folder of interviews and lets a script upload and transcribe the whole batch overnight.The Sonix CLI is free and open source (MIT), runs on Node 20+, and installs in seconds:
npm install -g @sonix-ai/cli
# or, without installing:
npx @sonix-ai/cli media list Grab your API key from my.sonix.ai/api, run sonix config set api-key <key>, and you’re off. The full command and flag reference lives in our CLI docs, and sonix --help is always one keystroke away.
We’re excited to see what you automate with it. As always, drop us a line if you’ve got feedback, hit a snag, or want to tell us what you’d love to see next.
Comprehensive data compiled from extensive research on podcast transcription market growth, AI adoption, and content…
Sonix has built the world's first AudioText Editor™ and it now works seamlessly with Adobe…
Automated transcription is the process of converting spoken audio or video content into written text…
Speaker diarization is an AI-powered process that automatically identifies and labels different speakers in audio…
We ran the Yanny vs Laurel audio file through Sonix AI engine and here is…
Zoom transcription is the process of converting spoken content from Zoom meetings into written text,…
This website uses cookies.