Conditional Image Generation with Pretrained Generative Model