Replies: 1 comment
-
You can create an API key in your CivitAI Account settings, you can then use this API key when sending any requests to the API by including it as a bearer token in the header like so in python for example: headers = {
'Authorization': 'Bearer API_KEY_HERE'
}
response = requests.get(api_url, headers=headers, timeout=(10, 30)) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some models now require user to be logged in, but its seems REST API calls does not support detecting it / adding credentials to download calls.
Beta Was this translation helpful? Give feedback.
All reactions