Skip to main content
POST

授权

x-ti-app-id
string
header
必填

登录Textin后前往 "工作台-账号设置-开发者信息" 查看 x-ti-app-id

x-ti-secret-code
string
header
必填

登录Textin后前往 "工作台-账号设置-开发者信息" 查看 x-ti-secret-code

请求体

支持以下两种请求格式:

  1. Content-Type: application/octet-stream

    请求体为本地文件的二进制流,非 FormData 或其他格式

  2. Content-Type: text/plain

    请求体为文本,内容为在线文件的URL链接(支持http以及https协议)。

支持的文件格式:图片(png, jpg, jpeg, bmp, tiff, webp)。 单个文件大小不超过50M。

The body is of type file.

响应

200 - application/json

Successful Response

code
integer
默认值:200
必填
message
string
默认值:success
必填
duration
number
默认值:1250.87
必填
result
VLMResult · object
必填
version
string
默认值:4.0.0.dev0
必填