Bria AI Edit & Auto Download

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

Erase Object by Text

AI-generated

Summary

Erase an object from an image using a text prompt, poll for AI processing, and return the resulting image.

Inputs

  • imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
  • instruction (required) — The text prompt describing the object to erase.
  • maxRetries — Maximum number of times to poll the status URL (default: 30).
  • waitTime — Time to wait between polling attempts in milliseconds (default: 3000).

Output shape

main

Each workflow item returns a JSON object with the full API response and binary image data (PNG) downloaded from the pre-signed result URL. If the operation were structured_instruction, the json field would contain structured data instead.

Examples

Example 1: Erase a person from a product photo

Provide the product image URL via imageUrl, set the object description via instruction (e.g., 'person'), and let the node poll and download the modified image.

Links

Discussion