← Blog

How-to seriesDecember 2, 2026

Claude text to speech: turn a script into an audio file

Claude does not output audio on its own. With Vaaya connected, it can send your script to a text-to-speech model and return an audio file.

Claude can write a script, but it does not output audio files on its own. With Vaaya connected, Claude can send that script to a text-to-speech model, such as ElevenLabs or Deepgram Aura-2, and give you back a link to the audio file. The Claude apps also have a voice mode for spoken conversation. That is a different thing: it talks with you, it does not hand you a file.

The prompt

Paste this into Claude Code, Claude Desktop or claude.ai.

I want an audio file of a script, made through Vaaya. Work in three stages.

Stage 1. Ask me these questions in one message, then wait for my answers:
1. What should be read aloud? I will paste the script, or give you a topic
   and a target length so you can write it.
2. What voice style do I want? For example warm male, calm female,
   upbeat, or news reader.
3. Which language and accent?
4. Where will the audio be used, and must it fit a fixed length?
5. What is the most I want to spend, in dollars?

Stage 2. Check whether you have the Vaaya tools `consult` and `use`.
If you do not, stop and tell me to connect Vaaya:
- Sign up at https://vaaya.ai.
- Claude Code: run `npx -y @vaaya/mcp install --only=claude-code` in a
  terminal (or `claude mcp add --transport http vaaya https://vaaya.ai/mcp`).
  Restart Claude Code, run /mcp, select vaaya and sign in.
- Claude on the web or Claude Desktop: go to Customize > Connectors, click
  the plus button, then Add custom connector. Name it Vaaya, paste
  https://vaaya.ai/mcp and click Add. Click Connect and sign in. In a new
  conversation, open the plus menu > Connectors and turn on Vaaya.
Then wait until I tell you it is connected. Do not go on before that.

Stage 3. Once Vaaya is connected:
1. If I gave you a topic, write the script and show it to me first.
   Spell out numbers, dates and abbreviations the way they are spoken.
2. Call `consult` with the job in plain words: the voice style, language,
   script length in characters, and my budget.
3. Show me the plan: model, voice, number of calls and the price.
   Wait for my OK before you spend anything.
4. Run `use` with `max_cost_cents` no higher than my budget. If the script
   is over the model's limit per call, split it at sentence ends.
5. If a call returns a job_id, check it with `result`. Do not start a new
   paid call while one is still running.
6. If you can run commands, download the parts and join them with ffmpeg.
7. End with the audio link or file, the model and voice, and the total
   charge.

Step 1: the questions decide the model and the price

Voice style and language decide which model fits. Script length decides the price, since speech is priced by the character. The budget becomes the ceiling on every call.

Write for the ear. "v2.5 at 09:30" should become "version two point five at nine thirty". A sentence that trips you up when you read it aloud will usually trip the model too.

Step 2: connecting Vaaya

Vaaya is one MCP server that gives Claude two tools: consult, which plans a job and quotes it, and use, which runs one priced call. The install page has the same steps, plus a test prompt that shows your balance without spending anything.

Step 3: consult picks a voice and quotes it

consult is free and runs nothing. It returns the exact use call and its price. These are the routes it chose at the time of writing (December 2026):

  • ElevenLabs, English. For "turn a 300-word script into an MP3 voiceover in a warm American English voice", consult chose fal/generate with the ElevenLabs Turbo v2.5 model (elevenlabs--tts--turbo-v2-5) and the voice Brian. It quoted about 5¢ (about 5¢ per 1,000 characters) with a 15¢ ceiling.
  • Deepgram, long text on a budget. For a 1,000-word blog post as an MP3, it chose deepgram/speak (Aura-2) at about 1¢ per 250 characters, so about 20¢. Each call takes up to 2,000 characters, so the post is split into parts.
  • Sarvam, Hindi and other Indian languages. For "read a 150-word paragraph aloud in Hindi with a natural female voice", it chose sarvam/speak (Sarvam Bulbul) with the voice manisha, at about 2¢. It returns a WAV file.

Prices change, so the prompt asks for the current quote before anything runs. The tools page lists every route, and pricing explains the balance.

Step 4: running the call and checking the file

Claude runs use with a max_cost_cents ceiling. A call that would cost more than the ceiling does not run, and a failed call is not billed. Deepgram returns a hosted MP3 link and Sarvam a WAV link. In Claude Code, Claude can download the parts and join them with ffmpeg. In claude.ai, you open the link.

Listen to the whole file before you use it. A successful call does not mean every name was said right. If a word comes out wrong, respell it in the script and redo only that part.

Voices and rights

Use the stock voices these models offer, or a voice you have rights to. Only clone a voice with the speaker's consent. YouTube, TikTok and Instagram ask you to label lifelike synthetic audio in some cases, so check their rules before you publish. For narration in your own voice, see how to make a voiceover in your own voice.

Related guides

Questions

Can Claude do text to speech?

Not on its own. Claude writes and edits text, but it does not produce audio files. Connect a text-to-speech service such as Vaaya, and Claude can send the script to a model like ElevenLabs or Deepgram Aura-2 and return a link to the audio file.

Can Claude read text aloud?

The Claude apps have a voice mode, so you can talk with Claude and hear its replies. That is a conversation feature. It does not give you an audio file to download, edit or publish. For a file, Claude needs a text-to-speech tool.

Does Claude Code have text to speech?

Claude Code has no built-in speech output. Add Vaaya as an MCP server and Claude Code can call a text-to-speech model, then download the returned file into your project folder.

How much does text to speech cost through Claude and Vaaya?

It depends on the model and the script length. At the time of writing (December 2026), consult quoted about 5¢ for a 300-word script with ElevenLabs and about 20¢ for a 1,000-word post with Deepgram Aura-2. Claude shows the quote before it spends anything.

Try Vaaya with your agent.

Connect your agent, choose a service, and try your first call with Vaaya.

npx @vaaya/mcp install