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
def say(text: str, output: str) -> strParameters
ParamField
strText to speak
ParamField
strOutput filename (default: output.mp3)
Returns
ResponseField
strPath to saved file
Uses
speech
Source
View on GitHubpraisonaiagents/agent/audio_agent.py at line 417