Imaginary is the opposite of real and means 'existing only in the mind or imagination'.
Imaginative means 'full of imagination'.
1. He is always afraid of imaginary evils.
2. His illness are usually imaginary.
1. He is an imaginative man and can write beautiful lyrics.
2. This essay is interesting and imaginative.