`IMAGE_API_BASE_URL` decides where the image requests go. The default is still OpenRouter — one key, many models, and the model list in the admin area fills itself in — but the request body was already written in the OpenAI image shape, so pointing it at a LiteLLM gateway, a company proxy or a server of your own works. `GET /images/models` is an OpenRouter route; a base that answers 404 is treated as "cannot list models", not as an error, and the model id is typed instead. `IMAGE_API_KEY` is the new name; `OPENROUTER_API_KEY` is still read so existing instances keep working. Also: the seeded example recipes now show four different task combinations rather than four sizes — clean up, poster, cut out to transparent PNG, sticker with contour, square for social. They are examples to read and replace. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nh4A79bbqT9dcd2inzYUdg
This commit is contained in:
6 files changed
+70
-13
No files matched your search
@@ -35,6 +35,8 @@ services:
|
||||
ADMIN_USERNAME: "${ADMIN_USERNAME:-admin}"
|
||||
ADMIN_PASSWORD: "${ADMIN_PASSWORD:-}"
|
||||
|
||||
IMAGE_API_KEY: "${IMAGE_API_KEY:-}"
|
||||
IMAGE_API_BASE_URL: "${IMAGE_API_BASE_URL:-https://openrouter.ai/api/v1}"
|
||||
OPENROUTER_API_KEY: "${OPENROUTER_API_KEY:-}"
|
||||
TELEGRAM_BOT_TOKEN: "${TELEGRAM_BOT_TOKEN:-}"
|
||||
DELIVERY_DEFAULT_FOLDER: "${DELIVERY_DEFAULT_FOLDER:-klarbild}"
|
||||
|
||||
Reference in new issue
Block a user