> ## 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.

# speech • Rust AI Agent SDK

> speech: Generate speech from text (placeholder - requires LLM integration)

# speech

<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 [**agents**](../modules/agents) module.

Generate speech from text (placeholder - requires LLM integration)

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def speech(&self, text: &str, output_path: &str) -> Result<String>
```

## Parameters

<ParamField query="text" type="&str" required={true}>
  No description available.
</ParamField>

<ParamField query="output_path" type="&str" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Result<String>">
  The result of the operation.
</ResponseField>
