Flowise/packages/components
Ilango 9b8fee3d8f
Text to speech (#5062)
* Add tts UI

* Add tts backend

* Add description to eleven labs credentials

* Fix issue with fetching eleven labs voices

* Fix issue with text to speech tab not showing correct saved voice

* Add option to autoplay tts audio after prediction completes

* Fix crash issue when first changing tts provider

* Set up streaming response for text to speech audio

* Update controllers - fix issue with sse client getting removed before tts events are sent

* Use existing sse streamer to stream tts audio before sse client is removed

* Add tts sse to redis publisher

* Fix issues with TTS - openai voices, streaming audio, rate limiting, speed of speech

* Refactor

* Refactor TTS - fix issues with tts loading and stop audio buttons

* Abort TTS SSE when clicking the stop button

* Update SSE handling for TTS

* Fix issue with test voice feature

* Fix issue with tts voices not loading

* Update generate tts endpoint and its usage in internal chat

* Whitelist tts generate endpoint

* Refactor Text-to-Speech Provider Selection and Enhance UI Components

- Updated the text-to-speech controller to select the active provider based on status instead of the first available provider
- Added audio waveform controls and test audio functionality in the TextToSpeech component, allowing users to play and pause test audio
- Integrated Autocomplete for voice selection in the TextToSpeech component
- Implemented TTS action management in ChatMessage to prevent auto-scrolling during TTS actions

* - Implemented stopAllTTS function calls to halt existing TTS audio before playing new audio or starting a new TTS stream

* Updated the condition for enabling TTS providers to exclude the 'none' provider, ensuring only valid providers are considered for text-to-speech functionality.

* Remove unnecessary code

* Add ability to abort audio streaming in TTS and release lock on chat input

* Remove logger

* Fix tts audio not playing when clicking speaker button

* update

* TTS abort controller

* Fix abort not working for TTS autoplay

* Send metadata event when aborting autoplay TTS

* Fix UI issue

* Remove elevenlabs sdk from root package.json

* Remove redundant condition for tts autoplay in chatflow

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-10-02 12:19:06 +01:00
..
credentials Text to speech (#5062) 2025-10-02 12:19:06 +01:00
evaluation Evaluations for Agentflows v2 & Assistants (#4589) 2025-06-10 16:11:22 +01:00
nodes feat: extend OpenAPI Toolkit with loading the spec from URL, and tools selection (#5237) 2025-10-02 10:47:31 +01:00
src Text to speech (#5062) 2025-10-02 12:19:06 +01:00
README-ZH.md Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
README.md Feature/agentflow v2 (#4298) 2025-05-10 10:21:26 +08:00
gulpfile.ts - Updated .js files to .jsx on frontend. 2023-11-23 08:17:06 -05:00
jest.config.js feat: add JSONPathExtractor tool (#5052) 2025-08-18 17:55:58 +08:00
models.json Chore/claude sonnet 4.5 (#5271) 2025-09-30 12:31:23 +01:00
package.json Text to speech (#5062) 2025-10-02 12:19:06 +01:00
tsconfig.json feat: add JSONPathExtractor tool (#5052) 2025-08-18 17:55:58 +08:00

README.md

Flowise Components

English | 中文

Apps integration for Flowise. Contain Nodes and Credentials.

Flowise

Install:

npm i flowise-components

License

Source code in this repository is made available under the Apache License Version 2.0.