# Apply Effects

Try out this capability in Bria's Automobile Playground

Description
Adds visual overlays such as dust, snow, fog, light leaks, and lens flare to enhance the realism and atmosphere of a product image.


Each effect includes multiple variations to ensure visually unique results. Effects can be applied directly to the image or delivered as separate layers.

Endpoint: POST /product/vehicle/apply_effect

## 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 is used. Accepted formats are jpeg, jpg, png, webp.

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

  - `effect` (string)
    The visual effect to apply to the image. Supported values are dust, snow, fog, light leaks, lens flare.

  - `layers` (boolean)
    If true, returns only the effect layer. If false, returns the full image with the effect composited.

  - `seed` (integer)
    Optional seed for generating consistent effect variations.

## Response 200 fields (application/json):

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

  - `layer_url` (string)
    URL of the effect layer. Only returned if layers=true.

  - `seed` (integer)
    Seed used for effect generation.


## 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
