pinecallDocs
Configuring / pinecall voices

pinecall voices

The voices to choose from, and hearing one.

pinecall voices [--tts <vendor>] [--language es] [--country ES]
pinecall voices play <voice> ["the words"] [--tts <vendor>] [--model <model>] [--language es] [--save file.wav]
Terminal
$ pinecall voices --language es --country ES
VOICE                                 NAME                            GENDER     FROM
35b2cfc1-e6fb-4d69-a598-c1780612be4a  Darío - Steady Operator         masculine  ES castilian
a7beff01-8f8b-4809-bfe6-e2166e57e0c2  Iria - Thoughtful Communicator  feminine   ES castilian
de38f545-c574-44e8-9b54-a7d6fec1c6b1  Marta - Friendly Guide          feminine   ES castilian
3 voices · in es
  → pinecall voices play <id> says a line
$ pinecall voices --tts google
VOICE          GENDER  LANGUAGES
Achernar       female  de en es fr it ja nl pt
Achird         male    de en es fr it ja nl pt
…
30 voices · 8 languages
  → --language <tag> keeps one · pinecall voices play <id> says a line
$ pinecall voices --tts rime
rime lists no voices: its voice is the vendor's own id, set as it is — these list theirs: cartesia, elevenlabs, inworld, nvidia, speechify (--tts <vendor>)
$ pinecall voices play de38f545-c574-44e8-9b54-a7d6fec1c6b1 "Hi, this is Clínica Norte's assistant." --language en
de38f545-c574-44e8-9b54-a7d6fec1c6b1 · first audio 578 ms · whole sentence 915 ms · afplay

With nothing after it: the vendor's voices, one row a voice with every language it speaks — a vendor that lists the same thirty voices in eight languages is thirty rows, not two hundred and forty — by name; with --language, that language's alone, said once under the table. The vendor --tts names, else the one your corner's tts runs on, else the runtime's default (providers says which), so no voice matches with no --tts is that vendor listing none in the language; a vendor whose plugin lists its voices with no language at all (ElevenLabs) cannot be narrowed by --language, and says so — the id the agent's voice setting takes, then the name where it is not the id, the gender, where the accent is from (a column left out when no voice of the list says) and the languages; last, how many there are and how to hear one. The country is the column that matters for Spanish: ES is Spain and MX is Mexico, and a language code does not tell them apart; --country keeps one. The vendor is --tts, or the platform's own voice when none is named — defaults.tts of GET /v1/providers, what an agent that names no vendor speaks with. A vendor lists its voices when its livekit plugin does — ElevenLabs, Inworld, NVIDIA and Speechify — or when the platform's providers row lists them for it, as data (listed, by vendor and language: on cloud.pinecall.io, Cartesia's in Spanish and English, and Google's thirty Gemini voices in each of its eight languages); voices_listed in the same catalogue says which, and it is what the console's picker reads too. A vendor listed by neither takes its voice as the id the vendor gives it: voices says so, names the vendors that list theirs, and exits 1 without asking for a list. Any id plays, listed or not.

play says the words in that voice through the vendor's own plugin, exactly as a call would build it (POST /v1/voices/sample, the wire's VoiceSample), and plays the WAV on this machine with whichever of afplay, ffplay, play, aplay or pw-play it finds — a player that fails is said so, with the file kept and named, and exit 1. With no words the gateway reads one line in the language, so every client hears the same one. Beside it are the vendor's two numbers: how long until the first audio — the wait a caller hears after they stop talking — and the whole sentence; a dash when the gateway sent none. --save file.wav keeps the WAV there and plays it from there. It runs on the org's own key for the vendor when it brought one, and on the platform's otherwise; both endpoints ask for pipeline, the scope that may change the voice. The gateway refuses in one sentence what the settings endpoint would refuse — a voice its vendor does not have, a vendor this build has no row for, a model it does not vouch for, more than 400 characters (422) — and says 429 past thirty samples a minute on one key, 503 when nobody has a key for the vendor, 409 when the vendor refused that key, 502 when it did not answer. The voice it plays is set with pinecall agent set --tts cartesia --tts-model sonic-3 --voice <id>: a model tried with --model is kept only when --tts-model names it too.