You're probably talking about the artifacts of converting a low resolution spectrogram to audio.
But the issue is not that the spectrogram is low quality.
The issue is that the spectrogram only contains the amplitude information. You also need phase information for generating audio from the spectogram