User story: As a bot writer on wikis, I want a reliable and robust API for matching highly relevant multimedia/images to specific articles, so that I can accurately add files (mostly images) to articles that my bots create or edit.
We have this: The MediaSearch API exists but probably doesn't have everything bot writers want. Some bot writers are using their own rough algorithms to do this work but would like something better.
We want this:
 A “Lead Image” API call to return a single image that is highly likely to be representative of a given Wikipedia article
 A “collection” API call that provides a gallery of relevant images that can be inserted at the end of article main text
 Utilize MediaSearch has a core component of the API
 (if necessary) Return a "confidence score" value in the API
During development, please test the following:
 Use a bot on beta wiki to test the above features