I have a direct link to an image:
https://mydomain.com/1ec73e92-4454-4f8a-b5bd-8dc501377c0f/image.jpg
When I open it in browser, it is properly shown.
But when sending it like this:
[
{
"role": "system",
"content": "You are a helpful assistant."
},
{
"role": "user",
"content": [
{
"type": "image_url",
"image_url": {
"url": "https://mydomain.com/1ec73e92-4454-4f8a-b5bd-8dc501377c0f/image.jpg",
"detail": "low"
}
}
]
}
]
It throws openai.BadRequestError: Error code: 400 - {'error': {'message': 'Invalid image.', 'type': 'invalid_request_error', 'param': None, 'code': None}}