Back to all Stores

Baidu AI Translation Script

01KEW1QJBC9MJDE6MEG06KCMEZ
Try for free
This script provides batch text translation using Baidu Fanyi's internal SSE interface.
Texts to Translate
texts

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

Type: array

Default:
[
    {
        "string": "hello"
    },
    {
        "string": "good morning"
    }
]
Source Language
from_lang
Optional

Source language of the text.

Type: string

Default
:
en
Target Language
to_lang
Optional

Target language for translation.

Type: string

Default
:
zh
Enable AI Explanation
enable_ai
Optional

Type: boolean

Default
:
true