AgentMark generates speech audio with prompts that declareDocumentation Index
Fetch the complete documentation index at: https://docs.agentmark.co/llms.txt
Use this file to discover all available pages before exploring further.
speech_config in frontmatter. The text to speak goes in a <SpeechPrompt> tag.
Example configuration
example.prompt.mdx
Tags
| Tag | Description |
|---|---|
<SpeechPrompt> | The text to convert to speech. AgentMark reads the contents at compile time and sends it to the TTS model. |
<System> | Optional system-level instructions passed to models that support them. |
Available configuration
| Property | Type | Description | Required |
|---|---|---|---|
model_name | string | The name of the model to use for speech generation. | Yes |
voice | string | Voice identifier (provider-specific; e.g. for OpenAI TTS: alloy, echo, fable, onyx, nova, shimmer). | No |
output_format | string | Audio output format (e.g., mp3, opus, aac, flac). | No |
instructions | string | Additional instructions for speech generation (provider-specific). | No |
speed | number | Playback speed multiplier. | No |
Running a speech prompt
See Running prompts → Speech generation for the SDK code pattern using Vercel AI SDK’sexperimental_generateSpeech. (The experimental_ prefix is upstream — the API may evolve.)
Have Questions?
We’re here to help! Choose the best way to reach us:
- Email us at hello@agentmark.co for support
- Schedule an Enterprise Demo to learn about our business solutions