JigsawStack icon

JigsawStack

Use JigsawStack API

Actions20

Overview

The node integrates with the JigsawStack API to perform NSFW (Not Safe For Work) detection on images. It analyzes an image provided via a URL and determines whether the content is inappropriate or explicit. This node is useful in scenarios where automated content moderation is required, such as filtering user-uploaded images on social media platforms, forums, or any application that needs to ensure safe visual content.

Practical examples:

  • Automatically flagging or blocking images containing adult content before publishing.
  • Moderating images uploaded to community-driven websites.
  • Integrating into workflows that require content compliance checks.

Properties

Name Meaning
URL The web address of the image to be analyzed for NSFW content. This must be a publicly accessible image URL.

Output

The node outputs JSON data containing the results of the NSFW detection analysis. Typically, this includes classification scores or labels indicating the likelihood that the image contains NSFW content. The exact structure depends on the API response but generally provides confidence levels or categories related to explicit content detection.

If the node supports binary data output (not explicitly shown here), it would typically represent the analyzed image or processed results, but based on the provided code and properties, the main output is JSON with detection results.

Dependencies

  • Requires access to the JigsawStack API service.
  • An API key credential must be configured in n8n to authenticate requests to the JigsawStack API.
  • Internet connectivity to reach the external API endpoint at https://api.jigsawstack.com/v1.

Troubleshooting

  • Invalid or inaccessible image URL: Ensure the URL points to a valid, publicly accessible image. Private or protected URLs will cause errors.
  • Authentication errors: Verify that the API key credential is correctly set up and has the necessary permissions.
  • API rate limits or quota exceeded: If too many requests are made, the API might reject further calls temporarily.
  • Unexpected API responses: Check if the image format is supported and the URL is correct; malformed requests can lead to errors.
  • Network issues: Confirm that the server running n8n can reach the JigsawStack API endpoint.

Links and References

Discussion