songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
16.19k stars 3.74k forks source link

Azure 的 Dalle3 无法调用! #1411

Open piwawa opened 2 months ago

piwawa commented 2 months ago

openai.BadRequestError: Error code: 400 - {'error': {'message': 'size not supported for this image model (request id: 202405051132032498639127349253)', 'type': 'one_api_error', 'param': '', 'code': 'size_not_supported'}}

image

manjieqi commented 2 months ago

size_not_supported

piwawa commented 2 months ago

size_not_supported

没传 size 也这样

tlze commented 2 months ago

试1024x1024。对于 dall-e-3 模型,必须是1024x1024、1792x1024或1024x1792之一,来源:https://github.com/TBXark/ChatGPT-Telegram-Workers/blob/master/doc/cn/CONFIG.md

beesui commented 2 months ago

发现同样的BUG

lei195827 commented 2 months ago

试1024x1024。对于 dall-e-3 模型,必须是1024x1024、1792x1024或1024x1792之一,来源:https://github.com/TBXark/ChatGPT-Telegram-Workers/blob/master/doc/cn/CONFIG.md

跟这个没啥关系,用原本的api能调的这个就调不了