Bria AI Edit & Auto Download

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

Enhance Image

AI-generated

Summary

Enhances an image using the Bria AI 'enhance' endpoint, polling until processing completes and returning the enhanced image as binary data.

Inputs

  • imageUrl (required) — URL of the image to enhance, or a base64‑encoded string.
  • maxRetries — Maximum number of times to poll the status URL before failing. Defaults to 30.
  • waitTime — Milliseconds to wait between polling attempts. Defaults to 3000.

Output shape

Each input item produces one output item containing:

  • json: the final polling response from Bria AI (includes status and result details).
    - binary: an image buffer stored under the key data with MIME type image/png (the enhanced image).
    - If the node is configured to continue on failure, errors are returned as { json: { error: <message> } } instead of throwing.

Examples

Example 1: Enhance a product photo hosted on a public URL

Set imageUrl to the photo’s URL, leave maxRetries and waitTime at their defaults, and provide valid Bria AI credentials.

Links

Discussion