Serving dynamic images for NFTs

I’m building a dapp that can mind dynamically generated NFTs. The images of NFTs are often stored in IPFS, but I want to serve them dynamically. What is the best way to do that with javascript on Moralis?

I don’t understand how you want to serve them dynamically.