0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

AI → Detect Adult Content

AI-generated

Overview

The node provides a utility to detect adult content in images using an AI-powered service. It is designed to analyze an image from a given URL and determine whether the image contains adult or explicit content. This functionality is useful for content moderation workflows, automated filtering of user-uploaded images, or compliance checks on media assets.

Practical examples include:

  • Automatically screening images uploaded to a social platform to prevent inappropriate content.
  • Moderating images in e-commerce platforms to ensure product photos meet guidelines.
  • Filtering images in marketing campaigns to avoid unintended explicit material.

Properties

Name Meaning
Image URL The URL of the image to analyze for adult content. Example: https://example.com/image.jpg

Output

The node outputs a JSON object containing the analysis results of the image regarding adult content detection. The exact structure is not detailed in the source code, but typically it would include fields such as:

  • Whether adult content was detected (boolean or confidence score).
  • Possibly categories or types of adult content identified.
  • Confidence scores or probabilities indicating the likelihood of adult content presence.

No binary data output is indicated by the source.

Dependencies

  • Requires an API key credential for authentication with the external AI service.
  • The node sends a POST request to the endpoint /ai/detectadultcontent with the image URL in the request body.
  • The base URL for the API is https://prod.0codekit.com.
  • Proper network access and valid credentials are necessary for successful operation.

Troubleshooting

  • Common issues:
    • Invalid or inaccessible image URLs may cause the API to fail or return errors.
    • Missing or incorrect API authentication will result in authorization errors.
    • Network connectivity problems can prevent reaching the external service.
  • Error messages:
    • Authorization errors indicate missing or invalid API keys; verify credentials.
    • HTTP 400 errors may indicate malformed requests, such as missing required parameters.
    • Timeout or network errors suggest connectivity issues; check internet access and firewall settings.

Links and References

  • No direct links provided in the source code.
  • For more information, consult the documentation of the external AI service used for adult content detection (likely available via the service provider's website).

Discussion