Leveraging artificial intelligence for quality output enhancement