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

v1.0.0

Published

N8N community nodes for Alibaba Cloud Qwen (通义千问) - Text generation, Image generation, and Video generation

Downloads

147

Readme

n8n-nodes-qianwen

NPM Version License: MIT N8N Community

N8N community nodes for Alibaba Cloud Qwen (通义千问) - Powerful AI capabilities including text generation, image generation, and video generation.

English | 中文


English

Features

This package provides three powerful nodes for N8N:

1. 🤖 Qwen (Text Generation)

  • Multiple Models: Support for Qwen-Turbo, Qwen-Plus, Qwen-Max, Qwen3.5-Plus, and more
  • Web Search: Enable real-time internet search for up-to-date information
  • Deep Thinking: Advanced reasoning mode with visible thought process
  • Conversation History: Multi-turn dialogue support
  • Vision Models: Support for multimodal models (text + images)
  • Full Parameter Control: Temperature, top_p, max_tokens, and more

2. 🎨 Qwen Image (Image Generation)

  • Text-to-Image: Generate images from text descriptions
  • Image-to-Image: Transform existing images
  • Multiple Styles: Photography, anime, oil painting, watercolor, sketch, and more
  • Custom Sizes: 1024x1024, 720x1280, 1280x720, 512x512
  • Negative Prompts: Specify what you don't want in the image
  • Batch Generation: Generate up to 4 images at once

3. 🎬 Qwen Video (Video Generation)

  • Text-to-Video: Create videos from text descriptions
  • Image-to-Video: Animate static images
  • Task Management: Query generation status
  • Custom Settings: Duration, resolution, frame rate

Installation

Method 1: NPM (Recommended)

npm install n8n-nodes-qianwen

Then restart your N8N instance.

Method 2: Community Nodes (N8N Cloud/Self-hosted)

  1. Go to Settings > Community Nodes
  2. Click Install
  3. Enter n8n-nodes-qianwen
  4. Click Install

Method 3: Manual Installation

# Navigate to your N8N installation directory
cd ~/.n8n/nodes

# Install the package
npm install n8n-nodes-qianwen

# Restart N8N

Configuration

  1. In N8N, go to Credentials
  2. Click Add Credential
  3. Select Qwen API
  4. Enter your credentials:
    • API Key: Your Alibaba Cloud API Key (starts with sk-)
    • API Endpoint: https://dashscope.aliyuncs.com/compatible-mode/v1 (default)

Getting API Key

  1. Visit Alibaba Cloud Model Studio
  2. Sign in or create an account
  3. Navigate to API Key Management
  4. Create a new API Key
  5. Copy the key (starts with sk-)

Usage Examples

Text Generation

1. Add "Qwen" node to your workflow
2. Select a model (e.g., qwen-turbo)
3. Enter your prompt
4. Optional: Enable web search or deep thinking
5. Execute

Output:

{
  "text": "Response text...",
  "usage": {
    "total_tokens": 150
  }
}

Image Generation

1. Add "Qwen Image" node
2. Select operation: "Text to Image"
3. Enter image description
4. Choose style and size
5. Execute

Output:

{
  "images": [
    {"url": "https://..."}
  ]
}

Video Generation

1. Add "Qwen Video" node
2. Select operation: "Text to Video"
3. Enter video description
4. Execute to get task ID
5. Use "Get Task Status" to check progress

Supported Models

  • Text: qwen-turbo, qwen-plus, qwen-max, qwen3.5-plus, qwen2.5-72b-instruct, and more
  • Image: wanx-v1, wanx-sketch-to-image-v1, wanx-style-repaint-v1
  • Video: videosynth-v1

For the complete list, see Alibaba Cloud Model List.

Resources

License

MIT


中文

功能特性

本包为N8N提供三个强大的节点:

1. 🤖 Qwen(文本生成)

  • 多模型支持:Qwen-Turbo、Qwen-Plus、Qwen-Max、Qwen3.5-Plus等
  • 联网搜索:启用实时互联网搜索获取最新信息
  • 深度思考:高级推理模式,可查看思考过程
  • 对话历史:支持多轮对话
  • 视觉模型:支持多模态模型(文本+图片)
  • 完整参数控制:温度、top_p、最大token数等

2. 🎨 Qwen Image(图片生成)

  • 文生图:根据文字描述生成图片
  • 图生图:转换现有图片
  • 多种风格:摄影、动画、油画、水彩、素描等
  • 自定义尺寸:1024x1024、720x1280、1280x720、512x512
  • 负面提示词:指定不想要的内容
  • 批量生成:一次生成最多4张图片

3. 🎬 Qwen Video(视频生成)

  • 文生视频:根据文字描述创建视频
  • 图生视频:将静态图片制作成视频
  • 任务管理:查询生成状态
  • 自定义设置:时长、分辨率、帧率

安装方法

方法1:NPM(推荐)

npm install n8n-nodes-qianwen

然后重启N8N实例。

方法2:社区节点(N8N云版/自托管)

  1. 进入 设置 > 社区节点
  2. 点击 安装
  3. 输入 n8n-nodes-qianwen
  4. 点击 安装

方法3:手动安装

# 进入N8N安装目录
cd ~/.n8n/nodes

# 安装包
npm install n8n-nodes-qianwen

# 重启N8N

配置

  1. 在N8N中,进入 凭证
  2. 点击 添加凭证
  3. 选择 Qwen API
  4. 输入凭证信息:
    • API Key:你的阿里云API密钥(以sk-开头)
    • API Endpointhttps://dashscope.aliyuncs.com/compatible-mode/v1(默认)

获取API密钥

  1. 访问阿里云百炼平台
  2. 登录或创建账号
  3. 进入 API-KEY管理
  4. 创建新的API Key
  5. 复制密钥(以sk-开头)

使用示例

文本生成

1. 添加"Qwen"节点到工作流
2. 选择模型(如qwen-turbo)
3. 输入提示词
4. 可选:启用联网搜索或深度思考
5. 执行

输出

{
  "text": "回复文本...",
  "usage": {
    "total_tokens": 150
  }
}

图片生成

1. 添加"Qwen Image"节点
2. 选择操作:"文生图"
3. 输入图片描述
4. 选择风格和尺寸
5. 执行

输出

{
  "images": [
    {"url": "https://..."}
  ]
}

视频生成

1. 添加"Qwen Video"节点
2. 选择操作:"文生视频"
3. 输入视频描述
4. 执行获取任务ID
5. 使用"查询任务状态"检查进度

支持的模型

  • 文本:qwen-turbo、qwen-plus、qwen-max、qwen3.5-plus、qwen2.5-72b-instruct等
  • 图片:wanx-v1、wanx-sketch-to-image-v1、wanx-style-repaint-v1
  • 视频:videosynth-v1

完整列表请查看阿里云模型列表

资源

许可证

MIT


Support

If you encounter any issues or have questions:

  1. Check the Documentation
  2. Open an Issue
  3. Join the N8N Community

Contributing

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

Changelog

1.0.0

  • Initial release
  • Qwen text generation node
  • Qwen Image generation node
  • Qwen Video generation node
  • Support for web search and deep thinking
  • Dynamic model loading
  • OpenAI-compatible API support