Individual skill
evo-tts-audiobook-synth
Converts text chunks into speech audio using cascading fallback (OpenAI TTS -> ElevenLabs -> edge-tts -> gTTS). Handles API auth, rate limiting, MP3 chunk generation, and audio concatenation into a single MP3 file.
tasks-evolved/pg-essay-to-audiobook/environment/skills/evo-tts-audiobook-synth/SKILL.md
Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Local scripts
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 97
- Repository last updated
- Sep 10, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- llm-agents Repository topic
- open-world Repository topic
- self-evolving-agents Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 1,867 bytesSKILL.mdcore · 1,867 bytesscripts/utils.pyruns · 5,364 bytes
Read excerpt
# evo-tts-audiobook-synth
Converts text to speech with cascading API fallback and audio concatenation.
## Key Functions
- `synthesize_with_openai(text, output_path)` - Uses OpenAI TTS API (tts-1, 4096 char limit)
- `synthesize_with_elevenlabs(text, output_path)` - Uses ElevenLabs API (client.text_to_speech.convert)
- `synthesize_with_local_tts(text, output_path)` - Uses edge-tts (async) or gTTS as fallback
- `synthesize_text_to_audio(text, output_path)` - Tries OpenAI -> ElevenLabs -> local, returns bytes
- `concatenate_audio_chunks(chunk_files, output_file)` - Concatenates MP3 files using pydub/ffmpeg
## Usage
```python