Deepseek联网版
https://api.iosxx.cn/API/deepseek.php
https://api.iosxx.cn/API/deepseek.php?qq=123&msg=你好
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
qq |
string | 是 | 用户标识符,用于区分不同用户的会话 |
msg |
string | 是 | 要发送给 AI 的消息内容 |
model |
string | 否 | AI 模型版本 V3 或 R1 |
type |
string | 否 | 返回数据格式 json 或 text |
lw |
string | 否 | 是否启用联网搜索 yes 或 no |
re |
string | 否 | 是否重置会话(清除缓存) yes 或其他 |
| 状态码 | 说明 |
|---|---|
200 | 请求成功 |
403 | 权限不足或API密钥无效 |
404 | 请求的资源不存在 |
429 | 请求过于频繁,已被限流 |
500 | 服务器内部错误 |
<?php
$url = 'https://api.iosxx.cn/API/deepseek.php';
$params = [
'qq' => 'YOUR_VALUE',
'msg' => 'YOUR_VALUE',
'model' => 'YOUR_VALUE',
'type' => 'YOUR_VALUE',
'lw' => 'YOUR_VALUE',
're' => 'YOUR_VALUE',
];
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url . '?' . http_build_query($params));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = "https://api.iosxx.cn/API/deepseek.php"
params = {
"qq": "YOUR_VALUE",
"msg": "YOUR_VALUE",
"model": "YOUR_VALUE",
"type": "YOUR_VALUE",
"lw": "YOUR_VALUE",
"re": "YOUR_VALUE",
}
response = requests.get(url, params=params)
print(response.text)
const url = new URL('https://api.iosxx.cn/API/deepseek.php');
const params = {
'qq': 'YOUR_VALUE',
'msg': 'YOUR_VALUE',
'model': 'YOUR_VALUE',
'type': 'YOUR_VALUE',
'lw': 'YOUR_VALUE',
're': 'YOUR_VALUE',
};
Object.keys(params).forEach(key =>
url.searchParams.append(key, params[key]));
fetch(url)
.then(res => res.text())
.then(data => console.log(data))
.catch(err => console.error(err));
curl -X GET "https://api.iosxx.cn/API/deepseek.php?qq=YOUR_VALUE&msg=YOUR_VALUE&model=YOUR_VALUE&type=YOUR_VALUE&lw=YOUR_VALUE&re=YOUR_VALUE"