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)) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions