- 后台接口
- 前台接口
- 【新】后台接口
- AI设置
- AI知识库
- 模型计费(旧)
- 模型管理
- 对话管理
- 创作管理
- 充值套餐
- 注册奖励
- 用户管理
- 用户分组
- 财务中心
- 其它接口
- 系统设置
- AI音乐
- AI搜索
- AIPPT
- 会员套餐
- 思维导图
- AI视频
- 分享设置
- 空间设置
- 任务分享记录
- AI绘画
- 广场分类
- 【新】前台接口
设置思维导图配置
开发中
POST
adminapi/setting.mindmap/setConfig
请求参数
Body 参数application/json
channel
string
渠道
model
string
子模型
balance
integer
消耗电力值
is_example
integer
示例开关
example_content
string
示例demo
cue_word
string
指令
示例
{
"channel": "zhipu",
"model": "glm-4",
"balance": 10,
"is_example": 1,
"example_content": "# AI系统\n## 基础功能\n- 支持AI对话聊天\n- 支持AI智能写作\n- 支持AI绘画、绘画广场\n- 支持星火等认知大模型\n- 支持Midjourney\n- 支持思维导图生成\n- 更多功能等你探索......\n## 更多内容\n- 输入您想要生成的内容\n- 点击生成即可\n## 联系我们\n- 微信群1\n- 微信群2\n- 联系客服",
"cue_word": "请按我接下来说的主题帮我制作一份思维导图,列出主分支内容和子分支内容,你需按以下格式返回数据:\"\n# {标题}\n## {子标题}\n- {内容} \n...\",不要返回其他提示信息或解释,我的主题是:{prompt}"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'adminapi/setting.mindmap/setConfig' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel": "zhipu",
"model": "glm-4",
"balance": 10,
"is_example": 1,
"example_content": "# AI系统\n## 基础功能\n- 支持AI对话聊天\n- 支持AI智能写作\n- 支持AI绘画、绘画广场\n- 支持星火等认知大模型\n- 支持Midjourney\n- 支持思维导图生成\n- 更多功能等你探索......\n## 更多内容\n- 输入您想要生成的内容\n- 点击生成即可\n## 联系我们\n- 微信群1\n- 微信群2\n- 联系客服",
"cue_word": "请按我接下来说的主题帮我制作一份思维导图,列出主分支内容和子分支内容,你需按以下格式返回数据:\"\n# {标题}\n## {子标题}\n- {内容} \n...\",不要返回其他提示信息或解释,我的主题是:{prompt}"
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
chat_list
array [object {8}]
模型列表
channel
string
模型
model
string
子模型
balance
integer
消耗的电力值
is_example
integer
示例开关
example_content
string
示例demo
cue_word
string
指令
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"chat_list": [
{
"models_lists": [
{
"id": 20062,
"model_id": 262,
"type": 1,
"channel": "ollama",
"name": "llama3",
"alias": "llama3(本地)",
"price": "10.0000",
"sort": 0,
"status": 1,
"create_time": "2024-06-14 16:10:41"
}
],
"id": 262,
"type": 1,
"channel": "ollama",
"logo": "http://www.php-cw.localhost/uploads/images/20240607/2024060710224159c783358.jpg",
"name": "OLlama",
"is_system": 0,
"is_enable": 1
},
{
"models_lists": [
{
"id": 1,
"model_id": 1,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo",
"alias": "gpt-3.5-turbo",
"price": "10.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 2,
"model_id": 1,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo-0125",
"alias": "gpt-3.5-turbo-0125",
"price": "10.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 3,
"model_id": 1,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo-1106",
"alias": "gpt-3.5-turbo-1106",
"price": "10.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 4,
"model_id": 1,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo-instruct",
"alias": "gpt-3.5-turbo-instruct",
"price": "10.0000",
"sort": 4,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 1,
"type": 1,
"channel": "openai",
"logo": "http://www.php-cw.localhost/resource/image/models/gpt3.5.png",
"name": "GPT3.5",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 600,
"model_id": 6,
"type": 1,
"channel": "qwen",
"name": "qwen-turbo",
"alias": "qwen-turbo",
"price": "0.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 601,
"model_id": 6,
"type": 1,
"channel": "qwen",
"name": "qwen-max",
"alias": "qwen-max",
"price": "0.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 602,
"model_id": 6,
"type": 1,
"channel": "qwen",
"name": "qwen-plus",
"alias": "qwen-plus",
"price": "0.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 603,
"model_id": 6,
"type": 1,
"channel": "qwen",
"name": "qwen-max-longcontext",
"alias": "qwen-max-longcontext",
"price": "0.0000",
"sort": 4,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 6,
"type": 1,
"channel": "qwen",
"logo": "http://www.php-cw.localhost/resource/image/models/qwen.png",
"name": "通义千问",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 300,
"model_id": 3,
"type": 1,
"channel": "xunfei",
"name": "general",
"alias": "general",
"price": "10.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 301,
"model_id": 3,
"type": 1,
"channel": "xunfei",
"name": "generalv2",
"alias": "generalv2",
"price": "1.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 302,
"model_id": 3,
"type": 1,
"channel": "xunfei",
"name": "generalv3",
"alias": "generalv3",
"price": "10.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 303,
"model_id": 3,
"type": 1,
"channel": "xunfei",
"name": "generalv3.5",
"alias": "generalv3.5",
"price": "1.0000",
"sort": 4,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 3,
"type": 1,
"channel": "xunfei",
"logo": "http://www.php-cw.localhost/resource/image/models/xunfei.png",
"name": "讯飞星火",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 710,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo",
"alias": "gpt-3.5-turbo",
"price": "10.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 711,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo-0125",
"alias": "gpt-3.5-turbo-0125",
"price": "0.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 712,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo-1106",
"alias": "gpt-3.5-turbo-1106",
"price": "10.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 713,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-3.5-turbo-instruct",
"alias": "gpt-3.5-turbo-instruct",
"price": "0.0000",
"sort": 4,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 750,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4",
"alias": "gpt-4",
"price": "10.0000",
"sort": 5,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 751,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-32k",
"alias": "gpt-4-32k",
"price": "10.0000",
"sort": 6,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 752,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-0613",
"alias": "gpt-4-32k-0613",
"price": "10.0000",
"sort": 7,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 753,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-turbo",
"alias": "gpt-4-turbo",
"price": "0.0000",
"sort": 8,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 754,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-turbo-2024-04-09",
"alias": "gpt-4-turbo-2024-04-09",
"price": "0.0000",
"sort": 9,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 755,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-turbo-preview",
"alias": "gpt-4-turbo-preview",
"price": "0.0000",
"sort": 10,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 756,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-0125-preview",
"alias": "gpt-4-0125-preview",
"price": "10.0000",
"sort": 11,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 757,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-1106-preview",
"alias": "gpt-4-1106-preview",
"price": "0.0000",
"sort": 12,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 758,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-vision-preview",
"alias": "gpt-4-vision-preview",
"price": "0.0000",
"sort": 13,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 759,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4-1106-vision-preview",
"alias": "gpt-4-1106-vision-preview",
"price": "0.0000",
"sort": 14,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 760,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4o",
"alias": "gpt-4o",
"price": "0.0000",
"sort": 15,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 761,
"model_id": 7,
"type": 1,
"channel": "openai",
"name": "gpt-4o-2024-05-13",
"alias": "gpt-4o-2024-05-13",
"price": "0.0000",
"sort": 16,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 7,
"type": 1,
"channel": "openai",
"logo": "http://www.php-cw.localhost/resource/image/models/api2d.png",
"name": "API2d",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 200,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4",
"alias": "gpt-4",
"price": "10.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 201,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-32k",
"alias": "gpt-4-32k",
"price": "10.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 202,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-0613",
"alias": "gpt-4-32k-0613",
"price": "10.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 203,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-turbo",
"alias": "gpt-4-turbo",
"price": "10.0000",
"sort": 4,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 204,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-turbo-2024-04-09",
"alias": "gpt-4-turbo-2024-04-09",
"price": "10.0000",
"sort": 5,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 205,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-turbo-preview",
"alias": "gpt-4-turbo-preview",
"price": "0.0000",
"sort": 6,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 206,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-0125-preview",
"alias": "gpt-4-0125-preview",
"price": "0.0000",
"sort": 7,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 207,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-1106-preview",
"alias": "gpt-4-1106-preview",
"price": "0.0000",
"sort": 8,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 208,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-vision-preview",
"alias": "gpt-4-vision-preview",
"price": "0.0000",
"sort": 9,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 209,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4-1106-vision-preview",
"alias": "gpt-4-1106-vision-preview",
"price": "0.0000",
"sort": 10,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 210,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4o",
"alias": "gpt-4o",
"price": "0.0000",
"sort": 11,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 211,
"model_id": 2,
"type": 1,
"channel": "openai",
"name": "gpt-4o-2024-05-13",
"alias": "gpt-4o-2024-05-13",
"price": "0.0000",
"sort": 12,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 2,
"type": 1,
"channel": "openai",
"logo": "http://www.php-cw.localhost/resource/image/models/gpt4.0.png",
"name": "GPT4.0",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 800,
"model_id": 8,
"type": 1,
"channel": "openai",
"name": "ChatGLM2-6B",
"alias": "ChatGLM2-6B",
"price": "10.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 8,
"type": 1,
"channel": "openai",
"logo": "http://www.php-cw.localhost/resource/image/models/zhipu.png",
"name": "ChatGLM2-6B",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 500,
"model_id": 5,
"type": 1,
"channel": "baidu",
"name": "ERNIE-Bot",
"alias": "ERNIE-Bot",
"price": "0.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 501,
"model_id": 5,
"type": 1,
"channel": "baidu",
"name": "ERNIE-Bot-turbo",
"alias": "ERNIE-Bot-turbo",
"price": "10.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 502,
"model_id": 5,
"type": 1,
"channel": "baidu",
"name": "ERNIE-Bot 4.0",
"alias": "ERNIE-Bot 4.0",
"price": "0.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 503,
"model_id": 5,
"type": 1,
"channel": "baidu",
"name": "ERNIE-Bot-8K",
"alias": "ERNIE-Bot-8K",
"price": "8.0000",
"sort": 4,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 5,
"type": 1,
"channel": "baidu",
"logo": "http://www.php-cw.localhost/resource/image/models/baidu.png",
"name": "文心一言",
"is_system": 1,
"is_enable": 1
},
{
"models_lists": [
{
"id": 400,
"model_id": 4,
"type": 1,
"channel": "zhipu",
"name": "glm-3-turbo",
"alias": "glm-3-turbo",
"price": "10.0000",
"sort": 1,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 401,
"model_id": 4,
"type": 1,
"channel": "zhipu",
"name": "glm-4v",
"alias": "glm-4v",
"price": "10.0000",
"sort": 2,
"status": 1,
"create_time": "2024-05-29 14:43:35"
},
{
"id": 402,
"model_id": 4,
"type": 1,
"channel": "zhipu",
"name": "glm-4",
"alias": "glm-4",
"price": "10.0000",
"sort": 3,
"status": 1,
"create_time": "2024-05-29 14:43:35"
}
],
"id": 4,
"type": 1,
"channel": "zhipu",
"logo": "http://www.php-cw.localhost/resource/image/models/zhipu.png",
"name": "智普清言",
"is_system": 1,
"is_enable": 1
}
],
"channel": "zhipu",
"model": "glm-4",
"balance": 10,
"is_example": 1,
"example_content": "# AI系统\n## 基础功能\n- 支持AI对话聊天\n- 支持AI智能写作\n- 支持AI绘画、绘画广场\n- 支持星火等认知大模型\n- 支持Midjourney\n- 支持思维导图生成\n- 更多功能等你探索......\n## 更多内容\n- 输入您想要生成的内容\n- 点击生成即可\n## 联系我们\n- 微信群1\n- 微信群2\n- 联系客服",
"cue_word": "请按我接下来说的主题帮我制作一份思维导图,列出主分支内容和子分支内容,你需按以下格式返回数据:\"\n# {标题}\n## {子标题}\n- {内容} \n...\",不要返回其他提示信息或解释,我的主题是:{prompt}"
}
}