OpenAI API Mastery: Innovating with GPT-4 Turbo and DALL·E 3