Actions23
- Add Object by Text
- Blend Images
- Blur Background
- Colorize
- Crop out Foreground
- Enhance Image
- Erase (Mask-based)
- Erase Foreground
- Erase Object by Text
- Expand Image (Outpainting)
- Generate Structured Instruction
- Generative Fill
- Image Edit by Text (FIBO)
- Increase Resolution (Upscaling)
- Relight Image
- Remove Background
- Replace Background
- Replace Object by Text
- Reseason Image
- Restore Old Images
- Restyle Image
- Rewrite (Text in Image)
- Sketch to Image
Erase Foreground
AI-generatedSummary
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.