번역
DeepL을 통한 텍스트 번역.
요청
http
POST /v1/translatejson
{
"text": ["Bonjour le monde", "Comment allez-vous ?"],
"target_lang": "EN",
"source_lang": null,
"model": null,
"routing_strategy": "auto"
}text는 항상 목록 형태입니다(한 번의 호출로 번역할 하나 이상의 문자열). source_lang은 선택 사항이며, 생략하면 DeepL이 원본 언어를 자동으로 감지합니다.
응답
json
{
"translations": ["Hello world", "How are you?"],
"detected_source_language": "FR",
"model": "deepl-v2",
"provider": "deepl"
}제공업체
DeepL.