mirror of
https://github.com/LLM-Red-Team/step-free-api.git
synced 2025-07-18 10:10:47 +00:00
更新FakeHeaders
This commit is contained in:
11
README.md
11
README.md
@@ -13,7 +13,7 @@
|
||||
|
||||
与ChatGPT接口完全兼容。
|
||||
|
||||
还有以下九个free-api欢迎关注:
|
||||
还有以下十个free-api欢迎关注:
|
||||
|
||||
Moonshot AI(Kimi.ai)接口转API [kimi-free-api](https://github.com/LLM-Red-Team/kimi-free-api)
|
||||
|
||||
@@ -25,6 +25,8 @@ Moonshot AI(Kimi.ai)接口转API [kimi-free-api](https://github.com/LLM-Red-
|
||||
|
||||
字节跳动(豆包)接口转API [doubao-free-api](https://github.com/LLM-Red-Team/doubao-free-api)
|
||||
|
||||
字节跳动(即梦AI)接口转API [jimeng-free-api](https://github.com/LLM-Red-Team/jimeng-free-api)
|
||||
|
||||
讯飞星火(Spark)接口转API [spark-free-api](https://github.com/LLM-Red-Team/spark-free-api)
|
||||
|
||||
MiniMax(海螺AI)接口转API [hailuo-free-api](https://github.com/LLM-Red-Team/hailuo-free-api)
|
||||
@@ -36,7 +38,6 @@ MiniMax(海螺AI)接口转API [hailuo-free-api](https://github.com/LLM-Red-T
|
||||
## 目录
|
||||
|
||||
* [免责声明](#免责声明)
|
||||
* [在线体验](#在线体验)
|
||||
* [效果示例](#效果示例)
|
||||
* [接入准备](#接入准备)
|
||||
* [多账号接入](#多账号接入)
|
||||
@@ -68,12 +69,6 @@ MiniMax(海螺AI)接口转API [hailuo-free-api](https://github.com/LLM-Red-T
|
||||
|
||||
**仅限自用,禁止对外提供服务或商用,避免对官方造成服务压力,否则风险自担!**
|
||||
|
||||
## 在线体验
|
||||
|
||||
此链接仅临时测试功能,不可长期使用,长期使用请自行部署。
|
||||
|
||||
https://udify.app/chat/RGqDVPHspgQgGSgf
|
||||
|
||||
## 效果示例
|
||||
|
||||
### 验明正身Demo
|
||||
|
@@ -19,6 +19,10 @@ Ali Tongyi (Qwen) API to API [qwen-free-api](https://github.com/LLM-Red-Team/qwe
|
||||
|
||||
ZhipuAI (ChatGLM) API to API [glm-free-api](https://github.com/LLM-Red-Team/glm-free-api)
|
||||
|
||||
ByteDance (Doubao) API to API [doubao-free-api](https://github.com/LLM-Red-Team/doubao-free-api)
|
||||
|
||||
ByteDance (Jimeng) API to API [jimeng-free-api](https://github.com/LLM-Red-Team/jimeng-free-api)
|
||||
|
||||
Meta Sota (metaso) API to API [metaso-free-api](https://github.com/LLM-Red-Team/metaso-free-api)
|
||||
|
||||
Iflytek Spark (Spark) API to API [spark-free-api](https://github.com/LLM-Red-Team/spark-free-api)
|
||||
@@ -28,7 +32,6 @@ Lingxin Intelligence (Emohaa) API to API [emohaa-free-api](https://github.com/LL
|
||||
## Table of Contents
|
||||
|
||||
* [Announcement](#Announcement)
|
||||
* [Online experience](#Online-Experience)
|
||||
* [Effect Examples](#Effect-Examples)
|
||||
* [Access preparation](#Access-Preparation)
|
||||
* [Multiple account access](#Multi-Account-Access)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "step-free-api",
|
||||
"version": "0.0.19",
|
||||
"version": "0.0.20",
|
||||
"description": "Stepchat Free API Server",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
@@ -13,8 +13,8 @@
|
||||
"dist/"
|
||||
],
|
||||
"scripts": {
|
||||
"dev": "tsup src/index.ts --format cjs,esm --sourcemap --dts --publicDir public --watch --onSuccess \"node dist/index.js\"",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "tsup src/index.ts --format cjs,esm --sourcemap --dts --publicDir public --watch --onSuccess \"node --enable-source-maps dist/index.js\"",
|
||||
"start": "node --enable-source-maps dist/index.js",
|
||||
"build": "tsup src/index.ts --format cjs,esm --sourcemap --dts --clean --publicDir public"
|
||||
},
|
||||
"author": "Vinlic",
|
||||
|
@@ -21,20 +21,22 @@ const RETRY_DELAY = 5000;
|
||||
const FAKE_HEADERS = {
|
||||
Accept: "*/*",
|
||||
"Accept-Encoding": "gzip, deflate, br, zstd",
|
||||
"Accept-Language": "zh-CN,zh;q=0.9",
|
||||
"Accept-Language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7",
|
||||
Origin: "https://yuewen.cn",
|
||||
"Connect-Protocol-Version": "1",
|
||||
"Oasis-Appid": "10200",
|
||||
"Oasis-Mode": "2",
|
||||
"Oasis-Platform": "web",
|
||||
"Sec-Ch-Ua":
|
||||
'"Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"',
|
||||
'"Google Chrome";v="131", "Chromium";v="131", "Not_A Brand";v="24"',
|
||||
"Sec-Ch-Ua-Mobile": "?0",
|
||||
"Sec-Ch-Ua-Platform": '"Windows"',
|
||||
"Sec-Fetch-Dest": "empty",
|
||||
"Sec-Fetch-Mode": "cors",
|
||||
"Sec-Fetch-Site": "same-origin",
|
||||
"User-Agent":
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
|
||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36",
|
||||
"X-Waf-Client-Type": "fetch_sdk"
|
||||
};
|
||||
// 文件最大大小
|
||||
const FILE_MAX_SIZE = 100 * 1024 * 1024;
|
||||
|
Reference in New Issue
Block a user