n8n-nodes-aiconnect
v0.0.3
Published
n8n node to connect with AI services compatible with OpenAI's API
Downloads
47
Maintainers
Readme
n8n-nodes-aiconnect
This is an n8n community node. It lets you use AI services compatible with OpenAI's API in your n8n workflows.
AIConnect is a versatile node that allows you to interact with various AI models for chat completions, image generation, and audio processing, all through a unified interface compatible with OpenAI's API structure.
n8n is a fair-code licensed workflow automation platform.
Support The Project
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Support
Support The Project
Your contribution will help in developing and maintaining this node. Your support ensures continued improvements and timely updates to keep pace with changes in the Cobalt API and n8n platform.
You can support this project Here
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
The AIConnect node supports the following operations:
Chat
- Create Chat Completion: Generate chat completions using AI models.
Image
- Create: Generate images from text prompts.
- Edit: Modify existing images based on text instructions.
- Variation: Create variations of existing images.
Audio
- Create Speech: Generate audio from text input.
- Create Transcription: Transcribe audio to text.
- Create Translation: Translate audio to English text.
Credentials
To use this node, you need to set up API credentials for the AI service you're connecting to. The node expects the following credential fields:
- API Key: Your API key for authentication.
- API Endpoint: The base URL of the API you're connecting to (e.g., https://api.openai.com/v1).
- Organization ID (optional): If applicable, your organization ID for the API.
Ensure you have an account with the AI service provider and have obtained the necessary API credentials.
Compatibility
This node has been tested with n8n version 0.214.0 and later. It should be compatible with any OpenAI API-compatible service.
Usage
- Add the AIConnect node to your workflow.
- Select the resource you want to work with (Chat, Image, or Audio).
- Choose the specific operation within that resource.
- Configure the operation parameters as needed.
- Run your workflow and view the results.
Note: When using the audio operations, make sure to handle file inputs and outputs appropriately. For the 'Create Speech' operation, the node will return binary data that you can save or process further.
Resources
- n8n community nodes documentation
- OpenAI API Documentation (for reference on API structure)
Version History
0.0.3 - minor bug fixes
0.0.2 - minor bug fixes
0.0.1 - Initial commit
Support
For support or to report a bug, join our Discord channel: Discord.