A text to speech API is software that converts written text into spoken audio. It does this using AI and possibly machine learning. As explained above, it integrates into other platforms rather than being used directly by a person.