-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
grok-2-image模型无法调用 #7142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
+1 |
这个是生图模型不能直接调用请使用插件功能 |
This is a raw graph model that cannot be called directly. Please use the plug-in function |
star 了大佬的项目,但实际发现似乎有点问题
|
你得把mainfest里的url换成你自己的,我写的时候留空了,还有vercel的运行时长都要适当的拉长 ,默认的10s不够 |
我懂了,感谢大佬 |
📦 部署环境
Docker
📦 部署模式
服务端模式(lobe-chat-database 镜像)
📌 软件版本
v1.74.8
💻 系统环境
Other Linux
🌐 浏览器
Edge
🐛 问题描述
使用grok-2-image相关模型时,由于该图片生成模型调用的endpoint与常规模型endpoint不同,分别为
https://api.x.ai/v1/images/generations
(图片生成)和https://api.x.ai/v1/chat/completions
(普通对话),导致在调用grok-2-image-1212模型失败{ "error": "The model grok-2-image-1212 is an image model and is therefore not available on this endpoint. Please use a compatible endpoint such as https://api.x.ai/v1/images/generations. For more information, see https://docs.x.ai/docs/api-reference#image-generations", "endpoint": "https://api.x.ai/v1", "provider": "xai" }
📷 复现步骤
No response
🚦 期望结果
在自定义模型选项中,增加一个支持编辑单个模型调用的endpoint的选项
以便调用不同endpoint的模型
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: