Bria AI Edit & Auto Download

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

Erase Foreground

AI-generated

Summary

Erases the foreground from an image using Bria AI, polls the status endpoint with configured retries and wait time, and returns the processed image as binary data.

Inputs

  • imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
  • 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 two fields:

The binary field holds the processed image data as an arraybuffer encoded as image/png. The json field holds the final Bria AI response object including status and result URL information.

Examples

Example 1: Pass an image URL and let the node erase its foreground.

Set Image URL to the source image; leave Max Retries and Wait Time at their defaults unless adjusted.

Links

Discussion