From b4a96a6105cc4fdc404e7604a87d446e33a426b1 Mon Sep 17 00:00:00 2001 From: YuCN <113188607+YuCN0010@users.noreply.github.com> Date: Sun, 13 Oct 2024 15:21:21 +0800 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index ab5064f8..221d33e0 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,25 @@ ``` docker run -d --name deeplx -p 11888:11888 -e TOKEN=your_token -e DL_SESSION=your_session yucn/deeplx:latest ``` +deeplx pro2api: +>http(s):////v1/translate + +这里提供下我自己搭的服务: +>https://deeplx-pro-api.itisu.me/d45074b4-5bb0-4756-9105-e05082b05c57/v1/translate + +如果发现dl_session不可用,直接替换即可。 + +Hoppscotch 调试,查看返回字段中 method 为 Pro 即为 Pro2api: +[![Run in Hoppscotch](https://hopp.sh/badge.svg)](https://hopp.sh/r/aRC6qU5GNlHZ) + +```json +{ + "alternatives": null, + "code": 200, + "data": "Hello, world. What a beautiful day.", + "id": 8339335001, + "method": "Pro", + "source_lang": "AUTO", + "target_lang": "EN" +} +```