image-translate-redo
POST
/302/image/translate/redoTranslate the text in the image into the corresponding language and generate new text
List of supported languages for image translation:https://302ai-en.apifox.cn/doc-5213777
Price:0.02PTC/call
请求参数
Header 参数
Authorization
string
可选
示例值:
Bearer {{YOUR_API_KEY}}
Body 参数application/json
id
integer
必需
Image translation task ID
result
string
必需
The edited result value refers to the value of the result field in the body of the [Image Translation Result] return value after modification. It is recommended to modify only the four common fields in meta_data: "translation", "fill_color", "stroke_color", and "trans_font_size". These fields can modify the translated text content, fill color, stroke color, font size, etc. Modifying other fields requires front-end rendering.
示例
{
"id": 1,
"result": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 24 天前