ON.1-API 文档、API 调试、API Mock、API 自动化测试!
curl --location --request POST 'https://api.rcouyi.com/task/pic/ocr' \
--header 'Authorization: Bearer <token>' \
--form 'image_file=@""' \
--form 'image_url="https://p1-kling.klingai.com/bs2/upload-ylab-stunt/332e084d74c59da4056b7600c151d469.png"'{
"data": {
"file": "https://wxtechsz.oss-cn-shenzhen.aliyuncs.com/tasks/output/ocr/a695981c-5c4f-45c4-a931-92bf4f58077f.txt?x-oss-credential=LTAI5tGjJnh66c1txANiRBQN/20250511/cn-shenzhen/oss/aliyun_v4_request&x-oss-date=20250511T085901Z&x-oss-expires=3600&x-oss-signature=e6df504693d80727b3a4ce7c097368045de8dae46edd6b7e78c6124592c70569&x-oss-signature-version=OSS4-HMAC-SHA256",
"type": 101,
"state": 1,
"task_id": "a695981c-5c4f-45c4-a931-92bf4f58077f",
"progress": 100,
"ocr_pages": 1,
"created_at": 1746953927,
"file_pages": 1,
"input_size": 116929,
"output_size": 164,
"completed_at": 1746953930,
"processed_at": 1746953927,
"state_detail": "Complete"
},
"status": 200
}