搜索 - 启动相似度
开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
POST
/v2/image/search/launch_similarity
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v2/image/search/launch_similarity' \
--header 'Authorization;' \
--header 'content-type: application/json' \
--data-raw '{
"response_as_dict": true,
"attributes_as_list": false,
"show_original_response": false
}'
响应示例响应示例
200 - 成功示例
{
"sentisight": {
"items": [
{
"image_name": "test_9.jpg",
"score": 92.9
},
{
"image_name": "test_8.jpg",
"score": 92.9
},
{
"image_name": "image_name.jpg",
"score": 92.9
},
{
"image_name": "test_10.jpg",
"score": 92.9
},
{
"image_name": "test_11.jpg",
"score": 92.9
},
{
"image_name": "test_12.jpg",
"score": 92.9
},
{
"image_name": "test_13.jpg",
"score": 92.9
},
{
"image_name": "test_14.jpg",
"score": 92.9
},
{
"image_name": "test_15.jpg",
"score": 92.9
},
{
"image_name": "test_16.jpg",
"score": 92.9
}
]
},
"nyckel": {
"items": []
}
}
请求参数
Header 参数
content-type
string
必需
示例值:
application/json
Authorization
string
必需
默认值:
Bearer <your_key>
Body 参数application/json
返回响应
修改于 2024-04-11 09:10:38