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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@fengcch/n8n-nodes-302ai-chat

v1.2.2

Published

n8n community node for interacting with the 302.ai chat completion API

Readme

@fengcch/n8n-nodes-302ai-chat

NPM Version License: MIT N8N Compatibility

This is an n8n community node for 302.AI AI service integration.

Prerequisites

You need to have a valid API key from 302.AI to use this node.

Installation

  1. Go to Settings > Community Nodes in your n8n instance.
  2. Select Install and enter @fengcch/n8n-nodes-302ai-chat in the search box.
  3. Click Install to add the node to your n8n instance.

Configuration

  1. In your n8n workflow, add the "302.AI" node.
  2. In the "Credentials" section, click on Create New.
  3. Give your credential a name.
  4. Enter your API key from 302.AI into the API Key field.
  5. Click Save to create the credential.

Usage

Chat Operation

  1. Model Name or ID: Select from available 302.ai models
  2. System Prompt: (Optional) Provide context for the AI
  3. Message: Your input message
  4. Additional Fields: Temperature, max tokens, etc.

Multimodal Support

  • Supports both text and image inputs in chat conversations
  • Compatible with vision-capable models for image understanding
  • Image URL: Optional field to include images in your conversation
  • Supported formats: HTTP/HTTPS image URLs or base64 encoded images
  • Use cases: Image analysis, visual question answering, content understanding from images

Output

  • Standard response: json.response contains the model's reply
  • Error handling: json.error for any API issues

Examples

Basic Chat Example

{
  "model": "gpt-3.5-turbo",
  "message": "Hello, how can AI help with automation?",
  "temperature": 0.7
}

Pseudo-stream Mode

  • Enable the Pseudo-stream Mode toggle (below Image URL) when the target model only supports streaming responses, for example Qwen3.
  • The node consumes the full stream and still returns a single JSON result so you can read the reply from json.response.
  • If the service emits reasoning_content, it is exposed as json.reasoning for easier debugging.

Multimodal Example (Text + Image)

{
  "model": "gpt-5",
  "message": "What do you see in this image?",
  "imageUrl": "https://example.com/image.jpg",
  "temperature": 0.5
}

Response Example

{
  "response": "AI can help with automation in many ways, including data processing, decision making, content generation, and workflow optimization..."
}

License

MIT