/minimalist/api/**/doc.html)/api/**)都需要通过API Key进行鉴权认证。76caed4ead074de39d6b6a4d9b41f6d9(用于测试和演示)AgentResponse 基类,确保统一的响应结构。{
"errorMessage": "成功",
"code": 0,
"aboutUrl": "https://framefuture.com/",
"traceId": "1234567890abcdef",
// ... 其他业务字段
}errorMessage:错误信息,成功时为"成功"code:业务状态码,0表示成功,非0表示失败aboutUrl:帮助链接,指向官网traceId:链路追踪ID,用于日志追踪和问题排查{
"errorMessage": "成功",
"code": 0,
"aboutUrl": "https://framefuture.com/",
"traceId": "a1b2c3d4e5f6",
"images": [
{
"url": "https://cdn.example.com/processed/image1.jpg",
"width": 800,
"height": 600,
"format": "jpg",
"size": 102400
}
],
"processingTime": 1500
}{
"errorMessage": "参数错误:图片URL不能为空",
"code": 400,
"aboutUrl": "https://framefuture.com/",
"traceId": "a1b2c3d4e5f6"
}{
"errorMessage": "成功",
"code": 0,
"aboutUrl": "https://framefuture.com/",
"traceId": "a1b2c3d4e5f6",
"total": 100,
"size": 10,
"current": 1,
"records": [
// 数据列表
]
}total:总记录数size:每页大小current:当前页码records:当前页数据列表| 错误码 | 说明 | 描述 |
|---|---|---|
| 200 | SUCCESS |