Bria AI Edit & Auto Download

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

Restore Old Images

AI-generated

Summary

Restores an image via Bria AI, polls the status URL up to maxRetries times with waitTime interval, and returns the restored image as binary data along with the final status response.

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

array

Returns an array with one item containing json (final status response) and binary (restored image data as PNG).

Examples

Example 1: Restore a public domain portrait and use the returned binary in a subsequent node.

Set imageUrl to the portrait URL; leave maxRetries and waitTime at defaults if polling behavior is acceptable.

Links

Discussion