Text to Audio

This action allows you to convert text to audio in base64 format.

Usage

  • First, create a "text to audio" action in your agent.

  • Then, write the text you want to convert to audio in the action's editor.

  • Finally, run the agent and see the base64 audio result.

Output

The output is a object with two fields:"args" and "base64String". The "args" field contains the input text and the "base64String" field contains the base64 audio string.

{
  "args": {
    "text": "Hello! Thank you for using ReByte!"
  },
  "base64String": "//UklGRiQAAABXQVZFZm10IBAAAAABAAEAgD4AAAB9AAACABAAZGF0YQAAAAAA..."
}

Example Agent

Here is a simple example of an agent that uses the "text to audio" action.

Last updated