# SillyTavern

### API

- Avoid sending sensitive information to the Horde. Review the Privacy statement
- Register a Horde account for faster queue times
- Learn how to contribute your idle GPU cycles to the Horde

Adjust context size to worker capabilities Adjust response length to worker capabilities Trusted workers only Context: --, Response: --

#### API key

Get it here: Register (View my Kudos)
Enter 0000000000 to use anonymous mode.
For privacy reasons, your API key will be hidden after you reload the page.

#### Models

Not connected...

#### API url

Example: http://127.0.0.1:5000/api
We have a dedicated KoboldCpp support under Text Completion ⇒ KoboldCpp.
Not connected...

#### Novel API key

1. Get your NovelAI API key
2. Enter it in the box below:

For privacy reasons, your API key will be hidden after you reload the page.

#### Novel AI Model

No connection...

#### API Type

#### TogetherAI API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### TogetherAI Model

#### OpenRouter API Key

Click "Authorize" below or get the key from OpenRouter.
View Remaining Credits
For privacy reasons, your API key will be hidden after you reload the page.

#### OpenRouter Model

#### InfermaticAI API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### InfermaticAI Model

#### DreamGen API key

For privacy reasons, your API key will be hidden after you reload the page.

#### DreamGen Model

#### Mancer API key

For privacy reasons, your API key will be hidden after you reload the page.

#### Mancer Model

oobabooga/text-generation-webui Make sure you run it with `--api` flag

#### API key (optional)

For privacy reasons, your API key will be hidden after you reload the page.

#### Server URL

Example: http://127.0.0.1:5000
PygmalionAI/aphrodite-engine (OpenAI API wrapper mode)

#### Aphrodite API key

For privacy reasons, your API key will be hidden after you reload the page.

#### API URL

Example: http://127.0.0.1:5000

#### Aphrodite Model

ggerganov/llama.cpp (inference server)

#### API key (optional)

For privacy reasons, your API key will be hidden after you reload the page.

#### API URL

Example: http://127.0.0.1:8080
jmorganca/ollama

#### API URL

Example: http://127.0.0.1:11434

#### Ollama Model

theroyallab/tabbyAPI

#### Tabby API key

For privacy reasons, your API key will be hidden after you reload the page.

#### API URL

Example: http://127.0.0.1:5000
LostRuins/koboldcpp

#### koboldcpp API key (optional)

For privacy reasons, your API key will be hidden after you reload the page.

#### API URL

Example: http://127.0.0.1:5001
Legacy API (pre-OAI, no streaming) Bypass status check
Not connected...

#### Chat Completion Source

Reverse Proxy
Proxy Presets
Saved addresses and passwords.
Proxy Name
This will show up as your saved preset.
Proxy Server URL
Alternative server URL (leave empty to use the default value).
Remove your real OAI API Key from the API panel BEFORE typing anything into this box.

We cannot provide support for problems encountered while using an unofficial OpenAI proxy.
Doesn't work? Try adding `/v1` at the end!
Proxy Password
Will be used as a password for the proxy instead of API key.

#### OpenAI API key

View API Usage Metrics

1. Follow these directions to get your OpenAI API key.
2. Enter it in the box below:

Use "Proxy password" field instead. This input will be ignored.
For privacy reasons, your API key will be hidden after you reload the page.

#### OpenAI Model

Bypass API status check Show "External" models (provided by API)

#### Claude API Key

Get your key from Anthropic's developer console.
Slack and Poe cookies will not work here, do not bother trying.
For privacy reasons, your API key will be hidden after you reload the page.

#### Claude Model

#### Window AI Model

#### OpenRouter API Key

Click "Authorize" below or get the key from OpenRouter.
View Remaining Credits
For privacy reasons, your API key will be hidden after you reload the page.

#### OpenRouter Model

OpenRouter Model Sorting
Group by vendors
Put OpenAI models in one group, Anthropic models in other group, etc. Can be combined with sorting.
Allow fallback routes
Automatically chooses an alternative model if the chosen model can't serve your request.
LEGACY Force Instruct Mode formatting
If both Instruct Mode and this are enabled, the prompt will be formatted by SillyTavern using the current advanced formatting settings (except instruct System Prompt). If disabled, the prompt will be formatted by OpenRouter.

#### Scale API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### Scale API URL

#### Scale Cookie (_jwt)

For privacy reasons, your cookie will be hidden after you reload the page.
Alt Method

#### AI21 API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### AI21 Model

#### MakerSuite API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### Google Model

#### MistralAI API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### MistralAI Model

#### Perplexity API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### Perplexity Model

#### Cohere API Key

