Actions108
- AI Actions
- Transcribe
- Detect Brand
- Extract Contact Information
- Mood Detection
- Detect Adult Content
- Enitity Detection
- Language Detection
- Too Long To Read
- Check Content Policy
- Detect Faces
- Generate Python Code
- Picture Text Recognition
- Detect Color
- Generate Image
- PDF OCR
- Translation
- Detect Email Type
- Generate Javascript Code
- Picture Object Recognition
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Overview
The "Flip" operation under the "Image" resource in this node allows users to flip an image along a specified axis. This operation supports input images either as a publicly accessible URL or as a buffer. The node processes the image flipping and returns the transformed image, optionally as a URL.
This node is beneficial in scenarios where image manipulation is required without coding, such as preparing images for presentations, social media posts, or automated workflows that need image orientation adjustments. For example, flipping product images horizontally or vertically before publishing them online.
Properties
| Name | Meaning |
|---|---|
| Type of Data | Choose whether the input image is provided as a "URL" (publicly accessible) or as a "Buffer". |
| URL | The publicly accessible URL of the image to flip (required if "Type of Data" is set to "URL"). |
| Buffer | The image data buffer to flip (required if "Type of Data" is set to "Buffer"). |
| Axis | The axis along which to flip the image (e.g., horizontal or vertical). |
| File Name | Optional filename for the image being processed. |
| Get File as URL | Boolean option to specify whether the output image should be returned as a URL (true) or not (false). |
| Code Variables | A collection of code variables with names/IDs and values, used when running code-related operations. |
Output
The node outputs JSON data representing the flipped image. The exact structure depends on the underlying service response but generally includes the flipped image data or a URL pointing to the flipped image if "Get File as URL" is enabled.
If the image was input as a buffer, the output may include binary data representing the flipped image. If the image was input as a URL, the output typically contains a URL to the flipped image.
Dependencies
- Requires an API key credential for authentication with the external "0CodeKit" service.
- The node sends requests to the "image/flip" endpoint of the 0CodeKit API.
- Input URLs must be publicly accessible if using the URL input type.
- No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common Issues:
- Providing a non-public or inaccessible URL will cause the operation to fail.
- Incorrect axis value or missing axis parameter may result in no change or errors.
- Buffer input must be correctly encoded; otherwise, the API may reject it.
- Failure to provide the required API key credential will prevent the node from working.
Error Messages:
- Errors related to network access or invalid URLs indicate issues with image accessibility.
- Authentication errors suggest missing or invalid API credentials.
- Validation errors may occur if required parameters like axis or image data are missing.
To resolve these, ensure URLs are accessible, credentials are configured properly, and all required parameters are set.
Links and References
- n8n Expressions Documentation
- 0CodeKit API documentation (not publicly linked here, refer to your API provider's docs)