QQ翻译
GET
无需 Key
运行中
接口简介
多语言翻译服务,支持文本、单词等内容的快速互译,覆盖多种常用语种,兼顾翻译准确性与响应速度,适配日常沟通、学习办公等多元场景需求。
接口地址
https://api.lolimi.cn/API/qqfy/api请求示例
测试访问https://api.lolimi.cn/API/qqfy/api?type=json&msg=你好我叫桑帛返回预览
JSON{
"code": 1,
"text": "Mulberry silk"
}
请求参数
| 参数名 | 类型 | 必填 | 描述 |
|---|---|---|---|
| type | string | Required | 可填写json/text默认为text |
| msg | string | Required | 提供需要翻译的文本内容 |
返回参数
| 参数名 | 类型 | 描述 |
|---|---|---|
| code | int | 状态码 |
| text | string | 翻译成功回复的文本 |
参数配置
登录获取 KeyResponseWaiting...
<?php
$url = "https://api.lolimi.cn/API/qqfy/api";
$params = array (
'type' => 'value',
'msg' => 'value',
);
$url .= '?' . http_build_query($params);
$res = file_get_contents($url);
echo $res;