latestOpenAPI 3.0.22026-08-22136296577.7 KB

015774bae5bc

generate

Logo recognition + inpainting (internal)

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>).

Internal-only; hidden from both Fern documentation audiences. Uses the default Api-Key security scheme.

post/v1/layerize-logos

Response

Detection completed (may contain zero matches).

base_image_urlstring uri required

URL of the design image with all detected reference images inpainted out.

Example response

{
  "layers": [
    {
      "ref_id": "REF_0",
      "x": 4,
      "width": 1,
      "y": 7,
      "height": 1
    },
    {
      "ref_id": "REF_0",
      "x": 4,
      "width": 1,
      "y": 7,
      "height": 1
    }
  ],
  "base_image_url": "https://openapi-generator.tech"
}