To have an imaginative, unusual or foolish idea, to invent something unreal.
To make poetic.
To compose poetry.