Skip to content
Pages of the documentation

Voice

The transcription and speech models that let Nestor hear and speak, the satellites’ voice block, and how a spoken turn goes.

Talking aloud takes a transcription model to hear and a speech model to speak, for satellites and voice messages.

Install

Install nestor-home[voice] (Install); the Docker image has it.

Choose providers

One provider to hear, one to speak, the same or not.

One key for both: Scribe v2 Realtime hears, v4 Turbo speaks.

ELEVENLABS_API_KEY=sk_...
models:
  ears:
    type: transcription
    provider: elevenlabs
    api_key: ${ELEVENLABS_API_KEY}
  voice:
    type: speech
    provider: elevenlabs
    api_key: ${ELEVENLABS_API_KEY}
    voice_id: GPAQQPp9dazaB2bl4zg9

channels:
  - kind: satellites
    host: 0.0.0.0
    voice:
      transcription: ears
      speech: voice

voice_id is any voice of your library. Transcription expects English unless language says (fr, de…). Voice messages go through file_model (scribe_v2).

The voice block

Without it, satellites are text only.

channels:
  - kind: satellites
    host: 0.0.0.0
    voice:
      transcription: ears
      speech: voice
Key Default What it does
transcription the transcription model that hears people
speech the speech model that speaks
style how the assistant writes for this voice, such as its expression tags
fallback_clips a folder with stt.wav and tts.wav, in the same voice, played when the speech model is down
quiet_s 0.5 the silence, in seconds, before a message Nestor brings by itself is spoken

Voice messages

agent.transcription hears them. With a speech model, on a channel that sends them, the answer is a voice message too (agent.speech). Each role defaults to the only model of its type (Roles).

How a spoken turn goes

  • Nestor speaks while the model writes: give agent.spoken a fast model.
  • A satellite with a screen shows the words as they are said.
  • Interruptions, failures and the rest: A turn.