将 DeepL 的网页功能转换为类似官方文档的 API 接口
- 为 Bob 多接口翻译软件提供 自定义的免费 DeepL 服务
- 为其他应用提供通用的 DeepL 翻译接口
EXAMPLE REQUEST
Host: YOUR_HOST
User-Agent: YourApp
Accept: */*
Content-Length: 54
Content-Type: application/x-www-form-urlencoded
text=Hello, world&target_lang=DE```
EXAMPLE RESPONSE
{
"translations": [{
"detected_source_language":"EN",
"text":"Hallo, Welt!"
}]
}
* Language supports in progress
- Target language
- Language detection
- Speed optimization
- Translation for long strings (Len > 5000)