n8n integration

Generate voice audio with the Luntrex TTS endpoint in n8n.

Connect your Luntrex API key, load voice models, and send text to receive a hosted audio URL. This endpoint works with ElevenLabs and OpenAI-compatible TTS models.

How to wire TTS inside n8n

Use an HTTP Request node (or your custom node) to call the Luntrex TTS endpoints. Models are fetched after credentials are saved.

Node
n8n-nodes-luntrex-tts

Integration steps

Create a Luntrex API key Generate a key in your Luntrex dashboard and keep it in n8n credentials.
Set credentials in n8n Base URL: https://luntrex.com. API Key goes in the Authorization header as Bearer <key>.
Load models Call GET /v1/n8n/tts/models to populate the model dropdown (voices).
Synthesize Send a POST request to /v1/n8n/tts/synthesize with your text and model.
Use the audio URL The response includes audio_url which you can pass to storage, messaging, or playback nodes.
Tip: Store your Luntrex API key in n8n credentials so you can rotate keys without editing workflows.

Request fields

  • model Provider + voice ID (example: elevenlabs/aMSt68OGf4xUZAnLpTU8).
  • text The text you want to convert to speech.
  • voice_settings Optional. For Eleven v3, stability must be 0.0, 0.5, or 1.0.
  • output_format Optional. Example: mp3_44100_128.
  • voice Optional. Used for OpenAI TTS models.

Example body (JSON)

{
  "model": "elevenlabs/aMSt68OGf4xUZAnLpTU8",
  "text": "Hello from Luntrex!",
  "voice_settings": {
    "stability": 0.5,
    "similarity_boost": 0.8
  },
  "output_format": "mp3_44100_128"
}

Response

  • audio_url Hosted audio file URL.
  • usage Token usage and cost metadata.

Troubleshooting

  • 401 Verify the API key and credentials header format.
  • 400 Check the model ID, voice ID, or stability values.
  • 403 User has insufficient credits.
Back to top