Visual Search Client (preview:1.0)

2025/10/21 • 1 deleted methods

Images_VisualSearch (removed)
Description Visual Search API lets you discover insights about an image such as visually similar images, shopping sources, and related searches. The API can also perform text recognition, identify entities (people, places, things), return other topical content for the user to explore, and more. For more information, see [Visual Search Overview](https://docs.microsoft.com/azure/cognitive-services/bing-visual-search/overview).
Reference Link ¶

⚼ Request

POST:  /images/visualsearch
{
X-BingApis-SDK: string ,
Accept: string ,
Accept-Language: string ,
Content-Type: string ,
User-Agent: string ,
X-MSEdge-ClientID: string ,
X-MSEdge-ClientIP: string ,
X-Search-Location: string ,
mkt: string ,
safeSearch: string ,
setLang: string ,
knowledgeRequest: string ,
image: file ,
}

⚐ Response (200)

{
tags:
[
{
displayName: string ,
boundingBox:
{
queryRectangle:
{
topLeft:
{
x: number ,
y: number ,
}
,
topRight:
{
x: number ,
y: number ,
}
,
bottomRight:
{
x: number ,
y: number ,
}
,
bottomLeft:
{
x: number ,
y: number ,
}
,
}
,
displayRectangle:
{
topLeft:
{
x: number ,
y: number ,
}
,
topRight:
{
x: number ,
y: number ,
}
,
bottomRight:
{
x: number ,
y: number ,
}
,
bottomLeft:
{
x: number ,
y: number ,
}
,
}
,
}
,
actions:
[
{
actionType: string ,
_type: enum ,
}
,
]
,
}
,
]
,
image:
{
thumbnail: string ,
imageInsightsToken: string ,
insightsMetadata:
{
shoppingSourcesCount: integer ,
recipeSourcesCount: integer ,
aggregateOffer:
{
offers:
[
{
seller: object ,
price: number ,
priceCurrency: enum ,
availability: enum ,
aggregateRating:
{
reviewCount: integer ,
}
,
lastUpdated: string ,
}
,
]
,
}
,
}
,
imageId: string ,
accentColor: string ,
visualWords: string ,
}
,
}

⚐ Response (default)

{
errors:
[
{
code: enum ,
subCode: enum ,
message: string ,
moreDetails: string ,
parameter: string ,
value: string ,
}
,
]
,
}