v1

latestOpenAPI 3.0.02026-08-061612131.2 KB
Automotive Endpoints

Reflections

Try out this capability in Bria's Automobile Playground

Description Generates realistic reflections on relevant surfaces of a product image, such as glass, metal, or glossy materials.

Reflection masks can be provided manually or generated automatically using our segmentation tools.

The output includes an updated image with applied reflections and optional reflection layers per region.

post/product/vehicle/generate_reflections

Headers

api_tokenstring required

API token associated with the organization

Request body

image_urlstring

The URL of the vehicle shot. If both image_url and file are provided, image_url will be used. Accepted formats are jpeg, jpg, png, webp. Max file size 12MB.

filestring

The vehicle shot file in base64 format. Used only if image_url is not provided. Accepted formats are jpeg, jpg, png, webp. Max file size 12MB.

masksobject

An object containing URLs to binary masks for each region to apply reflections on. Accepted keys are windshield, rear_window, side_windows, body, wheels.

layersboolean

If true, returns separate images per region along with the full composite. If false, only the full image is returned.

seedinteger

Optional seed for consistent reflection results.

Response

Reflections successfully applied.

urlstring

The URL of the image with reflections applied.

seedinteger

The seed used to generate the reflections.

layersobject

Returned only when layers=true. Contains region-specific reflection images.