Bria AI Edit & Auto Download

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

Relight Image

AI-generated

Summary

Relight an image using configurable light direction and type, automatically polling for generation completion and downloading the result.

Inputs

  • imageUrl (required) — The URL of the image. Alternatively, you can pass a base64 encoded string.
  • light_direction — Direction of the light source. Options: Front, Side, Top Down, Bottom.
  • light_type — Type of lighting to apply. Options include Midday, Blue Hour Light, Low-angle Sunlight, Sunrise Light, Spotlight on Subject, Overcast Light, Soft Overcast Daylight Lighting, Cloud-filtered Lighting, Fog-diffused Lighting, Side Lighting, Moonlight Lighting, Starlight Nighttime, Soft Bokeh Lighting, Harsh Studio Lighting.
  • maxRetries — Maximum number of times to poll the status URL.
  • waitTime — Time to wait between polling attempts in milliseconds.

Output shape

Each returned item contains a json field with the final Bria AI response data and a binary field with the downloaded image data under the data key.

If the operation is not structured_instruction, the node downloads the pre-signed image URL and stores it as binary data. The json field always contains the full response from the status polling loop.

Links

Discussion