Forum Discussion
Lakshmi_145
Mar 25, 2025Iron Contributor
Format for sending images to Azure OpenAI
Hi, I logged into Azure OpenAI Studio and tried to send an image in the OpenAI chat. The image was successfully sent, and OpenAI provided a correct response based on the error message in the imag...
ItsBhatti
Mar 25, 2025Iron Contributor
To send images to Azure OpenAI, follow these steps:
Use the appropriate API endpoint for image processing.
Send a POST request.
Include these headers:
Content-Type: application/json
Authorization: Bearer <your-key>
In the body, encode the image in base64 and send it in the JSON format:
"data": "<base64-image-data>"
Replace <your-key> with your Azure API keyhttps://skyclinicdentalcenter.com/
- Nivedipa-MSFTApr 02, 2025
Microsoft
Lakshmi_145 - Could you please confirm if your issue is resolved with above suggestion or are you still looking for any help?