For privacy reasons, your API key will be hidden after you reload the page.

#### Cohere Model

#### Custom Endpoint (Base URL)

Doesn't work? Try adding `/v1` at the end of the URL!

#### Custom API Key (Optional)

For privacy reasons, your API key will be hidden after you reload the page.

#### Enter a Model ID

#### Available Models

#### Prompt Post-Processing

No connection...
Auto-connect to Last Server View hidden API keys

### Advanced Formatting

####
Context Template

Story String
Example Separator
Chat Start
Use as Stop Strings Allow Jailbreak
Context Order
Story String 0
Summary 1
Author's Note 2
Example Dialogues 3
Chat History 4
Hint: Summary and Author's Note orders are only affected when they don't have an In-Chat position set.

####
Instruct Mode

Enabled Bind to Context
Presets
Activation Regex
Wrap Sequences with Newline Replace Macro in Sequences Skip Example Dialogues Formatting Include Names Force for Groups and Personas
System Prompt
Instruct Mode Sequences

##### System Prompt Wrapping

System Prompt Prefix
System Prompt Suffix

##### Chat Messages Wrapping

User Message Prefix
User Message Suffix
Assistant Message Prefix
Assistant Message Suffix
System Message Prefix
System Message Suffix
System same as User

##### Misc. Sequences

First Assistant Prefix
Last Assistant Prefix
System Instruction Prefix
Stop Sequence
User Filler Message

#### Context Formatting

(Saved to Context Template)
Always add character's name to prompt Generate only one line per request Trim Incomplete Sentences Include Newline

#### Misc. Settings

Collapse Consecutive Newlines Trim spaces

#### Tokenizer

Token Padding

#### Start Reply With

Show reply prefix in chat

#### Non-markdown strings

#### Custom Stopping Strings

JSON serialized array of strings
Replace Macro in Custom Stopping Strings

#### Auto-Continue

Enabled Allow for Chat Completion APIs
Target length (tokens)

### Worlds/Lorebooks

Active World(s) for all chats
Activation Settings
Character Lore Insertion Strategy
Scan Depth
Context %
Budget Cap
(0 = disabled)
Min Activations
Max Depth
(0 = unlimited, use budget)
Recursive Scan Case-sensitive Match whole words Alert On Overflow

or

### User Settings

Language:

#### UI Theme

#### Theme Settings

Avatars:
Chat Style:
Main Text
Italics Text
Underlined Text
Quote Text
Text Shadow
Chat Background
UI Background
UI Border
User Message
AI Message
Chat Width
Font Scale
Blur Strength
Text Shadow Width
Chat Truncation (0 = unlimited)
Streaming FPS
Smooth Streaming
Speed
Slow Fast

#### Theme Toggles

Reduced Motion No Blur Effect No Text Shadows Visual Novel Mode Expand Message Actions Zen Sliders Mad Lab Mode Message Timer Chat Timestamps Model Icons Message IDs Message Token Count Compact Input Area Characters Hotswap Tags as Folders Avatar Hover Magnification

#### Miscellaneous

Aux List Field
Message Sound Background Sound Only Relaxed API URLs Lorebook Import Dialog Restore User Input MovingUI
MUI Preset:

#### Custom CSS

#### Character Handling

Example Messages Behavior:
Advanced Character Search Prefer Char. Prompt Prefer Char. Jailbreak Never resize avatars Show avatar filenames Import Card Tags Spoiler Free Mode

#### Chat/Message Handling

Enter to Send:
"Send" to Continue Quick "Continue" button
Swipes Gestures
Auto-load Last Chat Auto-scroll Chat Auto-save Message Edits Confirm message deletion Auto-fix Markdown Render Formulas Forbid External Media Show {{char}}: in responses Show {{user}}: in responses Show <tags> in responses Relax message trim in Groups Log prompts to console Request token probabilities
Auto-swipe
Enabled
Minimum generated message length
Blacklisted words
Blacklisted word count to swipe

### System Backgrounds

### Chat Backgrounds

Chat backgrounds generated with the `Image Generation` extension will appear here.

### Extensions

Notify on extension updates

#### Extras API: SillyTavern-Extras

Not connected...
Auto-connect

### Persona Management

+

#### Name

#### Persona Description

Tokens: 0
Position:
Show notifications on switching personas

### text

###

- Advanced Definitions

#### Prompt Overrides (For OpenAI/Claude/Scale APIs, Window/OpenRouter, and Instruct Mode)

Insert {{original}} into either box to include the respective default prompt from system settings.

#### Main Prompt

Tokens: counting...

#### Jailbreak

Tokens: counting...

#### Creator's Metadata (Not sent with the AI Prompt)

