Turn text into a spoken audio file through minimax-speech-2.8-turbo on PPIO. Use when the user asks for audio of some text. Each run is billed: confirm with the user first.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Text To Speech Native?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/maimorylab-text-to-speech-native)
---
name: bootagent-text-to-speech
description: "Turn text into a spoken audio file through minimax-speech-2.8-turbo on PPIO. Use when the user asks for audio of some text. Each run is billed: confirm with the user first."
---
# Text to speech
Generated by BootAgent. It calls `minimax-speech-2.8-turbo` on the user's PPIO account. BootAgent rewrites this Skill when the model or Provider changes, so do not edit it.
## When to use
When the user asks you to turn text into spoken audio: reading out a summary, producing a voice-over draft.
## Command
Run the script from the user's working directory, using the absolute path to this Skill:
```bash
node <this Skill's directory>/scripts/run.mjs speak --text "<text>" [--voice <voice ID>] [--format mp3|wav|flac|pcm] [--speed <0.5-2>] [--out <file or directory>]
```
- `--text`: what to say, at most 9999 characters. Split longer text into several runs.
- `--voice`: a MiniMax system voice ID. Default `English_Graceful_Lady`; others include `English_Insightful_Speaker`, `English_Persuasive_Man`, `Chinese (Mandarin)_Lyrical_Voice` and `Japanese_Whisper_Belle`. Quote IDs that contain spaces.
- `--format`: audio format. Default `mp3`.
- `--speed`: speaking speed from 0.5 to 2. Default 1.
- `--out`: a file path, or a directory. Default `~/.bootagent/output`, outside the Skill directory.
- `--timeout`: seconds to wait. Default 120.
The saved file path is printed to stdout. Existing files are never overwritten.
## Rules
- Every run costs money, billed by the length of the text. Before each run, tell the user what text you are about to speak and wait for them to agree.
- Never print, echo or log environment variables, `~/.bootagent/skill-env/ppio.env`, or anything that could reveal the API key. The script reads the key itself; you never need it.
- Only send files the user asked about. They go to the user's own Provider and nowhere else.
## Exit codes
| Code | Meaning | What to tell the user |
| --- | --- | --- |
| 0 | Success | Report the result. |
| 2 | Bad arguments or input file | Fix the command, or ask the user for the right file. |
| 3 | Setup problem: Node.js older than 18, or no API key found | Ask the user to restart the Agent so it picks up `BOOTAGENT_PPIO_API_KEY`, or to reinstall this Skill from BootAgent. |
| 4 | The Provider refused the request | Show the Provider's message. The model may not support this input; the user can choose another model in BootAgent. |
| 5 | The Provider rejected the API key | Ask the user to check the PPIO key in BootAgent. |
| 6 | The Provider was unreachable, busy or timed out | Suggest trying again later. |
`node <this Skill's directory>/scripts/run.mjs check` confirms the key is available without sending a request.