This is an n8n community node for 302.AI AI service integration.
You need to have a valid API key from 302.AI to use this node.
- Go to Settings > Community Nodes in your n8n instance.
- Select Install and enter
@302ai/n8n-nodes-302ai-chatin the search box. - Click Install to add the node to your n8n instance.
- In your n8n workflow, add the "302.AI" node.
- In the "Credentials" section, click on Create New.
- Give your credential a name.
- Enter your API key from
302.AIinto the API Key field. - Click Save to create the credential.
- Model Name or ID: Select from available 302.ai models
- System Prompt: (Optional) Provide context for the AI
- Message: Your input message
- Additional Fields: Temperature, max tokens, etc.
- 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
- Standard response:
json.responsecontains the model's reply - Error handling:
json.errorfor any API issues
{
"model": "gpt-3.5-turbo",
"message": "Hello, how can AI help with automation?",
"temperature": 0.7
}{
"model": "gpt-4-vision-preview",
"message": "What do you see in this image?",
"imageUrl": "https://example.com/image.jpg",
"temperature": 0.5
}{
"response": "AI can help with automation in many ways, including data processing, decision making, content generation, and workflow optimization..."
}