Multi-class image synthesis