Drupal is a registered trademark of Dries Buytaert
Release: Excel Serialization 2.1.2 Minor update available for module xls_serialization (2.1.2). Release: Time Zone Field 8.x-1.14 Minor update available for module tzfield (8.x-1.14). Module Revived: Entity API 8.x-1.7 Module entity updated after 17 months of inactivity (8.x-1.7). Release: Vartheme Bs5 4.1.1 Minor update available for theme vartheme_bs5 (4.1.1). Release: Varbase Heroslider 1.1.3 Minor update available for module varbase_heroslider (1.1.3). Release: Varbase Demo 1.1.2 Minor update available for module varbase_demo (1.1.2). Release: Varbase Dashboards 2.0.3 Minor update available for module varbase_dashboards (2.0.3). Release: Varbase AI 2.0.9 Minor update available for module varbase_ai (2.0.9). Release: Varbase Workflow 3.1.2 Minor update available for module varbase_workflow (3.1.2). Security Coverage: Role Aware Maxlength Module role_aware_maxlength now has official Drupal security advisory coverage.

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

Activity

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

Release Timeline

Releases

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