actual gen image/build model implementation