# Harmonization

Try out this capability in Bria's Automobile Playground

Description
Applies predefined lighting and tone presets to match the product image with a desired environmental context.


Available presets include hot-day, cold-day, hot-night, and cold-night. These harmonization styles help unify the subject with its background for a consistent and visually appealing result.

Endpoint: POST /product/vehicle/harmonize

## Header parameters:

  - `api_token` (string, required)
    API token associated with the organization

## Request fields (application/json):

  - `image_url` (string)
    The URL of the vehicle image. If both image_url and file are provided, image_url takes precedence. Accepted formats are jpeg, jpg, png, webp.

  - `file` (string)
    The vehicle image in base64 format. Used only if image_url is not provided. Accepted formats are jpeg, jpg, png, webp.

  - `preset` (string)
    The preset to apply. Supported values are warm-day, cold-day, warm-night, cold-night.

## Response 200 fields (application/json):

  - `url` (string)
    URL of the image with the preset applied.


## Response 400 fields

## Response 401 fields

## Response 404 fields

## Response 413 fields

## Response 415 fields

## Response 422 fields

## Response 429 fields

## Response 460 fields

## Response 500 fields
