openai-proxy
ClaudeOpenAIGoogle Bard
ClaudeOpenAIGoogle Bard
GitHub
  1. Claude
  • README
  • 创建会话
    POST
  • 获取全部会话
    GET
  • 删除指定会话
    DELETE
  • 删除全部会话
    DELETE
  • 查看会话中历史消息
    GET
  • 生成 AI 回复
    POST
  • 重新生成 AI 回复
    POST
  • 生成 AI 回复(类 OpenAI)
    POST
  • 生成 AI 回复-指定 conversion(类 OpenAI)
    POST
  1. Claude

重新生成 AI 回复

AIHEY
AIHEY
POST
https://openai.aihey.cc/claude
/retry_message

请求参数

Header 参数
Content-Type
string 
可选
示例值:
application/json
Accept
string 
可选
示例值:
text/event-stream
Cookie 参数
sessionKey
string 
可选
你的 sessionKey,请从 claude.ai 获取
Body 参数application/json
completion
object 
必需
prompt
string 
空值
必需
timezone
string 
必需
model
string 
必需
organization_uuid
string 
必需
conversation_uuid
string 
必需
text
string 
空值
必需
示例
{
  "completion": {
    "prompt": "",
    "timezone": "Asia/Shanghai",
    "model": "claude-2"
  },
  "organization_uuid": "dca2a902-a463-41f0-88cb-b047deb40178",
  "conversation_uuid": "5446798e-0e11-4e8f-994c-3d8386f01bd6",
  "text": ""
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://openai.aihey.cc/claude/retry_message' \
--header 'Accept: text/event-stream' \
--header 'Cookie: sessionKey=' \
--header 'Content-Type: application/json' \
--data-raw '{
  "completion": {
    "prompt": "",
    "timezone": "Asia/Shanghai",
    "model": "claude-2"
  },
  "organization_uuid": "dca2a902-a463-41f0-88cb-b047deb40178",
  "conversation_uuid": "5446798e-0e11-4e8f-994c-3d8386f01bd6",
  "text": ""
}'

返回响应

🟢200成功
application/json
Body
object {0}
示例
我是一个由Anthropic公司开发的AI助手。请告诉我,我今天能为你做些什么?
修改于 2023-07-17 08:53:05
上一页
生成 AI 回复
下一页
生成 AI 回复(类 OpenAI)
Built with