change api to function and change single function to be called 'image'
1.0.0