Everything here is optional

#### Created by

#### Character Version

#### Creator's Notes

#### Tags to Embed

#### Personality summary

Tokens: counting...

#### Scenario

Tokens: counting...

#### Character's Note

#### @ Depth

#### Role

Tokens: counting...

#### Talkativeness

##### How often the character speaks in group chats!

Shy Normal Chatty

#### Examples of dialogue

##### Important to set the character's writing style.

Tokens: counting...
Chat History

### Chat Scenario Override

Unique to this chat. All group members will use the following scenario text instead of what is specified in their character cards. The following scenario text will be used instead of the value set in the character card. Checkpoints inherit the scenario override from their parent, and can be changed individually after that.

#### Chat Lorebook for

A selected World Info will be bound to this chat. When generating an AI reply, it will be combined with the entries from global and character lorebooks.

### Select a World Info file for :

#### Primary Lorebook

A selected World Info will be bound to this character as its own Lorebook. When generating an AI reply, it will be combined with the entries from a global World Info selector. Exporting a character would also export the selected Lorebook file embedded in the JSON data.

#### Additional Lorebooks

Associate one or more auxillary Lorebooks with this character.
NOTE: These choices are optional and won't be preserved on character export!
☰
entries
☰
Comma separated (required) Primary Keywords
Logic
(ignored if empty) Optional Filter
Scan Depth
Case-Sensitive
Match Whole Words
Automation ID
Content (Tokens: counting...)
Non-recursable (this entry will not be activated by another) Prevent further recursion (this entry will not activate others)
What this keyword should mean to the AI, sent verbatim
Filter to Character(s) Character Exclusion
Inclusion Group
+++

### Inspect

Prompt List
The list of prompts associated with this marker.

### Edit

Name
A name for this prompt.
Role
To whom this message will be attributed.
Position
Injection position. Next to other prompts (relative) or in-chat (absolute).
Depth
Injection depth. 0 = after the last message, 1 = before the last message, etc.
Prompt
The prompt to be sent.
Forbid Overrides
${characterName}

### Welcome to SillyTavern!

- Read the Official Documentation.
- Type `/help` in chat for commands and macros.
- Join the Discord server for info and announcements.

SillyTavern is aimed at advanced users.
If you're new to this, enable the simplified UI mode below.
Enable simple UI mode
Before you get started, you must select a user name. This can be changed at any time via the `` icon.

#### UI Language:

#### User Name:

in this group
Go back

### Alternate Greetings

These will be displayed as swipes on the first message when starting a new chat. Group members can select one of them to initiate the conversation.

Click the button to get started!
Alternate Greeting #

#### Ability of the current character/group to use external media in chats.

Media: images, videos, audio. External: not hosted on the local server. Use global setting (forbidden) (allowed) Always forbidden Always allowed
CHAR is typing
Author's Note
Unique to this chat.
Checkpoints inherit the Note from their parent, and can be changed individually after that.
Tokens: 0
Include in World Info Scanning
Before Main Prompt / Story String After Main Prompt / Story String In-chat @ Depth as
Insertion Frequency (0 = Disable, 1 = Always)
User inputs until next insertion: (disabled)

Character Author's Note (Private) Won't be shared with the character card on export.
Will be automatically added as the author's note for this character. Will be used in groups, but can't be modified when a group chat is open.
Tokens: 0
Use character author's note
Replace Author's Note Top of Author's Note Bottom of Author's Note

Default Author's Note
Will be automatically added as the Author's Note for all new chats.
Tokens: 0
Before Main Prompt / Story String After Main Prompt / Story String In-chat @ Depth as
Insertion Frequency (0 = Disable, 1 = Always)
Chat CFG
Unique to this chat.
Scale 1 = disabled
Negative Prompt Positive Prompt
Use character CFG scales

Character CFG
Will be automatically added as the CFG for this character.
Scale 1 = disabled
Negative Prompt Positive Prompt

Global CFG
Will be used as the default CFG options for every chat unless overridden.
Scale 1 = disabled
Negative Prompt Positive Prompt

CFG Prompt Cascading
Combine positive/negative prompts from other boxes.
For example, ticking the chat, global, and character boxes combine all negative prompts into a comma-separated string.
Always Include Chat Negatives Character Negatives Global Negatives
Custom Separator: Insertion Depth:
Token Probabilities
Select a token to see alternatives considered by the AI.

File Name File Size
Close chat Toggle Panels Author's Note CFG Scale Token Probabilities Back to parent chat Save checkpoint Convert to group

Start new chat Close chat Manage chat files

Delete messages Regenerate Impersonate Continue
PNG
JSON