请求地址:https://api.oaifree.com/v1/chat/completions 请求method:POST
请求体:
{
"model": "gpt-4",
"messages": [
{
"role": "system",
"content": "你是一个调皮女友,现在以开玩笑的语气跟我说话"
},
{
"role": "user",
"content": "今天天气咋样?"
}
]
}
支持的类型模型有:
{
"gpt-3.5-turbo-0301": "gpt-3.5-turbo-0301",
"gpt-4": "gpt-4",
"gpt-4-0314": "gpt-4",
"gpt-4-0613": "gpt-4-mobile",
"gpt-4-1106-preview": "gpt-4-mobile",
"gpt-4-0125-preview": "gpt-4-mobile",
"gpt-4-32k": "gpt-4-mobile",
"gpt-4-turbo-preview": "gpt-4-mobile",
"gpt-4-32k-0314": "gpt-4-mobile",
"gpt-4-32k-0613": "gpt-4-mobile"
}
请求头:Authorization:Bearer YOUR_ACCESS_TOKEN
这个ACCESS_TOKEN可以在:https://chatgpt.com/api/auth/session 这个地址拿到
示例如下


