> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# say • AI Agent SDK

> say: Quick TTS - convert text and save to file.

# say

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AudioAgent**](../classes/AudioAgent) class in the [**audio\_agent**](../modules/audio_agent) module.

Quick TTS - convert text and save to file.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def say(text: str, output: str) -> str
```

## Parameters

<ParamField query="text" type="str" required={true}>
  Text to speak
</ParamField>

<ParamField query="output" type="str" required={false} default="'output.mp3'">
  Output filename (default: output.mp3)
</ParamField>

### Returns

<ResponseField name="Returns" type="str">
  Path to saved file
</ResponseField>

## Uses

* `speech`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/audio_agent.py#L419">
  `praisonaiagents/agent/audio_agent.py` at line 419
</Card>
