generate_audio
Convert text to speech using Google Cloud TTS API to create audio files for Anki flashcards, returning base64 encoded audio data.
Instructions
Generate audio file from text using Google Cloud Chirp TTS API and return base64 encoded audio data.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to convert to speech | |
| language | No | Language code (e.g., 'cmn-cn' for Chinese, 'en-US' for English) | cmn-cn |
| voice | No | Voice name (e.g., 'cmn-CN-Chirp3-HD-Achernar' for Chinese HD voice) | cmn-CN-Chirp3-HD-Achernar |