接口地址:https://api.icofun.cn/api/ChatGPT.php

返回格式:json/text

请求方式:GET

请求示例:https://api.icofun.cn/api/ChatGPT.php?message=你好啊

请求参数说明:

名称 必填 说明
message内容
model模型选择(true/false)(默认默认true)
type返回格式,默认json可选text

返回示例:

{
    "code": 200,
    "msg": "获取成功",
    "data": {
        "question": "你好啊",
        "answer": "你好!有什么我可以帮忙的吗?",
        "model": "gpt-3.5-turbo",
        "system_prompt": "你的主人叫小齐",
        "timestamp": 1757838485
    }
}