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-piapi

v1.0.5

Published

Community n8n nodes for PiAPI - integrate generative AI capabilities (image, video, audio, 3D) into your workflows

Downloads

147

Readme

n8n-nodes-piapi

This is a community-maintained n8n node package that enables seamless integration with PiAPI - a centralized hub for generative AI APIs. This package allows you to leverage advanced AI capabilities directly in your n8n workflows.

Note: This is an unofficial community project and is not developed or maintained by the PiAPI team.

About PiAPI

PiAPI provides easy access to cutting-edge generative AI APIs for:

  • Image generation (Midjourney, Flux)
  • Video generation (Luma Dream Machine, Kling, Hailuo, WanX, Hunyuan)
  • Music and audio generation
  • Face swapping
  • 3D model generation
  • Large Language Models
  • And much more!

Features

This n8n package includes nodes for:

🎨 Image Generation & Manipulation

  • Flux - Text to Image, Image to Image
  • Midjourney - Advanced image generation
  • LLM (GPT-4o) - Text to Image, Image to Image with natural language
  • Image Upscale - Enhance image resolution
  • Remove Background - Automatic background removal
  • Qubico Segment - Advanced image segmentation

🎬 Video Generation & Editing

  • Dream Machine - Text to Video, Image to Video, Video Extension
  • Kling - Text to Video, Image to Video, Video Extension, Lip Sync, Effects, Virtual Try-On
  • Hailuo - Text to Video, Image to Video, Subject Video (with Director Mode camera controls)
  • WanX - Text to Video, Image to Video
  • Hunyuan - Text to Video, Image to Video
  • Skyreels - Image to Video
  • Video Upscale - Enhance video resolution

🎵 Audio Generation

  • MMAudio - Video to Audio generation
  • DiffRhythm - Audio generation
  • Text to Speech - Convert text to natural speech

🎭 Face & Character

  • Faceswap - Image to Image, Video to Video (single and multi-face with index control)
  • Kling Lip Sync - Synchronize lip movements
  • Kling Try-On - Virtual clothing try-on

🎲 3D Generation

  • Trellis - 3D model generation

🔧 Utilities

  • Task Status - Check status of async operations
  • File Upload - Temporary file storage

Installation

Follow the installation guide in the n8n community nodes documentation.

Quick Install

# In n8n
# Go to Settings > Community Nodes
# Install: n8n-nodes-piapi

Credentials

You'll need an API key from PiAPI:

  1. Sign up at piapi.ai
  2. Get your API key from the dashboard
  3. Add the API key to the PiAPI credentials in n8n

Usage

  1. Add any PiAPI node to your workflow
  2. Configure your PiAPI credentials
  3. Select the operation you want to perform
  4. Configure the node parameters
  5. Execute your workflow

Example: Text to Image with Flux

  1. Add a "Flux Text to Image" node
  2. Enter your prompt
  3. Select model and parameters
  4. Execute to generate your image

Example: Director Mode with Hailuo

Use camera controls in your prompts:

[Push in, Pan right] A majestic eagle soaring through clouds
[Zoom out, Tilt up] City skyline at sunset

Compatibility

  • n8n version: 1.80.0 and above
  • Node.js: 18.10 or higher

Support

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT

Disclaimer

This is an unofficial community node package and is not affiliated with, officially maintained, or endorsed by PiAPI. Use at your own discretion.