Using Local-AI (as OpenAI replacement) for image generation #1083
-
Setting OpenAI Base URL in ENV and/or setting the appropriate URL within the database administation does change nothing. Always - for image generation - api.openai.com is used and the definied/given Base URLs are ignored!? For all other models things work find and as expected! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is an |
Beta Was this translation helpful? Give feedback.
There is an
env
variable indocker-compose.yml
namedOPENAI_API_BASE
which seems to get imported into the administration tool. This setting seem not to get used in image generation. Looking into the usedopenai
module it shows up, that there is a differentenv
variable taken into action:OPENAI_BASE_URL
. Setting this variable to the same URL asOPENAI_API_BASE
gets image generation run.