LinkfoxAI agent and documentation index

Fetch the complete documentation index at: /llms.txt

Read when and how to use LinkfoxAI at: /agent-instructions.txt

Machine-readable API description: LinkfoxAI OpenAPI specification

Use this file to discover all available pages before exploring further.

LinkfoxAI logo
开始使用
API对接文档

品牌 Logo 检测

POST/image/v2/make/brandLogoDetectapplication/json

检测指定品牌的 Logo 是否出现在一张图片中。此接口仅检测,不修改原图,也不返回结果图。

请求体

imageUrlstring必填
可公开访问的 HTTP 或 HTTPS 原图地址。请确保地址在任务完成前有效。
brandNamestring必填
要检测的品牌名称,例如 Philips。

请求示例

JSON
{
  "imageUrl": "https://example.com/product.jpg",
  "brandName": "Philips"
}

提交后返回什么

提交成功后返回任务编号 data.id,表示任务已受理,不代表检测已完成。请保存编号。查看返回示例。

查询检测结果

用任务编号 data.id 调用获取作图结果,每次查询至少间隔 10 秒。

  • data.status=3 表示检测成功。查看 data.brandLogoDetection:has_logo 为 1 表示检出,为 0 表示未检出。检出的位置在 detected_regions 中,bbox 为原图上左上角到右下角的像素坐标 [x1, y1, x2, y2]。未检出时,detected_regions 为空数组。
  • data.status=4 表示检测失败,可查看 data.errorCode 和 data.errorMsg。

检出时的查询响应节选:

JSON
{
  "data": {
    "status": 3,
    "brandLogoDetection": {
      "has_logo": 1,
      "detected_regions": [{ "bbox": [10, 20, 160, 60] }]
    }
  }
}

扣费标准

每张 1 点。未检出仍计为一次成功检测。