sanjay3290/ai-skills
Overview
This skill converts text and documents into natural-sounding audio using Google Cloud Text-to-Speech. It supports Neural2, WaveNet, Studio, and Standard voices across 40+ languages and outputs MP3, WAV, or OGG files. The tool handles single-voice narration, multi-speaker podcast scripts, and automatic chunking for large inputs.
How this skill works
Provide text directly or supply a document (TXT, MD, PDF, DOCX). The skill reads your input, optionally extracts text from files, chunks long content at sentence boundaries, and calls Google TTS with chosen voice, rate, pitch, and encoding. For podcasts, supply a JSON script of alternating speakers and the tool synthesizes each speaker with a different voice and merges the audio into one file.
When to use it
- You want to narrate a document, article, or report for listening.
- You need to convert text to a downloadable MP3/WAV/OGG audio file.
- You want to generate a short podcast or multi-voice recording from a script.
- You need batch or automated TTS for documentation or training material.
- You want higher-quality voices (Neural2/WaveNet) across many languages.
Best practices
- Set GOOGLE_TTS_API_KEY via env var or config JSON before running.
- Use Neural2 voices for best quality/cost balance; default voices provided.
- Preprocess long documents into clean prose and let the script auto-chunk.
- Choose a speaking rate ~0.85–0.95 for technical content and keep pitch modest.
- Keep individual turns under 4000 chars when creating multi-speaker scripts.
Example use cases
- Narrate a PDF user manual into an MP3 for accessibility or offline listening.
- Create a two-host podcast from a document by converting it into a conversational JSON script.
- Generate voiceovers for training videos or e-learning modules using specific voices and rates.
- Produce audio versions of blog posts or long-form articles for a listening audience.
- Automate daily briefing recordings by feeding generated summaries into the TTS script.
FAQ
Set the GOOGLE_TTS_API_KEY environment variable or place {"api_key":"..."} in skills/google-tts/config.json.
What file types are supported for input?
Plain text, Markdown, PDF, and DOCX are supported; installing PyPDF2 and python-docx enables PDF/DOCX extraction.
How does the tool handle large documents?
It auto-chunks text at sentence boundaries to respect API size limits and uses ffmpeg to merge multi-chunk audio into a single file.
7 skills
This skill converts text and documents to audio using Google Cloud Text-to-Speech, generating natural-sounding narration across languages.
This skill executes safe read-only MySQL queries across configured databases to explore schemas and analyze data without risking writes.
This skill executes safe read-only MSSQL queries across multiple databases to explore schemas, analyze data, and check contents without risking writes.
This skill helps you manage Azure DevOps projects, work items, repos, pipelines, and security settings using REST API across domains.
This skill delegates complex, long-running tasks to Manus for autonomous web research, analysis, and multi-source reports with parallel processing.
This skill helps you query and manage NotebookLM notebooks with persistent profiles, batch questions, and structured exports.
This skill generates images using Google Gemini to create UI mockups, icons, diagrams, and illustrations for any project.