JigsawStack icon

JigsawStack

Use JigsawStack API

Actions20

Text to Speech → Text to Speech

AI-generated

Overview

This node converts input text into speech audio using the JigsawStack API's Text to Speech service. It supports various accents or voice codes, including custom accents and voice cloning via a direct audio URL. Users can specify the return format of the audio as Base64, URL, or binary data. This node is useful for applications requiring automated voice generation, such as creating audio content, voice assistants, or accessibility features.

Use Case Examples

  1. Converting a text message into an audio file with a specific accent for a voice assistant.
  2. Generating speech audio from text for an audiobook or podcast.
  3. Cloning a specific voice using a provided audio URL and generating speech in that voice.

Properties

Name Meaning
Text The text to convert to speech.
Accent Accent or voice code to use for speech synthesis.
Custom Accent Custom accent code if the predefined accents do not fit the requirement.
Speaker Clone URL Direct URL to an audio file used for voice cloning.
Return Type Format in which the audio file is returned: Base64, URL, or binary.
Voice ID Voice ID for a specific cloned voice.
Request Options Additional request options such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

Binary

Contains the audio file in binary format if 'Return Type' is set to binary.

JSON

  • audioUrl - URL to the generated speech audio file if 'Return Type' is URL.
  • audioBase64 - Base64 encoded string of the generated speech audio if 'Return Type' is Base64.
  • voiceId - Identifier of the voice used for speech synthesis, especially when cloning voices.

Dependencies

  • Requires an API key credential for the JigsawStack API to authenticate requests.

Troubleshooting

  • Common issues include invalid or missing API key, resulting in authentication errors.
  • Incorrect or unsupported accent or voice ID may cause the API to fail or return errors.
  • Network issues or incorrect proxy settings can cause request failures.
  • Timeouts may occur if the server does not respond within the configured time limit.

Discussion