can detect imgage by api.