Actions24
- Agent Actions
- Chat Actions
- File Actions
- Image Actions
- Model Actions
- Prompt Actions
- RAG Actions
- TTS Actions
- User Actions
- Video Actions
TTS → Create
AI-generatedOverview
This node converts text into speech using the Straico API's Text-to-Speech (TTS) service. It supports two TTS models: 'tts-1' and 'eleven_multilingual_v2', each with selectable voice options. Users provide the text content and select the model and voice to generate speech audio. This node is useful for applications like creating audio narrations, voice assistants, or accessibility features.
Use Case Examples
- Convert a blog post or article text into an audio file for podcasting or accessibility.
- Generate voice responses for a chatbot or virtual assistant using different voices and languages.
- Create character voices for storytelling or game development using the Eleven Multilingual V2 model.
Properties
| Name | Meaning |
|---|---|
| Model | Specifies the TTS model to use for the text-to-speech conversion. Options include 'tts-1' and 'eleven_multilingual_v2'. |
| Text | The actual text content to convert into speech, supporting up to 4,000 characters. |
| Voice | The voice to use for the TTS conversion. The available voices depend on the selected model. For 'tts-1', voices include Alloy, Echo, Fable, Onyx, Nova, and Shimmer. For 'eleven_multilingual_v2', voices can be loaded dynamically from ElevenLabs, with Clyde as a default example. |
Output
JSON
id- Identifier of the generated speech audio resource.message- Message or status returned by the TTS API.model- The TTS model used for the conversion.usage- Usage details such as tokens or characters processed.created_at- Timestamp when the TTS audio was created.
Dependencies
- Straico API with an API key credential for authentication
Troubleshooting
- Ensure the text input does not exceed 4,000 characters to avoid errors.
- Verify that the selected voice is compatible with the chosen TTS model.
- Check API authentication credentials if requests fail with authorization errors.
- If the voice list for Eleven Multilingual V2 model does not load, try refreshing the voice list or check network connectivity.