Element V2: Javascript API

Image search is enabled in CSE control panel Basic tab.

The same Custom Search Engine, with web search disabled and history enabled via js component configuration.