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
envvariable indocker-compose.ymlnamedOPENAI_API_BASEwhich seems to get imported into the administration tool. This setting seem not to get used in image generation. Looking into the usedopenaimodule it shows up, that there is a differentenvvariable taken into action:OPENAI_BASE_URL. Setting this variable to the same URL asOPENAI_API_BASEgets image generation run.