
curl --location --request POST 'https://api.302.ai/sophnet/image-ocr' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "DeepSeek-OCR",
"type": "image_url",
"image_url": {
"url": "https://file.302.ai/gpt/imgs/20250925/dfb0c9da358d4637fb330958e8eeb211.png"
},
"prettify_markdown": true,
"show_formula_number": false
}'{
"status": 0,
"message": "请求成功",
"result": [
{
"label": "html",
"texts": "<html><body><p>众里寻他千百度</p><h2>蓦然回首</h2><h2>那人却在灯火阑珊赴</h2></body></html>",
"position": [
0,
0,
256,
544
]
}
],
"timestamp": 1758794908809
}