Can you write a story that includes the following three elements: a quest, a magical creature, and a prophecy?
Long long time ago, in a land far away, there was a young princess Lucia whose kingdom was cursed by an evil witch. The curse caused heavy rains in the winters and droughts in the summers and destroyed many of the crops the kingdom was relying upon.

When Lucia came of age, a prophecy was revealed by the kingdom's magician that in order to break the curse Lucia must go on a quest and find The Book Of Spells. Only with the help of this book there was hope to reverse the curse.

To help Lucia in her Journey, the kingdom's grand-jaeger summoned a magical six-legged flying caracal Rama that could hear the winds and whispers, and see in the dark as well as you could on a bright sunny day.

With the the help of Rama, Lucia arrived to the city of scholars where was the Countable Infinite Library - a magical place that contained all the books in the world. 

After spending a thousand and one day and nights in the library, Rama and Lucia finally found The Book Of Spells, but they also found many books about crops, masonry and natural sciences. 

When Lucia came back to her kingdom they decided that instead of lifting the curse they would be much better off by growing different crops use the predictable cycle of rains and droughts for their advantage.
Can you describe the library to me? You can take as inspiration the stories of Borges if you want.