- 🔥最新公告
- OpenAI SDK教程
- 聊天(OpenAIChat)
- AnthropicClaude
- 图像(Images)
- 视频生成(Videos)
- 音频(Audio)
- 嵌入(RAG-Embeddings)
- 重排序(RAG-Reranker)
- 对象存储+文件解析(Files)
- 内容审查(Moderations)
- 助手测试版(AssistantsBeta)待开发
- 线程数(Threads)待开发
- 留言(Messages)待开发
- 运行(Runs)待开发
- 批量API(Batch API)待开发
- 微调(Fine-tuning)待开发
- 🔥AI 工具
- 文档智能&图片处理
- AI产品配置教程
- 教程类
- 系统API
- 视频生成
- Midjourney
- Recraft(图片)
- 未命名接口POST
- 未命名接口POST
文字识别(text_recognize_3d1)
正式环境
正式环境
POST
https://api.chatfire.cn/document-intelligence/v1/{service}
最后修改时间:2024-10-09 07:06:20
责任人:未设置
上传单个文件大小不超过10M
将图片转化成可编辑的word txt格式
将图片中表格转化成可编辑的Excel文件
将图片转化成可编辑的word、txt格式
将图片转化成可编辑的word、txt格式
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Path 参数
service
string
必需
示例值:
watermark-remove
Query 参数
response_format
string
必需
url
示例值:
url
Body 参数application/json
file
string
必需
示例
{
"file": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.chatfire.cn/document-intelligence/v1/watermark-remove?response_format=url' \
--header 'Content-Type: application/json' \
--data-raw '{
"file": "string"
}'
返回响应
🟢200成功
application/json
Body
msg
string
必需
data
object
必需
result
object
必需
file_type
string
必需
file_data
string
必需
code
integer
必需
示例
{
"msg": "success",
"data": {
"result": {
"angle": 0,
"width": 574,
"lines": [
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.963,
"position": [
473,
260,
501,
260,
503,
892,
474,
892
],
"text": "南為離明之方,華爲精英之發,言發揮道妙,光明英華也。"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.996,
"position": [
459,
47,
500,
47,
500,
259,
459,
259
],
"text": "南華經内篇"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.958,
"position": [
375,
111,
411,
110,
419,
1065,
383,
1066
],
"text": "逍遥遊第一遊者,身之所寄。逍遥者、徜徉自得,高遠而無拘束也。莊子以為人當"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.98,
"position": [
332,
112,
360,
112,
360,
1064,
332,
1064
],
"text": "全體太極,直與天地同運,乃與造物者遊,而為逍遥之極則。故以物而言,如鵲鵬之飛"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.979,
"position": [
288,
111,
318,
111,
316,
1064,
287,
1064
],
"text": "摶,自凡鳥觀之,大且遠矣,而要必待天地之以息相吹,與野馬、塵埃等耳,非逍遥之"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.989,
"position": [
243,
109,
275,
109,
275,
1064,
243,
1064
],
"text": "至也。如列子之御風,自衆人視之,大且遠矣,然猶有待於天地之以風相吹,亦猶鵬之"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.988,
"position": [
200,
111,
229,
111,
227,
1063,
198,
1063
],
"text": "培風南徙耳,非逍遥之至也。唯配陰陽而順六氣,以遊無窮,斯真逍遥之極矣。後數段"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.984,
"position": [
156,
112,
185,
112,
183,
868,
154,
868
],
"text": "又撰出古人事迹,議論以證之。舊解誤認莊子以大鵬自寓,失之遠矣。"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.94,
"position": [
66,
101,
100,
101,
96,
1064,
63,
1064
],
"text": "北冥有魚,其名爲鯤。鯤之大,不知其幾千里也。化而為鳥,其名爲鵬。鵬"
},
{
"angle": 0,
"type": "text",
"direction": 2,
"handwritten": 0,
"score": 0.991,
"position": [
21,
45,
54,
45,
52,
1064,
18,
1064
],
"text": "之背,不知其幾千里也;怒而飛,其翼若垂天之雲。冥,海也。稽康①云:「取其冥冥②無涯"
}
],
"height": 1098
},
"file_type": "",
"file_data": ""
},
"code": 200
}
修改于 2024-10-09 07:06:20