aspeech • AI Agent SDK
aspeech: Async version of speech().
aspeech
Async
Method
</div>
This is a method of the AudioAgent class in the audio_agent module.
Async version of speech().
Signature
async def aspeech(text: str, output: Optional[str], voice: Optional[str], speed: Optional[float], response_format: Optional[str], model: Optional[str]) -> AnyParameters
ParamField
strNo description available.
ParamField
Optional[str]No description available.
ParamField
Optional[str]No description available.
ParamField
Optional[float]No description available.
ParamField
Optional[str]No description available.
ParamField
Optional[str]No description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
aspeechresponse.stream_to_filePath
Used By
Source
View on GitHubpraisonaiagents/agent/audio_agent.py at line 274