- 接口使用说明
- ilink
- 工作流
- 智能体
单次抓拍/抽帧
POST
/api/smsload/task/v1/snap
请求参数
Header 参数
linker-sign
string
签名
Body 参数application/json
is_save
boolean
图片是否保存
task_type
integer
任务类型,0 流抽帧 1 资源抽帧
source_url
string
当任务类型为0时传入流地址 ,为1资源抽帧时传入文件地址
is_edge
boolean
是否边缘端设备
channel
string
通道ID,默认为"1"
device_unicode
string
设备唯一标识
示例
{
"is_save": false,
"taskType": 0,
"is_edge": true,
"channel": 1,
"device_unicode": "11111"
}
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
data
object
必需
success
boolean
抽帧状态
error_message
string
失败原因
image_url
string
外网图片地址
inner_image_url
string
内网图片地址
device_id
string
设备ID
frame_extraction_time
string
抽帧时间
ext_parmas
object
业务参数
task_type
integer
必需
device_unicode
string
必需
success
boolean
必需
示例
{
"code": "49",
"message": "labore mollit exercitation",
"data": {
"success": false,
"error_message": "occaecat nostrud ea laboris",
"image_url": "https://loremflickr.com/400/400?lock=399122462098106",
"inner_image_url": "https://loremflickr.com/400/400?lock=3909618053094903",
"device_id": "97",
"frame_extraction_time": "2026-02-20 02:18:58",
"ext_parmas": {},
"task_type": 92,
"device_unicode": "20"
},
"success": true
}
修改于 2025-06-13 09:58:41