Netlify app working fine in dev but not after deployment

So I made an app that utilizes DALLE and ChatGPT to generate images stored on Azure using Next.js. Everything runs perfectly on the dev environment but deploying the site has some issues. The ChatGPT area is working fine but for some reason, generated images are only showing up if the prompt input is a singular word like “painting” or “sky”. Anything two words or above and the image displayed is broken. Any help would be much appreciated here as I want to fix this issue soon if possible. Thank you

The site is hosted at:

The site appears to be deleted, and moreoever, that doesn’t seem to be a Netlify issue from the description.