Bria AI Edit & Auto Download

Autonomously executes Bria AI operations, polls the status, and downloads the generated image

Erase (Mask-based)

AI-generated

Summary

Erases regions of an image defined by a mask URL, polls the Bria AI status endpoint until completion, and returns the resulting image as binary data along with response metadata.

Inputs

  • imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
  • mask (required) — The URL of the mask image (white=erase, black=keep)
  • maxRetries — Maximum number of times to poll the status URL
  • waitTime — Time to wait between polling attempts in milliseconds

Output shape

Each workflow item contains a json object with the final API response and a binary object with the erased image data as a PNG blob.

If the operation does not complete within the configured retry limit, the node throws an error. Requires valid Bria AI credentials.

Links

Discussion