Overview
This node provides dynamic access to the Createve.AI Nexus API, allowing users to call various AI-powered endpoints for text and image processing. It supports submitting jobs to the API, optionally waiting for their completion, or checking the status of queued jobs.
Common scenarios include:
- Analyzing or summarizing text content automatically.
- Resizing images or generating thumbnails with specified dimensions.
- Managing asynchronous processing jobs by submitting tasks and polling for results.
Practical examples:
- Summarize a long article into a few sentences.
- Resize uploaded images to fit specific width and height requirements.
- Submit an image processing job and periodically check its status until completion.
Properties
| Name | Meaning |
|---|---|
| Endpoint | The specific API endpoint to call. Options are dynamically loaded from the API schema. |
| Text | Text input to process (used in text analysis and summarization endpoints). |
| Summary Length | Number of sentences desired in the summary (only for text summarization). |
| Width | Width of the output image (used in image resizing and thumbnail generation). |
| Height | Height of the output image (used in image resizing and thumbnail generation). |
| Operation Mode | How to handle queue-based operations: • Submit & Wait: submit job and wait for results • Submit Only: submit job and return queue ID • Check Status: check status of existing queue item |
| Queue ID | ID of the queue item to check (required when checking status). |
| Max Poll Time (seconds) | Maximum time to wait for results when submitting and waiting. |
| Poll Interval (seconds) | Time interval between status checks when waiting for results. |
Output
The node outputs JSON data representing the response from the Createve.AI API for the requested operation. When the operation involves binary data (e.g., processed images), the node handles and outputs this binary data accordingly, making it available for further workflow steps that consume binary files.
- For text endpoints, the output JSON contains processed text results such as analysis or summaries.
- For image endpoints, the output includes the processed image as binary data.
- When using queue-based operations, the output may contain either immediate results or queue status information depending on the selected mode.
Dependencies
- Requires an API key credential for authenticating with the Createve.AI Nexus API.
- Relies on dynamic loading of API endpoints via OpenAPI schema fetched at runtime.
- Uses internal helper functions for API requests, queue polling, and binary data handling.
Troubleshooting
- No credentials provided: The node will throw an error if the required API authentication token is missing. Ensure the API key credential is configured correctly.
- Failed to load API endpoints: This can occur if the OpenAPI schema cannot be fetched or parsed. Verify network connectivity and API availability.
- Queue polling timeout: If waiting for job results exceeds the maximum poll time, the node may fail or return incomplete data. Adjust "Max Poll Time" and "Poll Interval" settings as needed.
- Invalid input parameters: Providing incompatible or missing parameters for the selected endpoint may cause API errors. Double-check property values especially for required fields like "Text" or "Queue ID".
Links and References
- Createve.AI Nexus API Documentation (example placeholder link)
- n8n documentation on working with binary data
- General info on OpenAPI specification