Lifestyle Shot
Changed onTry out this capability in Bria's sandbox
Description
Place your product in a new scene. Send one product photo and a prompt describing the scene, and the endpoint returns a new photo of the product in that scene.
The shot keeps the photo's framing and aspect ratio, at about one megapixel. There is no placement, aspect ratio or size to set.
By default the product is redrawn as part of the scene. When it must stay pixel-exact, for example to keep small label text, set preserve_product to true: the product from your photo is pasted back over the shot, and the shot comes back at your photo's resolution when the photo is larger, up to 25 megapixels. If the product moved in the shot, nothing is pasted back and the shot comes back as generated. product_preserved in the response says which happened.
Commercially safe: built on Bria's fully licensed models, cleared for enterprise use without copyright exposure.
Example: "Place this perfume bottle on a wet black slate ledge by a rain-streaked window at dusk, lit by a warm lamp from the left."
<table> <tr> <th style="text-align: center;">Product</th> <th style="text-align: center;">Result</th> </tr> <tr> <td align="center" style="vertical-align: middle;"> <img src="https://labs-assets.bria.ai/api-examples/product-lifestyle-shot/product.jpg" width="250" style="border-radius: 8px;"> </td> <td align="center" style="vertical-align: middle;"> <img src="https://labs-assets.bria.ai/api-examples/product-lifestyle-shot/result.jpg" width="250" style="border-radius: 8px;"> </td> </tr> </table>Request
- Base URLhttps://engine.prod.bria-api.com/v2
- AuthAPI key in header api_token
Request body
Response
Successful operation (Synchronous Success)
Changes
- info
endpoint added
- info