mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
<html>
|
|
<head>
|
|
<title>TavernAI - Note - Novel AI API Key</title>
|
|
<link rel="stylesheet" href="/css/notes.css">
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
|
|
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<div id="main">
|
|
<div id="content">
|
|
<h2>Finding your NAI API key</h2>
|
|
<h4>To get a NovelAI API key, follow these instructions:</h4>
|
|
<p>
|
|
1. Go to the NovelAI website and Login.<br><br>
|
|
|
|
2. Create a new story, or open an existing story.<br><br>
|
|
|
|
3. Open the Network Tools on your web browser. (For Chrome or Firefox, you do this by pressing Ctrl+Shift+I, then switching to the Network tab.)<br><br>
|
|
|
|
4. Generate something. You should see two requests to api.novelai.net/ai/generate-stream, which might look something like this:<br><br>
|
|
<img src="1.png"><br><br>
|
|
5. Select the second request, then in the Headers tab of the inspection panel, scroll down to the very bottom. Look for a header called Authorization:<br><br>
|
|
<img src="2.png"><br><br>
|
|
The long string (after "Bearer", not including it) is your API key.<br><br>
|
|
* Proxies and Cloudflare-type services may interfere with connection.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|