Open source · macOS 26 · Apple silicon オープンソース・macOS 26・Apple シリコン

Your Mac's speech recognition, as a local API. Mac の音声認識を、
ローカル API に。

Dictable API is a menu bar app that serves Apple's on-device speech model over an OpenAI-compatible HTTP API and live WebSocket streaming. Free, offline, and private: audio never leaves your Mac.

Dictable API は、macOS 標準のオンデバイス音声認識を OpenAI 互換の HTTP API と WebSocket のリアルタイム配信 で使えるようにするメニューバーアプリです。無料・オフラインで動き、音声は Mac の外に出ません。

MIT licenseMIT ライセンス · No API key, no GPU, no billAPI キー・GPU・料金 不要 · Zero dependencies外部ライブラリなし
LIVE Streaming transcriptionリアルタイム文字起こし ws://127.0.0.1:8082/v1/stream
~1 s to the first words while someone is still speaking 話している途中で最初の文字が出るまで
~0.2 s from the end of a sentence to its final text 文が終わってから確定するまで
1.4 s to transcribe a 24-second clip on a MacBook Air 24 秒の音声ファイルの文字起こし(MacBook Air)
0 dependencies. HTTP and WebSocket built on Network.framework 外部ライブラリ。HTTP と WebSocket を自前で実装
FEATURES

Everything the OS can hear, available to any tool. OS の音声認識を、どんなツールからでも。

macOS 26 ships a fast, accurate on-device speech model, but only Swift apps can use it. Dictable API makes it available to Python, JavaScript, curl, browser extensions, and anything else that speaks HTTP. macOS 26 には高速で正確なオンデバイス音声認識が入っていますが、使えるのは Swift で作ったアプリだけです。Dictable API を使えば、Python・JavaScript・curl・ブラウザ拡張など、HTTP を話せるものなら何からでも使えます。

Drop-in OpenAI APIOpenAI API と互換

Same request format as /v1/audio/transcriptions. Change base_url and existing code keeps working./v1/audio/transcriptions と同じ形式です。base_url を変えるだけで既存のコードが動きます。

Live streamingリアルタイム配信

Send PCM over a WebSocket. Get partial text while people talk, and final sentences with timestamps.PCM を WebSocket で送ると、話している途中の文字と、時刻付きの確定した文が返ってきます。

Private and offlineプライベート・オフライン

Recognition runs on your Mac's Neural Engine. Meetings and voice notes never touch a cloud API.認識は Mac の中で行われます。会議の音声やメモがクラウドに送られることはありません。

Subtitles included字幕形式に対応

json, text, verbose_json with segments, srt, and vtt, all ready for video editors.json・text・区間付きの verbose_json・srt・vtt を出力できます。動画編集にもそのまま使えます。

Safe on localhostlocalhost でも安全

Binds to 127.0.0.1 only, blocks DNS rebinding, and refuses requests from websites you happen to have open.127.0.0.1 だけで待ち受け、DNS リバインディングを防ぎ、閲覧中の Web サイトからのアクセスを拒否します。

Lives in your menu barメニューバーに常駐

Copy the endpoints, watch live activity, change the port, and start automatically at login.接続先のコピー、処理の様子の確認、ポートの変更、ログイン時の自動起動ができます。

USAGE

Change one line. 変えるのは 1 行だけ。

Point the official OpenAI SDK at your Mac, or stream audio from anything that can open a WebSocket. 公式の OpenAI SDK の接続先を Mac に向けるだけ。WebSocket を開けるものなら何からでも音声を流せます。

  • Any audio file.どんな音声ファイルでも。 wav, m4a, mp3, aiff, caf… whatever AVFoundation reads.wav・m4a・mp3・aiff・caf など、AVFoundation で読めるものなら何でも。
  • Dozens of languages.多くの言語に対応。 English, Japanese, German, French, Spanish, Korean, Chinese and more. macOS downloads each model the first time you use it.英語・日本語・ドイツ語・フランス語・スペイン語・韓国語・中国語など。各言語のモデルは初回に macOS が自動で入れます。
  • Any sample rate.サンプルレートは自由。 Send 16-bit mono PCM at the rate you have; Dictable API converts it.手元の 16bit モノラル PCM をそのまま送れば、Dictable API が変換します。
from openai import OpenAI

client = OpenAI(
    base_url="http://127.0.0.1:8082/v1",  # ← the only change
    api_key="not-needed",
)

with open("meeting.m4a", "rb") as f:
    result = client.audio.transcriptions.create(
        model="apple-on-device",
        file=f,
        language="ja",
        response_format="verbose_json",
    )

for s in result.segments:
    print(f"[{s.start:6.2f}s] {s.text}")
ARCHITECTURE

How it works仕組み

A small Swift server on 127.0.0.1 translates between web protocols and Apple's SpeechAnalyzer framework. 127.0.0.1 で動く小さな Swift のサーバーが、Web の通信と Apple の SpeechAnalyzer フレームワークの間を取り持ちます。

