Product Shot Editing
//
Tires Refinement
Description Enhances the appearance of the vehicle tires by adding realistic textures that match specific surfaces - snow, mud, grass.
This endpoint accepts a binary mask of all tires and returns the image with refined tires. You can optionally receive the refined wheels as a separate layer.
The URL of the image containing the vehicle. If both image_url and file are provided, image_url takes precedence. Accepted formats are jpeg, jpg, png, webp.
The image file in base64 format. Used only if image_url is not provided. Accepted formats are jpeg, jpg, png, webp.
POST
curl -i -X POST \
https://engine.prod.bria-api.com/v1/product/vehicle/refine_tires \
-H 'Content-Type: application/json' \
-H 'api_token: string' \
-d '{
"image_url": "https://example.com/car.jpg",
"masks": {
"tires": "https://example.com/masks/tires.png"
},
"layers": true
}'Response
- layers_false
- layers_true
{ "url": "https://example.com/results/full_image_refined_1.png", "seed": 123 }