v4

latestOpenAPI 3.0.22026-08-02109239415.7 KB
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; not surfaced on public Fern docs (path is excluded from the Fern path allowlist in openapi/fern-content/create_public_spec.py). Uses the default Api-Key security scheme — required because the underlying sampling-coordinator submission carries user/org context, even though this endpoint itself does not bill.

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"
}