-
Notifications
You must be signed in to change notification settings - Fork 380
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
[Feature] Dall·E 插件的完整参数 #132
Comments
Title: [Feature] Complete parameters of Dall·E plug-in |
插件目前只公开了 |
The plug-in currently only exposes two parameters: |
我已经做了一个简单的实现,参见 https://github.com/d0j1a1701/ChatGPT-Next-Web-LangChain/blob/main/app/api/langchain-tools/dalle_image_generator.ts ,但因为我还对代码做了其它改动,所以就不发 PR 了 |
I've made a simple implementation, see https://github.com/d0j1a1701/ChatGPT-Next-Web-LangChain/blob/main/app/api/langchain-tools/dalle_image_generator.ts, but since I'm still confused about the code Other changes have been made, so no PR will be issued. |
https://platform.openai.com/docs/api-reference/images/create
注意到 Dall·E 的 API 包括
style
参数,可以调整图片的风格(超现实/写实),目前没有传这个参数,导致无法让模型画出写实风格的图片。同时模型的
quality
参数直接传进了 Prompt,我十分怀疑这是否有效,因为 API 中有单独的一个quality
参数。The text was updated successfully, but these errors were encountered: