Generate photo model