Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Civitai API key not working #43

Open
FastOnFrets opened this issue Nov 4, 2024 · 14 comments
Open

Civitai API key not working #43

FastOnFrets opened this issue Nov 4, 2024 · 14 comments

Comments

@FastOnFrets
Copy link

When I try to download some checkpoints from civitai I have been told to login first. Though API key is setup correctly in settings of the model manager

@hayden-fr
Copy link
Owner

Have you received a notification like this:

model_name.safetensors needs to be logged in to download. Please set the API-Key first.

The new version needs to be set up in ComfyUI setting, instead of server_settings.yaml.

If you have set it up correctly and still can't download, tell me more.

image

@FastOnFrets
Copy link
Author

I already had done that. And yes: I noticeded that server_settings.yaml has passed away :)
So all is setup correctly . and it doesn't work.
that's what I get in console:
babesBYSTABLEYOGI_ponyV3VAE.safetensors needs to be logged in to download. Please set the API-Key first

@FastOnFrets
Copy link
Author

solved:
sorry for inconvinience: new model was set on early access: I did notice too late.

Sorry

@Ainaemaet
Copy link

solved: sorry for inconvinience: new model was set on early access: I did notice too late.

Sorry

I had the same issue the other day, took me way too long to realize it was an early access error from Civitai lol.

A LOT of new models go into EA now!

@Khampol
Copy link

Khampol commented Dec 9, 2024

I got the same problem with model not EA, and API above already filled. Any ideas ?

@hayden-fr
Copy link
Owner

Can you provide the address of the model that needs to be downloaded? I need to test to improve this feature.

@Khampol
Copy link

Khampol commented Dec 10, 2024

Here : https://civitai.com/models/776131/eldritch-woodblock-print-for-flux
also I had to DL manually, how can I DL its infos ? I dont see button for it ?

@hayden-fr
Copy link
Owner

Can't you download it via model-manager? But I just tried it and it can download normally.

@Khampol
Copy link

Khampol commented Dec 10, 2024

ok this morning :

  • delete and create new API civit and set again
  • update all in Comfy
  • reboot.

Yes! it works again :D
Thx!

@onkelstony
Copy link

Does not work for me either. I know the API key process, as it works for me for other applications. I had to manually put the API key into download.py - that works for now. However this will be gone after the next update. To me it seems like the key entered into the ComfyUI GUI (settings) is not picked up by the model manager.

@hayden-fr
Copy link
Owner

@onkelstony Check whether ModelManager.APIKey.Civitai in user/default/comfy.settings.json is set correctly. Its should be something like this

{
    "ModelManager.APIKey.Civitai": "f3********07"
}

@onkelstony
Copy link

@hayden-fr Yes, the API key is in there. Still it's not picked up.

As long as my workaround is functional, I don't care too much, but I guess other users might have more issues, editing python files manually... and those are not the users who will write on GitHub. ;-)

@hayden-fr
Copy link
Owner

hayden-fr commented Dec 20, 2024

@onkelstony Your issue is unique and I can't reproduce it. If you have time, can you trace the code and help me figure out where the problem lies?

@onkelstony
Copy link

@hayden-fr Unfortunately, xmas time is offline time and it starts for me in a few minutes... but if the issue is stil there in January, I will contact again. Just a hint: I'm on runpod, not on Windows or (local) Linux. Maybe makes a difference because the filesystem on runpod is quite special.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants