# SillyTavern



## Configure the connection

These settings apply to SillyTavern extensions that support a custom NovelAI endpoint. The built-in NovelAI image source uses fixed official hosts; replacing only the API key does not connect it to this service.

[Create an API key](https://noveadream.com/ai/api?section=keys)

| Field | Value |
| --- | --- |
| API format | NovelAI |
| Base URL | https://noveadream.com |
| Full generation URL | https://noveadream.com/ai/generate-image |
| API Key | Enter your NoveaDream API key. |
| Model (NAI5) | nai-diffusion-5-full |
| Model (NAI4.5) | nai-diffusion-4-5-full |

Use the site root when the extension asks for a base URL, or the full /ai/generate-image URL when it asks for a complete endpoint. Key fields typically take the raw key; HTTP requests use Authorization: Bearer YOUR_API_KEY.

## Model parameters

| Field | Example |
| --- | --- |
| Width × height | 832 × 1216 |
| Steps | 23 |
| Sampler | k_euler_ancestral |
| CFG / scale | 5 |
| Seed | 42 |
| Character positions | Automatic (use_coords: false) |
| SMEA / SMEA DYN | Off |

[NovelAI integration and parameter limits](https://noveadream.com/developers/en/nai/)

## Troubleshooting

| Symptom | Check |
| --- | --- |
| 401 | Check that the API key is complete and valid. |
| 403 | Check model permissions and account status. |
| 400 | Check the reported field, including seed, dimensions and unsupported options. |
| 404 / HTML response | Confirm the final request is POST /ai/generate-image, without duplicated path segments. |
| Timeout / network interruption | Check generation history on the website before submitting again. |
