Overview
The node named "CheapAI" is designed to interact with the Cheap AI service, providing capabilities related to chat, image, and text processing. It allows users to perform operations such as generating chat responses, creating or describing images, and handling text-based tasks by consuming the Cheap AI API.
This node is useful in scenarios where automated AI-driven content generation or analysis is needed within an n8n workflow. For example, it can be used to generate conversational replies, create images from prompts, or process and analyze text data automatically.
Important: This node is marked for deprecation soon. Users are advised to migrate to the newer "AIConnect" node available at https://www.npmjs.com/package/n8n-nodes-aiconnect for continued support and updated features.
Properties
| Name | Meaning |
|---|---|
| WARNING: This node will be deprecated soon. Please update to AIConnect: https://www.npmjs.com/package/n8n-nodes-aiconnect | A notice informing users that this node will be deprecated soon and recommending migration to the AIConnect node. Displayed when resource is Chat, Image, or Text. |
Note: The provided properties JSON only includes a deprecation warning notice for the Chat resource operation "Default". The full set of input properties (like specific parameters for chat messages) is not included in the snippet, but the node supports selecting among resources (Chat, Image, Text) and their respective operations.
Output
The node outputs data in the json field containing the response from the Cheap AI API corresponding to the selected resource and operation. This typically includes generated chat messages, image URLs or descriptions, or processed text results depending on the operation performed.
If the node handles binary data (e.g., images), it would output binary data accordingly, but this is not explicitly detailed in the provided code snippet.
Dependencies
- Requires an API key credential for the Cheap AI service.
- Needs configuration of the API base URL via credentials (
apiUrl). - Relies on the Cheap AI external API endpoints to perform chat, image, and text operations.
Troubleshooting
- Deprecation Warning: Users should note the deprecation notice and plan to migrate workflows to the AIConnect node to avoid future disruptions.
- API Errors: Since HTTP status errors are ignored (
ignoreHttpStatusErrors: true), some API failures might not throw explicit errors. Users should verify API credentials and endpoint configurations if unexpected results occur. - Missing Credentials: Ensure that the required API key credential and API URL are correctly configured; otherwise, the node will fail to authenticate requests.
- Unsupported Operations: Using operations or resources not supported by the current version of the node may lead to errors or empty responses.
Links and References
- AIConnect Node (replacement for CheapAI): https://www.npmjs.com/package/n8n-nodes-aiconnect