curl -X POST https://api.example.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [
{
"role": "user",
"content": [
{"type": "text", "text": "Please extract all text from this image."},
{"type": "image_url", "image_url": {"url": "https://example.com/document.png"}}
]
}
],
"temperature": 0,
"max_tokens": 4096
}'