Your codeあなたのコード

  • OpenAI SDK, curl
  • Browser extensionsブラウザ拡張
  • Scripts, apps, agentsスクリプト・アプリ・エージェント
HTTP · WS

Dictable API · 127.0.0.1:8082

  • HTTP/1.1 + WebSocket (RFC 6455)HTTP/1.1 と WebSocket(RFC 6455)
  • multipart upload parsingアップロードされたファイルの解析
  • Host / Origin checksHost・Origin の確認
  • PCM resamplingPCM のサンプルレート変換
on-device

macOS 26

  • SpeechAnalyzer
  • SpeechTranscriber
  • Models managed by the OSモデルは OS が管理
API

Small, documented surface小さく、わかりやすい API

Base URL http://127.0.0.1:8082. Errors use OpenAI's {"error": {...}} shape. The full reference is in the README. ベース URL は http://127.0.0.1:8082。エラーは OpenAI と同じ {"error": {...}} の形です。詳しくは README を参照してください。

EndpointWhat it does内容
POST /v1/audio/transcriptionsTranscribe a file. Fields: file, language, response_format.ファイルを文字起こし。file・language・response_format を指定。
WS /v1/streamLive transcription: send PCM, receive partial and final messages.リアルタイム文字起こし。PCM を送ると partial と final が返る。
GET /v1/localesSupported languages, and those already downloaded.対応している言語と、ダウンロード済みの言語。
GET /v1/modelsThe single model id, apple-on-device.モデル ID(apple-on-device のみ)。
GET /healthLiveness check and version.稼働確認とバージョン。
INSTALL

Running in a minute1 分で動かせます

Requires macOS 26 (Tahoe) or later on Apple silicon. macOS 26(Tahoe)以降、Apple シリコンの Mac が必要です。

Downloadダウンロード

Get the latest DictableAPI.zip from GitHub Releases and unzip it.GitHub の Releases から最新の zip を入手して展開します。

Move & open移動して開く

Drag Dictable API.app to Applications and open it. Because the app is not notarized, macOS blocks the first launch: go to System Settings → Privacy & Security and click Open Anyway.Dictable API.app をアプリケーションフォルダへ移して開きます。公証を受けていないため初回は止められるので、システム設定 → プライバシーとセキュリティ で このまま開く を押します。

Call the APIAPI を呼ぶ

A waveform icon appears in the menu bar. Copy the endpoint and point your code at it.メニューバーに波形のアイコンが出ます。接続先をコピーして、コードから呼び出します。

FAQ

Questionsよくある質問

Does any audio leave my Mac?音声が Mac の外に送られることはありますか?

No. Recognition uses the on-device model, and the server only listens on 127.0.0.1. The only network traffic is macOS downloading a language model the first time you use that language.ありません。認識は Mac 内のモデルで行い、サーバーは 127.0.0.1 でしか待ち受けません。通信が発生するのは、ある言語を初めて使うときに macOS がモデルをダウンロードする場合だけです。

How does it compare to Whisper?Whisper と比べてどうですか?

Accuracy is similar for everyday speech. Dictable API is much faster on a laptop, has nothing to download or tune, and streams partial results natively. Whisper can auto-detect the language; Dictable API needs you to pass one.日常の会話なら精度は同程度です。ノート PC では Dictable API の方がずっと速く、モデルの準備や調整も要らず、話している途中の結果も最初から出せます。言語の自動判定は Whisper にしかなく、Dictable API では言語の指定が必要です。

Can websites I visit use it?閲覧中の Web サイトから使われる心配は?

No. Requests must carry a loopback Host header, and browser requests are accepted only from extensions and localhost pages.ありません。Host ヘッダーが localhost であることを確認し、ブラウザからのリクエストは拡張機能と localhost のページからのものしか受け付けません。

The port 8082 is already taken.8082 番ポートが他のアプリと重なります。

Dictable API detects the clash and offers the next free port in one click. You can also set any port under Settings.Dictable API が重なりを検知して、空いているポートをワンクリックで提案します。Settings で好きな番号に変えることもできます。

Why does macOS warn me when I open it?開くときに macOS の警告が出るのはなぜ?

The release is ad-hoc signed rather than notarized by Apple. Allow it once in System Settings → Privacy & Security → Open Anyway, or build it yourself from source with ./scripts/build-app.sh (apps you build locally are not blocked).Apple の公証を受けていない、アドホック署名のアプリだからです。一度だけ システム設定 → プライバシーとセキュリティ → このまま開く で許可するか、./scripts/build-app.sh でソースからビルドしてください(自分でビルドしたアプリは止められません)。

Give your tools ears.あなたのツールに「耳」を。

Free and open source under the MIT license. MIT ライセンスの無料オープンソースです。