add image api to the spec