Repository navigation
Replies: 4 comments 2 replies
|
The key you entered is probably fine. It just isn't the key the model you picked is looking for. Why this happens: Open Design stores keys per provider and looks up the key for the provider of the model selected for the project. Your OpenRouter key is only used by the OpenRouter models, the ones with (OR) after the name. If the project uses a different image model (the default or another provider), it looks for that provider's key instead, finds none, and shows this message even though OpenRouter is configured. The Custom Image API section works the same way: it only applies to the Fix:
If you already picked an (OR) model and still see it, the same message is also shown when OpenRouter rejects the key (a 401 or 403). You can check the key without sharing it: curl -s https://openrouter.ai/api/v1/key -H "Authorization: Bearer $OPENROUTER_API_KEY"A Please don't paste the key here. If it still fails, tell me which model card you selected and the exact version of Open Design, and I'll take another look. |
|
Closing and reopening settings shows the API key there but closing and reopening the app itself shows the API key filed is blank. Only the base URL and Model fields are filled. I have also updated the desktop version to latest (v0.27.2). Still no changes. Should I be raising an issue? |
|
I have raised an issue on this. thanks for the support. |

Uh oh!
There was an error while loading. Please reload this page.
Keep getting the "The image model still needs its API key. Fill it in under Settings and it will work." while its already configured in the settings. I am using an OpenRouter API key.

Please help.
Here's the settings window -> media provider section
FYI: I was also getting the same error when I configured API inside the "Custom Image API" section.
All reactions