Turn a photo into a brick mosaic preview
create_brick_mosaic_previewTurn a photo into a BrickYourFace brick mosaic. Returns a watermarked preview image of what the finished mosaic will look like, its size and price, and a private link where the person can review it and buy the kit. Provide the photo as image_url (a public https link to the image file) or image_base64. Best results: one person or pet, close-up, well lit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size_id | No | Optional baseplate size id from get_brick_mosaic_options. Default: the classic 15 x 15 in. | |
| image_url | No | Public http(s) URL of the photo (JPG, PNG, WebP or HEIC). | |
| boards_tall | No | Optional: baseplates down (default 1). At most 12 baseplates in total. | |
| boards_wide | No | Optional: baseplates across for a bigger mosaic (default 1). | |
| image_base64 | No | The photo as base64 (optionally a data: URL), if there is no public link. Keep it under ~4 MB. |