0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions108

Overview

The node "0CodeKit" provides a versatile toolbox of no-code utilities across multiple domains, including AI, business, calculation, code execution, conversion, cryptography, generation, image processing, PDF manipulation, storage, date & time, text operations, and user-related functions. Specifically, for the AI resource with the "Detect Faces" operation, the node analyzes an image provided via URL to detect faces within it.

This node is beneficial in scenarios where automated face detection is required without writing custom code, such as:

  • Automatically tagging or categorizing images based on detected faces.
  • Enhancing security workflows by identifying faces in surveillance footage.
  • Enriching marketing data by analyzing customer photos.

Example: Given an image URL, the node detects all faces present and returns details about each detected face.

Properties

Name Meaning
Image URL URL of the image you want to analyse. This is the input image where face detection will be performed.
Code Variables Optional collection of code variables defined in the code editor for selected functions. Each variable has a name (or ID) and a value. Useful when running custom code functions within the node.

Output

The output is a JSON array containing the results of the requested operation. For the "Detect Faces" operation under the AI resource, the output JSON includes details about the faces detected in the provided image URL. The exact structure depends on the external API response but typically includes coordinates, size, and possibly attributes of each detected face.

If multiple items are processed, the output aggregates results from all inputs into a single JSON array.

The node does not explicitly handle binary data output for this operation.

Dependencies

  • Requires an API key credential for authentication with the underlying 0CodeKit service.
  • The node sends HTTP POST requests to the endpoint corresponding to the resource and operation (e.g., ai/detectFace).
  • No other external dependencies are indicated.

Troubleshooting

  • Common issues:

    • Invalid or unreachable Image URL: Ensure the URL is accessible and points directly to an image file.
    • Missing or invalid API key credential: Verify that the API key is correctly configured in n8n credentials.
    • Network connectivity problems: Confirm that the n8n instance can reach the 0CodeKit API endpoints.
  • Error messages:

    • Errors returned from the API (e.g., invalid parameters) will be thrown unless "Continue On Fail" is enabled, in which case errors are included in the output JSON.
    • Parsing errors if the input parameters are malformed or missing required fields.

Links and References

  • n8n Expressions Documentation — for using expressions in property values.
  • 0CodeKit official documentation (not linked here due to lack of explicit URL in source).

Discussion