Back to Tools

Text to Speech

AI

Convert text to natural-sounding speech using ElevenLabs, OpenAI TTS, or Google Cloud TTS.

Available Actions
generateclonevoices
Input Schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string"
    },
    "model": {
      "type": "string"
    },
    "voice": {
      "type": "string"
    }
  }
}
Output Schema
{
  "type": "object",
  "properties": {
    "duration": {
      "type": "number"
    },
    "audio_url": {
      "type": "string"
    }
  }
}
Quick Start

API Endpoint

POST /api/execute/text-to-speech

cURL Example

curl -X POST \
  https://api.nulayers.com/execute/text-to-speech \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"action": "generate"}'
Integration

Get your API key from the dashboard to start using this tool in your AI applications.