Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
TTS and STT with Google Gemini
export GOOGLE_API_KEY=your-key
from praisonaiagents import AudioAgent agent = AudioAgent(llm="gemini/gemini-2.5-flash-preview-tts") agent.speech("Hello world!", output="hello.mp3")
from praisonaiagents import AudioAgent agent = AudioAgent(llm="gemini/gemini-2.0-flash") text = agent.transcribe("audio.mp3") print(text)
gemini/gemini-2.5-flash-preview-tts
gemini/gemini-2.0-flash