Text To SSML Generator

Generates SSML from text by inference

About This Project

Text-To-SSML-Generator is a web-based utility that converts plain text into Speech Markdown Language (SML), a markup format for controlling synthesized speech. Users upload a TXT or MD file through a drag-and-drop interface, and the application uses Google's Gemini AI to analyze the content, infer its emotional context, and insert prosodic elements such as pitch, rate, and volume markers. The output is SSML-compatible Speech Markdown that can be downloaded or copied for use in text-to-speech workflows. The project was built with Google AI Studio using Gemini Pro 2.5, runs on Node.js, and is implemented primarily in TypeScript. Its prompt and concept were provided by the author, while the code was generated through the AI Studio app builder.

The tool is designed to handle long-form content, including batch processing of entire books, and reports progress while the AI processes the text. Setup requires a Gemini API key, which is configured through an environment file before running the development server locally.

Potential use cases include audiobook production, where prosody can be added to narration; voice assistant development, where more expressive text-to-speech output is desired; content accessibility, for enhancing screen reader output; and podcast script preparation, where emotional markers can be added to scripted material.

Project Details

Categories

Tags

gemini-aivibe-coded

Explore More Projects