New Text to Speech experiment - #888
Conversation
…udio processing so we stay under API limits
…mbines those into a single file
…t to the AI Client to generate speech. Set up to be used for both Ability calls and background jobs
… Fires individual jobs, via cron, that will chunk content down and turn those into audio files, combining all files at the end
… a string of text or post content from a specific post ID
…nd imports it into the media library as an MP3 file
…he admin to make things look better. Add a better loading state and an icon to the button
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## develop #888 +/- ##
=============================================
- Coverage 79.74% 79.43% -0.32%
- Complexity 2469 2648 +179
=============================================
Files 104 112 +8
Lines 9992 10867 +875
=============================================
+ Hits 7968 8632 +664
- Misses 2024 2235 +211
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Note
This is dependent on changes coming to the OpenAI Provider (see PR 42) or Google Provider (see PR 31)
What?
Adds a new experiment, Text to Speech, that allows editors the ability to on-demand generate speech for a post, including the title and post content. This is then displayed as a player on the front-end or that can be turned off on a post by post basis.
Why?
Adding support for Text to Speech allows sites to provide their users with the ability to listen to content instead of having to read the content.
How?
ai/speech-generationandai/speech-import. These can be used to generate speech from text and import that speech as an audio file into the Media LibraryUse of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Opus 4.8
Used for: Help with initial planning and implementation. Refinement, review and testing done by me
Testing Instructions
Screenshots
Changelog Entry