"with music loud and long" (line 45)
Finally he imagines that the damsel could inspire him to perform his own magical, piece of music. This song would build Xanadu again, and bring Kubla Khan back to life, more amazing and terrifying than ever? Is that piece of music the same as this poem? He doesn't quite say that, but maybe it's moving in that direction.