• AUDIO
  • TEXT
  • VOICE
  • HUMAN

How to generate speech from text with your AI

Connect Speechmatics to your AI client to turn text into spoken audio. Once connected, your agent handles the conversion using professional voice models.

Ask AI about this page

Short answer

How can I turn text into speech with my AI?

Your AI uses the Speechmatics MCP to convert text into audio files. You provide the script and a voice preference, and the agent produces the spoken output. You'll get clear, natural-sounding audio files.

The results of your request.

What you get from the AI.

Depending on how you prompt your agent, you'll receive different outputs.

AUDIO

Spoken audio files

The AI converts your text into a playable audio file. You get a digital file based on the voice you selected.

TEXT

Script refinement

Your agent can check your text for flow before speaking. This ensures the audio sounds natural.

VOICE

Voice selection

You can specify different tones or personas. The AI matches the text to the specific voice profile you request.

HUMAN

Manual review needed

You must listen to the final audio to catch any odd pronunciations. The AI handles the conversion, but you provide the final ear.

The workflow

What your AI does when the text arrives.

The AI acts as the bridge between your written words and the Speechmatics engine.

  1. Analyze the script

    Your agent reads the text you provided to understand the context and intended tone.

    generate_tts
  2. Select voice profile

    The AI picks the right voice settings to match the mood of your writing.

    generate_tts
  3. Execute conversion

    The agent sends the text to the Speechmatics engine to build the audio file.

    generate_tts
  4. Deliver audio

    The AI provides the final audio output for you to download or use.

    generate_tts

Try it

Copy these to start.

Use these prompts to kick off the process.

Starting points

Swap the bracketed text for your actual content or specific voice requests.

Speechmatics Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_FRLuaMwEkSVVnPCae4yQUSbZdPUlWPw9NvqN4KDY/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Speechmatics capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "speechmatics-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_FRLuaMwEkSVVnPCae4yQUSbZdPUlWPw9NvqN4KDY/mcp"
    }
  }
}
Copy into chat04
  • Convert this script into audio using a professional male voice: [paste script here]

  • Turn the text from my project notes into a natural sounding female voice: [paste text]

  • Generate an audio file for this announcement using a calm, steady tone: [paste announcement]

  • Use the Speechmatics tool to read this paragraph aloud: [paste paragraph]

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Speechmatics once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start asking your AI to speak for you.

Connect Speechmatics to your AI

FAQ

How the task behaves

  • 01

    Can the AI change the emotion of the voice?

    The AI can adjust the tone by changing the voice profile or the way the text is written, but it cannot manually manipulate pitch or volume mid-sentence.

  • 02

    Will the AI automatically save the audio to my computer?

    No. The AI generates the file, but you are responsible for downloading and saving the output to your local drive.

  • 03

    Can I use this to transcribe audio back to text?

    No. This specific tool is designed for text-to-speech conversion only.

  • 04

    Does the AI decide which voice to use?

    You can let the AI choose based on your description, or you can explicitly name the voice you want to use.

  • 05

    Can the AI edit my script before speaking?

    Yes, you can ask your agent to refine the text for better spoken flow before it triggers the audio generation.

  • More questions about Speechmatics? The Connector page answers them. See everything the Speechmatics Connector can do

Connect Speechmatics to Claude, Cursor, ChatGPT & more