`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
Binary file not shown.
|
After Width: | Height: | Size: 168 KiB |
Reference in new issue
Block a user