# Reflections 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. Endpoint: POST /product/vehicle/generate_reflections ## Header parameters: - `api_token` (string, required) API token associated with the organization ## Request fields (application/json): - `image_url` (string) 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. - `file` (string) 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. - `masks` (object) An object containing URLs to binary masks for each region to apply reflections on. Accepted keys are , , , , . - `layers` (boolean) If true, returns separate images per region along with the full composite. If false, only the full image is returned. - `seed` (integer) Optional seed for consistent reflection results. ## Response 200 fields (application/json): - `url` (string) The URL of the image with reflections applied. - `seed` (integer) The seed used to generate the reflections. - `layers` (object) Returned only when layers=true. Contains region-specific reflection images.