added camera api to config