chatyt commited on
Commit
342bd99
·
verified ·
1 Parent(s): 583490a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md CHANGED
@@ -11,3 +11,52 @@ short_description: partyrock2api的逆向api支持openai格式
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
14
+
15
+
16
+ # Partyrock2api
17
+
18
+ ## 支持模型
19
+ - claude-3-5-haiku
20
+ - claude-3-5-sonnet
21
+ - nova-lite-v1-0
22
+ - nova-pro-v1-0
23
+ - llama3-1-7b
24
+ - llama3-1-70b
25
+ - mistral-small
26
+ - mistral-large
27
+
28
+ ## 请求格式
29
+ 和openai的请求格式相同支非流和流
30
+
31
+ ## Docker部署
32
+ ### 拉取
33
+ ```bash
34
+ docker pull mtxyt/partyrock-api:1.1
35
+ ```
36
+ ### 运行
37
+ ```bash
38
+ docker run -d -p 8803:8803 mtxyt/partyrock-api:1.1
39
+ ```
40
+ ## 获取请求key获取方式
41
+ ### 准备步骤
42
+ 访问:[partyrock](https://partyrock.aws "https://partyrock.aws")
43
+ 点击Generate app按钮创建app
44
+ ![image](https://github.com/user-attachments/assets/847748e6-896f-471d-8048-de3379cdbf70)
45
+ 创建app后按f12打开开发者工具点击网络随便发起提问
46
+ ### 1.在标头里拿到anti-csrftoken-a2z和cookie
47
+ 找到对应请求
48
+ ![屏幕截图 2025-01-26 204042](https://github.com/user-attachments/assets/e8c27ce9-0a0d-468c-89aa-8c61e64b990e)
49
+ ### 2.在负载里拿到appid
50
+ ![屏幕截图 2025-01-26 204209](https://github.com/user-attachments/assets/37c6707f-ad98-4cad-af35-b37d6c4d1ef7)
51
+
52
+ ## 注
53
+ 不支持大陆地区好像
54
+ key的格式为appid|||anti-csrftoken-a2z|||cookie组合
55
+ 如果你的appid=abab1,anti-csrftoken-a2z=132hdwqo,cookie=sdakvfjdijvdiv
56
+ 那你的key就是abab1|||132hdwqo|||sdakvfjdijvdiv
57
+
58
+ ## 声明
59
+ 本项目仅供学术交流使用,请勿用于商业用途。
60
+
61
+
62
+