返回所有脚本

百度人工智能翻译脚本

01KEW1QJBC9MJDE6MEG06KCMEZ
免费试用
该脚本利用百度翻译的内部SSE接口实现批量文本翻译。
Texts to Translate
texts

Enter one or more texts to translate. Each text will be processed as a separate task.

类型: array

默认值:
[
    {
        "string": "hello"
    },
    {
        "string": "good morning"
    }
]
Source Language
from_lang
选填

Source language of the text.

类型: string

默认值
:
en
Target Language
to_lang
选填

Target language for translation.

类型: string

默认值
:
zh
Enable AI Explanation
enable_ai
选填

类型: boolean

默认值
:
true