0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions114

Image → Blur

AI-generated

Overview

This node operation applies a blur effect to an image. It supports input images either as a publicly accessible URL or as a buffer. Users can specify the sigma value to control the intensity of the blur effect. The node can output the processed image either as a URL or in another specified format. This operation is useful for scenarios where image anonymization, softening, or artistic effects are needed, such as blurring faces in photos or creating background blur effects.

Use Case Examples

  1. Blur a profile picture by providing its URL and setting a sigma value to soften the image.
  2. Blur an image buffer received from another node to anonymize sensitive information before further processing.

Properties

Name Meaning
Code Variables Allows adding multiple code variables defined in the code editor for the selected function, which can be used to dynamically set values during execution.
Type of Data Specifies whether the input image is provided as a URL or as a buffer.
URL The publicly accessible URL of the image to be blurred. Required if 'Type of Data' is set to URL.
Buffer The buffer string of the image to be blurred. Required if 'Type of Data' is set to Buffer.
Sigma The sigma value controlling the intensity of the blur effect applied to the image.
File Name Optional filename of the image to operate on.
Get File as URL Boolean flag indicating whether to get the processed image as a URL.

Output

JSON

  • blurredImageUrl - URL of the blurred image if 'Get File as URL' is true.
  • blurredImageBuffer - Buffer of the blurred image if 'Get File as URL' is false or buffer output is used.

Dependencies

  • Requires an API key credential for the CodeKit API service to perform image processing.

Troubleshooting

  • Ensure the image URL is publicly accessible if using URL input type; otherwise, the node will fail to fetch the image.
  • Verify that the buffer string is correctly formatted and valid if using buffer input type.
  • Set a valid numeric sigma value; invalid or missing sigma may cause the blur operation to fail or produce unexpected results.
  • If 'Get File as URL' is true, ensure the service can generate and return a URL; otherwise, check output settings.

Discussion