siliconflow / BizyAir

BizyAir: Comfy Nodes that can run in any environment.
https://siliconflow.github.io/BizyAir/
MIT License
290 stars 18 forks source link

Hopefully the API will be saved to a local directory #16

Closed yiwangsimple closed 3 months ago

yiwangsimple commented 3 months ago

Can you add a config.json file to save this api, big guy. It's too hard to refill the API every time I refresh the workflow.

doombeaker commented 3 months ago

Hello, actually the API key is stored in the local cookies. Once set, it does not need to be entered repeatedly.

In fact, as long as the prompt box that reminds you to enter the API key does not pop up, it means that the cookies have not expired and all the nodes can be used directly.

yiwangsimple commented 3 months ago

Refresh your browser and the expiration date will pop up!

doombeaker commented 3 months ago

Refresh your browser and the expiration date will pop up!

Unless you actively clear the cache and cookies, simply refreshing the page will not clear the cookies (API key).

It's possible that when you restart ComfyUI, you might change the port number, which makes the browser consider it a new site, and thus it cannot find the key.

In any case, please let me know if you have any issues