Skip to content

DeepL翻译问题 #19

@zhengzaixiazai

Description

@zhengzaixiazai

DeepL api申请需要pro账户,需要国外的信用卡,很难实现,但是如果已经有deepl api地址了(比如 http://127.0.0.1/translate) 怎么使用。

Request
Method: POST
Path: /translate
Content-Type: application/json
{
"text": "text to be translated",
"source_lang": "auto",
"target_lang": "ZH"
}
language supported:

Response
Content-Type: application/json

{
"code": 200,
"msg": "only if there is an error",
"data": "translate result"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions