Actions20
- Zalo Send Message Actions
- Gửi tin nhắn
- Gửi trạng thái tin nhắn
- Lấy danh sách sticker
- Lấy chi tiết sticker
- Gửi sticker
- Thả Reaction
- Gửi tin nhắn thoại
- Gửi danh thiếp
- Gửi Video
- Gửi Link
- Chuyển Tiếp Tin Nhắn
- Thêm Tin Nhắn Nhanh
- Lấy Danh Sách Tin Nhắn Nhanh
- Cập Nhật Tin Nhắn Nhanh
- Xóa Tin Nhắn Nhanh
- Đánh Dấu Chưa Đọc
- Bỏ Đánh Dấu Chưa Đọc
- Lấy Danh Sách Đánh Dấu Chưa Đọc
- Zalo Text To Speech Actions
Zalo Text To Speech → Convert Text to Speech
AI-generatedOverview
This node converts input text into speech using the Zalo Text To Speech (TTS) API. It supports selecting different voices, encoding formats, and playback speeds. The node is useful for applications that require generating audio from text, such as creating voice messages, accessibility features, or automated announcements.
Use Case Examples
- Convert a given text into an audio file URL using a selected voice and encoding format.
- Generate speech audio with customized playback speed for use in multimedia projects.
Properties
| Name | Meaning |
|---|---|
| Text | The text to convert to speech, provided as a string input. |
| Voice (Giọng đọc) | The voice to use for the speech synthesis, selectable from predefined voice options representing different genders and regions. |
| EnCode Output | The audio encoding format for the output speech, selectable as WAV, MP3, or AAC. |
| Speed | Playback speed of the generated speech, ranging from 0.8 to 1.2. |
Output
JSON
dataurl- URL of the generated speech audio file
error- Error message if the TTS API call failserror_code- Error code returned by the TTS APIerror_message- Detailed error message from the TTS API
Dependencies
- Zalo TTS API key credential required for authentication
Troubleshooting
- Ensure the Zalo TTS API credentials are correctly set and valid; missing or invalid API key will cause authentication errors.
- Check the text input is not empty and properly encoded to avoid API request errors.
- If the API returns an error, review the error_message field for details and adjust parameters accordingly.
- Network issues or incorrect endpoint URL can cause request failures; verify connectivity and API endpoint correctness.