generate_and_save_audio
Convert text to speech audio files for Anki flashcards, saving them to the media collection for use in language learning cards.
Instructions
Generate audio from text and save it to Anki's media collection, returning filename for use in cards.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to convert to speech and save | |
| filename | Yes | Name for the audio file (e.g., 'pronunciation.mp3') | |
| 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 |