# Text to Speech through toolfare

> Turn text into speech from Claude, ChatGPT, Cursor, Codex or your own code: three models, a searchable list of voices, and controls for speed, stability and style. The audio comes back in the same call. No voice-platform account or key of your own — each call is quoted before it runs and paid from one toolfare balance.

Page: https://toolfare.ai/text-to-speech

## Use it from your agent

Paste this into Claude Code, Codex, Cursor or any agent with a shell:

> Set up https://toolfare.ai/skill.md, then use toolfare to find a calm male narrator voice, then read this 80-word product intro aloud with the multilingual model

Apps without a terminal connect toolfare as an MCP server: https://toolfare.ai/docs#connect

## Use it from a script

```sh
mkdir -p ~/.local/bin
curl -fsSL 'https://toolfare.ai/toolfare/toolfare.mjs' -o ~/.local/bin/toolfare
chmod +x ~/.local/bin/toolfare
export PATH="$HOME/.local/bin:$PATH"
export TOOLFARE_MCP_URL='https://api.toolfare.ai/mcp'
toolfare login
```

Sign in once per machine; the CLI renews the sign-in itself. On a CI runner or another server,
create an API key in the toolfare console and set it as `TOOLFARE_API_KEY` instead of signing in.
Paid calls on one sign-in or key run one at a time. `--max-cost` refuses a call quoted above
that many credits (1,000 credits = $3).

## Tools

### Speech from your text, in the same call

Tool: `text_to_speech_speech`

Low-latency speech

Required parameters: input, model

Optional parameters: similarity, speed, stability, style, voice

Cost: From $0.12

Ask:
- Read this paragraph aloud in a warm female voice.
- Make a 20-second voiceover from this script, a little faster than normal.
- Say this greeting in Chinese for our support line.

### Find the right voice

Tool: `text_to_speech_voices`

List available voices

Optional parameters: page_size, page_token, search

Cost: Free

Ask:
- Which voices are available for narration?
- Find me a deep British male voice.
## Price

From $0.12 Quoted before each call; the final charge follows the returned usage. Pay per call from one balance.

Balances and top-ups are in US dollars. Quotes and `--max-cost` count credits: 1,000 credits = $3 ($0.003 each).

## Use it when

- You need a voiceover or narration for a short clip, demo or explainer.
- Your app or agent should read a reply or notification aloud.
- You want to try a few voices on the same line before choosing one.

## Look elsewhere when

- You want an existing video or recording translated into another language.
- You want music, or an existing recording re-voiced.
- You want a presenter on screen speaking the audio.

## Limits

- Each call takes at most 1,200 units of spoken length: a letter or space counts 1, a CJK character 4, a digit 12. Split long scripts across calls.
- Digits cost far more units than letters, so spelling numbers out fits more into one call.
- Voices are chosen by ID; list them with the voices tool first. On tts-v3, stability accepts only 0, 0.5 or 1.
- Pay as you go from your toolfare balance, in US dollars; there is no subscription. A call runs when your balance covers its quote.
