学习始皇https://api.oaifree.com/v1/chat/completions使用

请求地址: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 这个地址拿到

示例如下


20 个赞

对了,gpt需要是plus才可以获取token

2 个赞

+2

支持一下,给个赞~

赞一个!可以使用

15点04分

始皇的哪个可以用3.5的呢?

可以白嫖吗,一直搞不定opeai的账号

1 个赞

谢谢你呀

佬你客气了

gpt-4-32k和gpt-4-turbo-preview也支持吗 直接填写到model上吗

1 个赞

对的 测试了一下 可以的

1 个赞

我去哪里搞个plus哦

2 个赞

我也不知道评论区能不能直接发,刚来几天,没搞懂规则,私信你了

不错哦,好用的

学习到了

没太懂,我不是plus用户也能获取到at,但提示
{
“error”: {
“message”: “you need to have a ChatGPT Plus subscription”,
“type”: “unauthorized”,
“param”: null,
“code”: null
}
}

“message”: “you need to have a ChatGPT Plus subscription”,
翻译之后就是。你需要一个ChatGPT plus. 订阅

我怎么回去不到token