say • AI Agent SDK

say: Quick TTS – convert text and save to file.

say

Method

</div>

This is a method of the AudioAgent class in the audio_agent module.

Quick TTS – convert text and save to file.

Signature

python
def say(text: str, output: str) -> str

Parameters

ParamField str

Text to speak

ParamField str

Output filename (default: output.mp3)

Returns

ResponseField str

Path to saved file

Uses

  • speech

Source

View on GitHub

praisonaiagents/agent/audio_agent.py at line 417