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

python
async def aspeech(text: str, output: Optional[str], voice: Optional[str], speed: Optional[float], response_format: Optional[str], model: Optional[str]) -> Any

Parameters

ParamField str

No 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 Any

The result of the operation.

Uses

  • aspeech
  • response.stream_to_file
  • Path

Used By

Source

View on GitHub

praisonaiagents/agent/audio_agent.py at line 274