Connect

boubou serve keeps the model on your computer and lets a phone, a robot or an app on the same Wi-Fi talk to it.

Connect any app

Give an app a voice and ears from Boubou. The app keeps its own AI for what to say; Boubou reads its replies aloud and writes down what you say. The voice and the hearing stay on your computer. It needs two things:

  1. Its voice (TTS) or speech-to-text (STT) settings offer OpenAI-compatible, or Custom API.
  2. It runs on your computer, in a web browser, or on another device on the same Wi-Fi.

For an app that should hold the whole conversation through the OpenAI Realtime API, follow Robot or app instead.

Three steps, for any app

Every app connects the same way. Only the settings screen in step 3 looks different in yours.

  1. runboubou.com/models Pipeline $ npx boubou@beta run Copy Talk on this Mac. $ npx boubou@beta serve Copy Talk from a phone on the same Wi-Fi, or connect a robot or app. ✕ Not this one ✓ Copy this one

    On this site

    Copy a Pipeline model’s serve command

    Open the Talk page and click a model marked Pipeline: only those read aloud and write down for an app. Choose a voice at the top of its page, then copy the second command, the one with serve.

    For Chinese, Japanese and other languages besides English, choose a version ending in -whisper, which writes down speech in those languages, and a voice that speaks yours.

    Choose a Pipeline model
  2. Terminal $ npx boubou@beta serve App on this MacIn its voice settings, choose OpenAI-compatible, then type:API URLhttp://127.0.0.1:2682/v1ModelboubouVoiceserenaAPI keyleave it emptyStep by step: https://runboubou.com/connect/apps/Web app or another deviceType the same, with this address and the key:API URLhttps://192-168-1-20.….lan.runboubou.com:2682/v1API key3f9c0a7d2e61b4c8… Same computerBrowser or other device

    On your computer

    Paste it into Terminal

    Open Terminal on your computer, paste the command and press Return. When the model is ready, it lists what to type in two sections: App on this Mac (App on this computer on Linux), and Web app or another device.

    The first time, the terminal asks Ok to proceed? (y): press Return. The first start also downloads the model. Keep this window open while you talk; CtrlC stops it.

  3. Your app Settings › Voice and speech-to-text Provider OpenAI-compatibleAPI URL https://…lan.runboubou.com:2682/v1API key ••••••••••••••••Model boubouVoice serena Save Same values for voice and for STT

    In your app

    Choose OpenAI-compatible and fill it in

    Open the app’s voice (TTS) settings, its speech-to-text (STT) settings, or both, and choose OpenAI-compatible or Custom API. Type what the terminal lists, then save:

    API URL
    On the same computer: http://127.0.0.1:2682/v1. In a web app or on another device: the https:// address under Web app or another device.
    API key
    On the same computer: leave it empty. Otherwise: the key under Web app or another device.
    Model
    boubou
    Voice
    The voice your terminal lists (for example serena or ryan)

    Then chat in the app as usual: Boubou reads its replies aloud in the voice you chose and writes down what you say.

    Apps name these boxes differently: the API URL may be Base URL or Endpoint, and the Voice, Voice ID or Speaker. Boubou reads aloud at /v1/audio/speech in WAV or PCM, not MP3, and writes down WAV, FLAC, Ogg or MP3 recordings at /v1/audio/transcriptions. Apps that list voices find them at /v1/audio/voices. Keep Terminal open while you use the app. The key works like a password, so keep it private.

For developers

boubou serve gives your computer one OpenAI-compatible address. Models marked Pipeline answer at all four paths below.

On the same computerhttp://127.0.0.1:2682/v1

From a web page or another device, with the key serve printshttps://192-168-1-20.….lan.runboubou.com:2682/v1

  • TalkThe whole conversation, through the OpenAI Realtime API/v1/realtime
  • SpeakText in, speech out, as WAV or PCM/v1/audio/speech
  • ListenA WAV, FLAC, Ogg or MP3 recording in, text out/v1/audio/transcriptions
  • VoicesEvery voice it can speak with, cloned ones too/v1/audio/voices

An app that brings its own cloud AI keeps it for what to say. The voice and the hearing stay on your computer.