Detect and remove reference logos from an image

Detects caller-supplied reference logos in a flat design image, inpaints them out, and returns the cleaned image together with the matched bounding boxes (each tagged with the matching reference’s REF_<n>).

Authentication

Api-Keystring

API key for access control. Use in the header with the name “Api-Key”

Request

A request to detect image-reference matches in a flat design image.

design_imagefileRequired

The flat design image to analyze. The image should be in JPEG, PNG, or WebP format (max size 25MB).

reference_imagesfilesRequired

Reference image assets to match against logos and image elements detected in design_image. Each entry is assigned a ref_id of REF_0, REF_1, … in the order it appears in the request (maximum 10 images). The images should be in JPEG, PNG, or WebP format.

Response

Detection completed (may contain zero matches).

base_image_urlstringformat: "uri"
URL of the design image with all detected reference images inpainted out.
layerslist of objects
Matched reference images, each with its bounding box on the original design.

Errors

400
Bad Request Error
429
Too Many Requests Error