lokutor

n8n community node for Lokutor: text to speech and speech to text in nine languages

Package Information

Released: this month
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.0
Author: Lokutor AI

Documentation

n8n-nodes-lokutor

n8n community node for Lokutor: text to speech and speech to text on Lokutor's own speech models, in English, Spanish, Catalan, Galician, Basque, Portuguese, French, Italian and German.

Installation | Operations | Credentials | Compatibility | Resources

Installation

Follow the community nodes installation guide and install n8n-nodes-lokutor.

Operations

Text to Speech

Turns text into a WAV file (16-bit PCM, 44.1 kHz, mono) written to a binary field of the output item.

Parameter Description
Text Up to 5,000 characters.
Voice Ten slots: Claire (F1) to Isabella (F5), James (M1) to Noah (M5). Each language has its own native speaker per slot.
Language en es ca gl eu pt fr it de.
Put Output in Field Binary field name, default data.
Clone Voice ID (option) A clone_... voice from your account; replaces Voice.

Speech to Text

Transcribes a WAV file held in a binary field (for example from a Read Binary File or HTTP Request node).

Parameter Description
Input Binary Field Binary field with the audio. WAV only (PCM 8 or 16 bit, 8-48 kHz, up to 10 MB without speaker labels). Convert other formats first.
Language (option) Detected when empty.
Identify Speakers (option) Labels who said each word. It runs on a CPU service, so it is not real time (about eleven minutes for an hour of audio).
Number of Speakers (option) 1-32, if known.
Include Word Timestamps (option) Adds words with start and end seconds.

Output: text, language, durationSeconds, and with the options words and speakers.

Credentials

Create an API key in the Lokutor dashboard and paste it into a Lokutor API credential. The credential test calls a free, authenticated endpoint, so a wrong key fails at once. Usage is paid from the prepaid balance of your account, see pricing.

Compatibility

Built with @n8n/node-cli and tested against the n8n community node linter. The package has no runtime dependencies.

Resources

Development

npm install
npm test        # offline, mocked HTTP
npm run lint
npm run build

Releases are published from GitHub Actions with npm provenance when a version tag is pushed (.github/workflows/publish.yml).

License

MIT

Discussion