npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-byteplus

v0.2.1

Published

n8n community node for BytePlus AI services (Image Generation, Video Generation, Text Generation)

Readme

n8n-nodes-byteplus

n8n community node for BytePlus AI services - Image Generation, Video Generation, and Text Generation.

Features

| Service | Capabilities | |---------|-------------| | Image Generation | Generate images using Seedream models (2K, 1080p, 720p, 1024x1024) | | Video Generation | Create videos from text + reference images using Seedance | | Text Generation | Generate text responses using Seed LLM |

Installation

Option 1: Community Node (Recommended)

  1. In your n8n instance, go to Settings > Community Nodes
  2. Click Install
  3. Enter n8n-nodes-byteplus
  4. Agree to the risks and click Install

Option 2: Manual Installation

npm install n8n-nodes-byteplus

Setup

1. Get BytePlus API Credentials

  1. Sign up at BytePlus
  2. Navigate to the ARK console
  3. Generate an API key

2. Configure Credentials in n8n

  1. In n8n, go to Credentials
  2. Click New Credential
  3. Search for BytePlus API
  4. Enter your API key and configure endpoints if needed

Usage

Image Generation

Generate images from text prompts using Seedream models.

Parameters:

  • Prompt (required): Text description of the image
  • Model: Seedream 4.0 (default), Seedream 3.0, or Custom
  • Size: 2K, 1080p, 720p, or 1024x1024
  • Watermark: Add watermark (default: true)

Output: Images are displayed directly in n8n output panel with download URLs.

Video Generation

Create videos from text descriptions and reference images using Seedance.

Parameters:

  • Prompt (required): Text description of the video
  • Reference Image URL (required): Public https:// URL of reference image
  • Model: Seedance 1.0 Lite I2V (default) or Custom
  • Max Wait Time: Polling timeout in seconds (default: 300)

Text Generation

Generate text responses using Seed LLM.

Parameters:

  • Prompt (required): Question or prompt text
  • Model: Model ID for specific Seed LLM models

Local Development

Prerequisites

  • Node.js >=18.0.0
  • n8n installed locally (npm install -g n8n or use npx)

Quick Start

  1. Clone and install dependencies:

    git clone <your-repo-url>
    cd n8n-nodes-byteplus
    npm install
  2. Build the node:

    npm run build
  3. Start n8n with the custom node:

    N8N_CUSTOM_EXTENSIONS="/path/to/n8n-nodes-byteplus" npx n8n start

    Note: npm run dev only runs the TypeScript compiler in watch mode — it does not start n8n. You need to run n8n separately.

  4. Access n8n:

    • Open http://localhost:5678
    • Create your workflow
    • Add BytePlus node from the nodes panel
    • Configure your BytePlus API credentials

Port note: n8n defaults to port 5678 for the editor UI. Port 5679 is used internally by the Task Broker — do not set N8N_PORT=5679 as it will conflict.

Development Commands

# Build the node
npm run build

# Watch mode for development
npm run dev

# Lint code
npm run lint

# Fix linting issues
npm run lintfix

# Format code
npm run format

# Type checking
npm run typecheck

Project Structure

n8n-nodes-byteplus/
├── credentials/
│   └── BytePlusApi.credentials.ts    # API credential configuration
├── nodes/
│   └── BytePlus/
│       ├── BytePlus.node.ts          # Main node definition
│       ├── byteplus.svg              # Node icon
│       └── actions/
│           ├── Image/                # Image generation operations
│           ├── Video/                # Video generation operations
│           └── Text/                 # Text generation operations
├── dist/                             # Built files (auto-generated)
├── package.json                      # Dependencies and scripts
└── tsconfig.json                     # TypeScript configuration

Security

  • No credentials are hardcoded in this repo (only field definitions)
  • Secure your n8n instance before exposing it (auth + access controls), especially if using tunnels for OAuth redirects
  • Keep TLS verification enabled (avoid NODE_TLS_REJECT_UNAUTHORIZED=0 unless you fully understand the MITM risk)

API Reference

| Operation | Endpoint | |-----------|----------| | Image Generation | /api/v3/images/generations | | Video Generation | /api/v3/contents/generations/tasks | | Text Generation | /api/v3/chat/completions |

Troubleshooting

Common Issues

Node not appearing in n8n:

  • Ensure you built the project (npm run build)
  • Verify N8N_CUSTOM_EXTENSIONS points to the correct path
  • Restart n8n after rebuilding

API authentication errors:

  • Verify your BytePlus API key is correct
  • Check the base URL is set properly
  • Ensure your BytePlus account has necessary permissions

Build errors:

  • Run npm install to ensure all dependencies are installed
  • Check Node.js version (>=18.0.0 required)

License

MIT

Links