Getting Started

Use the prompt attribute on the SSML <speak> tag to change delivery without creating a new voice. Prompts let you steer style, emotion, and context dynamically at synthesis time.

What Prompts Can Do

  • Shift speaking style (casual, formal, storyteller)
  • Set emotion (excited, calm, sympathetic)
  • Provide context (news reader, sports announcer, meditation guide)
  • Personalize delivery for each request while reusing the same voice_uuid

How It Works

1<speak prompt="Speak this like an excited sports announcer">
2 The home team just scored the winning goal in the final seconds!
3</speak>

The prompt text guides the synthesis model just before it renders the clip. Combine prompts with other SSML features such as <prosody> or <break> for fine-grained control.

More Prompt Examples

1<speak prompt="Speak in a calm, soothing voice">
2 Welcome to your guided meditation session. Let's begin by taking a deep breath.
3</speak>
1<speak prompt="You are a knowledgeable science educator explaining complex concepts in an engaging way">
2 Black holes form when massive stars collapse at the end of their life cycle.
3</speak>
1<speak prompt="Speak with excitement and enthusiasm, like you're sharing amazing news">
2 We've just received confirmation that our project has been approved with full funding!
3</speak>

Best Practices

  • Keep prompts concise and descriptive.
  • Use natural language as if you were coaching a voice actor.
  • Experiment—minor wording tweaks can produce noticeably different results.

Continue to Generate Audio for a full example request.