Add initialise library image from api.