CambAI icon

CambAI

Interact with CambAI API for text-to-speech and voice generation

Actions4

Overview

The node integrates with the CambAI API to convert text into synthesized speech audio. It allows users to input textual content and specify detailed voice characteristics, producing a custom voice output that matches the description. This is useful for applications such as creating voiceovers, virtual assistants, audiobooks, or any scenario requiring natural-sounding speech synthesis.

For example, you can provide a welcoming message and describe the voice as "A warm and friendly middle-aged woman with a slight British accent," and the node will generate speech audio matching that description.

Properties

Name Meaning
Text The text content that will be converted into synthesized speech.
Voice Description A detailed description of the desired voice characteristics (minimum 18 words/100+ characters).
Additional Options Optional settings including:
• Polling Interval (Seconds): Time between status checks (1-10 seconds).
• Polling Timeout (Seconds): Maximum time to wait for voice generation completion (60-600 seconds).

Output

The node outputs JSON data containing the result of the text-to-voice conversion. This typically includes metadata about the generated audio and a reference or URL to the synthesized speech file. If binary data is returned, it represents the actual audio content of the synthesized voice.

Dependencies

  • Requires an API key credential for authenticating with the CambAI API.
  • Needs network access to https://client.camb.ai/apis.
  • No additional environment variables are explicitly required beyond the API authentication.

Troubleshooting

  • Common Issues:

    • Insufficient detail in the "Voice Description" may lead to unsatisfactory voice synthesis results. Ensure the description meets the minimum length requirements.
    • Network connectivity problems or invalid API credentials will cause request failures.
    • Long texts or complex voice descriptions might increase processing time; adjust polling interval and timeout accordingly.
  • Error Messages:

    • Authentication errors indicate invalid or missing API credentials; verify and update your API key.
    • Timeout errors suggest the voice generation took longer than the specified polling timeout; consider increasing the timeout value.
    • Validation errors on input fields usually mean required properties are missing or do not meet criteria (e.g., too short voice description).

Links and References

Discussion