Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Trash 3.0.33 Minor update available for module trash (3.0.33). EOL Warning: Drupal 11.0 has reached end of life and no longer receives security updates. Usage Milestone: Focal Point Module focal_point crossed 1,000 active installs. Release: UI Patterns (SDC in Drupal UI) 2.0.20 Minor update available for module ui_patterns (2.0.20). Release: Trash 3.1.0-rc1 First release candidate for module trash (3.1.0-rc1). Release: Country 2.2.0 Minor update available for module country (2.2.0). Usage Milestone: Ultimate Cron Module ultimate_cron crossed 1,000 active installs. Usage Milestone: Easy Breadcrumb Module easy_breadcrumb crossed 1,000 active installs. Usage Milestone: Config Filter Module config_filter crossed 1,000 active installs. Usage Milestone: Blog Module blog crossed 1,000 active installs.

This module allows content editors to generate audio files from their content using either Google Text-to-Speech or other AI services. It handles long content by breaking it into manageable chunks, supports various voice and language options, and provides control over which parts of the content are included in the audio through view modes.

Leverages either Google TTS or AI Text to Speech (e.g. Gemini, ElevenLabs, OpenAI, etc) to generate long audio files using a curated view mode controlled version of your content item using natural voice.

Features

  1. Provides a 'Save and generate audio' button next to save to allow content editors to trigger generation on demand when they have made a notable change.
  2. Runs via batch with chunking breaking at natural pauses (between paragraphs where possible, otherwise sentences) to ensure smooth audio when combining the per chunk audio clips.
  3. Handles any length of content.
  4. Provides voice control (dictated by e.g. OpenAI, Gemini, or other AI Provider options) or via Google TTS options, including language selection like en-GB instead of en-US.
  5. Allows SSML pronunciation control dictionary management (basic) when using Google TTS (or basic phonetical find and replace for non SSML AI generated voices).
  6. Text being read has fine-grained controlled via View Mode and template
  7. Automated test coverage for reliability and stability. Security coverage opt-in once stable release made.

Post-Installation

See the README.md file (to be transferred here eventually).

Optionally composer require google/cloud-text-to-speech if you prefer to use Google TTS; it is cheaper for volume but sounds less natural.

Similar projects

  • https://www.drupal.org/project/tts - Does not handle batch, generates on demand rather than editor in control. Offers more out of the box rendering whereas this module simply produces the audio media file. Does not give the view mode and template control needed to curate the text.
  • https://www.drupal.org/project/ai -> AI Automators - The automators module can generate simple audio files but does not handle joining large chunks together. The UI is quite different focused on simple on demand changes rather than giving the site editor control (which is important to manage costs on large reports) and does not give the view mode and template control needed to curate the text.
  • https://www.drupal.org/project/elevenlabs - Uses AI Automators under the hood. It however also provides an AI provider, so ElevenLabs can be set as the provider.
  • https://git.drupalcode.org/project/ai_audio_field - Relies on ffmpeg being installed to handle large file merging (which is not available on many hosts) and ultimately uses the AI Automator UI

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Apr 2026
Latest release
4 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha3 Pre-release 10–11 Apr 16, 2026
1.0.0-alpha2 Pre-release 10–11 Apr 16, 2026
1.0.0-alpha1 Pre-release 10–11 Apr 15, 2026
1.0.x-dev Dev 10–11 Apr 15, 2026