The CVAE model trained on the OQMD database was able to generate the novel crystal structures, which are not present in the entire database. The generated crystal structures showed a very high accuracy in the prediction of crystallographic sites and the stoichiometry, however the lattice constant prediction needs further improvement. DFT calculations were done to calculate the formation energy of few discovered structures, which showed that the model was able to generate 33% compounds with the correct target property. This study also indicates the possibility of property-driven generation of crystal structures using generative models, which has been demonstrated here for the formation energy. We hypothesize that this can be done for other useful properties, provided the representations are able to model the properties sufficiently accurately.