Image Kit icon

Image Kit

HTML to Image conversion service with font support

Image → Remove Background

AI-generated

Summary

Remove the background from an input image using the Image Kit API, optionally specifying a background removal model.

Inputs

  • Image Binary Field (required) — Name of the binary field containing the image to process.
  • Model Name or ID — Select a background removal model from the list or specify a model ID via expression to customize the background removal process.

Output shape

A single item per input with cleaned image binary data including the background removed, plus JSON metadata about the output format and image dimensions.

The output image binary data is available under the 'data' binary property with a filename prefixed by 'background-removed' and appropriate mime type based on the returned image format (png, jpeg, webp). The JSON contains keys: format, width, and height. The operation processes each input item independently and returns corresponding output items.

Examples

Example 1: Remove background of an image using default model

Set 'Image Binary Field' to the binary field containing the image, leave 'Model Name or ID' empty to use default model.

Example 2: Remove background of an image using a specific model

Select a model from 'Model Name or ID' dropdown or provide a model ID using an expression to specify background removal model.

Links

Discussion