{"_id":"@302ai/n8n-nodes-302ai-chat","_rev":"4-402cafe5e1190fecdecb904ce91dd12f","name":"@302ai/n8n-nodes-302ai-chat","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@302ai/n8n-nodes-302ai-chat","version":"0.0.1","keywords":["n8n-community-node-package","302ai","ai","chat","llm"],"author":{"url":"https://302.ai","name":"302.AI"},"license":"MIT","_id":"@302ai/n8n-nodes-302ai-chat@0.0.1","maintainers":[{"name":"mthezi","email":"mthezi@163.com"}],"homepage":"https://github.com/302ai","bugs":{"url":"https://github.com/302ai/n8n-nodes-302ai-chat/issues"},"n8n":{"nodes":["dist/nodes/ThreeZeroTwoAI/ThreeZeroTwoAI.node.js"],"credentials":["dist/credentials/ThreeZeroTwoAIApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"6fc30e0ec7a355dbea797782f0ab8b769935e1cb","tarball":"https://registry.npmjs.org/@302ai/n8n-nodes-302ai-chat/-/n8n-nodes-302ai-chat-0.0.1.tgz","fileCount":11,"integrity":"sha512-CXEy+dglhTnx4KM8T9qv3C30lvSzCfu1urO/lnK2POnL2Ir7OCQg4EBYofM5Vr/qd+gnviEz6wRv7BwJoA5iRA==","signatures":[{"sig":"MEQCIFh3k69am1nCkmo5xHS7quhSz0IWrqo9ZlrW75wsmwSMAiBtJ+L7ZHbrq/oOG0uMdGfgcD3StigD4m0nwxk9zxmqaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23771},"main":"dist/index.js","engines":{"npm":">=8.0.0","node":">=18.0.0"},"scripts":{"build":"echo 'Build completed - using pre-built distribution files'","prepublishOnly":"npm run build"},"_npmUser":{"name":"mthezi","email":"mthezi@163.com"},"repository":{"url":"git+https://github.com/302ai/n8n-nodes-302ai-chat.git","type":"git"},"_npmVersion":"11.4.2","description":"n8n community node for 302.ai AI service integration","directories":{},"_nodeVersion":"24.3.0","dependencies":{"node-fetch":"^3.3.2"},"_hasShrinkwrap":false,"peerDependencies":{"n8n-workflow":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-302ai-chat_0.0.1_1756291310422_0.7692506720313037","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@302ai/n8n-nodes-302ai-chat","version":"0.0.2","keywords":["n8n-community-node-package","302ai","ai","chat","llm"],"author":{"url":"https://302.ai","name":"302.AI"},"license":"MIT","_id":"@302ai/n8n-nodes-302ai-chat@0.0.2","maintainers":[{"name":"mthezi","email":"mthezi@163.com"}],"homepage":"https://github.com/302ai/n8n-nodes-302ai-chat","bugs":{"url":"https://github.com/302ai/n8n-nodes-302ai-chat/issues"},"n8n":{"nodes":["dist/nodes/ThreeZeroTwoAI/ThreeZeroTwoAI.node.js"],"credentials":["dist/credentials/ThreeZeroTwoAIApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"6701b26358267ef71a134d5e163515e608a896d8","tarball":"https://registry.npmjs.org/@302ai/n8n-nodes-302ai-chat/-/n8n-nodes-302ai-chat-0.0.2.tgz","fileCount":11,"integrity":"sha512-pkoiIK3LxRk820yRu1NWzXmnHDRCuBikCP1DpkA104DX5g5hjfDg2QoKPS9O1vOEqVQKP0HrDRTKNBop8qUbtA==","signatures":[{"sig":"MEUCIEElkF2ys+RhRY2KBVFxnOhFparUa8hl6FlhCR++nyfNAiEAneBpE1oX+m7pxc6JlRrizMyma2HZphNrpa5ESJrJteY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24370},"main":"dist/index.js","engines":{"npm":">=8.0.0","node":">=18.0.0"},"scripts":{"build":"echo 'Build completed - using pre-built distribution files'","prepublishOnly":"npm run build"},"_npmUser":{"name":"mthezi","email":"mthezi@163.com"},"repository":{"url":"git+https://github.com/302ai/n8n-nodes-302ai-chat.git","type":"git"},"_npmVersion":"11.4.2","description":"n8n community node for 302.ai AI service integration","directories":{},"_nodeVersion":"24.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"n8n-workflow":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-302ai-chat_0.0.2_1757318344292_0.5107757293492421","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@302ai/n8n-nodes-302ai-chat","version":"0.0.3","keywords":["n8n-community-node-package","302ai","ai","chat","llm"],"author":{"url":"https://302.ai","name":"302.AI"},"license":"MIT","_id":"@302ai/n8n-nodes-302ai-chat@0.0.3","maintainers":[{"name":"mthezi","email":"mthezi@163.com"}],"homepage":"https://github.com/302ai/302ain8n-nodes-302ai-chat","bugs":{"url":"https://github.com/302ai/302ain8n-nodes-302ai-chat/issues"},"n8n":{"nodes":["dist/nodes/ThreeZeroTwoAI/ThreeZeroTwoAI.node.js"],"credentials":["dist/credentials/ThreeZeroTwoAIApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"984de231918d8388006fbdea1acce884237e53b3","tarball":"https://registry.npmjs.org/@302ai/n8n-nodes-302ai-chat/-/n8n-nodes-302ai-chat-0.0.3.tgz","fileCount":11,"integrity":"sha512-WSoS25PfCjkqIJo/zvt9P1XIDGYxZPFp0WvLjzZ4tio4zqBMxES23EYUpX7/mmVXsp9P7cPm7vT6IYa5J58w3w==","signatures":[{"sig":"MEQCIAvD0gYsYWgz7feCieNot9/krcwuGLAAnJKjUUk+T/64AiBkVkEqlUzLZ/3fMujO+OvAnm/i3OgwpOLqmNMgb4opsg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24386},"main":"dist/index.js","engines":{"npm":">=8.0.0","node":">=18.0.0"},"gitHead":"5868ab90aadc61da9cee1efa31d110555679a745","scripts":{"build":"echo 'Build completed - using pre-built distribution files'","prepublishOnly":"npm run build"},"_npmUser":{"name":"mthezi","email":"mthezi@163.com"},"repository":{"url":"git+https://github.com/302ai/302ain8n-nodes-302ai-chat.git","type":"git"},"_npmVersion":"11.5.1","description":"n8n community node for 302.ai AI service integration","directories":{},"_nodeVersion":"24.5.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"n8n-workflow":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-302ai-chat_0.0.3_1757499225952_0.21289546597904319","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2025-08-27T10:41:50.349Z","modified":"2026-02-10T11:40:10.526Z","0.0.1":"2025-08-27T10:41:50.624Z","0.0.2":"2025-09-08T07:59:04.458Z","0.0.3":"2025-09-10T10:13:46.130Z"},"bugs":{"url":"https://github.com/302ai/302ain8n-nodes-302ai-chat/issues"},"author":{"url":"https://302.ai","name":"302.AI"},"license":"MIT","homepage":"https://github.com/302ai/302ain8n-nodes-302ai-chat","keywords":["n8n-community-node-package","302ai","ai","chat","llm"],"repository":{"url":"git+https://github.com/302ai/302ain8n-nodes-302ai-chat.git","type":"git"},"description":"n8n community node for 302.ai AI service integration","maintainers":[{"email":"ji4jun0097@gmail.com","name":"trashcodermaker"}],"readme":"# @302ai/n8n-nodes-302ai-chat\n\n[![NPM Version](https://img.shields.io/npm/v/@302ai/n8n-nodes-302ai-chat?style=flat-square)](https://www.npmjs.com/package/@302ai/n8n-nodes-302ai-chat)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n[![N8N Compatibility](https://img.shields.io/badge/N8N-v1.x-blueviolet?style=flat-square)](https://n8n.io)\n\nThis is an n8n community node for [302.AI](https://302.ai/) AI service integration.\n\n## Prerequisites\n\nYou need to have a valid API key from [302.AI](https://302.ai/) to use this node.\n\n## Installation\n\n1.  Go to **Settings > Community Nodes** in your n8n instance.\n2.  Select **Install** and enter `@302ai/n8n-nodes-302ai-chat` in the search box.\n3.  Click **Install** to add the node to your n8n instance.\n\n## Configuration\n\n1.  In your n8n workflow, add the \"302.AI\" node.\n2.  In the \"Credentials\" section, click on **Create New**.\n3.  Give your credential a name.\n4.  Enter your API key from `302.AI` into the **API Key** field.\n5.  Click **Save** to create the credential.\n\n## Usage\n\n### Chat Operation\n\n1.  **Model Name or ID**: Select from available 302.ai models\n2.  **System Prompt**: (Optional) Provide context for the AI\n3.  **Message**: Your input message\n4.  **Additional Fields**: Temperature, max tokens, etc.\n\n### Multimodal Support\n- Supports both text and image inputs in chat conversations\n- Compatible with vision-capable models for image understanding\n- **Image URL**: Optional field to include images in your conversation\n- **Supported formats**: HTTP/HTTPS image URLs or base64 encoded images\n- **Use cases**: Image analysis, visual question answering, content understanding from images\n\n## Output\n\n- **Standard response**: `json.response` contains the model's reply\n- **Error handling**: `json.error` for any API issues\n\n## Examples\n\n### Basic Chat Example\n```json\n{\n  \"model\": \"gpt-3.5-turbo\",\n  \"message\": \"Hello, how can AI help with automation?\",\n  \"temperature\": 0.7\n}\n```\n\n### Multimodal Example (Text + Image)\n```json\n{\n  \"model\": \"gpt-4-vision-preview\",\n  \"message\": \"What do you see in this image?\",\n  \"imageUrl\": \"https://example.com/image.jpg\",\n  \"temperature\": 0.5\n}\n```\n\n### Response Example\n```json\n{\n  \"response\": \"AI can help with automation in many ways, including data processing, decision making, content generation, and workflow optimization...\"\n}\n```\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}