Closed kingdocker closed 6 months ago
例行检查
问题描述 执行画图命令时,返回的是会话信息。
复现步骤
在本地进行curl:
$ curl http://127.0.0.1:7077/v1/images/generations -H "Content-Type: application/json" -H "Authorization: Bearer sk-xxx" -d '{ "model": "gpt-4", "messages": [ { "role": "user", "content": "画一只猫 \\n" } ] }' {"error":{"message":"Failed to fetch image URL, please try again later.","type":"request_error","param":"","code":"500"}}
在discord里观察,只进行了文本会话。没有走画图接口。
预期结果 能够返回绘画结果。
v1/images/generations 接口的请求体格式和对话接口的请求体格式不一样,请查看官方api文档。
画图需要启用Dall-E-3插件。
例行检查
问题描述 执行画图命令时,返回的是会话信息。
复现步骤
在本地进行curl:
在discord里观察,只进行了文本会话。没有走画图接口。
预期结果 能够返回绘画结果。