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对接文档

精细抠图

POST/v2/process/result/interactCutout/createapplication/json

请求体

imageUrlstring必填
原图
scoreUrlstring可选
概率图
featureUrlstring可选
全局分割图
pointListarray必填
点位操作列表(数组)
数组元素
xnumber必填
当前点与图片左边缘的距离除以图片宽度。值为0到1之间的浮点数
ynumber必填
当前点与图片上边缘的距离除以图片高度。值为0到1之间的浮点数
isSelectinteger必填
选中状态 0 不选中 1 选中

请求示例

JSON
{
  "imageUrl": "https://linkfoxai-ailab.oss-cn-shenzhen.aliyuncs.com/UPLOAD/1701144666432344064/2024/11/18/96a7a42fc965491dbc625d2db09f2478.png",
  "pointList": [
    {
      "x": 0.5,
      "y": 0.3,
      "isSelect": 1
    }
  ]
}

响应体

traceIdstring
链路ID
codestring
状态码 200 为成功 其他为失败
msgstring
成功/错误描述
msgKeystring
错误描述编码,状态码不等于200时存在
dataobject
对象字段
idnumber
任务id

响应示例

JSON
{
  "traceId": "f6e0fe4f360f78445c2c5d52f2414dea",
  "code": "200",
  "msg": "成功",
  "data": {
    "id": 53
  }
}

查询任务结果

POST/v2/process/result/interactCutout/infoapplication/json

请求体

idstring必填
任务ID

请求示例

JSON
{
  "id": "1930923414987821056"
}

响应体

traceIdstring
链路ID
codestring
状态码 200 为成功 其他为失败
msgstring
成功/错误描述
msgKeystring
错误描述编码,状态码不等于200时存在
dataobject
对象字段
idstring
任务id
statusstring
状态
1.已创建 2.执行中 3.成功 4.失败.
resultobject
结果
对象字段
maskUrlstring
结果图
scoreUrlstring
概率图
imageUrlstring
原图地址
featureUrlstring
全局分割图

响应示例

JSON
{
  "traceId": "f6e0fe4f360f78445c2c5d52f2414dea",
  "code": "200",
  "msg": "成功",
  "data": {
    "id": 123456,
    "status": 3,
    "result": {
      "imageUrl": "https://linkfoxai-ailab.oss-cn-shenzhen.aliyuncs.com/UPLOAD/1831963161548988416/2025/06/09/807ca61f21cb43b293ee52e2282ae11e.png?Expires=1749490094&OSSAccessKeyId=LTAI5tHc6aeQ2BxZpF3QTE15&Signature=0PZcf3k6mIEo1hIFj%2FO18KKSkDA%3D",
      "maskUrl": "https://linkfoxai-ailab-prod.oss-cn-shenzhen.aliyuncs.com/INTERACT_CUTOUT/1/2025/06/09/172818124202_1457b7a0451411f09aa300163e18af7b_mask.webp?AWSAccessKeyId=LTAI5tQMD3UtDGPmMJRik6JA&Signature=qkj7jwl6uXSuzpX75COhjqlDE7w%3D&Expires=1780997299",
      "featureUrl": "https://linkfoxai-ailab-prod.oss-cn-shenzhen.aliyuncs.com/INTERACT_CUTOUT/1/2025/06/09/172818124202_1457b7a0451411f09aa300163e18af7b_feature.zip?AWSAccessKeyId=LTAI5tQMD3UtDGPmMJRik6JA&Signature=8taYTKP34rPe5rfFUi9lVAcUmFA%3D&Expires=1780997299",
      "scoreUrl": "https://linkfoxai-ailab-prod.oss-cn-shenzhen.aliyuncs.com/INTERACT_CUTOUT/1/2025/06/09/172818124202_1457b7a0451411f09aa300163e18af7b_score?AWSAccessKeyId=LTAI5tQMD3UtDGPmMJRik6JA&Signature=k5vFljkWwTrBzY%2F7c6tTIMcANoM%3D&Expires=1780997299"
    }
  }
}

扣费标准

创建任务和查询任务结果均不额外扣点。