Skip to main content
This is lesson 4 of 4 in this module Course 86% complete

Comparing APIs for Image-Based Prompts

Premium Content

Sign in with your account or sign up to access this lesson.

We compare the ChatCompletions API and Responses API for sending image-based prompts, showing how to load and base64-encode an image and pack it into a data URL to send multimodal content to the LLM.