我没有勾选面具右边那个插件里的DALL-E
调用不对,不需要在CUSTOM_MODELS
中加入dall-e-3
。
你打开插件,选择Dall-E
,然后在聊天框中选个聊天模型,直接给他说让他画图,就可以了
注意你选择的模型要支持函数调用,不然它也画不出来。
大佬,再求教一下,azure经过new-api中转的API,能否在ssh里直接用命令测试画图?我用这个测试,报该令牌无权访问模型dall-e
curl https://new-api.abc.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-kagqxxxxxxxxxxxxxxxxxxxxxxxb" \
-d '{
"prompt": "A cute baby sea otter",
"n": 2,
"size": "1024x1024"
}'
解决了,加上模型名称就行了
curl https://new-api.abc.com/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-kagqxxxxxxxxxxxxxxxxxxxxxxxb" \
-d '{
"prompt": "A cute baby sea otter",
"model": "dall-e-3"
"n": 2,
"size": "1024x1024"
}'
始皇二开的new-api和原来的有什么区别吗?
差别不大,就是加了 linux.do 的授权登录,方便面向论坛
在对话中提出要求,一次画一张,是可以的