The GPT-3 API receives input text from an application and generates output text based on its analysis. It uses deep learning techniques, including neural networks, to analyze and understand the meaning of the input text and generate appropriate responses.