Communitygithub.com

Gemini TTS SRT

A skill for OpenClaw / Claude that uses Google Gemini API's TTS model to dub scripts into audio files and output time-aligned SRT subtitles.

What is Gemini TTS SRT?

This skill, named Gemini TTS SRT, enables AI agents (specifically built for OpenClaw and Claude) to convert written scripts into spoken audio using Google Gemini's text-to-speech (TTS) API. A key feature is its ability to generate time-aligned SRT subtitle files alongside the audio, making it ideal for creating videos, podcasts, or accessibility content where both spoken audio and synchronized captions are needed. By automating the process of generating audio and subtitles from a script, it saves significant manual effort in multimedia production. The skill works by sending the script to the Gemini TTS API, which returns audio data and timing information; this timing data is then parsed and formatted into a standard SRT subtitle file, ensuring the subtitles match the spoken words precisely.

Works with✓Claude Code~Codex CLI~Cursor✓Gemini CLI
npx skills add Openclaw-Metis/gemini-tts-srt

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does Gemini TTS SRT do?

A skill for OpenClaw / Claude that uses Google Gemini API's TTS model to dub scripts into audio files and output time-aligned SRT subtitles — Gemini text-to-speech with time-aligned SRT subtitles.

Related Skills