Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

n8n-nodes-doubao

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-doubao

n8n community nodes for Doubao services

latest
Source
npmnpm
Version
0.2.10
Version published
Weekly downloads
5
-68.75%
Maintainers
1
Weekly downloads
 
Created
Source

n8n-nodes-doubao

A community-developed n8n node package that integrates Doubao (ByteDance) Text-to-Speech services into your workflows.

npm version License: MIT Node.js Version n8n Version

Overview

This package provides n8n integration for Doubao TTS (Text-to-Speech) services, allowing you to convert text to high-quality audio directly within your n8n workflows.

Features

Doubao TTS Node

  • 🎤 High-quality text-to-speech conversion
  • 🗣️ Multiple voice options (male, female, emotional voices)
  • 🎵 Multiple audio formats (MP3, WAV, PCM)
  • ⚡ Adjustable speech rate, volume, and pitch
  • 🌐 Multi-language support (Chinese, English, Japanese, Korean)
  • 💫 Emotion control (happy, sad, normal)
  • 📁 Custom filename support

Installation

# Install in your n8n project directory
npm install n8n-nodes-doubao

# Or install globally (if you have n8n installed globally)
npm install -g n8n-nodes-doubao

Prerequisites

  • Node.js >= 18.19.0
  • npm >= 9.x
  • n8n >= 1.0.0

Quick Start

  • Restart your n8n service after installation
  • Find "Doubao TTS" node in the node panel
  • Configure API credentials (see configuration section below)
  • Start using!

API Configuration

Getting API Credentials

  • Visit Volcengine Console
  • Register and complete identity verification
  • Enable Speech Synthesis service
  • Obtain the following credentials:
    • Access Token: your_access_token_here
    • App ID: your_app_id_here
    • Cluster (optional): volcano_tts (default)

Setting up in n8n

  • In n8n interface, click "Credentials""+ New Credential"
  • Search and select "Doubao API"
  • Fill in your API credentials and save
  • Select this credential in the Doubao TTS node

Usage Examples

Basic Text-to-Speech

Input Text: "Welcome to Doubao Text-to-Speech service!"
Voice Type: BV700_streaming (Standard Female)
Output: MP3 audio file

Advanced Configuration

Input Text: "Congratulations on your achievement!"
Voice Type: BV700_streaming
Emotion: happy
Speed Ratio: 1.2 (slightly faster)
Volume Ratio: 1.5 (slightly louder)
Custom Filename: celebration_message

Node Parameters

Voice Options

Voice CodeDescriptionCharacteristics
BV700_streamingStandard FemaleClear and natural, suitable for general use
BV701_streamingStandard MaleStable and powerful, suitable for formal occasions
BV001_streamingSweet FemaleGentle and lovely, suitable for friendly scenarios

Audio Formats

FormatQualityUse Case
mp3Good compressionWeb applications, general use
wavHigh qualityProfessional audio editing
pcmRaw audioAudio processing, development

Emotion Styles

EmotionDescription
normalStandard neutral tone
happyCheerful and upbeat
sadMelancholic tone

Common Use Cases

ScenarioRecommended Settings
News BroadcastingMale voice + Normal speed + Normal emotion
Audiobook NarrationFemale voice + Slower speed + Gentle emotion
Alert NotificationsLoud volume + Faster speed + Normal emotion
Children's ContentSweet female voice + Slower speed + Happy emotion

Troubleshooting

IssueSolution
🔑 Authentication failedCheck Access Token and App ID
🌐 Network timeoutVerify internet connection
📝 Text too longSplit text into smaller chunks
🎵 Audio quality issuesTry different voice types or formats

Technical Details

  • API Endpoint: https://openspeech.bytedance.com/api/v1/tts
  • Authentication: Bearer token
  • Response Format: JSON with base64 encoded audio data
  • Binary Output: Compatible with n8n's binary data format

Integration with Other Nodes

The Doubao TTS node works seamlessly with:

  • Telegram nodes (Send Audio/Voice messages)
  • File nodes (Save audio files)
  • HTTP Request nodes (Upload to external services)
  • Email nodes (Send audio attachments)

Contributing

We welcome contributions from the community! Please feel free to:

  • Report bugs and issues
  • Suggest new features
  • Submit pull requests
  • Improve documentation

Roadmap

  • ✅ Basic Doubao TTS functionality
  • ✅ Multiple voice support
  • ✅ Emotion control
  • ✅ Custom filename support
  • 🔄 Batch processing optimization
  • 🔄 Audio caching mechanism

Support

License

MIT License - see LICENSE file for details

Disclaimer

This is a community-developed package and is not officially affiliated with n8n or ByteDance/Volcengine. Use at your own discretion and ensure compliance with the respective service terms.

⭐ If this project helps you, please give it a star!

Built with ❤️ for the n8n community

Keywords

n8n-community-node-package

FAQs

Package last updated on 14 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts