Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Image → Flip Image
AI-generatedOverview
The "Flip Image" operation in the Image resource of this node provides a utility to flip an image either horizontally or vertically (the exact flip direction is not explicitly stated but typically flipping implies one of these). It supports input images provided either as a publicly accessible URL or as a Base64-encoded image buffer. This operation is useful for scenarios where you need to programmatically manipulate images, such as preparing images for presentations, correcting orientation issues, or creating mirror effects in automated workflows.
Practical examples include:
- Flipping product images before uploading them to an e-commerce platform.
- Adjusting user-uploaded photos in social media automation.
- Creating mirrored versions of images for graphic design pipelines.
Properties
| Name | Meaning |
|---|---|
| Data Type | Choose the source type of the image data: either "URL" (a publicly accessible image URL) or "Buffer" (Base64-encoded image data). |
| Image URL | The URL of the image to flip. Must be publicly accessible. Required if Data Type is "URL". |
| Image Buffer | Base64-encoded string representing the image data to flip. Required if Data Type is "Buffer". |
Output
The node outputs JSON data containing the flipped image. The exact structure is not fully detailed in the source, but typically it will include at least:
- A field with the flipped image data, likely as a Base64-encoded string or a URL pointing to the flipped image.
- Metadata about the processed image may also be included depending on the API response.
If binary data output is supported, it would represent the flipped image file content suitable for further processing or saving.
Dependencies
- Requires an API key credential for authentication with the external 0CodeKit service.
- The node sends a POST request to the endpoint
/image/flipon the base URLhttps://prod.0codekit.com. - The request body includes the selected data type and corresponding image data (URL or buffer).
- Proper network access to the 0CodeKit API endpoint is necessary.
Troubleshooting
Common Issues:
- Providing an inaccessible or private image URL will cause the flip operation to fail because the service cannot retrieve the image.
- Incorrectly formatted Base64 image data will result in errors during processing.
- Missing or invalid API credentials will prevent the node from authenticating with the service.
Error Messages:
- Errors related to image retrieval usually indicate problems with the URL or network connectivity.
- Validation errors may occur if required properties are missing or malformed.
- Authentication errors suggest issues with the API key configuration.
Resolutions:
- Ensure URLs are publicly accessible without authentication.
- Validate Base64 strings before input.
- Verify that the API key credential is correctly set up in n8n.
Links and References
- 0CodeKit API Documentation (general reference; specific docs for image flip might be available there)
- n8n documentation on Creating Custom Nodes for understanding node development basics.