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

v0.1.0

Published

n8n community node for Legnext AI - Generate images and videos using Midjourney models in your workflows

Readme

n8n-nodes-legnext

Legnext

This is an n8n community node that integrates Legnext AI into your n8n workflows. Legnext AI is a powerful API service for AI-powered image and video generation using Midjourney models, enabling you to create stunning visuals and dynamic videos directly from your automation workflows.

With the Legnext node, you can generate images from text prompts, create variations, upscale images, blend multiple images together, generate videos, and much more—all through a simple, declarative API interface.

n8n is a fair-code licensed workflow automation platform.

Installation Operations Credentials Compatibility Usage Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

To install the Legnext node:

  1. Go to SettingsCommunity nodes in your n8n instance
  2. Search for n8n-nodes-legnext
  3. Click Install

Operations

The Legnext node provides four main resources with comprehensive operations:

🖼️ Image Resource

Generate and manipulate images using Midjourney models:

  • Blend - Blend 2-5 images together seamlessly
  • Describe - Generate text descriptions and prompts from images
  • Imagine - Generate a 2x2 image grid from text prompts
  • Outpaint - Extend images in specified directions
  • Pan - Extend the image canvas with scale ratio
  • Reroll - Regenerate images using the same prompt
  • Shorten - Analyze and shorten prompts to key elements
  • Upscale - Upscale images from generated grids
  • Variation - Create variations of selected images with optional remix prompts

🎬 Video Resource

Create and enhance dynamic videos:

  • Extend Video - Extend existing videos with seamless continuation
  • Upscale Video - Enhance video resolution and quality using AI
  • Video Diffusion - Generate dynamic videos from text prompts or images

📋 Job Resource

Monitor and manage your generation tasks:

  • Get Job - Retrieve the status and results of any generation job

💰 Account Resource

Manage your Legnext account:

  • Get Balance - Check your account balance and usage

Credentials

To use the Legnext node, you need to authenticate with your Legnext API key:

  1. Create a free account at Legnext AI
  2. Navigate to your API settings to generate an API key
  3. In n8n, add new credentials for Legnext API
  4. Enter your API key
  5. Test the connection to ensure it works

Usage

Basic Workflow Example

Here's a simple example of generating an image and upscaling it:

  1. Imagine Operation: Generate a 2x2 grid of images

    • Resource: Image
    • Operation: Imagine
    • Text Prompt: "A beautiful sunset over snow mountains"
  2. Get Job Operation: Wait for the job to complete

    • Resource: Job
    • Operation: Get Job
    • Job ID: {{ $json.job_id }}
  3. Upscale Operation: Upscale your favorite image

    • Resource: Image
    • Operation: Upscale
    • Job ID: {{ $json.job_id }}
    • Image Number: 0 (first image in the grid)

Webhook Integration

All operations support optional webhook callbacks. Add a callback URL to receive notifications when tasks complete:

callback: https://your-webhook-endpoint.com/notify

Resources

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please:

  • Open an issue on GitHub
  • Contact Legnext support at Legnext AI
  • Join the n8n community forum for general n8n questions

Made with ❤️ by the Legnext team