memochou1993 / gpt-ai-assistant

OpenAI + LINE + Vercel = GPT AI Assistant
https://memochou1993.github.io/gpt-ai-assistant-docs/
MIT License
7.23k stars 9.33k forks source link

Feature/add image generate model #328

Open Jakevin opened 4 months ago

Jakevin commented 4 months ago

把 #299 要求的功能加上

OPENAI_IMAGE_GENERATION_MODEL //使用的產圖模型,預設 dall-e-2
OPENAI_IMAGE_GENERATION_QUALITY //使用的產圖尺吋,預設 256*256

修正 當使用 dall-e-3時,但尺吋為256x256時,自動改為 1024*1024

實測: 截圖 2024-04-26 凌晨1 54 01

505383787631476931

vercel[bot] commented 4 months ago

@Jakevin is attempting to deploy a commit to the Memo Chou's projects Team on Vercel.

A member of the Team first needs to authorize it.

memochou1993 commented 1 month ago

謝謝您的 MR,因為 provider 相關的改動會影響到 url 的設定,我會先整理一下目前的程式碼,然後參考您的 MR。