FlowSpeech integrates with Drupal AI to convert text into speech using the FlowSpeech API. It offers a variety of voices that can be used within Drupal AI-powered workflows, ultimately delivering audio as standard WAV files.
FlowSpeech provides a text-to-speech provider for Drupal AI through the FlowSpeech public API v1. Version 1.1.0 uses asynchronous jobs and downloads validated WAV audio for AI Automator and other Drupal AI workflows.
Features
- Text-to-speech support through the Drupal AI provider system and FlowSpeech voice catalog.
- Developer API credentials stored through the Key module.
- Validated 24 kHz, mono, 16-bit WAV output; API credentials are not sent to audio storage.
- Configurable total deadline, bounded retries, and request/job IDs for recovery.
- Nonblocking job, status, recovery, and cancellation methods for queue or CLI workflows.
Post-Installation
- Install drupal/flowspeech:^1.1 with Composer, enable the module, and rebuild caches.
- Create a key in the Key module containing your FlowSpeech developer API key.
- Open Configuration > AI > Providers > FlowSpeech, select the key, and save the total deadline (120 seconds by default).
- Select FlowSpeech as the text-to-speech provider in a compatible Drupal AI workflow.
Upgrading from 1.0.0 preserves the saved Key selection. The response field now contains the completed v1 job, not the legacy code/data envelope. Audio is downloaded as WAV rather than converted from raw API PCM. Persist a request UUID before submission when recovery is required. Stopping local waiting does not cancel a server job.
Additional Requirements
- Drupal AI ^1.0.5 and Key ^1.18, with the PHP version and extensions required by your Drupal installation.
- An eligible active paid FlowSpeech subscription and a developer API key. Trials and browser-login tokens do not grant public API access.
- The core constraint is ^10.2 || ^11 || ^12. Release validation covers Drupal 11.4.11 fresh installation and upgrade from 1.0.0; Drupal 12 runtime compatibility remains unverified.
Full-site tests exercise the installed database, service container, provider discovery, settings forms, and cache persistence using a no-network mock transport. They do not make production speech requests. Use a queue or CLI worker for long jobs that could exceed web-server execution limits.
Similar projects
Other Drupal AI provider integrations expose text-to-speech services. This module integrates the FlowSpeech public API v1 and returns standard WAV audio.
Supporting this Module
Use this project's issue queue for bug reports and feature requests.
Community Documentation
See the project README for installation, configuration, usage, and development instructions.
Ask your assistant about FlowSpeech
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.