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

v0.0.1

Published

Kie.ai nodes for n8n (image + video models, account credits)

Downloads

34

Readme

n8n-nodes-kieai

n8n community node package integrating multiple Kie.ai image and video models.

Overview

  • Models: 4o Image, Flux.1 Kontext, Qwen Image Edit, Google Imagen 4, Ideogram v3, Ideogram Character, Midjourney, WAN 2.2, Runway (AI Video + Aleph), Kling v2.1, Seedance, Veo 3 (incl. 1080p), Suno (Music), Luma Modify (Video), plus Upload and Account (credits).
  • Features: async polling and callbacks, result URL extraction, optional binary download, simple upload helper.

Install (n8n UI)

  • Settings > Community Nodes > Install
  • Search for n8n-nodes-kieai and install
  • Create credentials "Kie.ai API" and paste your API key

Install (Build & Link)

cd C:\Users\Igor\Desktop\n8n-nodes-kieai
if (Test-Path .\dist) { Remove-Item -Recurse -Force .\dist }
npm run build
npm link

cd $env:USERPROFILE\.n8n\custom
npm link n8n-nodes-kieai
npx n8n start

Credentials

  • In n8n, create a credential: "Kie.ai API" and paste your API key.
  • The node attaches Authorization: Bearer <apiKey> to all Kie.ai requests.

Usage

  • Add the "Kie.ai" node from the sidebar.
  • Choose a resource (model) and an operation (e.g., generate, details, downloadUrl).
  • For long-running jobs, either return taskId immediately or enable polling and optionally download the first result as binary.

Notes

  • Endpoint conventions vary: most models use /record-info; some "playground" APIs use /recordInfo.
  • JSON workflow import may not always map node types correctly; prefer adding the node from the sidebar when testing.

Troubleshooting Import (Unknown node "?")

  • Ensure this package is linked in %USERPROFILE%\.n8n\custom and n8n has been restarted.
  • The expected node type in workflow JSON is n8n-nodes-kieai.kieAi.
  • If an imported workflow uses a different variant (e.g., kieAi, n8n-nodes-kieai.KieAi), normalize it:
    • Run: npm run fix:workflow -- path\to\workflow.json
    • Re-import the adjusted JSON into n8n.

Development

  • Source in nodes/ and credentials/, outputs in dist/.
  • The build step copies .png/.svg logos from nodes/ to dist/nodes/.

Quickstarts by Model

4o Image (GPT-Image-1)

  • Resource: 4o Image (GPT-Image-1)
  • Operation: Generate
  • Set Prompt; optional: Reference Image URLs (one per line or comma), Aspect Ratio, Enhance, Variants
  • For immediate results: set Mode = poll, adjust Poll Interval/Max, and enable Download as Binary to attach the first image
  • Extras: use Get Details to re-fetch status by taskId; use Get Direct Download URL to convert a temporary URL into a signed URL

Flux.1 Kontext

  • Resource: Flux.1 Kontext
  • Operation: Generate
  • Set Prompt; optional: Input Image URL, Aspect Ratio, Model, Output Format, Translation, Prompt Upsampling, Safety, Callback
  • Use Mode = poll to wait; optionally download first result as binary

Qwen Image Edit

  • Resource: Qwen Image Edit
  • Operation: Generate (edit)
  • Provide Prompt and one or more Image URLs
  • Use Mode = poll to wait; optionally download first result
  • Use Details with a taskId to re-check status

Google Imagen 4

  • Resource: Google Imagen 4
  • Operation: t2i for text-to-image, i2i for image-to-image
  • Set Prompt (and input image for i2i); optional: Negative Prompt, Aspect Ratio, Output Format, Steps, Guidance, Seed, Safety, Callback
  • Mode = poll for immediate results; optionally download first result
  • Use Details to re-fetch by taskId

Ideogram v3

  • Resource: Ideogram v3
  • Operation: Generate (and Edit/Remix if present)
  • Set Prompt; optional: variant settings per UI
  • Mode = poll to wait; optionally download first result; use Details for status

Ideogram Character

  • Resource: Ideogram Character
  • Operation: Generate (and Edit/Remix if present)
  • Similar to Ideogram v3; Mode = poll for immediate results; use Details for status

Midjourney

  • Resource: Midjourney
  • Operations: Generate, Upscale, Vary, Extend Video, Details
  • Start with Generate + Prompt; poll for result; then apply Upscale/Vary using returned task details

WAN 2.2 (Video)

  • Resource: WAN 2.2 (Video)
  • Operations: t2v (text->video), i2v (image->video), Details
  • For t2v: Prompt, Resolution, Aspect Ratio; optional: Prompt Expansion, Seed, Acceleration, Callback
  • For i2v: Image URL + Prompt, Resolution, Aspect Ratio; same options
  • Mode = poll; optionally enable Download as Binary to fetch the first video URL

Runway (AI Video)

  • Resource: Runway (AI Video)
  • Operations: t2v, i2v, extend, details
  • Start with t2v/i2v + Prompt (and Image URL for i2v); Mode = poll; optionally download first result; use extend to lengthen a video by taskId

Runway Aleph (Video)

  • Resource: Runway Aleph (Video)
  • Similar to Runway (AI Video), targeting Aleph models; poll for results and use Details by taskId as needed

Kling v2.1 (Video)

  • Resource: Kling v2.1 (Video)
  • Operation: Generate (per UI)
  • Provide Prompt and any model-specific options shown; Mode = poll; optionally download first result; use Details for status

Seedance v1 (Video)

  • Resource: Seedance v1 (Video)
  • Operation: Generate
  • Provide Prompt and options; Mode = poll; optionally download first result; use Details for status

Veo 3 (Quality / Fast)

  • Resource: Veo 3 (Quality / Fast)
  • Operations: Generate, Details, Get 1080p
  • Generate: set Model (fast/quality), Prompt, Aspect Ratio; optional: image URLs, watermark, seeds, fallback, callback; Mode = poll
  • After completion: use Get 1080p with taskId and index to fetch the full HD URL if provided

Nano Banana

  • Resource: Nano Banana (Generate/Edit)
  • Operations: Generate (text->image), Edit (image->image), Details
  • Generate: Prompt; optional Output Format and Image Size; Mode = poll
  • Edit: Edit Prompt + one or more Image URLs; Mode = poll
  • Details: re-check using taskId; status path uses /playground/recordInfo

Suno (Music)

  • Resource: Suno (Music)
  • Operations: Generate Music, Generate Lyrics, Details
  • Generate Music: set Prompt; optional Lyrics/Style/Duration/Callback; Mode = poll to wait; optionally download first audio as binary
  • Details: re-check using taskId

Luma Modify (Video)

  • Resource: Luma Modify (Video)
  • Operations: Modify, Details
  • Modify: set Prompt; optional Source Video URL/Strength/Aspect/Duration/Callback; Mode = poll to wait; optionally download first video URL as binary
  • Details: re-check using taskId

Upload

  • Resource: Upload
  • Operations: From Binary (input) or From URL
  • From Binary: set Binary Property (default data), optional File Name/Content Type
  • From URL: provide File URL, optional File Name/Content Type overrides
  • Returns a downloadUrl for use with other models

Account

  • Resource: Account
  • Operation: Get Credits — returns your Kie.ai credit balance