btztxt2img

Generate a Mask by Removing a Color

Select a color from the image to generate a mask. The selected color will be turned into white (area to remove), and the rest will remain black. This mask can be used to erase or replace that part of the image using AI.

Images Action


This Botize integration allows you to generate image masks by removing a specific color from the original image. By selecting a color, it becomes white in the mask, while the rest remains black. This functionality is useful for erasing or replacing specific areas of an image using artificial intelligence tools.

To customize this operation, you can adjust parameters such as the image URL, the color to remove in hexadecimal format, the tolerance to small variations of the selected color, and the option to slightly expand the mask selection to cover a larger area. When executed, the operation provides the URL of the modified image with transparency and the URL of the black and white mask, where the white areas represent the empty spaces.




Customization Options

Configurable fields you can adjust in your automation

  • Image URL
  • Color to remove (hex)
  • Allow slight variations of the selected color
  • Slightly expand the mask selection to cover a wider area



Information provided

When executed, this operation delivers the following data, which can be used in the same automatic task.

  • Tags

  • Image Transparency URL {{image_with_transparency_url}}

    URL of the modified image, where empty areas are shown as transparent.

  • Mask URL {{mask_image_url}}

    URL of the black and white mask; white areas represent the empty regions.




Write us

By email or by Telegram.
Monday to Friday from 7 a.m. to 1 p.m. (Spain).

Let's talk

Choose day and time.
We share the screen and answer all your questions.