This repository contains a collection of scripting examples for use with NovelAI. These scripts demonstrate various functionalities and can be used as a reference or starting point for your own projects.
-
Scripting Demo_Crystal Dragon Encounter.scenario: A scenario containing an example script demonstrating various scripting features. The demos cover most aspects of scripting and include editable examples. -
Bookmarks.naiscript: A script that lets you create "bookmarks" in a story. They let you save the current location in the story history and jump back to it later. -
Editor Probabilities Everywhere.naiscript: A script that adds a right click option to generate next token probabilities based on the cursor position in the editor. -
Find & Replace.naiscript: A script that allows you to find and replace text in the editor. -
Joke Generator.naiscript: A script that just generates a joke. A basic example of how to use the API to generate text. -
Notes.naiscript: A script that adds a notes panel below the editor. These notes open as editable windows that can be used to jot down ideas. -
Smart Summarizer.naiscript: Adds a right click option to summarize selected text in the editor. -
Thought Generator.naiscript: A script that generates character thoughts based on the story context. A character profile can be set to influence the generated thoughts. -
Retry Harder.naiscript: A script that provides an alternative retry button with special prompting. -
TTS with Character Voices.naiscript: A script that allows reading stories with assigned character voices.