No images for Custom public instance

Sincross, Shadow A 0 Reputation points
2023-10-11T07:44:46.01+00:00

Hey all, I'm currently trying to use the Bing Image Search API, and as per instructions, I created a custom public instance to use as my custom config. The problem is that with any query, the value[] of images is empty. I do seem to get webpages and videos, but this is not what I want. When I use the search experience AI, I get the words "There are no relevant results found for this query. Please try another query or add more sites to the active list." as a response. When I switch from MyInstance to Bings in the dropdown menu, however, I do get images.Any help would be greatly appreciated.

Bing Image Search
Bing Image Search
A Bing service that supports searching for images and gets comprehensive results.
44 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 42,206 Reputation points Microsoft Employee
    2023-10-11T11:38:58.33+00:00

    I believe you are referring to using the Bing custom search API for image results. I have tried this experience with the custom search UI, and it is able to fetch web and image results from the website I have allowed in my configuration. See screen shot below:

    User's image

    I have tried this scenario with multiple websites, and it works to pull images of that website. If you do not see any results, then the images of the website are most probably not indexed by Bing. Also, ensure you don't add a search engine website in your active list, as adding search engine websites will not provide the image search results seen from the actual search website i.e. for example, adding bing.com will not help in this case.

    While using the API programmatically, the custom config id needs to be provided as a param as mentioned in this sample. With hosted UI experience, you also need to enable image search in the advanced setting configuration. I hope this helps!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments