mirror of
https://github.com/arch3rPro/1Panel-Appstore.git
synced 2026-04-14 16:07:13 +08:00
feat: 重新上架deepseek-free-api
This commit is contained in:
10
apps/deepseek-free-api/1.0.0/data.yml
Normal file
10
apps/deepseek-free-api/1.0.0/data.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "8001"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Service Port
|
||||||
|
labelZh: 服务端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
16
apps/deepseek-free-api/1.0.0/docker-compose.yml
Normal file
16
apps/deepseek-free-api/1.0.0/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
services:
|
||||||
|
deepseek-free-api:
|
||||||
|
image: akashrajpuroh1t/deepseek-free-api-fix:1.0.0
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8000
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
labels:
|
||||||
|
createdBy: Apps
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
91
apps/deepseek-free-api/README.md
Normal file
91
apps/deepseek-free-api/README.md
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
# DeepSeek AI Free 服务
|
||||||
|
|
||||||
|
## 项目说明
|
||||||
|
|
||||||
|
支持高速流式输出、支持多轮对话、支持联网搜索、支持R1深度思考和静默深度思考,零配置部署,多路token支持。
|
||||||
|
|
||||||
|
本项目由[https://github.com/LLM-Red-Team/deepseek-free-api](https://github.com/LLM-Red-Team/deepseek-free-api)修改而来,感谢大佬的贡献!
|
||||||
|
|
||||||
|
提示:当前fork版本未发现恶意代码,欢迎对本项目源码进行审查。
|
||||||
|
|
||||||
|
修改原因:
|
||||||
|
|
||||||
|
1. 原项目作者账号被封,无法更新了
|
||||||
|
2. 原项目由于接口更新,无法使用了,根据Fork版本[https://github.com/Fu-Jie/deepseek-free-api](https://github.com/Fu-Jie/deepseek-free-api)进行了调整更新
|
||||||
|
|
||||||
|
## 更新说明
|
||||||
|
|
||||||
|
1. 模型列表,支持deepseek-chat、deepseek-coder、deepseek-think、deepseek-r1等最新模型
|
||||||
|
|
||||||
|
2. 重新打包新版本的docker镜像,`akashrajpuroh1t/deepseek-free-api-fix:latest`
|
||||||
|
|
||||||
|
3. 添加了Gemini和Claude适配器,可在gemini-cli和claude-code中调用API
|
||||||
|
|
||||||
|
> PS:模型名称实际上并没啥用,只是方便和好看,实际上线上Chat调用是啥模型,就用的啥模型,模型名称随便填都可以。
|
||||||
|
|
||||||
|
### 版本说明
|
||||||
|
|
||||||
|
- v1.0.0-fix (2025-12-02)
|
||||||
|
- 修改默认首页样式,添加接入方式和示例代码
|
||||||
|
- 新增Gemini和Claude适配器
|
||||||
|
|
||||||
|
## 免责声明
|
||||||
|
|
||||||
|
**逆向API是不稳定的,建议前往DeepSeek官方 https://platform.deepseek.com/ 付费使用API,避免封禁的风险。**
|
||||||
|
|
||||||
|
**本组织和个人不接受任何资金捐助和交易,此项目是纯粹研究交流学习性质!**
|
||||||
|
|
||||||
|
**仅限自用,禁止对外提供服务或商用,避免对官方造成服务压力,否则风险自担!**
|
||||||
|
|
||||||
|
**仅限自用,禁止对外提供服务或商用,避免对官方造成服务压力,否则风险自担!**
|
||||||
|
|
||||||
|
**仅限自用,禁止对外提供服务或商用,避免对官方造成服务压力,否则风险自担!**
|
||||||
|
|
||||||
|
## 效果示例
|
||||||
|
|
||||||
|
### 服务默认首页
|
||||||
|
|
||||||
|
服务启动后,默认首页添加了接入指南和接口说明,方便快速接入,不用来回切换找文档。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Gemini-cli接入
|
||||||
|
|
||||||
|
版本添加了gemini-cli适配器,可以直接在gemini-cli中调用API。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### Claude-code接入
|
||||||
|
|
||||||
|
版本添加了Claude-code适配器,可以直接在Claude-code中调用API。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
## 接入准备
|
||||||
|
|
||||||
|
请确保您在中国境内或者拥有中国境内的个人计算设备,否则部署后可能因无法访问DeepSeek而无法使用。
|
||||||
|
|
||||||
|
从 [DeepSeek](https://chat.deepseek.com/) 获取userToken value
|
||||||
|
|
||||||
|
进入DeepSeek随便发起一个对话,然后F12打开开发者工具,从Application > LocalStorage中找到`userToken`中的value值,这将作为Authorization的Bearer Token值:`Authorization: Bearer TOKEN`
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
### 多账号接入
|
||||||
|
|
||||||
|
目前同个账号同时只能有*一路*输出,你可以通过提供多个账号的userToken value并使用`,`拼接提供:
|
||||||
|
|
||||||
|
`Authorization: Bearer TOKEN1,TOKEN2,TOKEN3`
|
||||||
|
|
||||||
|
每次请求服务会从中挑选一个。
|
||||||
|
|
||||||
|
## 接口列表
|
||||||
|
|
||||||
|
目前支持:
|
||||||
|
|
||||||
|
1. 与OpenAI兼容的 `/v1/chat/completions` 接口
|
||||||
|
2. 与Google Gemini兼容的 `/v1beta/models/:model:generateContent` 接口
|
||||||
|
3. 与Anthropic Claude兼容的 `/v1/messages` 接口
|
||||||
|
|
||||||
|
可自行使用与openai、gemini-cli、claude-code或其他兼容的客户端接入接口,或者使用 [dify](https://dify.ai/) 等线上服务接入使用。
|
||||||
24
apps/deepseek-free-api/data.yml
Normal file
24
apps/deepseek-free-api/data.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: Deepseek-Free-API
|
||||||
|
tags:
|
||||||
|
- AI / 大模型
|
||||||
|
title: DeepSeek-V3 & R1大模型逆向API
|
||||||
|
description: DeepSeek V3 Free 服务
|
||||||
|
additionalProperties:
|
||||||
|
key: deepseek-free-api
|
||||||
|
name: Deepseek-Free-API
|
||||||
|
tags:
|
||||||
|
- AI
|
||||||
|
- Tools
|
||||||
|
shortDescZh: DeepSeek-V3 & R1大模型逆向API
|
||||||
|
shortDescEn: A 1Panel deployment for deepseek-free-api
|
||||||
|
type: website
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
architectures:
|
||||||
|
- amd64
|
||||||
|
- arm64
|
||||||
|
|
||||||
|
website: https://platform.deepseek.com/
|
||||||
|
github: https://github.com/xiaoY233/DeepSeek-Free-API
|
||||||
|
document: https://github.com/xiaoY233/DeepSeek-Free-API
|
||||||
10
apps/deepseek-free-api/latest/data.yml
Normal file
10
apps/deepseek-free-api/latest/data.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- default: "8001"
|
||||||
|
edit: true
|
||||||
|
envKey: PANEL_APP_PORT_HTTP
|
||||||
|
labelEn: Service Port
|
||||||
|
labelZh: 服务端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
||||||
16
apps/deepseek-free-api/latest/docker-compose.yml
Normal file
16
apps/deepseek-free-api/latest/docker-compose.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
services:
|
||||||
|
deepseek-free-api:
|
||||||
|
image: akashrajpuroh1t/deepseek-free-api-fix:latest
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
ports:
|
||||||
|
- ${PANEL_APP_PORT_HTTP}:8000
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
environment:
|
||||||
|
- TZ=Asia/Shanghai
|
||||||
|
labels:
|
||||||
|
createdBy: Apps
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
||||||
BIN
apps/deepseek-free-api/logo.png
Normal file
BIN
apps/deepseek-free-api/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
Reference in New Issue
Block a user