From d57418e8caaeb4f7b4683db21c315f56a3f65a08 Mon Sep 17 00:00:00 2001 From: Aedial Date: Thu, 8 Feb 2024 00:29:08 +0000 Subject: [PATCH] deploy: 9402f0d6a4a9b84042ac69053735dbee57759682 --- .buildinfo | 2 +- _modules/example/boilerplate.html | 18 ++++--- _modules/index.html | 8 ++-- _modules/novelai_api/BanList.html | 8 ++-- _modules/novelai_api/BiasGroup.html | 8 ++-- _modules/novelai_api/GlobalSettings.html | 8 ++-- _modules/novelai_api/Idstore.html | 8 ++-- _modules/novelai_api/ImagePreset.html | 8 ++-- _modules/novelai_api/Keystore.html | 8 ++-- _modules/novelai_api/NovelAIError.html | 8 ++-- _modules/novelai_api/NovelAI_API.html | 8 ++-- _modules/novelai_api/Preset.html | 45 ++++++++++++++---- _modules/novelai_api/SchemaValidator.html | 8 ++-- _modules/novelai_api/StoryHandler.html | 8 ++-- _modules/novelai_api/Tokenizer.html | 8 ++-- _modules/novelai_api/_high_level.html | 8 ++-- _modules/novelai_api/_low_level.html | 10 ++-- _modules/novelai_api/utils.html | 8 ++-- _modules/tests/api/boilerplate.html | 17 +++++-- .../test_decrypt_encrypt_integrity_check.html | 8 ++-- _modules/tests/api/test_textgen_presets.html | 29 +++++++++-- _static/documentation_options.js | 2 +- example/example.boilerplate.html | 8 ++-- example/example.html | 8 ++-- genindex.html | 16 ++++--- index.html | 12 +++-- novelai_api/Full_list_of_modules.html | 8 ++-- novelai_api/novelai_api.BanList.html | 8 ++-- novelai_api/novelai_api.BiasGroup.html | 8 ++-- novelai_api/novelai_api.GlobalSettings.html | 8 ++-- novelai_api/novelai_api.Idstore.html | 8 ++-- novelai_api/novelai_api.ImagePreset.html | 8 ++-- novelai_api/novelai_api.Keystore.html | 8 ++-- novelai_api/novelai_api.NovelAIError.html | 8 ++-- novelai_api/novelai_api.NovelAI_API.html | 8 ++-- novelai_api/novelai_api.Preset.html | 23 +++++++-- novelai_api/novelai_api.SchemaValidator.html | 8 ++-- novelai_api/novelai_api.StoryHandler.html | 8 ++-- novelai_api/novelai_api.Tokenizer.html | 8 ++-- novelai_api/novelai_api.high_level.html | 8 ++-- novelai_api/novelai_api.html | 8 ++-- novelai_api/novelai_api.low_level.html | 8 ++-- novelai_api/novelai_api.utils.html | 8 ++-- objects.inv | Bin 4044 -> 4062 bytes py-modindex.html | 8 ++-- search.html | 8 ++-- searchindex.js | 2 +- tests/api/api.boilerplate.html | 8 ++-- tests/api/api.html | 8 ++-- tests/mock/mock.html | 8 ++-- 50 files changed, 280 insertions(+), 200 deletions(-) diff --git a/.buildinfo b/.buildinfo index 7a4d00a..96bb4e2 100644 --- a/.buildinfo +++ b/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: ce1b3f02132269e3117ff63e34dbbd14 +config: 6a687f250e5c1911bea924197742129c tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/_modules/example/boilerplate.html b/_modules/example/boilerplate.html index 7ae8ee1..0805593 100644 --- a/_modules/example/boilerplate.html +++ b/_modules/example/boilerplate.html @@ -5,7 +5,7 @@ - example.boilerplate — NovelAI API 0.22.0 documentation + example.boilerplate — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

Navigation

  • modules |
  • - + @@ -58,9 +58,9 @@

    Source code for example.boilerplate

     import json
     from logging import Logger, StreamHandler
     from os import environ as env
    +from pathlib import Path
     from typing import Any, Optional
     
    -import dotenv
     from aiohttp import ClientSession
     
     from novelai_api import NovelAIAPI
    @@ -96,7 +96,13 @@ 

    Source code for example.boilerplate

         api: Optional[NovelAIAPI]
     
     
    [docs] def __init__(self, base_address: Optional[str] = None): - dotenv.load_dotenv() + dotenv = Path(".env") + if dotenv.exists(): + with dotenv.open("r") as f: + for line in f: + if "=" in line: + key, value = line.strip().split("=", 1) + env[key] = value.strip() if "NAI_USERNAME" not in env or "NAI_PASSWORD" not in env: raise RuntimeError("Please ensure that NAI_USERNAME and NAI_PASSWORD are set in your environment") @@ -177,13 +183,13 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/index.html b/_modules/index.html index 91dcefd..f331c0c 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -5,7 +5,7 @@ - Overview: module code — NovelAI API 0.22.0 documentation + Overview: module code — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - +
    @@ -104,12 +104,12 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/novelai_api/BanList.html b/_modules/novelai_api/BanList.html index 7960454..5a937c5 100644 --- a/_modules/novelai_api/BanList.html +++ b/_modules/novelai_api/BanList.html @@ -5,7 +5,7 @@ - novelai_api.BanList — NovelAI API 0.22.0 documentation + novelai_api.BanList — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -171,13 +171,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/BiasGroup.html b/_modules/novelai_api/BiasGroup.html index 3aabdb3..7a37e7b 100644 --- a/_modules/novelai_api/BiasGroup.html +++ b/_modules/novelai_api/BiasGroup.html @@ -5,7 +5,7 @@ - novelai_api.BiasGroup — NovelAI API 0.22.0 documentation + novelai_api.BiasGroup — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -242,13 +242,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/GlobalSettings.html b/_modules/novelai_api/GlobalSettings.html index 02a21a3..5aef4b0 100644 --- a/_modules/novelai_api/GlobalSettings.html +++ b/_modules/novelai_api/GlobalSettings.html @@ -5,7 +5,7 @@ - novelai_api.GlobalSettings — NovelAI API 0.22.0 documentation + novelai_api.GlobalSettings — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -1002,13 +1002,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/Idstore.html b/_modules/novelai_api/Idstore.html index 2b5a0a0..461a829 100644 --- a/_modules/novelai_api/Idstore.html +++ b/_modules/novelai_api/Idstore.html @@ -5,7 +5,7 @@ - novelai_api.Idstore — NovelAI API 0.22.0 documentation + novelai_api.Idstore — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -126,13 +126,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/ImagePreset.html b/_modules/novelai_api/ImagePreset.html index 571f1af..c0b7430 100644 --- a/_modules/novelai_api/ImagePreset.html +++ b/_modules/novelai_api/ImagePreset.html @@ -5,7 +5,7 @@ - novelai_api.ImagePreset — NovelAI API 0.22.0 documentation + novelai_api.ImagePreset — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -681,13 +681,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/Keystore.html b/_modules/novelai_api/Keystore.html index b903f18..d9f3691 100644 --- a/_modules/novelai_api/Keystore.html +++ b/_modules/novelai_api/Keystore.html @@ -5,7 +5,7 @@ - novelai_api.Keystore — NovelAI API 0.22.0 documentation + novelai_api.Keystore — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -260,13 +260,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/NovelAIError.html b/_modules/novelai_api/NovelAIError.html index 0785ccf..c9620c6 100644 --- a/_modules/novelai_api/NovelAIError.html +++ b/_modules/novelai_api/NovelAIError.html @@ -5,7 +5,7 @@ - novelai_api.NovelAIError — NovelAI API 0.22.0 documentation + novelai_api.NovelAIError — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -105,13 +105,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/NovelAI_API.html b/_modules/novelai_api/NovelAI_API.html index 072455d..64f7862 100644 --- a/_modules/novelai_api/NovelAI_API.html +++ b/_modules/novelai_api/NovelAI_API.html @@ -5,7 +5,7 @@ - novelai_api.NovelAI_API — NovelAI API 0.22.0 documentation + novelai_api.NovelAI_API — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -194,13 +194,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/Preset.html b/_modules/novelai_api/Preset.html index be6ae18..91e97db 100644 --- a/_modules/novelai_api/Preset.html +++ b/_modules/novelai_api/Preset.html @@ -5,7 +5,7 @@ - novelai_api.Preset — NovelAI API 0.22.0 documentation + novelai_api.Preset — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -361,13 +361,33 @@

    Source code for novelai_api.Preset

         name: str
         #: Model the preset is for
         model: Model
    +    #: Enable state of sampling options
    +    sampling_options: List[bool]
     
     
    [docs] def __init__(self, name: str, model: Model, settings: Optional[Dict[str, Any]] = None): object.__setattr__(self, "name", name) object.__setattr__(self, "model", model) object.__setattr__(self, "_settings", {}) - self.update(settings)
    + self.update(settings) + self.set_sampling_options_state([True] * len(self._settings["order"]))
    + +
    [docs] def set_sampling_options_state(self, sampling_options_state: List[bool]): + """ + Set the state (enabled/disabled) of the sampling options. Set it after setting the order setting. + It should come in the same order as the order setting. + """ + + if "order" not in self._settings: + raise ValueError("The order setting must be set before setting the sampling options state") + + if len(sampling_options_state) != len(self._settings["order"]): + raise ValueError( + "The length of the sampling options state list must be equal to the length " + "of the sampling options list" + ) + + object.__setattr__(self, "sampling_options", sampling_options_state)
    def __setitem__(self, key: str, value: Any): if key not in self._TYPE_MAPPING: @@ -421,7 +441,8 @@

    Source code for novelai_api.Preset

     
         def __repr__(self) -> str:
             model = self.model.value if self.model is not None else "<?>"
    -        enabled_keys = ", ".join(f"{ORDER_TO_NAME[o]} = {o in self._settings['order']}" for o in Order)
    +        enabled_order = [o for o, enabled in zip(self._settings["order"], self.sampling_options) if enabled]
    +        enabled_keys = ", ".join(f"{ORDER_TO_NAME[o]} = {o in enabled_order}" for o in Order)
     
             return f"Preset: '{self.name} ({model}, {enabled_keys})'"
     
    @@ -437,7 +458,11 @@ 

    Source code for novelai_api.Preset

     
             # remove disabled sampling options
             if "order" in settings:
    -            order = [Order(e) if isinstance(e, int) else e for e in settings["order"]]
    +            order = [
    +                (Order(o) if isinstance(o, int) else o)
    +                for o, enabled in zip(settings["order"], self.sampling_options)
    +                if enabled
    +            ]
     
                 for o in Order:
                     if o not in order:
    @@ -473,8 +498,8 @@ 

    Source code for novelai_api.Preset

             return settings
    def __str__(self): - settings = {k: self._settings.get(k, v) for k, v in self.DEFAULTS.items()} - is_default = {k: " (default)" if v == self.DEFAULTS[k] else "" for k, v in settings.items()} + settings = self.to_settings() # use the sanitized settings + is_default = {k: " (default)" if v == self.DEFAULTS.get(k, None) else "" for k, v in settings.items()} values = "\n".join(f" {k} = {v}{is_default[k]}" for k, v in settings.items()) @@ -532,7 +557,6 @@

    Source code for novelai_api.Preset

     
             name = data["name"] if "name" in data else "<?>"
     
    -        # FIXME: collapse model version
             model_name = data["model"] if "model" in data else ""
             model = collapse_model(Model, model_name)
     
    @@ -547,6 +571,7 @@ 

    Source code for novelai_api.Preset

             settings.pop("logit_bias_groups", None)  # get rid of unsupported option
     
             c = cls(name, model, settings)
    +        c.set_sampling_options_state([o["enabled"] for o in order])
     
             return c
    @@ -677,13 +702,13 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/novelai_api/SchemaValidator.html b/_modules/novelai_api/SchemaValidator.html index e004f9e..1dfdd3b 100644 --- a/_modules/novelai_api/SchemaValidator.html +++ b/_modules/novelai_api/SchemaValidator.html @@ -5,7 +5,7 @@ - novelai_api.SchemaValidator — NovelAI API 0.22.0 documentation + novelai_api.SchemaValidator — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -121,13 +121,13 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/novelai_api/StoryHandler.html b/_modules/novelai_api/StoryHandler.html index 42d65a3..f70e56c 100644 --- a/_modules/novelai_api/StoryHandler.html +++ b/_modules/novelai_api/StoryHandler.html @@ -5,7 +5,7 @@ - novelai_api.StoryHandler — NovelAI API 0.22.0 documentation + novelai_api.StoryHandler — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -551,13 +551,13 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/novelai_api/Tokenizer.html b/_modules/novelai_api/Tokenizer.html index 6970ec9..de42e69 100644 --- a/_modules/novelai_api/Tokenizer.html +++ b/_modules/novelai_api/Tokenizer.html @@ -5,7 +5,7 @@ - novelai_api.Tokenizer — NovelAI API 0.22.0 documentation + novelai_api.Tokenizer — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -298,13 +298,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/_high_level.html b/_modules/novelai_api/_high_level.html index 73b764e..b88008f 100644 --- a/_modules/novelai_api/_high_level.html +++ b/_modules/novelai_api/_high_level.html @@ -5,7 +5,7 @@ - novelai_api._high_level — NovelAI API 0.22.0 documentation + novelai_api._high_level — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -588,13 +588,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/novelai_api/_low_level.html b/_modules/novelai_api/_low_level.html index 2a81a4e..78f1509 100644 --- a/_modules/novelai_api/_low_level.html +++ b/_modules/novelai_api/_low_level.html @@ -5,7 +5,7 @@ - novelai_api._low_level — NovelAI API 0.22.0 documentation + novelai_api._low_level — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -76,7 +76,7 @@

    Source code for novelai_api._low_level

     from novelai_api.Tokenizer import Tokenizer
     from novelai_api.utils import tokens_to_b64
     
    -PRINT_WITH_PARAMETERS = os.environ.get("NAI_PRINT", None)
    +PRINT_WITH_PARAMETERS = os.environ.get("NAI_PRINT", False)
     
     
     # === INTERNALS === #
    @@ -1002,13 +1002,13 @@ 

    Navigation

  • modules |
  • - +
    diff --git a/_modules/novelai_api/utils.html b/_modules/novelai_api/utils.html index 9546296..9ce77de 100644 --- a/_modules/novelai_api/utils.html +++ b/_modules/novelai_api/utils.html @@ -5,7 +5,7 @@ - novelai_api.utils — NovelAI API 0.22.0 documentation + novelai_api.utils — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -464,13 +464,13 @@

    Navigation

  • modules |
  • - + diff --git a/_modules/tests/api/boilerplate.html b/_modules/tests/api/boilerplate.html index 7de6623..3e97206 100644 --- a/_modules/tests/api/boilerplate.html +++ b/_modules/tests/api/boilerplate.html @@ -5,7 +5,7 @@ - tests.api.boilerplate — NovelAI API 0.22.0 documentation + tests.api.boilerplate — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -60,6 +60,7 @@

    Source code for tests.api.boilerplate

     import json
     from logging import Logger, StreamHandler
     from os import environ as env
    +from pathlib import Path
     from typing import Any, Awaitable, Callable, NoReturn, Optional
     
     import pytest
    @@ -79,6 +80,14 @@ 

    Source code for tests.api.boilerplate

         api: NovelAIAPI
     
     
    [docs] def __init__(self, sync: bool = False): + dotenv = Path(".env") + if dotenv.exists(): + with dotenv.open("r") as f: + for line in f: + if "=" in line: + key, value = line.strip().split("=", 1) + env[key] = value.strip() + if "NAI_USERNAME" not in env or "NAI_PASSWORD" not in env: raise RuntimeError("Please ensure that NAI_USERNAME and NAI_PASSWORD are set in your environment") @@ -251,13 +260,13 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/tests/api/test_decrypt_encrypt_integrity_check.html b/_modules/tests/api/test_decrypt_encrypt_integrity_check.html index e3f4320..7eb3b5a 100644 --- a/_modules/tests/api/test_decrypt_encrypt_integrity_check.html +++ b/_modules/tests/api/test_decrypt_encrypt_integrity_check.html @@ -5,7 +5,7 @@ - tests.api.test_decrypt_encrypt_integrity_check — NovelAI API 0.22.0 documentation + tests.api.test_decrypt_encrypt_integrity_check — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -307,13 +307,13 @@

    Navigation

  • modules |
  • - +
    diff --git a/_modules/tests/api/test_textgen_presets.html b/_modules/tests/api/test_textgen_presets.html index 0e02442..6aaf897 100644 --- a/_modules/tests/api/test_textgen_presets.html +++ b/_modules/tests/api/test_textgen_presets.html @@ -5,7 +5,7 @@ - tests.api.test_textgen_presets — NovelAI API 0.22.0 documentation + tests.api.test_textgen_presets — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -59,6 +59,7 @@

    Source code for tests.api.test_textgen_presets

    Tests pertaining to the Preset class """ +import asyncio from typing import Tuple import pytest @@ -67,7 +68,7 @@

    Source code for tests.api.test_textgen_presets

    from novelai_api.Preset import Model, Preset from novelai_api.Tokenizer import Tokenizer from novelai_api.utils import b64_to_tokens -from tests.api.boilerplate import api_handle, error_handler # noqa: F401 # pylint: disable=W0611 +from tests.api.boilerplate import API, api_handle, error_handler # noqa: F401 # pylint: disable=W0611 prompt = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam at dolor dictum, interdum est sed, consequat arcu. Pellentesque in massa eget lorem fermentum placerat in pellentesque purus. Suspendisse potenti. Integer interdum, felis quis porttitor volutpat, est mi rutrum massa, venenatis viverra neque lectus semper metus. Pellentesque in neque arcu. Ut at arcu blandit purus aliquet finibus. Suspendisse laoreet risus a gravida semper. Aenean scelerisque et sem vitae feugiat. Quisque et interdum diam, eu vehicula felis. Ut tempus quam eros, et sollicitudin ligula auctor at. Integer at tempus dui, quis pharetra purus. Duis venenatis tincidunt tellus nec efficitur. Nam at malesuada ligula." # noqa: E501 # pylint: disable=C0301 models = list(Model) @@ -113,6 +114,24 @@

    Source code for tests.api.test_textgen_presets

    """ Preset.from_official(model)

    + + +async def main(): + for model in models: + model: Model + + await preset_from_default(model) + await preset_from_official(model) + + async with API() as handle: + for model_preset in models_presets: + model_preset: Tuple[Model, Preset] + + await test_presets(handle, model_preset) + + +if __name__ == "__main__": + asyncio.run(main())
    @@ -144,13 +163,13 @@

    Navigation

  • modules |
  • - + diff --git a/_static/documentation_options.js b/_static/documentation_options.js index 91f85c9..b8ad807 100644 --- a/_static/documentation_options.js +++ b/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.22.0', + VERSION: '0.23.1', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/example/example.boilerplate.html b/example/example.boilerplate.html index 415f341..ba28ce7 100644 --- a/example/example.boilerplate.html +++ b/example/example.boilerplate.html @@ -6,7 +6,7 @@ - boilerplate — NovelAI API 0.22.0 documentation + boilerplate — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -198,13 +198,13 @@

    Navigation

  • previous |
  • - + diff --git a/example/example.html b/example/example.html index 1cbb962..aed68c4 100644 --- a/example/example.html +++ b/example/example.html @@ -6,7 +6,7 @@ - example directory — NovelAI API 0.22.0 documentation + example directory — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -284,12 +284,12 @@

    Navigation

  • previous |
  • - + diff --git a/genindex.html b/genindex.html index cde8276..77bff0c 100644 --- a/genindex.html +++ b/genindex.html @@ -5,7 +5,7 @@ - Index — NovelAI API 0.22.0 documentation + Index — NovelAI API 0.23.1 documentation @@ -43,7 +43,7 @@

    Navigation

  • modules |
  • - + @@ -1191,6 +1191,8 @@

    S

    - +
    +
  • set_sampling_options_state() (Preset method) +
  • set_settings() (LowLevel method)
  • shelves_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check) @@ -1227,11 +1231,11 @@

    S

  • Sigurd (Model attribute)
  • Small_Landscape (ImageResolution attribute) -
  • -
  • Small_Landscape_v2 (ImageResolution attribute)
  • diff --git a/index.html b/index.html index 9a8057f..e9688f9 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - novelai-api — NovelAI API 0.22.0 documentation + novelai-api — NovelAI API 0.23.1 documentation @@ -48,7 +48,7 @@

    Navigation

  • next |
  • - + @@ -79,10 +79,12 @@

    novelai-apiGitHub top language Libraries.io dependency status for GitHub repo GitHub repo size Pypi package size GitHub issues GitHub pull requests

    Activity

    GitHub last commit GitHub commits since tagged version GitHub commit activity

    GitHub last commit GitHub commits since tagged version GitHub commit activity

    +

    Retired versions: 3.7.2 +Final commit of retired versions can be found with the tag py<version> (e.g. py3.7.2).

    Usage¶

    @@ -330,12 +332,12 @@

    Navigation

  • next |
  • - + diff --git a/novelai_api/Full_list_of_modules.html b/novelai_api/Full_list_of_modules.html index 677601a..ca4b010 100644 --- a/novelai_api/Full_list_of_modules.html +++ b/novelai_api/Full_list_of_modules.html @@ -6,7 +6,7 @@ - <no title> — NovelAI API 0.22.0 documentation + <no title> — NovelAI API 0.23.1 documentation @@ -44,7 +44,7 @@

    Navigation

  • modules |
  • - + @@ -401,12 +401,12 @@

    Navigation

  • modules |
  • - + diff --git a/novelai_api/novelai_api.BanList.html b/novelai_api/novelai_api.BanList.html index 504a49a..7f882ab 100644 --- a/novelai_api/novelai_api.BanList.html +++ b/novelai_api/novelai_api.BanList.html @@ -6,7 +6,7 @@ - novelai_api.BanList — NovelAI API 0.22.0 documentation + novelai_api.BanList — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -177,13 +177,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.BiasGroup.html b/novelai_api/novelai_api.BiasGroup.html index 433811e..eb581bb 100644 --- a/novelai_api/novelai_api.BiasGroup.html +++ b/novelai_api/novelai_api.BiasGroup.html @@ -6,7 +6,7 @@ - novelai_api.BiasGroup — NovelAI API 0.22.0 documentation + novelai_api.BiasGroup — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -206,13 +206,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.GlobalSettings.html b/novelai_api/novelai_api.GlobalSettings.html index 27687a6..6b89b69 100644 --- a/novelai_api/novelai_api.GlobalSettings.html +++ b/novelai_api/novelai_api.GlobalSettings.html @@ -6,7 +6,7 @@ - novelai_api.GlobalSettings — NovelAI API 0.22.0 documentation + novelai_api.GlobalSettings — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -213,13 +213,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.Idstore.html b/novelai_api/novelai_api.Idstore.html index b4c74d2..38fee47 100644 --- a/novelai_api/novelai_api.Idstore.html +++ b/novelai_api/novelai_api.Idstore.html @@ -6,7 +6,7 @@ - novelai_api.Idstore — NovelAI API 0.22.0 documentation + novelai_api.Idstore — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -163,13 +163,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.ImagePreset.html b/novelai_api/novelai_api.ImagePreset.html index 4fc37d8..547cf8c 100644 --- a/novelai_api/novelai_api.ImagePreset.html +++ b/novelai_api/novelai_api.ImagePreset.html @@ -6,7 +6,7 @@ - novelai_api.ImagePreset — NovelAI API 0.22.0 documentation + novelai_api.ImagePreset — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -853,13 +853,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.Keystore.html b/novelai_api/novelai_api.Keystore.html index 47bfdc5..95745d0 100644 --- a/novelai_api/novelai_api.Keystore.html +++ b/novelai_api/novelai_api.Keystore.html @@ -6,7 +6,7 @@ - novelai_api.Keystore — NovelAI API 0.22.0 documentation + novelai_api.Keystore — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -181,13 +181,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.NovelAIError.html b/novelai_api/novelai_api.NovelAIError.html index c79273b..fb97440 100644 --- a/novelai_api/novelai_api.NovelAIError.html +++ b/novelai_api/novelai_api.NovelAIError.html @@ -6,7 +6,7 @@ - novelai_api.NovelAIError — NovelAI API 0.22.0 documentation + novelai_api.NovelAIError — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -166,13 +166,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.NovelAI_API.html b/novelai_api/novelai_api.NovelAI_API.html index 9468e52..e731985 100644 --- a/novelai_api/novelai_api.NovelAI_API.html +++ b/novelai_api/novelai_api.NovelAI_API.html @@ -6,7 +6,7 @@ - novelai_api.NovelAI_API — NovelAI API 0.22.0 documentation + novelai_api.NovelAI_API — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -246,13 +246,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.Preset.html b/novelai_api/novelai_api.Preset.html index ef137bf..f6bee88 100644 --- a/novelai_api/novelai_api.Preset.html +++ b/novelai_api/novelai_api.Preset.html @@ -6,7 +6,7 @@ - novelai_api.Preset — NovelAI API 0.22.0 documentation + novelai_api.Preset — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -487,11 +487,24 @@

    Navigation

    Model the preset is for

    +
    +
    +sampling_options: List[bool]¶
    +

    Enable state of sampling options

    +
    +
    __init__(name: str, model: novelai_api.Preset.Model, settings: Optional[Dict[str, Any]] = None)[source]¶
    +
    +
    +set_sampling_options_state(sampling_options_state: List[bool])[source]¶
    +

    Set the state (enabled/disabled) of the sampling options. Set it after setting the order setting. +It should come in the same order as the order setting.

    +
    +
    to_settings() Dict[str, Any][source]¶
    @@ -671,7 +684,9 @@

    Table of Contents

  • Preset.get_hidden_states
  • Preset.name
  • Preset.model
  • +
  • Preset.sampling_options
  • Preset.__init__()
  • +
  • Preset.set_sampling_options_state()
  • Preset.to_settings()
  • Preset.to_file()
  • Preset.copy()
  • @@ -734,13 +749,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.SchemaValidator.html b/novelai_api/novelai_api.SchemaValidator.html index 0b7c88a..946e168 100644 --- a/novelai_api/novelai_api.SchemaValidator.html +++ b/novelai_api/novelai_api.SchemaValidator.html @@ -6,7 +6,7 @@ - novelai_api.SchemaValidator — NovelAI API 0.22.0 documentation + novelai_api.SchemaValidator — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -150,13 +150,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.StoryHandler.html b/novelai_api/novelai_api.StoryHandler.html index 3cbdb75..be03e43 100644 --- a/novelai_api/novelai_api.StoryHandler.html +++ b/novelai_api/novelai_api.StoryHandler.html @@ -6,7 +6,7 @@ - novelai_api.StoryHandler — NovelAI API 0.22.0 documentation + novelai_api.StoryHandler — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -381,13 +381,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.Tokenizer.html b/novelai_api/novelai_api.Tokenizer.html index 17970f1..f7596a9 100644 --- a/novelai_api/novelai_api.Tokenizer.html +++ b/novelai_api/novelai_api.Tokenizer.html @@ -6,7 +6,7 @@ - novelai_api.Tokenizer — NovelAI API 0.22.0 documentation + novelai_api.Tokenizer — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -253,13 +253,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.high_level.html b/novelai_api/novelai_api.high_level.html index c5d55ad..da23b8d 100644 --- a/novelai_api/novelai_api.high_level.html +++ b/novelai_api/novelai_api.high_level.html @@ -6,7 +6,7 @@ - novelai_api.high_level — NovelAI API 0.22.0 documentation + novelai_api.high_level — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -723,13 +723,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.html b/novelai_api/novelai_api.html index a877dc4..bd64098 100644 --- a/novelai_api/novelai_api.html +++ b/novelai_api/novelai_api.html @@ -6,7 +6,7 @@ - novelai-api package — NovelAI API 0.22.0 documentation + novelai-api package — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -217,12 +217,12 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.low_level.html b/novelai_api/novelai_api.low_level.html index d4d1a6c..bc54737 100644 --- a/novelai_api/novelai_api.low_level.html +++ b/novelai_api/novelai_api.low_level.html @@ -6,7 +6,7 @@ - novelai_api.low_level — NovelAI API 0.22.0 documentation + novelai_api.low_level — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -699,13 +699,13 @@

    Navigation

  • previous |
  • - + diff --git a/novelai_api/novelai_api.utils.html b/novelai_api/novelai_api.utils.html index 0170824..b097201 100644 --- a/novelai_api/novelai_api.utils.html +++ b/novelai_api/novelai_api.utils.html @@ -6,7 +6,7 @@ - novelai_api.utils — NovelAI API 0.22.0 documentation + novelai_api.utils — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -265,13 +265,13 @@

    Navigation

  • previous |
  • - + diff --git a/objects.inv b/objects.inv index 95fbf3b1c8f704b2732937c21a228158b1e64b90..bd84efd6dc4beedb006490e2a56fa6c5ff729703 100644 GIT binary patch delta 3977 zcmV;44|ed(AKo93dw*MV+qf0S-}Nap)4oROW;=b@>2yX;6vw-=ty)gnHw;8V6xJlb z1wh-{PhWr+iKK3Th=V>PQAFtf!}Z_*#D%=$EKkW~#c4`Jo?=DD`SzEL$3;rUe;bqP z`A2dXZn9BX`j;x?hrfGJmQNDkDhLhQ~t{aZZgG zR!Y!Sp_4vPkFZE=b458rFJx<^bHQ^W)OM(H%9Df$Z;}0V`S>tn5sxd)!Nt?ko5W;| zi&Xh3rMSp)X{6Q#i%iD4ipBhmr5wkos;Kg8?LJkbcOtnUlBj_qazoPBp)rw)3rZxy zEJhJ$iZFGRV1Ggw5jy8e5y4YN6w0uCk;Bwzh7;mJ0x2RDlI0`eBTndzs!c1g-Xv+3 zeA0i0=_&F)Fh;MOM%QJ$HZhc4|H~>Dw7q-ZUL_(6ZQ*oTE1XGL+H@)Y zLKyv%#7G-NV<0^wfns?pc#+%Hi6->x$wo z?^+eFA;>}yB*`Cz_6!MH>!OewK;T;N48>Sss3O^QGn`eu3{XM_H0ATK+mx?xx+F?b z*6U|ZDSviI#xjV+TAan_<(UoZql3uYLIQW!4J!xf*sq5OvRE zl3JBtALF1uxhZI>t!0Ah2ez$g5cDe-8JhFxB?xVfS**vs`QhXs2yUTA*h-t_3+%^GSemzPNO2N-W5p&o4jb9 zApOZq=)}7jA{9rF(5Q+da_VJsRUt(+5}))P8eKGh>7+OWe({c)}PC{)iq5C zY=V;V{p&ko^-E6)iwk2pw5ip#jzD&p^=I?y8XVFo8(0#jl7yik8Er^8=7+}pQGei+ zsx4AHNdn;X-#jgX81;Ic0z4;3zZj&!%8cM35EO3%Q~*VC8GsU~|5iLekLNn^d^MLp_EBxZb76vh%1d2Bse-4OU zaG?aI>i>WYo4;o4WP6L~UJ~UJYA990ca!~8gV+PLR z(DtFm1~d>IV&L2jYa*5!8QMbhn4$9b02?xggPMmfGHm{aHVzdvplxUa!)9$*%kUqK z%*_&vz}8{Ug>N&<{nVEKAzCdyiDR09C!wT(R*eSqg5o?wpMrr9W)YFPB7dZzkT}M< zqOT+rZ;ho2#L9E@DGSJw!Ann5WgMjFNC7%4-UEfr$PFo22u_+wcns44U}xm}B-m;B zhL%I+-uKTyD@q#SN%ar9!7-XLta!EsO-RH0M(}GG(wrt66^6v$(7&sfkD+`B%Lw+cA~lo2T%7WNE5NrhD*Ly!uQ zddHypfEwEhX2RRluQFWyxpxMRHNj4Lax-1d(Dcifr`dApm_N>}`G4IFdU||(hUQ$; zP@Ew;0XW(qsoP5Z@)-;jasEPygwD2@1WVC|;J7}K1u{h&?Hr<%ypj}}bo_)R|CF~d z$=Mym0uDjAuwROFEvZ$dAu)<(gcquJa@W-qhwYRWJ1OfR)*GMBdGu|q$>)@E+nlu) zooO9mKM`)Nduz7)dw*B`w#~^6SKf8+SW21yO!y6N1@^Bh@QeSrE@@JT*uN|zFWyCo z+4i52Y()fm#c5&RWm_N~MQry1#a3(b`RlFk_)YGq;Krx-F8us;>0gs%x!H7D2;yIx z=V%I|dJCfZ8;I({zv?!pky#t#QF-w+o8I5dXGXG|JsGC95r0^cCz3A+^VDA3l9OqY z2;@=rT1vM zjo$5LS6o)dJRutUkF?ow>a?2PP1=6*frGB?_DXxnST_tI%?pd1Fr3=ID6vP7>YQN2 zI1(f$SRs}OoPQxn{{+Z;0$ORR1NV*`ceV@KcB+;etKcfX+1i^rZQgRzHWL^C%9O#yx*l(!Q~-)ATmY!MY}~h( zWf-Ci!ayY8N!4kGyNhy;Fhn-w zD1niEfq#+B0c7iWN&snx{q)wNKPY+gIzeOvfu?dwY2V)SQi&O><|RGkLB!J(=h|P} zMYDAS(E#1@4U;*G3sWXN$S$J|$?y-HQeCAi7t8g2bM~ckKkO0SrQAM>bL6;HL@&hG z>J#xu)K9kGFpKNm5SI(8^@H=J)DBoLODMmyDu15?inV+*iHz1)9B8TX6^=50|u=!3*MO?C}K?5{b32AKo) zaRy3KsO_`^VN#w@2CZLt=Jh-sDCmu9@=jQ=4d0c$A-rD1Xx0o(wPa%QJ z&rgr@c}U{(^kzPL1|&MUc~|JKsJSwvl`Jq&u|>PPa3BED#;lS>IEsjr)}7Dwpb(i> zS_QfWOG@=F*W?*5EW3j1DYc!3h49tywsU6JKpKxaCDhzm^f8^D1ZW z1g4C{z_$O81eST!%yVPy0<7SYqZzVXJc{ZCr)J*_VFnokx|;S=16PO(66p{E+SPCx zs$Zr5M?s_lmTz(i)wu>{Zhs`v-oLJBG({Ri*E9mP(lUURmH{lNERw_&lfrO}(w+g^ z&3b|c)|u@y`0X>vA|lnK1$PKGsp!>p=c_tCd$f? zXD7+35LhI-N7`Vyv5a9$__*TgAAd)RS2MZNmuRHjb91s!H3Qjrxqm*C%}Z54ZF6Kc zh^F_**5`YJX!?)ryEdwk>K{kqLps4~W4s%=Wl=qFt9C+p5htoQt>sI#t`{WspV>yf zE=l9QdW?8V*-P_2!5EF*s#zc6&2j@o*N9c8e|nQO#||NF>3oS6tdkYxOSb`;p|ndQ z%>vNLiqn*cJZ+|inty(y4Dr#(^g@yOEGL3)R^zjc7{ zAm!r+Q(rCl>+@7U0MF-?3EjFENkCAATD59+kgoz8uF?kjT`hzCy=$ zIiuD$mE+bIBY&MH%3|_f3Z!^NQX|oPTZO+fA4mIOHK!G#cC|j}1dq&S>JNPVp_!fT z2-`1%nVa*H_2XYR9ck&84uF{685V zE2>iRuhEI5oYL&1wwGt)97iv@nV-^}++bGbhlO?>w12~BKRC^xSl$X=@DWb) z=p^a3+?>=LXJmux{^F3?eSQ*rSMN=-Al5+-QT2n7#dUI4oZjto;}Z`@m#z}CfpxAO z8y|Zzvbj^r26b=;)%euYk;Mfg4#eGkB;ykgN9PZku|b_GuM0)hKRw2RbnIl6@tFW4 zn|(}H;D7$Ur}3$$ql+pxOx)#Ia&MrS82 zY$*HLjq$L5^{AC~yHH86h&J6HR^L^>Sys;%ruXVNKJ9oPdPHN>sP~@D j$+6vOm9t(=6*S|~OZnHK%I;C)HRwS5===}bO9EUCjDO62 delta 3958 zcmV-+4~g*JAIu++dw)rDal(Z4A}@ zkFXzZveH@lmn!6kzm7kQ4u!dTytR5!N|hS_bYAX+&V&%gnSUmvj3DThh=(fDoLMod zwPcIJBz>SB@JOz6%>*Yeu(r~<6gfz}9;%#*BmwCyvcJwB?x#Ewaiux9cv^as7?!k1 zwVzUoi!4`GYFY5eW^7-vSiJF6(3n&eRh_Ke$7=LOB$uE-4-`==NMDD>L}?)zC_;Hm zBEdCqeUV@S9Dk(Axl%-ml!GQ2RWE9o8p~(`9wdkcrHLwUNgr_{Z%nURiS;JQvgDKb z8K$ST&T3DP_bo z2a{{cXH0bqp>_Y`fv_%mZQaJ&I?0~VJKQLGQKoV1Uw;%hU8E52He_D36JxrxcmdA- zgqRqEXbq%?BrvLOq$qN?I?;qaT`M-BI_hU@MpxWHwP*e4ukTz-`b#g&m2*YuFWf+dA06ft%3 zcUILF6)wp(4hu=6m%2L;h-zv#i5Y(}>8479WGV|sk3_x>RKy!YQ*g~vV?u2Y$KB)% zj{q++V*Fa;&n^O%uY{cBV0`Hn(~#EwVi>d*CV!V(X3<9(-^R9^3QlIW4tvtRHep)2 z=PYVR_KaRXJJw4%lF$sTdDWGWFlz@qDBEt+V>!OzR$klir^~Dr?sL`cz6X6LVo06J zZx_=;e{x;0)L6@e)Hht8ra{oJLS|$pqL(1F8RfC*_vZV9gDAL1)5F%rEYII)9t1d# zjDNoI({YklUf)!04HNu%orCvEd4Mswy}S8jenO>ba(n-Hb$kDOdmj#Y|L}BoHN(T< zSdgvsLK zJD`uBuI-yIa~ZSpHDf?%*0f}yfJ#f?iCzU@Iu00IOo+kwhbqT(59{l4Y<0;}z)et6 zzJGluyngAaaB*QQhcUIL)&XXNSzp^%*XWQ=+2E1{QxJwiRJ4M!&yS7!qo66%Yk#6e zk_5n+-y$u781;Id0zM~5yBOqwRTM3IQByN3G62=k~dF(uT-J9{$vCsayWn2BpjLHPaX2=vT-;Og;M_x{0e-4O!6jDpd z^#1`FHh;I&kl8yo9+ZUOz_3}{Fn_~j?7ff~O#_>TU1+Eb-sc9*h=FrAtcjQ#WM~Vq!wi+bd)SaU9Mn8?kzw;Uv~j4Y0c}GY7&dFeT894^WNxQm z1hx)aF8(t!-wtj0@1oV>lQ?D>dJ;+sYSm~!FC@-0@+laIP#%FY6(J3Uq<=BZHG73n zyd_mS5G&8grz{{#1us2ARdJA_g93F_di;Eu@el5mIR8(NN) zd*44J%_wPvC)FQvO=EJ!sTSE9H6ab}8_?GVGPqmFzbYtFL&E8U1~wn-zR6W!GC9$}K8T;$3fl;X(V} zUSHi#r4-Vs(zU;Evf_0D?qc9Qg1p{k!ky%d=vN_!fHF|3$Hbl?D5a?`R0vWbQ|}m3 zZ&2e}!EAV!`c;OjuXpyqaVEG)Pp+@#Q*!m?%hPl|@0mZnS+m<~@_+R3@Qls5~QX3>0>@#Skn-E1+?`BMWAVR>nCbDZE08O**{8l7GrunB;6W zVnK%xTDVU|x|Gza(wG>{G7yE{*}3atN{{7~4l60^AkGV)PI>fgt;y$<3D=x;7M&U$ z={^wdtb1dZ`+HaYwtvpyT4?XOw>)LseJ5tOZz!sd{#DmGi|pJOkIIiv)2qAd+0;swqbI}ER+1`sf`9xGxToi}EjhVL5^4RJ zSD%%(L+CZ8+E@GzVpe2W>JQ5$mh=yhYy7;o6z}=({F1?0Z1QFL_3HcVdG0-${d({2 zvJ0WAZJr2={YToaIPEo?zMr)F;)5Q#uFEUkC1dkoNM&DGu?5R@6mi*?=KAgM$Y*R()T@3U~5uWvwx&fX?5xo#!t1IwGGk5BFp~eYShS&dHDI z)7*RzA`boP;sDTrL)|bi3(BoStAenY={bfW*&Va11I6AodQn9yAr#$#$@_z#n6{4?wz=W|yfvvieVEu@gI&WA+p~eNL3USqnxT?3X*=ymm{cT;W9wI*c|A^t z3VLIDRW%Was9wjAUWQO%O25dr_MkQV6OQJ|?sOKKpKZW5p-;Ep+h8;C=G=Pkh&!lG z=EXuql9hY0JTo`X&jV)i@c7+%J%5Z3-s9Ed^eH58{`u))HVa97zPg@GpAm_@+`J3) z7tEfs(MlE?s92ND0WuhXXl19C5*kIIlyl>AIVeP?l~#c*(UMZV%e8qX3dg44a!PHd zaUo*yyX%9LsY zLVd=U_DBOvL)p9cbRi>`%=Fsz8k5m$V)&(u0F75UdM7F45F^|EeG*#cF+0vpjSH~A zOO9cva`GstC!E^FCcrH+MszjZhXyVXmk^l{65G}2)m6Vp|BnKcMwV}KiPX7`IXPe zx_V$dGmK+lp7(M%GpCXo<$C`~hs7XgD1~OJavCTrL!KNYt3ptjm=vhT*IMtXM- z42wM_fZJFs!*6!6qjHUA>TJTO*lrP-|WQH~_jj|I!Ckw$+ka^k+4K?jX8RDar z*$K7RW*pR-?CceOMt|<4&f$UaL5c^az7Epcul=oEcLymS-p%=9$zSIW_tR?MDlf&; z(wiLGKI&p&^S|*r?6kw38ty@nSkvuGHZHPU`4R)W&wm|DIYiW6H738Y&E_f6kk}zD z60IP5Iq|$7f5u&eCzRDgGut~S6LVn#HZz}*G4=E$WJ*0L34fbXO+^YoX%?LfM3ud~ z#O{<<9f74TueSEFCrLejp?oH2(0@c;{C6o#w-F%p^p%KJ6-We3uhyyQXs7`e0W_|<%ec;x+Cm94Q6IH84}BJEi*EI4@5Ly ze`s!0F}bU%V-@8#?Q4;y#Kz6k1JaILotkrDEBSwNG1g3{@UPL4q#V=iq;@CI#yO2% z%wv8`b8=02nI8_?b*1&9O5xPa&vTgqZt>}vGO`oRJ*&!IFJtQtTH|kVC1rn$qBr>?rD7N?&$2=1Q%X+ zA;b9Kt#8r!*2BsAcH5fq;d`UAL(nd)?s)b1;H}ZgK?@hkc64LB_wlIJM4o9oAJ?YW z%DYXd0xF|b_lwnM)pzFA{YTq+bsV2|y!Sn#v3;nwp3Tv|-EozZUQHD=6VXfgYhPt^ QtMM94plx*i2cW|b?QyKT%K!iX diff --git a/py-modindex.html b/py-modindex.html index 3dab6cb..1cb8234 100644 --- a/py-modindex.html +++ b/py-modindex.html @@ -5,7 +5,7 @@ - Python Module Index — NovelAI API 0.22.0 documentation + Python Module Index — NovelAI API 0.23.1 documentation @@ -46,7 +46,7 @@

    Navigation

  • modules |
  • - + @@ -305,12 +305,12 @@

    Navigation

  • modules |
  • - + diff --git a/search.html b/search.html index eb2f78c..38236f9 100644 --- a/search.html +++ b/search.html @@ -5,7 +5,7 @@ - Search — NovelAI API 0.22.0 documentation + Search — NovelAI API 0.23.1 documentation @@ -49,7 +49,7 @@

    Navigation

  • modules |
  • - + @@ -109,12 +109,12 @@

    Navigation

  • modules |
  • - + diff --git a/searchindex.js b/searchindex.js index 94c1903..6c59a91 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["example/example", "example/example.boilerplate", "index", "novelai_api/Full_list_of_modules", "novelai_api/novelai_api", "novelai_api/novelai_api.BanList", "novelai_api/novelai_api.BiasGroup", "novelai_api/novelai_api.GlobalSettings", "novelai_api/novelai_api.Idstore", "novelai_api/novelai_api.ImagePreset", "novelai_api/novelai_api.Keystore", "novelai_api/novelai_api.NovelAIError", "novelai_api/novelai_api.NovelAI_API", "novelai_api/novelai_api.Preset", "novelai_api/novelai_api.SchemaValidator", "novelai_api/novelai_api.StoryHandler", "novelai_api/novelai_api.Tokenizer", "novelai_api/novelai_api.high_level", "novelai_api/novelai_api.low_level", "novelai_api/novelai_api.utils", "tests/api/api", "tests/api/api.boilerplate", "tests/mock/mock"], "filenames": ["example/example.rst", "example/example.boilerplate.rst", "index.rst", "novelai_api/Full_list_of_modules.md", "novelai_api/novelai_api.rst", "novelai_api/novelai_api.BanList.rst", "novelai_api/novelai_api.BiasGroup.rst", "novelai_api/novelai_api.GlobalSettings.rst", "novelai_api/novelai_api.Idstore.rst", "novelai_api/novelai_api.ImagePreset.rst", "novelai_api/novelai_api.Keystore.rst", "novelai_api/novelai_api.NovelAIError.rst", "novelai_api/novelai_api.NovelAI_API.rst", "novelai_api/novelai_api.Preset.rst", "novelai_api/novelai_api.SchemaValidator.rst", "novelai_api/novelai_api.StoryHandler.rst", "novelai_api/novelai_api.Tokenizer.rst", "novelai_api/novelai_api.high_level.rst", "novelai_api/novelai_api.low_level.rst", "novelai_api/novelai_api.utils.rst", "tests/api/api.rst", "tests/api/api.boilerplate.rst", "tests/mock/mock.rst"], "titles": ["example directory", "boilerplate", "novelai-api", "<no title>", "novelai-api package", "novelai_api.BanList", "novelai_api.BiasGroup", "novelai_api.GlobalSettings", "novelai_api.Idstore", "novelai_api.ImagePreset", "novelai_api.Keystore", "novelai_api.NovelAIError", "novelai_api.NovelAI_API", "novelai_api.Preset", "novelai_api.SchemaValidator", "novelai_api.StoryHandler", "novelai_api.Tokenizer", "novelai_api.high_level", "novelai_api.low_level", "novelai_api.utils", "API directory", "boilerplate", "Mock directory"], "terms": {"nai_usernam": [0, 1, 20], "nai_password": [0, 1, 20], "valu": [0, 6, 7, 9, 13, 18, 20], "provid": [0, 8, 9, 11, 13, 16, 18, 20, 21], "via": [0, 17, 20], "environ": [0, 1, 20], "variabl": [0, 1, 20], "thei": [0, 20], "can": [0, 1, 2, 5, 6, 12, 17, 19, 20], "through": [0, 2, 17, 18, 20], "env": [0, 20], "file": [0, 9, 13, 20], "root": [0, 20], "project": [0, 20], "The": [0, 2, 9, 10, 12, 13, 17, 18, 20, 21], "nai_proxi": [0, 20], "i": [0, 2, 3, 5, 6, 7, 9, 10, 13, 16, 17, 18, 19, 20, 21], "also": [0, 9, 17, 20], "support": [0, 1, 3, 17, 18, 20, 21], "inject": [0, 20], "proxi": [0, 12, 15, 20], "address": [0, 1, 12, 18, 20], "If": [0, 17, 19], "you": [0, 2, 17], "have": [0, 3, 17, 19], "novelai": [0, 9, 12, 13, 17, 18], "api": [0, 1, 3, 11, 12, 13, 15, 17, 18, 19, 21], "packag": [0, 2], "instal": [0, 2, 20], "pip": [0, 2], "python": [0, 2, 13], "filenam": [0, 20], "don": 0, "t": [0, 2, 8, 15, 16, 18, 19], "re": [0, 16, 17], "activ": [0, 2], "develop": 0, "poetri": [0, 2, 20], "run": [0, 2, 20, 21], "rememb": [0, 20], "befor": [0, 2, 17, 18, 20, 21], "alreadi": [0, 19, 20], "done": [0, 17, 18, 20], "how": [0, 18], "download": [0, 2, 17, 18, 20], "decrypt": [0, 2, 10, 17, 19, 20], "modul": [0, 3, 4, 18], "from": [0, 2, 6, 7, 9, 10, 13, 15, 17, 18, 19], "account": [0, 2, 7, 9, 17, 18], "decompress": [0, 19, 20], "shelv": [0, 20], "stori": [0, 3, 15, 17, 19, 20], "queri": 0, "controlnet": [0, 9, 18], "mask": [0, 9, 18], "an": [0, 6, 7, 9, 12, 13, 18, 19, 21], "imag": [0, 9, 17, 18], "It": [0, 2, 3, 17], "expect": [0, 11], "result": [0, 20], "png": [0, 9, 18], "exist": [0, 15, 17], "gener": [0, 3, 7, 9, 13, 15, 17, 18, 19], "thi": [0, 2, 12, 13, 15, 16, 17, 18, 20], "same": [0, 13], "folder": [0, 20], "note": 0, "current": [0, 7, 9, 12, 13, 18, 20], "return": [0, 5, 6, 7, 8, 9, 13, 15, 16, 17, 18, 19], "wrong": [0, 18], "due": 0, "convers": 0, "frontend": [0, 2], "see": [0, 17], "issu": 0, "15": 0, "place": 0, "name": [0, 3, 13, 14, 16, 17, 18, 20], "test": [0, 20, 21], "which": [0, 12, 20], "sampler": [0, 9, 20], "work": [0, 2, 9, 12, 13, 20], "creat": [0, 5, 6, 7, 8, 9, 10, 12, 15], "one": [0, 2, 9, 13, 17, 18], "per": 0, "control": 0, "net": [0, 2, 9, 12, 13], "img2img": [0, 9], "text": [0, 2, 3, 7, 13, 16, 17, 18], "direct": 0, "standard": 0, "error": [0, 11, 17, 21], "output": [0, 2, 18], "stderr": 0, "voic": [0, 18], "tt": [0, 18], "To": [0, 2, 17, 18], "speech": [0, 18], "audio": [0, 18], "sampl": [0, 9, 13], "input": [0, 2, 18], "limit": [0, 17, 18], "1000": [0, 18], "charact": [0, 18], "cut": [0, 18], "backend": [0, 18], "tag": [0, 18], "suggest": [0, 18], "gen": [0, 18], "upscal": [0, 18], "should": [0, 2, 10, 13, 15, 17, 18], "512x768": 0, "default": [0, 1, 9, 12, 13, 18, 21], "modifi": 0, "image_s": 0, "chang": [0, 9, 18], "boilerpl": [0, 20], "jsonencod": [0, 1, 20, 21], "dump": [0, 1, 20, 21], "class": [1, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21], "sourc": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "base": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21], "object": [1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "redund": 1, "part": 1, "us": [1, 3, 5, 6, 7, 9, 12, 13, 16, 17, 18, 20, 21], "context": [1, 13, 17, 18], "manag": [1, 2, 9], "automat": 1, "login": [1, 2, 17, 18], "usag": 1, "async": [1, 15, 17, 18, 19, 20, 21], "encryption_kei": [1, 21], "logger": [1, 12, 21], "do": [1, 9, 21], "stuff": 1, "A": [1, 2, 17, 18], "custom": 1, "pass": [1, 2, 17, 18], "constructor": [1, 20], "replac": [1, 3, 15, 17], "base_address": [1, 12], "__init__": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21], "option": [1, 9, 10, 12, 13, 15, 17, 18, 19, 21], "str": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21], "none": [1, 9, 11, 12, 13, 15, 17, 18, 19, 21], "log": [1, 12, 17, 18, 21], "novelai_api": [1, 2, 4, 21], "novelaiapi": [1, 2, 4, 12, 15, 17, 18, 21], "properti": [1, 12, 21], "json": [1, 21], "encod": [1, 2, 9, 16, 17, 18, 19, 21], "extend": [1, 21], "byte": [1, 9, 10, 13, 15, 17, 18, 19, 21], "o": [1, 9, 13, 16, 19, 21], "ani": [1, 2, 6, 7, 9, 10, 13, 14, 15, 17, 18, 19, 21], "e": [1, 21], "shortcut": [1, 21], "configur": [1, 9, 13, 21], "consist": [1, 20, 21], "rest": 2, "intend": 2, "helper": [2, 12], "": [2, 3, 16, 17, 18, 20], "categori": 2, "badg": 2, "pypi": 2, "qualiti": 2, "stat": 2, "endpoint": [2, 18], "m": 2, "get_access_kei": [2, 4, 19], "usernam": [2, 17], "password": [2, 17, 19], "valid": [2, 9, 13, 14, 18], "30": 2, "dai": 2, "requir": 2, "most": [2, 17, 18], "get_access_token": 2, "user": [2, 17], "content": [2, 17, 18, 19], "print": [2, 18], "what": 2, "couldn": 2, "sanity_check": 2, "b64": [2, 9, 17, 18, 19], "model": [2, 3, 4, 5, 6, 7, 9, 13, 15, 16, 17, 18, 19], "data": [2, 6, 10, 13, 17, 18, 19], "full": 2, "list": [2, 4, 5, 6, 13, 15, 16, 18, 19], "avail": 2, "directori": 2, "split": 2, "2": [2, 9, 13, 15, 18], "group": [2, 6], "low": [2, 12, 18], "level": [2, 3, 12, 17, 18], "interfac": 2, "strict": 2, "implement": [2, 18], "offici": [2, 13], "http": [2, 9, 12, 13], "onli": [2, 6, 13, 18, 20], "type": [2, 9, 17, 18], "assert": 2, "schema": [2, 18], "is_schema_validation_en": [2, 18], "true": [2, 5, 6, 17, 18], "high": [2, 9, 12, 17], "build": [2, 17, 18], "easier": 2, "handl": [2, 16, 21], "complex": 2, "set": [2, 7, 9, 13, 17, 18], "mani": 2, "task": 2, "all": [2, 3, 17, 18, 19, 20], "relev": [2, 13, 17, 18], "ar": [2, 13, 17, 18], "venv": 2, "featur": 2, "enhanc": 2, "pr": 2, "pre": [2, 17], "commit": 2, "submiss": 2, "hook": 2, "nai": [2, 9, 11, 20], "warn": [2, 18], "wip": 2, "doe": [2, 15, 19], "yet": [2, 8], "local": 2, "viewabl": 2, "html": [2, 9, 13], "index": [2, 15, 18, 19], "trello": 2, "banlist": [2, 4, 15, 17], "biasgroup": [2, 4, 15, 17], "globalset": [2, 4, 15, 17], "idstor": [2, 4, 15], "imagepreset": [2, 4, 16, 17, 18], "keystor": [2, 4, 15, 17, 18, 19, 20], "novelaierror": [2, 4, 17], "preset": [2, 4, 5, 6, 7, 9, 15, 16, 17, 18, 19, 20], "schemavalid": [2, 4], "storyhandl": [2, 4], "util": [2, 4, 10, 17], "calliop": [3, 17], "snek": [3, 13, 17], "genji": [3, 7, 13, 17], "special_open": [3, 17], "specif": [3, 17, 20], "train": [3, 17, 18], "previous": [3, 15, 17], "preambl": [3, 4, 13, 17], "begin": [3, 17], "under": [3, 17, 20], "certain": [3, 17, 18], "condit": [3, 17], "id": [3, 8, 15, 17, 18, 19], "No": [3, 17], "vanilla": [3, 17], "special": [3, 17], "adventur": [3, 17], "theme_textadventur": [3, 17], "prose": [3, 17], "augment": [3, 17], "special_proseaugment": [3, 17], "sigurd": [3, 13, 17], "euterp": [3, 13, 15, 17], "clio": [3, 13, 17], "kayra": [3, 13, 17], "instruct": [3, 17], "experiment": [3, 17], "special_instruct": [3, 17], "cross": [3, 17], "genr": [3, 17], "general_crossgenr": [3, 17], "krake": [3, 13, 17], "style": [3, 17], "algernon": [3, 17], "blackwood": [3, 17], "style_algernonblackwood": [3, 17], "arthur": [3, 17], "conan": [3, 17], "doyl": [3, 17], "style_arthurconandoyl": [3, 17], "edgar": [3, 17], "allan": [3, 17], "poe": [3, 17], "style_edgarallanpo": [3, 17], "h": [3, 17], "p": [3, 17], "lovecraft": [3, 17], "style_hplovecraft": [3, 17], "sheridan": [3, 17], "le": [3, 17], "fanu": [3, 17], "style_shridanlefanu": [3, 17], "jane": [3, 17], "austen": [3, 17], "style_janeausten": [3, 17], "jule": [3, 17], "vern": [3, 17], "style_julesvern": [3, 17], "william": [3, 17], "shakespear": [3, 17], "style_williamshakespear": [3, 17], "theme": [3, 17], "19th": [3, 17], "centuri": [3, 17], "romanc": [3, 17], "theme_19thcenturyrom": [3, 17], "action": [3, 17, 18], "archeologi": [3, 17], "theme_actionarcheologi": [3, 17], "artifici": [3, 17], "intellig": [3, 17], "theme_ai": [3, 17], "ancient": [3, 17], "china": [3, 17], "theme_ancientchina": [3, 17], "greec": [3, 17], "theme_ancientgreek": [3, 17], "india": [3, 17], "theme_india": [3, 17], "anim": [3, 17], "fiction": [3, 17], "theme_animalfict": [3, 17], "anthropomorph": [3, 17], "theme_anthropomorphicanim": [3, 17], "children": [3, 17], "theme_children": [3, 17], "christma": [3, 17], "theme_christma": [3, 17], "comed": [3, 17], "fantasi": [3, 17], "theme_comedicfantasi": [3, 17], "contemporari": [3, 17], "theme_contemporari": [3, 17], "cyberpunk": [3, 17], "theme_cyberpunk": [3, 17], "dark": [3, 17], "theme_darkfantasi": [3, 17], "dragon": [3, 17], "theme_dragon": [3, 17], "egypt": [3, 17], "theme_egypt": [3, 17], "feudal": [3, 17], "japan": [3, 17], "theme_feudaljapan": [3, 17], "game": [3, 17], "theme_gam": [3, 17], "theme_generalfantasi": [3, 17], "golden": [3, 17], "ag": [3, 17], "scifi": [3, 17], "theme_goldenagescifi": [3, 17], "hard": [3, 17], "sf": [3, 17], "theme_hardsf": [3, 17], "histori": [3, 17], "theme_histori": [3, 17], "horror": [3, 17], "theme_horror": [3, 17], "hunter": [3, 17], "gather": [3, 17, 19], "theme_huntergather": [3, 17], "litrpg": [3, 17], "theme_litrpg": [3, 17], "magic": [3, 17], "academi": [3, 17], "theme_magicacademi": [3, 17], "librari": [3, 17], "theme_librari": [3, 17], "light": [3, 13, 17], "novel": [3, 17], "theme_lightnovel": [3, 17], "mar": [3, 17], "colon": [3, 17], "theme_mar": [3, 17], "mediev": [3, 17], "theme_mediev": [3, 17], "militari": [3, 17], "theme_militaryscifi": [3, 17], "music": [3, 17], "theme_mus": [3, 17], "mysteri": [3, 17], "theme_mysteri": [3, 17], "natur": [3, 17], "theme_natur": [3, 17], "naval": [3, 17], "discoveri": [3, 17], "theme_nav": [3, 17], "noir": [3, 17], "theme_noir": [3, 17], "philosophi": [3, 17], "theme_philosophi": [3, 17], "pirat": [3, 17], "theme_pir": [3, 17], "poetic": [3, 17], "theme_poeticfantasi": [3, 17], "post": [3, 17, 18], "apocalypt": [3, 17], "theme_postapocalypt": [3, 17], "rat": [3, 17], "theme_rat": [3, 17], "roman": [3, 17], "empir": [3, 17], "theme_romanempir": [3, 17], "scienc": [3, 17], "theme_sciencefantasi": [3, 17], "space": [3, 17], "opera": [3, 17], "theme_spaceopera": [3, 17], "superhero": [3, 17], "theme_superhero": [3, 17], "steampunk": [3, 17], "theme_airship": [3, 17], "travel": [3, 17], "theme_travel": [3, 17], "urban": [3, 17], "theme_urbanfantasi": [3, 17], "valentin": [3, 17], "theme_valentin": [3, 17], "vike": [3, 17], "theme_vik": [3, 17], "weird": [3, 17], "west": [3, 17], "theme_weirdwest": [3, 17], "western": [3, 17], "theme_westernrom": [3, 17], "inspir": [3, 17], "crab": [3, 17], "snail": [3, 17], "monkei": [3, 17], "inspiration_crabsnailandmonkei": [3, 17], "mercantil": [3, 17], "wolfgirl": [3, 17], "inspiration_mercantilewolfgirlrom": [3, 17], "nervegear": [3, 17], "inspiration_nervegear": [3, 17], "three": [3, 17], "kingdom": [3, 17], "theme_romanceofthreekingdom": [3, 17], "throne": [3, 17], "war": [3, 17], "inspiration_thronewar": [3, 17], "witch": [3, 17], "cap": [3, 17], "inspiration_witchatlevelcap": [3, 17], "low_level": [4, 9, 12], "print_with_paramet": [4, 18], "lowlevel": [4, 12, 18], "high_level": [4, 12], "highlevel": [4, 12, 17], "imagemodel": [4, 9, 16, 17, 18], "controlnetmodel": [4, 9, 18], "imageresolut": [4, 9], "imagesampl": [4, 9, 18], "ucpreset": [4, 9], "imagegenerationtyp": [4, 9, 17, 18], "order": [4, 13], "enum_contain": [4, 13], "collapse_model": [4, 13], "strenum": [4, 13], "phrasereppen": [4, 13], "presetview": [4, 13], "novelaistori": [4, 15], "novelaistorystorag": [4, 15], "token": [4, 5, 6, 7, 13, 17, 18, 19], "sentencepiec": [4, 16], "argon_hash": [4, 19], "get_encryption_kei": [4, 10, 19], "decrypt_data": [4, 19], "encrypt_data": [4, 19], "decompress_user_data": [4, 19], "compress_user_data": [4, 19], "decrypt_user_data": [4, 17, 19], "encrypt_user_data": [4, 17, 19], "link_content_to_stori": [4, 19], "unlink_content_from_stori": [4, 19], "get_decrypted_user_data": [4, 19], "tokens_to_b64": [4, 19], "b64_to_token": [4, 17, 19], "extract_preset_data": [4, 19], "tokenize_if_not": [4, 19], "gather_asyncgener": [4, 19], "sequenc": [5, 6, 13], "union": [5, 6, 9, 12, 13, 16, 17, 18, 19], "int": [5, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19, 21], "enabl": [5, 6, 9, 18], "bool": [5, 6, 7, 9, 13, 15, 17, 18, 19, 21], "ban": [5, 17], "given": [5, 13, 18], "element": [5, 6], "string": [5, 6, 17, 18, 19], "recommend": [5, 6], "flexibl": [5, 6], "between": [5, 6, 12], "paramet": [5, 6, 7, 9, 10, 12, 13, 15, 16, 17, 18, 19, 21], "add": [5, 6, 16, 21], "dict": [5, 6, 7, 9, 10, 13, 15, 16, 17, 18, 19], "get_tokenized_entri": [5, 6], "iter": [5, 6, 17, 19], "bia": [6, 17], "float": [6, 9, 12, 13, 18], "ensure_sequence_finish": 6, "fals": [6, 13, 15, 17, 18, 19, 21], "generate_onc": 6, "neg": 6, "downbia": 6, "posit": 6, "upbia": 6, "ensur": [6, 20], "complet": [6, 17, 18], "bias": [6, 7, 15, 17], "first": [6, 21], "occurr": 6, "classmethod": [6, 9, 13, 14, 16], "from_data": 6, "store": [7, 9, 13, 17], "global": [7, 17], "generate_until_sent": 7, "up": [7, 17], "20": 7, "after": [7, 21], "max_length": [7, 13], "end": [7, 15], "sentenc": 7, "found": [7, 13], "within": 7, "num_logprob": 7, "number": [7, 9, 13, 18, 21], "logprob": 7, "each": [7, 16, 17, 19, 21], "no_logprob": 7, "disabl": [7, 18, 20], "ban_bracket": 7, "appli": 7, "bracket": 7, "bias_dinkus_aster": 7, "dinkus_aster": 7, "ban_ambiguous_genji_token": 7, "genji_ambiguous_token": 7, "rep_pen_whitelist": 7, "repetit": [7, 13], "penalti": [7, 13], "whitelist": [7, 13], "1": [7, 9, 11, 13, 18, 20], "copi": [7, 9, 13], "new": [7, 8, 9, 10, 12, 13, 17, 18], "to_set": [7, 9, 13], "regist": [8, 17, 18], "arg": [8, 18], "everi": 8, "item": [8, 19], "must": [8, 17, 18, 19, 21], "retriev": [8, 17, 19], "download_user_cont": 8, "uniqu": 8, "hasn": 8, "been": [8, 17, 18, 19], "enum": [9, 13, 18], "suggest_tag": [9, 18], "generate_imag": [9, 17, 18], "anime_cur": 9, "safe": 9, "diffus": 9, "anime_ful": 9, "furri": 9, "inainting_anime_cur": 9, "inpaint": 9, "inpainting_anime_ful": 9, "inpainting_furri": 9, "anime_v2": 9, "anime_v3": 9, "3": [9, 13, 18], "inpainting_anime_v3": 9, "controlnet_model": 9, "generate_controlnet_mask": [9, 18], "palette_swap": 9, "hed": 9, "form_lock": 9, "mida": 9, "scribbler": 9, "fake_scribbl": 9, "building_control": 9, "mlsd": 9, "landscap": 9, "uniform": 9, "resolut": 9, "wallpaper_portrait": 9, "1088": 9, "1920": 9, "wallpaper_landscap": 9, "small_portrait": 9, "384": 9, "640": 9, "small_landscap": 9, "small_squar": 9, "512": 9, "normal_portrait": 9, "768": 9, "normal_landscap": 9, "normal_squar": 9, "large_portrait": 9, "1024": 9, "large_landscap": 9, "large_squar": 9, "small_portrait_v2": 9, "small_landscape_v2": 9, "small_square_v2": 9, "normal_portrait_v2": 9, "832": 9, "1216": 9, "normal_landscape_v2": 9, "normal_square_v2": 9, "large_portrait_v2": 9, "1536": 9, "large_landscape_v2": 9, "large_square_v2": 9, "1472": 9, "small_portrait_v3": 9, "small_landscape_v3": 9, "small_square_v3": 9, "normal_portrait_v3": 9, "normal_landscape_v3": 9, "normal_square_v3": 9, "large_portrait_v3": 9, "large_landscape_v3": 9, "large_square_v3": 9, "k_lm": 9, "k_euler": 9, "k_euler_ancestr": 9, "k_heun": 9, "plm": 9, "ddim": 9, "ddim_v3": 9, "nai_smea": 9, "nai_smea_dyn": 9, "k_dpmpp_2m": 9, "k_dpmpp_2s_ancestr": 9, "k_dpmpp_sde": 9, "k_dpm_2": 9, "k_dpm_2_ancestr": 9, "k_dpm_adapt": 9, "k_dpm_fast": 9, "uc": 9, "uc_preset": 9, "preset_low_quality_bad_anatomi": 9, "0": [9, 13, 18], "preset_low_qu": 9, "preset_bad_anatomi": 9, "preset_non": 9, "preset_heavi": 9, "4": [9, 13, 18], "preset_light": 9, "5": [9, 13, 21], "normal": [9, 17], "infil": 9, "quality_toggl": 9, "doc": [9, 13], "qualitytag": 9, "tupl": [9, 17, 18, 19], "width": [9, 18], "height": [9, 18], "prepend": 9, "n_sampl": 9, "seed": [9, 18], "random": [9, 10, 13], "ith": 9, "ha": [9, 17, 18, 19], "nois": 9, "strengthnois": 9, "strength": 9, "scale": [9, 18], "stepsguid": 9, "call": [9, 17, 18, 21], "prompt": [9, 13, 17, 18], "guidanc": 9, "uncond_scal": 9, "todo": 9, "step": [9, 18], "undesiredcont": 9, "smea": 9, "make": [9, 12], "larg": 9, "smea_dyn": 9, "dyn": 9, "best": 9, "wallpap": 9, "controlnet_condit": [9, 18], "gotten": [9, 17], "method": [9, 16, 17, 18, 19], "controlnet_strength": 9, "influenc": 9, "chosen": [9, 13, 16], "decrisp": 9, "reduc": 9, "deepfri": 9, "effect": 9, "twitter": 9, "com": [9, 13], "birchlab": 9, "statu": [9, 11, 18], "1582165379832348672": 9, "add_original_imag": 9, "prevent": 9, "seam": 9, "along": 9, "edg": 9, "mai": 9, "slightli": 9, "black": 9, "white": 9, "area": 9, "cfg_rescal": 9, "rescal": 9, "noise_schedul": 9, "nativ": 9, "karra": 9, "exponenti": 9, "polyexponenti": 9, "last_se": 9, "when": [9, 11, 13, 17], "metadata": 9, "might": 9, "hassl": 9, "legaci": [9, 18], "updat": [9, 13], "kwarg": [9, 13, 17], "like": [9, 13], "instanc": [9, 15], "function": [9, 13, 17, 18, 21], "get": [9, 13, 16, 18], "get_max_n_sampl": 9, "allow": [9, 18], "max": 9, "calculate_cost": 9, "is_opu": 9, "version": [9, 13, 18], "generation_typ": 9, "calcul": 9, "cost": 9, "anla": 9, "subscript": [9, 18], "tier": [9, 18], "opu": [9, 18], "free": [9, 15, 18], "so": 9, "txt2img": 9, "etc": 9, "from_fil": [9, 13], "path": [9, 13], "pathlik": [9, 13], "write": [9, 13], "read": 9, "to_fil": [9, 13], "load": [9, 15], "meta": [10, 15, 17, 18], "assign": 10, "nonc": [10, 19], "kei": [10, 15, 17, 18, 19], "encrypt": [10, 17, 18, 19, 20], "comput": [10, 17], "except": 11, "rais": [11, 21], "problem": [11, 20], "occur": 11, "url": [11, 12], "messag": 11, "caus": 11, "code": 11, "wa": [11, 13, 18], "lib_root": 12, "home": 12, "runner": 12, "session": 12, "aiohttp": 12, "client": 12, "clientsess": 12, "interact": 12, "attribut": 12, "purpos": 12, "attach_sess": 12, "detach_sess": 12, "switch": 12, "synchron": 12, "asynchron": 12, "request": [12, 17, 18], "attach": 12, "empti": [12, 13], "header": 12, "multidict": 12, "_multidict": 12, "cimultidict": 12, "cooki": 12, "simplecooki": 12, "yarl": 12, "proxy_auth": 12, "basicauth": 12, "authent": 12, "_low_level": 12, "thin": 12, "wrapper": [12, 16], "_high_level": 12, "abstract": [12, 16], "top": [12, 13, 17, 18], "detach": 12, "timeout": 12, "second": [12, 19, 21], "intenum": [13, 18], "enumer": 13, "temperatur": [13, 18], "top_k": 13, "top_p": 13, "tf": 13, "top_a": 13, "typical_p": 13, "cfg": 13, "6": 13, "top_g": 13, "7": 13, "mirostat": 13, "8": 13, "enum_class": 13, "enummeta": 13, "check": [13, 17, 18, 20], "collaps": 13, "multipl": [13, 17, 18], "last": 13, "6b": 13, "v4": 13, "v2": [13, 15, 18], "v1": [13, 18], "jp": 13, "hypebot": 13, "inlin": 13, "infillmodel": 13, "enum_member_valu": 13, "off": 13, "verylight": 13, "very_light": 13, "medium": 13, "aggress": 13, "veryaggress": 13, "very_aggress": 13, "n": [13, 20], "author": 13, "variou": [13, 18], "prologu": 13, "60": 13, "198": 13, "endoftext": 13, "sent": [13, 18, 19], "officials_valu": 13, "diversity_penalti": 13, "length_penalti": 13, "40": 13, "min_length": 13, "phrase_rep_pen": 13, "repetition_penalti": 13, "repetition_penalty_default_whitelist": 13, "repetition_penalty_frequ": 13, "repetition_penalty_pres": 13, "repetition_penalty_rang": 13, "repetition_penalty_slop": 13, "repetition_penalty_whitelist": 13, "stop_sequ": [13, 17], "tail_free_sampl": 13, "textgenerationsettingsvers": 13, "naidb": 13, "mirahez": 13, "org": 13, "wiki": 13, "generation_set": 13, "randomness_": 13, "respons": [13, 18], "length": [13, 18], "interrupt": 13, "stop": [13, 17], "minimum": 13, "k_sampl": 13, "a_sampl": 13, "nucleus_sampl": 13, "typical_sampl": 13, "arxiv": 13, "pdf": 13, "2202": 13, "00666": 13, "tail": 13, "free_sampl": 13, "1909": 13, "05858": 13, "rang": 13, "cover": 13, "platform": 13, "openai": 13, "refer": 13, "detail": 13, "exclud": 13, "color": 13, "whether": 13, "compat": 13, "save": [13, 15], "huggingfac": 13, "co": 13, "transform": [13, 19], "main_class": 13, "pretrainedconfig": 13, "cfg_scale": 13, "cfg_uc": 13, "editor": 13, "sliderset": 13, "advanc": 13, "mirostat_lr": 13, "mirostat_tau": 13, "pad_token_id": 13, "text_gener": 13, "generationconfig": 13, "bos_token_id": 13, "eos_token_id": 13, "max_tim": 13, "no_repeat_ngram_s": 13, "encoder_no_repeat_ngram_s": 13, "num_return_sequ": 13, "get_hidden_st": 13, "output_hidden_st": 13, "noreturn": [13, 18], "instanti": 13, "from_preset_data": 13, "from_offici": [13, 20], "mean": [13, 17], "from_default": [13, 20], "obj": 14, "text_generation_settings_vers": 15, "default_model": 15, "prefix": [15, 17], "global_set": [15, 17], "storycont": [15, 17, 20], "tree": 15, "context_s": 15, "build_context": 15, "edit": 15, "start": [15, 17, 18], "undo": 15, "redo": 15, "upload": [15, 17, 18], "choos": 15, "flatten": 15, "delet": [15, 18], "get_current_tre": 15, "storag": [15, 18], "here": 15, "load_from_remot": 15, "select": [15, 18], "story_id": 15, "ones": 15, "handler": 15, "unload": 15, "ing": 15, "novelai_storyproxi": 15, "sentencepieceprocessor": 16, "around": 16, "decod": [16, 17, 19], "model_path": 16, "trans_table_id": 16, "trans_table_str": 16, "trans_regex_str": 16, "pattern": 16, "workaround": 16, "need": [16, 18], "becaus": 16, "cannot": 16, "some": 16, "behind": 16, "get_tokenizer_nam": 16, "meant": [17, 18], "directli": [17, 18, 21], "rather": [17, 18], "parent": [17, 18], "recapcha": [17, 18], "email": [17, 18, 19], "send_mail": 17, "giftkei": [17, 18], "websit": [17, 18], "send": [17, 18], "mail": 17, "hash": [17, 18], "recoveri": [17, 18], "success": [17, 18], "access": [17, 18], "login_with_token": 17, "access_token": 17, "instead": 17, "persist": 17, "login_from_kei": 17, "access_kei": [17, 18], "get_keystor": [17, 18, 19], "readabl": [17, 18], "manner": 17, "map": 17, "throw": 17, "repeatedli": 17, "your": [17, 18], "internet": 17, "connect": 17, "integr": [17, 20], "lose": [17, 18], "overwrit": [17, 18], "set_keystor": [17, 18], "raw": [17, 18], "serial": [17, 18], "download_user_stori": 17, "download_user_story_cont": 17, "download_user_preset": 17, "download_user_modul": 17, "aimodul": [17, 20], "download_user_shelv": 17, "shelf": 17, "upload_user_cont": 17, "compress": [17, 19, 20], "succeed": 17, "otherwis": 17, "even": 17, "fail": 17, "bad_word": 17, "onc": 17, "finish": [17, 18], "As": [17, 18], "accept": [17, 18, 21], "go": [17, 18], "beyond": [17, 18], "truncat": [17, 18], "give": 17, "ai": [17, 18], "down": 17, "addit": 17, "generate_stream": 17, "asynciter": [17, 18, 19], "time": [17, 19, 21], "describ": 17, "want": 17, "pair": [17, 18], "nice": 18, "wai": 18, "download_object": 18, "stream": 18, "is_reach": 18, "reachabl": 18, "change_access_kei": 18, "current_kei": 18, "new_kei": 18, "new_email": 18, "send_email_verif": 18, "verif": 18, "verify_email": 18, "verification_token": 18, "get_inform": 18, "extens": 18, "inform": 18, "about": 18, "request_account_recoveri": 18, "lost": 18, "differ": 18, "recover_account": 18, "recovery_token": 18, "delete_cont": 18, "recov": 18, "delete_account": 18, "get_data": 18, "get_prior": 18, "prioriti": 18, "system": 18, "isn": 18, "realli": 18, "import": 18, "subscriptionti": 18, "paper": 18, "trial": 18, "tablet": 18, "scroll": 18, "get_subscript": 18, "equal": 18, "object_typ": 18, "upload_object": 18, "link": [18, 19], "object_id": 18, "delete_object": 18, "get_set": 18, "format": 18, "arbitrari": 18, "set_set": 18, "bind_subscript": 18, "payment_processor": 18, "subscription_id": 18, "bind": 18, "payment": 18, "renew": 18, "monthli": 18, "change_subscript": 18, "new_plan": 18, "still": 18, "bound": 18, "param": 18, "generate_prompt": 18, "temp": 18, "upscale_imag": 18, "afaik": 18, "factor": 18, "final": 18, "classifi": 18, "Not": 18, "confid": 18, "consid": 18, "much": 18, "dataset": 18, "other": [18, 20], "similar": 18, "generate_voic": 18, "synthes": 18, "side": 18, "webm": 18, "mp3": 18, "train_modul": 18, "rate": 18, "desc": 18, "singl": 18, "learn": 18, "descript": 18, "being": 18, "get_trained_modul": 18, "module_id": 18, "delete_modul": 18, "got": 18, "buy_step": 18, "amount": 18, "size": 19, "domain": 19, "is_compress": 19, "ref": 19, "doesn": 19, "utf8": 19, "translat": 19, "won": 19, "story_cont": 19, "remov": 19, "filter": 19, "out": 19, "base64": 19, "agen": 19, "asyncgener": 19, "For": 20, "pytest": [20, 21], "scheme": 20, "keystore_integr": 20, "verifi": 20, "stories_integr": 20, "storycontent_integr": 20, "presets_integr": 20, "aimodules_integr": 20, "shelves_integr": 20, "sync": [20, 21], "capabl": 20, "without": [20, 21], "right": 20, "job": 20, "pertain": 20, "test_preset": 20, "preset_from_default": 20, "preset_from_offici": 20, "automodul": 20, "member": 20, "error_handl": [20, 21], "api_handl": [20, 21], "api_handle_sync": [20, 21], "func_ext": 21, "callabl": 21, "await": 21, "attempt": 21, "wait": 21, "decor": 21, "argument": 21, "substitut": 21, "func": 21, "fixtur": 21}, "objects": {"example": [[1, 0, 0, "-", "boilerplate"], [0, 0, 0, "-", "download_modules"], [0, 0, 0, "-", "download_presets"], [0, 0, 0, "-", "download_shelves"], [0, 0, 0, "-", "download_stories_and_content"], [0, 0, 0, "-", "generate_controlnet_masks"], [0, 0, 0, "-", "generate_image"], [0, 0, 0, "-", "generate_image_test_samplers"], [0, 0, 0, "-", "generate_image_with_controlnet"], [0, 0, 0, "-", "generate_image_with_img2img"], [0, 0, 0, "-", "generate_text"], [0, 0, 0, "-", "generate_voice"], [0, 0, 0, "-", "login"], [0, 0, 0, "-", "login_with_proxy"], [0, 0, 0, "-", "suggest_tags"], [0, 0, 0, "-", "upscale_image"]], "example.boilerplate": [[1, 1, 1, "", "API"], [1, 1, 1, "", "JSONEncoder"], [1, 5, 1, "", "dumps"]], "example.boilerplate.API": [[1, 2, 1, "", "__init__"], [1, 3, 1, "", "api"], [1, 4, 1, "", "encryption_key"], [1, 3, 1, "", "logger"]], "example.boilerplate.JSONEncoder": [[1, 2, 1, "", "default"]], "novelai_api": [[5, 0, 0, "-", "BanList"], [6, 0, 0, "-", "BiasGroup"], [7, 0, 0, "-", "GlobalSettings"], [8, 0, 0, "-", "Idstore"], [9, 0, 0, "-", "ImagePreset"], [10, 0, 0, "-", "Keystore"], [11, 0, 0, "-", "NovelAIError"], [12, 0, 0, "-", "NovelAI_API"], [13, 0, 0, "-", "Preset"], [14, 0, 0, "-", "SchemaValidator"], [15, 0, 0, "-", "StoryHandler"], [16, 0, 0, "-", "Tokenizer"], [17, 0, 0, "-", "_high_level"], [18, 0, 0, "-", "_low_level"], [19, 0, 0, "-", "utils"]], "novelai_api.BanList": [[5, 1, 1, "", "BanList"]], "novelai_api.BanList.BanList": [[5, 2, 1, "", "__init__"], [5, 2, 1, "", "add"], [5, 3, 1, "", "enabled"], [5, 2, 1, "", "get_tokenized_entries"]], "novelai_api.BiasGroup": [[6, 1, 1, "", "BiasGroup"]], "novelai_api.BiasGroup.BiasGroup": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "add"], [6, 3, 1, "", "bias"], [6, 3, 1, "", "enabled"], [6, 3, 1, "", "ensure_sequence_finish"], [6, 2, 1, "", "from_data"], [6, 3, 1, "", "generate_once"], [6, 2, 1, "", "get_tokenized_entries"]], "novelai_api.GlobalSettings": [[7, 1, 1, "", "GlobalSettings"]], "novelai_api.GlobalSettings.GlobalSettings": [[7, 3, 1, "", "NO_LOGPROBS"], [7, 2, 1, "", "__init__"], [7, 3, 1, "", "ban_ambiguous_genji_tokens"], [7, 3, 1, "", "ban_brackets"], [7, 3, 1, "", "bias_dinkus_asterism"], [7, 2, 1, "", "copy"], [7, 3, 1, "", "generate_until_sentence"], [7, 3, 1, "", "num_logprobs"], [7, 3, 1, "", "rep_pen_whitelist"], [7, 2, 1, "", "to_settings"]], "novelai_api.Idstore": [[8, 1, 1, "", "Idstore"]], "novelai_api.Idstore.Idstore": [[8, 2, 1, "", "__init__"], [8, 2, 1, "", "create"], [8, 2, 1, "", "register"]], "novelai_api.ImagePreset": [[9, 1, 1, "", "ControlNetModel"], [9, 1, 1, "", "ImageGenerationType"], [9, 1, 1, "", "ImageModel"], [9, 1, 1, "", "ImagePreset"], [9, 1, 1, "", "ImageResolution"], [9, 1, 1, "", "ImageSampler"], [9, 1, 1, "", "UCPreset"]], "novelai_api.ImagePreset.ControlNetModel": [[9, 3, 1, "", "Building_Control"], [9, 3, 1, "", "Form_Lock"], [9, 3, 1, "", "Landscaper"], [9, 3, 1, "", "Palette_Swap"], [9, 3, 1, "", "Scribbler"]], "novelai_api.ImagePreset.ImageGenerationType": [[9, 3, 1, "", "IMG2IMG"], [9, 3, 1, "", "INPAINTING"], [9, 3, 1, "", "NORMAL"]], "novelai_api.ImagePreset.ImageModel": [[9, 3, 1, "", "Anime_Curated"], [9, 3, 1, "", "Anime_Full"], [9, 3, 1, "", "Anime_v2"], [9, 3, 1, "", "Anime_v3"], [9, 3, 1, "", "Furry"], [9, 3, 1, "", "Inainting_Anime_Curated"], [9, 3, 1, "", "Inpainting_Anime_Full"], [9, 3, 1, "", "Inpainting_Anime_v3"], [9, 3, 1, "", "Inpainting_Furry"]], "novelai_api.ImagePreset.ImagePreset": [[9, 2, 1, "", "__init__"], [9, 3, 1, "", "add_original_image"], [9, 2, 1, "", "calculate_cost"], [9, 3, 1, "", "cfg_rescale"], [9, 3, 1, "", "controlnet_condition"], [9, 3, 1, "", "controlnet_model"], [9, 3, 1, "", "controlnet_strength"], [9, 2, 1, "", "copy"], [9, 3, 1, "", "decrisper"], [9, 2, 1, "", "from_file"], [9, 2, 1, "", "get_max_n_samples"], [9, 3, 1, "", "image"], [9, 3, 1, "", "last_seed"], [9, 3, 1, "", "mask"], [9, 3, 1, "", "n_samples"], [9, 3, 1, "", "noise"], [9, 3, 1, "", "noise_schedule"], [9, 3, 1, "", "quality_toggle"], [9, 3, 1, "", "resolution"], [9, 3, 1, "", "sampler"], [9, 3, 1, "", "scale"], [9, 3, 1, "", "seed"], [9, 3, 1, "", "smea"], [9, 3, 1, "", "smea_dyn"], [9, 3, 1, "", "steps"], [9, 3, 1, "", "strength"], [9, 2, 1, "", "to_file"], [9, 2, 1, "", "to_settings"], [9, 3, 1, "", "uc"], [9, 3, 1, "", "uc_preset"], [9, 3, 1, "", "uncond_scale"], [9, 2, 1, "", "update"]], "novelai_api.ImagePreset.ImageResolution": [[9, 3, 1, "", "Large_Landscape"], [9, 3, 1, "", "Large_Landscape_v2"], [9, 3, 1, "", "Large_Landscape_v3"], [9, 3, 1, "", "Large_Portrait"], [9, 3, 1, "", "Large_Portrait_v2"], [9, 3, 1, "", "Large_Portrait_v3"], [9, 3, 1, "", "Large_Square"], [9, 3, 1, "", "Large_Square_v2"], [9, 3, 1, "", "Large_Square_v3"], [9, 3, 1, "", "Normal_Landscape"], [9, 3, 1, "", "Normal_Landscape_v2"], [9, 3, 1, "", "Normal_Landscape_v3"], [9, 3, 1, "", "Normal_Portrait"], [9, 3, 1, "", "Normal_Portrait_v2"], [9, 3, 1, "", "Normal_Portrait_v3"], [9, 3, 1, "", "Normal_Square"], [9, 3, 1, "", "Normal_Square_v2"], [9, 3, 1, "", "Normal_Square_v3"], [9, 3, 1, "", "Small_Landscape"], [9, 3, 1, "", "Small_Landscape_v2"], [9, 3, 1, "", "Small_Landscape_v3"], [9, 3, 1, "", "Small_Portrait"], [9, 3, 1, "", "Small_Portrait_v2"], [9, 3, 1, "", "Small_Portrait_v3"], [9, 3, 1, "", "Small_Square"], [9, 3, 1, "", "Small_Square_v2"], [9, 3, 1, "", "Small_Square_v3"], [9, 3, 1, "", "Wallpaper_Landscape"], [9, 3, 1, "", "Wallpaper_Portrait"]], "novelai_api.ImagePreset.ImageSampler": [[9, 3, 1, "", "ddim"], [9, 3, 1, "", "ddim_v3"], [9, 3, 1, "", "k_dpm_2"], [9, 3, 1, "", "k_dpm_2_ancestral"], [9, 3, 1, "", "k_dpm_adaptive"], [9, 3, 1, "", "k_dpm_fast"], [9, 3, 1, "", "k_dpmpp_2m"], [9, 3, 1, "", "k_dpmpp_2s_ancestral"], [9, 3, 1, "", "k_dpmpp_sde"], [9, 3, 1, "", "k_euler"], [9, 3, 1, "", "k_euler_ancestral"], [9, 3, 1, "", "k_heun"], [9, 3, 1, "", "k_lms"], [9, 3, 1, "", "nai_smea"], [9, 3, 1, "", "nai_smea_dyn"], [9, 3, 1, "", "plms"]], "novelai_api.ImagePreset.UCPreset": [[9, 3, 1, "", "Preset_Bad_Anatomy"], [9, 3, 1, "", "Preset_Heavy"], [9, 3, 1, "", "Preset_Light"], [9, 3, 1, "", "Preset_Low_Quality"], [9, 3, 1, "", "Preset_Low_Quality_Bad_Anatomy"], [9, 3, 1, "", "Preset_None"]], "novelai_api.Keystore": [[10, 1, 1, "", "Keystore"]], "novelai_api.Keystore.Keystore": [[10, 2, 1, "", "__init__"], [10, 2, 1, "", "create"], [10, 3, 1, "", "data"], [10, 2, 1, "", "decrypt"], [10, 2, 1, "", "encrypt"]], "novelai_api.NovelAIError": [[11, 6, 1, "", "NovelAIError"]], "novelai_api.NovelAIError.NovelAIError": [[11, 2, 1, "", "__init__"], [11, 3, 1, "", "message"], [11, 3, 1, "", "status"], [11, 3, 1, "", "url"]], "novelai_api.NovelAI_API": [[12, 1, 1, "", "NovelAIAPI"]], "novelai_api.NovelAI_API.NovelAIAPI": [[12, 3, 1, "", "BASE_ADDRESS"], [12, 3, 1, "", "LIB_ROOT"], [12, 2, 1, "", "__init__"], [12, 2, 1, "", "attach_session"], [12, 3, 1, "", "cookies"], [12, 2, 1, "", "detach_session"], [12, 3, 1, "", "headers"], [12, 3, 1, "", "high_level"], [12, 3, 1, "", "logger"], [12, 3, 1, "", "low_level"], [12, 3, 1, "", "proxy"], [12, 3, 1, "", "proxy_auth"], [12, 3, 1, "", "session"], [12, 4, 1, "", "timeout"]], "novelai_api.Preset": [[13, 1, 1, "", "Model"], [13, 1, 1, "", "Order"], [13, 7, 1, "", "PREAMBLE"], [13, 1, 1, "", "PhraseRepPen"], [13, 1, 1, "", "Preset"], [13, 1, 1, "", "PresetView"], [13, 1, 1, "", "StrEnum"], [13, 5, 1, "", "collapse_model"], [13, 5, 1, "", "enum_contains"]], "novelai_api.Preset.Model": [[13, 3, 1, "", "Clio"], [13, 3, 1, "", "Euterpe"], [13, 3, 1, "", "Genji"], [13, 3, 1, "", "HypeBot"], [13, 3, 1, "", "Inline"], [13, 3, 1, "", "Kayra"], [13, 3, 1, "", "Krake"], [13, 3, 1, "", "Sigurd"], [13, 3, 1, "", "Snek"], [13, 3, 1, "", "enum_member_values"]], "novelai_api.Preset.Order": [[13, 3, 1, "", "CFG"], [13, 3, 1, "", "Mirostat"], [13, 3, 1, "", "TFS"], [13, 3, 1, "", "Temperature"], [13, 3, 1, "", "Top_A"], [13, 3, 1, "", "Top_G"], [13, 3, 1, "", "Top_K"], [13, 3, 1, "", "Top_P"], [13, 3, 1, "", "Typical_P"]], "novelai_api.Preset.PhraseRepPen": [[13, 3, 1, "", "Aggressive"], [13, 3, 1, "", "Light"], [13, 3, 1, "", "Medium"], [13, 3, 1, "", "Off"], [13, 3, 1, "", "VeryAggressive"], [13, 3, 1, "", "VeryLight"]], "novelai_api.Preset.Preset": [[13, 3, 1, "", "DEFAULTS"], [13, 2, 1, "", "__init__"], [13, 3, 1, "", "bos_token_id"], [13, 3, 1, "", "cfg_scale"], [13, 3, 1, "", "cfg_uc"], [13, 2, 1, "", "copy"], [13, 3, 1, "", "diversity_penalty"], [13, 3, 1, "", "encoder_no_repeat_ngram_size"], [13, 3, 1, "", "eos_token_id"], [13, 2, 1, "", "from_default"], [13, 2, 1, "", "from_file"], [13, 2, 1, "", "from_official"], [13, 2, 1, "", "from_preset_data"], [13, 3, 1, "", "get_hidden_states"], [13, 3, 1, "", "length_penalty"], [13, 3, 1, "", "max_length"], [13, 3, 1, "", "max_time"], [13, 3, 1, "", "min_length"], [13, 3, 1, "", "mirostat_lr"], [13, 3, 1, "", "mirostat_tau"], [13, 3, 1, "", "model"], [13, 3, 1, "", "name"], [13, 3, 1, "", "no_repeat_ngram_size"], [13, 3, 1, "", "num_return_sequences"], [13, 3, 1, "", "order"], [13, 3, 1, "", "pad_token_id"], [13, 3, 1, "", "phrase_rep_pen"], [13, 3, 1, "", "repetition_penalty"], [13, 3, 1, "", "repetition_penalty_default_whitelist"], [13, 3, 1, "", "repetition_penalty_frequency"], [13, 3, 1, "", "repetition_penalty_presence"], [13, 3, 1, "", "repetition_penalty_range"], [13, 3, 1, "", "repetition_penalty_slope"], [13, 3, 1, "", "repetition_penalty_whitelist"], [13, 2, 1, "", "set"], [13, 3, 1, "", "tail_free_sampling"], [13, 3, 1, "", "temperature"], [13, 3, 1, "", "textGenerationSettingsVersion"], [13, 2, 1, "", "to_file"], [13, 2, 1, "", "to_settings"], [13, 3, 1, "", "top_a"], [13, 3, 1, "", "top_g"], [13, 3, 1, "", "top_k"], [13, 3, 1, "", "top_p"], [13, 3, 1, "", "typical_p"], [13, 2, 1, "", "update"]], "novelai_api.Preset.PresetView": [[13, 2, 1, "", "__init__"], [13, 3, 1, "", "model"]], "novelai_api.SchemaValidator": [[14, 1, 1, "", "SchemaValidator"]], "novelai_api.SchemaValidator.SchemaValidator": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "validate"]], "novelai_api.StoryHandler": [[15, 1, 1, "", "NovelAIStory"], [15, 1, 1, "", "NovelAIStoryStorage"]], "novelai_api.StoryHandler.NovelAIStory": [[15, 3, 1, "", "DEFAULT_MODEL"], [15, 3, 1, "", "TEXT_GENERATION_SETTINGS_VERSION"], [15, 2, 1, "", "__init__"], [15, 3, 1, "", "api"], [15, 3, 1, "", "banlists"], [15, 3, 1, "", "biases"], [15, 2, 1, "", "build_context"], [15, 2, 1, "", "choose"], [15, 3, 1, "", "context_size"], [15, 2, 1, "", "delete"], [15, 2, 1, "", "edit"], [15, 2, 1, "", "flatten"], [15, 2, 1, "", "generate"], [15, 2, 1, "", "get_current_tree"], [15, 3, 1, "", "global_settings"], [15, 3, 1, "", "key"], [15, 3, 1, "", "keystore"], [15, 3, 1, "", "model"], [15, 3, 1, "", "prefix"], [15, 3, 1, "", "preset"], [15, 2, 1, "", "redo"], [15, 2, 1, "", "save"], [15, 3, 1, "", "story"], [15, 3, 1, "", "storycontent"], [15, 3, 1, "", "tree"], [15, 2, 1, "", "undo"]], "novelai_api.StoryHandler.NovelAIStoryStorage": [[15, 2, 1, "", "__init__"], [15, 3, 1, "", "api"], [15, 2, 1, "", "create"], [15, 3, 1, "", "global_settings"], [15, 3, 1, "", "idstore"], [15, 3, 1, "", "keystore"], [15, 2, 1, "", "load"], [15, 2, 1, "", "load_from_remote"], [15, 2, 1, "", "loads"], [15, 2, 1, "", "select"], [15, 2, 1, "", "unload"]], "novelai_api.Tokenizer": [[16, 1, 1, "", "SentencePiece"], [16, 1, 1, "", "Tokenizer"]], "novelai_api.Tokenizer.SentencePiece": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "decode"], [16, 2, 1, "", "encode"], [16, 3, 1, "", "trans_regex_str"], [16, 3, 1, "", "trans_table_ids"], [16, 3, 1, "", "trans_table_str"]], "novelai_api.Tokenizer.Tokenizer": [[16, 2, 1, "", "decode"], [16, 2, 1, "", "encode"], [16, 2, 1, "", "get_tokenizer_name"]], "novelai_api._high_level": [[17, 1, 1, "", "HighLevel"]], "novelai_api._high_level.HighLevel": [[17, 2, 1, "", "__init__"], [17, 2, 1, "", "download_user_modules"], [17, 2, 1, "", "download_user_presets"], [17, 2, 1, "", "download_user_shelves"], [17, 2, 1, "", "download_user_stories"], [17, 2, 1, "", "download_user_story_contents"], [17, 2, 1, "", "generate"], [17, 2, 1, "", "generate_image"], [17, 2, 1, "", "generate_stream"], [17, 2, 1, "", "get_keystore"], [17, 2, 1, "", "login"], [17, 2, 1, "", "login_from_key"], [17, 2, 1, "", "login_with_token"], [17, 2, 1, "", "register"], [17, 2, 1, "", "set_keystore"], [17, 2, 1, "", "upload_user_content"], [17, 2, 1, "", "upload_user_contents"]], "novelai_api._low_level": [[18, 1, 1, "", "LowLevel"], [18, 5, 1, "", "print_with_parameters"]], "novelai_api._low_level.LowLevel": [[18, 1, 1, "", "SubscriptionTier"], [18, 2, 1, "", "__init__"], [18, 2, 1, "", "bind_subscription"], [18, 2, 1, "", "buy_steps"], [18, 2, 1, "", "change_access_key"], [18, 2, 1, "", "change_subscription"], [18, 2, 1, "", "classify"], [18, 2, 1, "", "delete_account"], [18, 2, 1, "", "delete_module"], [18, 2, 1, "", "delete_object"], [18, 2, 1, "", "download_object"], [18, 2, 1, "", "download_objects"], [18, 2, 1, "", "generate"], [18, 2, 1, "", "generate_controlnet_mask"], [18, 2, 1, "", "generate_image"], [18, 2, 1, "", "generate_prompt"], [18, 2, 1, "", "generate_voice"], [18, 2, 1, "", "get_data"], [18, 2, 1, "", "get_information"], [18, 2, 1, "", "get_keystore"], [18, 2, 1, "", "get_priority"], [18, 2, 1, "", "get_settings"], [18, 2, 1, "", "get_subscription"], [18, 2, 1, "", "get_trained_module"], [18, 2, 1, "", "get_trained_modules"], [18, 2, 1, "", "is_reachable"], [18, 3, 1, "", "is_schema_validation_enabled"], [18, 2, 1, "", "login"], [18, 2, 1, "", "recover_account"], [18, 2, 1, "", "register"], [18, 2, 1, "", "request"], [18, 2, 1, "", "request_account_recovery"], [18, 2, 1, "", "send_email_verification"], [18, 2, 1, "", "set_keystore"], [18, 2, 1, "", "set_settings"], [18, 2, 1, "", "suggest_tags"], [18, 2, 1, "", "train_module"], [18, 2, 1, "", "upload_object"], [18, 2, 1, "", "upload_objects"], [18, 2, 1, "", "upscale_image"], [18, 2, 1, "", "verify_email"]], "novelai_api._low_level.LowLevel.SubscriptionTier": [[18, 3, 1, "", "OPUS"], [18, 3, 1, "", "PAPER"], [18, 3, 1, "", "SCROLL"], [18, 3, 1, "", "TABLET"]], "novelai_api.utils": [[19, 5, 1, "", "argon_hash"], [19, 5, 1, "", "b64_to_tokens"], [19, 5, 1, "", "compress_user_data"], [19, 5, 1, "", "decompress_user_data"], [19, 5, 1, "", "decrypt_data"], [19, 5, 1, "", "decrypt_user_data"], [19, 5, 1, "", "encrypt_data"], [19, 5, 1, "", "encrypt_user_data"], [19, 5, 1, "", "extract_preset_data"], [19, 5, 1, "", "gather_asyncgenerator"], [19, 5, 1, "", "get_access_key"], [19, 5, 1, "", "get_decrypted_user_data"], [19, 5, 1, "", "get_encryption_key"], [19, 5, 1, "", "link_content_to_story"], [19, 5, 1, "", "tokenize_if_not"], [19, 5, 1, "", "tokens_to_b64"], [19, 5, 1, "", "unlink_content_from_story"]], "tests.api": [[21, 0, 0, "-", "boilerplate"], [20, 0, 0, "-", "test_decrypt_encrypt_integrity_check"], [20, 0, 0, "-", "test_imagegen_samplers"], [20, 0, 0, "-", "test_sync_gen"], [20, 0, 0, "-", "test_textgen_presets"]], "tests.api.boilerplate": [[21, 1, 1, "", "API"], [21, 1, 1, "", "JSONEncoder"], [21, 5, 1, "", "api_handle"], [21, 5, 1, "", "api_handle_sync"], [21, 5, 1, "", "dumps"], [21, 5, 1, "", "error_handler"]], "tests.api.boilerplate.API": [[21, 2, 1, "", "__init__"], [21, 3, 1, "", "api"], [21, 4, 1, "", "encryption_key"], [21, 3, 1, "", "logger"]], "tests.api.boilerplate.JSONEncoder": [[21, 2, 1, "", "default"]], "tests.api.test_decrypt_encrypt_integrity_check": [[20, 5, 1, "", "aimodules_integrity"], [20, 5, 1, "", "keystore_integrity"], [20, 5, 1, "", "presets_integrity"], [20, 5, 1, "", "shelves_integrity"], [20, 5, 1, "", "stories_integrity"], [20, 5, 1, "", "storycontent_integrity"]], "tests.api.test_textgen_presets": [[20, 5, 1, "", "preset_from_default"], [20, 5, 1, "", "preset_from_official"], [20, 5, 1, "", "test_presets"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:property", "5": "py:function", "6": "py:exception", "7": "py:data"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "property", "Python property"], "5": ["py", "function", "Python function"], "6": ["py", "exception", "Python exception"], "7": ["py", "data", "Python data"]}, "titleterms": {"exampl": [0, 2], "directori": [0, 20, 22], "requir": [0, 20], "usag": [0, 2, 20], "content": [0, 20, 22], "download_modul": 0, "py": [0, 20], "download_preset": 0, "download_shelv": 0, "download_stories_and_cont": 0, "generate_controlnet_mask": 0, "generate_imag": 0, "generate_image_test_sampl": 0, "generate_image_with_controlnet": 0, "generate_image_with_img2img": 0, "generate_text": 0, "generate_voic": 0, "login": 0, "login_with_proxi": 0, "suggest_tag": 0, "upscale_imag": 0, "refer": [0, 2, 20, 22], "boilerpl": [1, 21], "novelai": [2, 4], "api": [2, 4, 20], "us": 2, "modul": [2, 17], "via": 2, "command": 2, "line": 2, "get": 2, "access": 2, "kei": 2, "token": [2, 16], "saniti": 2, "check": 2, "decod": 2, "your": 2, "code": 2, "low_level": [2, 18], "high_level": [2, 17], "develop": 2, "contribut": 2, "test": 2, "against": 2, "mock": [2, 22], "doc": 2, "todo": 2, "packag": 4, "novelai_api": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "banlist": 5, "biasgroup": 6, "globalset": 7, "idstor": 8, "imagepreset": 9, "keystor": 10, "novelaierror": 11, "preset": 13, "schemavalid": 14, "storyhandl": 15, "list": 17, "util": 19, "test_decrypt_encrypt_integrity_check": 20, "test_imagegen_sampl": 20, "test_sync_gen": 20, "test_textgen_preset": 20, "test_textgen_san": 20}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.viewcode": 1, "sphinx_last_updated_by_git": 1, "sphinx": 57}, "alltitles": {"example directory": [[0, "example-directory"]], "Requirements": [[0, "requirements"], [20, "requirements"]], "Usage": [[0, "usage"], [2, "usage"], [20, "usage"]], "Content": [[0, "module-example.download_modules"], [20, "content"], [22, "content"]], "download_modules.py": [[0, "download-modules-py"]], "download_presets.py": [[0, "download-presets-py"]], "download_shelves.py": [[0, "download-shelves-py"]], "download_stories_and_content.py": [[0, "download-stories-and-content-py"]], "generate_controlnet_masks.py": [[0, "generate-controlnet-masks-py"]], "generate_image.py": [[0, "generate-image-py"]], "generate_image_test_samplers.py": [[0, "generate-image-test-samplers-py"]], "generate_image_with_controlnet.py": [[0, "generate-image-with-controlnet-py"]], "generate_image_with_img2img.py": [[0, "generate-image-with-img2img-py"]], "generate_text.py": [[0, "generate-text-py"]], "generate_voice.py": [[0, "generate-voice-py"]], "login.py": [[0, "login-py"]], "login_with_proxy.py": [[0, "login-with-proxy-py"]], "suggest_tags.py": [[0, "suggest-tags-py"]], "upscale_image.py": [[0, "upscale-image-py"]], "Reference": [[0, "reference"], [2, "reference"], [20, "reference"], [22, "reference"]], "boilerplate": [[1, "module-example.boilerplate"], [21, "module-tests.api.boilerplate"]], "novelai-api": [[2, "novelai-api"], [2, "novelai-api"]], "Using the module via Command Line": [[2, "using-the-module-via-command-line"]], "Get access key": [[2, "get-access-key"]], "Get access token": [[2, "get-access-token"]], "Sanity check": [[2, "sanity-check"]], "Decode": [[2, "decode"]], "Using the module in your code": [[2, "using-the-module-in-your-code"]], "low_level": [[2, "low-level"]], "high_level": [[2, "high-level"]], "Development": [[2, "development"]], "Contributing": [[2, "contributing"]], "Testing against the API": [[2, "testing-against-the-api"]], "Testing against the mocked API": [[2, "testing-against-the-mocked-api"]], "Docs": [[2, "docs"]], "TODO": [[2, "todo"]], "example": [[2, "example"]], "Test API": [[2, "test-api"]], "Test Mocked API": [[2, "test-mocked-api"]], "novelai-api package": [[4, "novelai-api-package"]], "novelai_api.BanList": [[5, "module-novelai_api.BanList"]], "novelai_api.BiasGroup": [[6, "module-novelai_api.BiasGroup"]], "novelai_api.GlobalSettings": [[7, "module-novelai_api.GlobalSettings"]], "novelai_api.Idstore": [[8, "module-novelai_api.Idstore"]], "novelai_api.ImagePreset": [[9, "module-novelai_api.ImagePreset"]], "novelai_api.Keystore": [[10, "module-novelai_api.Keystore"]], "novelai_api.NovelAIError": [[11, "module-novelai_api.NovelAIError"]], "novelai_api.NovelAI_API": [[12, "module-novelai_api.NovelAI_API"]], "novelai_api.Preset": [[13, "module-novelai_api.Preset"]], "novelai_api.SchemaValidator": [[14, "module-novelai_api.SchemaValidator"]], "novelai_api.StoryHandler": [[15, "module-novelai_api.StoryHandler"]], "novelai_api.Tokenizer": [[16, "module-novelai_api.Tokenizer"]], "novelai_api.high_level": [[17, "module-novelai_api._high_level"]], "List of modules": [[17, "list-of-modules"]], "novelai_api.low_level": [[18, "module-novelai_api._low_level"]], "novelai_api.utils": [[19, "module-novelai_api.utils"]], "API directory": [[20, "api-directory"]], "test_decrypt_encrypt_integrity_check.py": [[20, "module-tests.api.test_decrypt_encrypt_integrity_check"]], "test_imagegen_samplers.py": [[20, "module-tests.api.test_imagegen_samplers"]], "test_sync_gen.py": [[20, "module-tests.api.test_sync_gen"]], "test_textgen_presets.py": [[20, "module-tests.api.test_textgen_presets"]], "test_textgen_sanity.py": [[20, "test-textgen-sanity-py"]], "Mock directory": [[22, "mock-directory"]]}, "indexentries": {"example.download_modules": [[0, "module-example.download_modules"]], "example.download_presets": [[0, "module-example.download_presets"]], "example.download_shelves": [[0, "module-example.download_shelves"]], "example.download_stories_and_content": [[0, "module-example.download_stories_and_content"]], "example.generate_controlnet_masks": [[0, "module-example.generate_controlnet_masks"]], "example.generate_image": [[0, "module-example.generate_image"]], "example.generate_image_test_samplers": [[0, "module-example.generate_image_test_samplers"]], "example.generate_image_with_controlnet": [[0, "module-example.generate_image_with_controlnet"]], "example.generate_image_with_img2img": [[0, "module-example.generate_image_with_img2img"]], "example.generate_text": [[0, "module-example.generate_text"]], "example.generate_voice": [[0, "module-example.generate_voice"]], "example.login": [[0, "module-example.login"]], "example.login_with_proxy": [[0, "module-example.login_with_proxy"]], "example.suggest_tags": [[0, "module-example.suggest_tags"]], "example.upscale_image": [[0, "module-example.upscale_image"]], "module": [[0, "module-example.download_modules"], [0, "module-example.download_presets"], [0, "module-example.download_shelves"], [0, "module-example.download_stories_and_content"], [0, "module-example.generate_controlnet_masks"], [0, "module-example.generate_image"], [0, "module-example.generate_image_test_samplers"], [0, "module-example.generate_image_with_controlnet"], [0, "module-example.generate_image_with_img2img"], [0, "module-example.generate_text"], [0, "module-example.generate_voice"], [0, "module-example.login"], [0, "module-example.login_with_proxy"], [0, "module-example.suggest_tags"], [0, "module-example.upscale_image"], [1, "module-example.boilerplate"], [5, "module-novelai_api.BanList"], [6, "module-novelai_api.BiasGroup"], [7, "module-novelai_api.GlobalSettings"], [8, "module-novelai_api.Idstore"], [9, "module-novelai_api.ImagePreset"], [10, "module-novelai_api.Keystore"], [11, "module-novelai_api.NovelAIError"], [12, "module-novelai_api.NovelAI_API"], [13, "module-novelai_api.Preset"], [14, "module-novelai_api.SchemaValidator"], [15, "module-novelai_api.StoryHandler"], [16, "module-novelai_api.Tokenizer"], [17, "module-novelai_api._high_level"], [18, "module-novelai_api._low_level"], [19, "module-novelai_api.utils"], [20, "module-tests.api.test_decrypt_encrypt_integrity_check"], [20, "module-tests.api.test_imagegen_samplers"], [20, "module-tests.api.test_sync_gen"], [20, "module-tests.api.test_textgen_presets"], [21, "module-tests.api.boilerplate"]], "api (class in example.boilerplate)": [[1, "example.boilerplate.API"]], "jsonencoder (class in example.boilerplate)": [[1, "example.boilerplate.JSONEncoder"]], "__init__() (api method)": [[1, "example.boilerplate.API.__init__"], [21, "tests.api.boilerplate.API.__init__"]], "api (api attribute)": [[1, "example.boilerplate.API.api"], [21, "tests.api.boilerplate.API.api"]], "default() (jsonencoder method)": [[1, "example.boilerplate.JSONEncoder.default"], [21, "tests.api.boilerplate.JSONEncoder.default"]], "dumps() (in module example.boilerplate)": [[1, "example.boilerplate.dumps"]], "encryption_key (api property)": [[1, "example.boilerplate.API.encryption_key"], [21, "tests.api.boilerplate.API.encryption_key"]], "example.boilerplate": [[1, "module-example.boilerplate"]], "logger (api attribute)": [[1, "example.boilerplate.API.logger"], [21, "tests.api.boilerplate.API.logger"]], "banlist (class in novelai_api.banlist)": [[5, "novelai_api.BanList.BanList"]], "__init__() (banlist method)": [[5, "novelai_api.BanList.BanList.__init__"]], "add() (banlist method)": [[5, "novelai_api.BanList.BanList.add"]], "enabled (banlist attribute)": [[5, "novelai_api.BanList.BanList.enabled"]], "get_tokenized_entries() (banlist method)": [[5, "novelai_api.BanList.BanList.get_tokenized_entries"]], "novelai_api.banlist": [[5, "module-novelai_api.BanList"]], "biasgroup (class in novelai_api.biasgroup)": [[6, "novelai_api.BiasGroup.BiasGroup"]], "__init__() (biasgroup method)": [[6, "novelai_api.BiasGroup.BiasGroup.__init__"]], "add() (biasgroup method)": [[6, "novelai_api.BiasGroup.BiasGroup.add"]], "bias (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.bias"]], "enabled (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.enabled"]], "ensure_sequence_finish (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.ensure_sequence_finish"]], "from_data() (biasgroup class method)": [[6, "novelai_api.BiasGroup.BiasGroup.from_data"]], "generate_once (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.generate_once"]], "get_tokenized_entries() (biasgroup method)": [[6, "novelai_api.BiasGroup.BiasGroup.get_tokenized_entries"]], "novelai_api.biasgroup": [[6, "module-novelai_api.BiasGroup"]], "globalsettings (class in novelai_api.globalsettings)": [[7, "novelai_api.GlobalSettings.GlobalSettings"]], "no_logprobs (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.NO_LOGPROBS"]], "__init__() (globalsettings method)": [[7, "novelai_api.GlobalSettings.GlobalSettings.__init__"]], "ban_ambiguous_genji_tokens (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.ban_ambiguous_genji_tokens"]], "ban_brackets (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.ban_brackets"]], "bias_dinkus_asterism (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.bias_dinkus_asterism"]], "copy() (globalsettings method)": [[7, "novelai_api.GlobalSettings.GlobalSettings.copy"]], "generate_until_sentence (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.generate_until_sentence"]], "novelai_api.globalsettings": [[7, "module-novelai_api.GlobalSettings"]], "num_logprobs (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.num_logprobs"]], "rep_pen_whitelist (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.rep_pen_whitelist"]], "to_settings() (globalsettings method)": [[7, "novelai_api.GlobalSettings.GlobalSettings.to_settings"]], "idstore (class in novelai_api.idstore)": [[8, "novelai_api.Idstore.Idstore"]], "__init__() (idstore method)": [[8, "novelai_api.Idstore.Idstore.__init__"]], "create() (idstore method)": [[8, "novelai_api.Idstore.Idstore.create"]], "novelai_api.idstore": [[8, "module-novelai_api.Idstore"]], "register() (idstore method)": [[8, "novelai_api.Idstore.Idstore.register"]], "anime_curated (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_Curated"]], "anime_full (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_Full"]], "anime_v2 (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_v2"]], "anime_v3 (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_v3"]], "building_control (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Building_Control"]], "controlnetmodel (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ControlNetModel"]], "form_lock (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Form_Lock"]], "furry (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Furry"]], "img2img (imagegenerationtype attribute)": [[9, "novelai_api.ImagePreset.ImageGenerationType.IMG2IMG"]], "inpainting (imagegenerationtype attribute)": [[9, "novelai_api.ImagePreset.ImageGenerationType.INPAINTING"]], "imagegenerationtype (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageGenerationType"]], "imagemodel (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageModel"]], "imagepreset (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImagePreset"]], "imageresolution (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageResolution"]], "imagesampler (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageSampler"]], "inainting_anime_curated (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inainting_Anime_Curated"]], "inpainting_anime_full (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inpainting_Anime_Full"]], "inpainting_anime_v3 (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inpainting_Anime_v3"]], "inpainting_furry (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inpainting_Furry"]], "landscaper (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Landscaper"]], "large_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Landscape"]], "large_landscape_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Landscape_v2"]], "large_landscape_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Landscape_v3"]], "large_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Portrait"]], "large_portrait_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Portrait_v2"]], "large_portrait_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Portrait_v3"]], "large_square (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Square"]], "large_square_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Square_v2"]], "large_square_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Square_v3"]], "normal (imagegenerationtype attribute)": [[9, "novelai_api.ImagePreset.ImageGenerationType.NORMAL"]], "normal_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Landscape"]], "normal_landscape_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Landscape_v2"]], "normal_landscape_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Landscape_v3"]], "normal_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Portrait"]], "normal_portrait_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Portrait_v2"]], "normal_portrait_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Portrait_v3"]], "normal_square (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Square"]], "normal_square_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Square_v2"]], "normal_square_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Square_v3"]], "palette_swap (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Palette_Swap"]], "preset_bad_anatomy (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Bad_Anatomy"]], "preset_heavy (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Heavy"]], "preset_light (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Light"]], "preset_low_quality (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Low_Quality"]], "preset_low_quality_bad_anatomy (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Low_Quality_Bad_Anatomy"]], "preset_none (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_None"]], "scribbler (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Scribbler"]], "small_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Landscape"]], "small_landscape_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Landscape_v2"]], "small_landscape_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Landscape_v3"]], "small_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Portrait"]], "small_portrait_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Portrait_v2"]], "small_portrait_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Portrait_v3"]], "small_square (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Square"]], "small_square_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Square_v2"]], "small_square_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Square_v3"]], "ucpreset (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.UCPreset"]], "wallpaper_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Wallpaper_Landscape"]], "wallpaper_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Wallpaper_Portrait"]], "__init__() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.__init__"]], "add_original_image (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.add_original_image"]], "calculate_cost() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.calculate_cost"]], "cfg_rescale (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.cfg_rescale"]], "controlnet_condition (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.controlnet_condition"]], "controlnet_model (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.controlnet_model"]], "controlnet_strength (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.controlnet_strength"]], "copy() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.copy"]], "ddim (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.ddim"]], "ddim_v3 (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.ddim_v3"]], "decrisper (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.decrisper"]], "from_file() (imagepreset class method)": [[9, "novelai_api.ImagePreset.ImagePreset.from_file"]], "get_max_n_samples() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.get_max_n_samples"]], "image (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.image"]], "k_dpm_2 (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_2"]], "k_dpm_2_ancestral (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_2_ancestral"]], "k_dpm_adaptive (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_adaptive"]], "k_dpm_fast (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_fast"]], "k_dpmpp_2m (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpmpp_2m"]], "k_dpmpp_2s_ancestral (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpmpp_2s_ancestral"]], "k_dpmpp_sde (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpmpp_sde"]], "k_euler (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_euler"]], "k_euler_ancestral (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_euler_ancestral"]], "k_heun (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_heun"]], "k_lms (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_lms"]], "last_seed (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.last_seed"]], "mask (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.mask"]], "n_samples (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.n_samples"]], "nai_smea (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.nai_smea"]], "nai_smea_dyn (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.nai_smea_dyn"]], "noise (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.noise"]], "noise_schedule (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.noise_schedule"]], "novelai_api.imagepreset": [[9, "module-novelai_api.ImagePreset"]], "plms (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.plms"]], "quality_toggle (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.quality_toggle"]], "resolution (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.resolution"]], "sampler (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.sampler"]], "scale (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.scale"]], "seed (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.seed"]], "smea (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.smea"]], "smea_dyn (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.smea_dyn"]], "steps (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.steps"]], "strength (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.strength"]], "to_file() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.to_file"]], "to_settings() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.to_settings"]], "uc (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.uc"]], "uc_preset (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.uc_preset"]], "uncond_scale (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.uncond_scale"]], "update() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.update"]], "keystore (class in novelai_api.keystore)": [[10, "novelai_api.Keystore.Keystore"]], "__init__() (keystore method)": [[10, "novelai_api.Keystore.Keystore.__init__"]], "create() (keystore method)": [[10, "novelai_api.Keystore.Keystore.create"]], "data (keystore attribute)": [[10, "novelai_api.Keystore.Keystore.data"]], "decrypt() (keystore method)": [[10, "novelai_api.Keystore.Keystore.decrypt"]], "encrypt() (keystore method)": [[10, "novelai_api.Keystore.Keystore.encrypt"]], "novelai_api.keystore": [[10, "module-novelai_api.Keystore"]], "novelaierror": [[11, "novelai_api.NovelAIError.NovelAIError"]], "__init__() (novelaierror method)": [[11, "novelai_api.NovelAIError.NovelAIError.__init__"]], "message (novelaierror attribute)": [[11, "novelai_api.NovelAIError.NovelAIError.message"]], "novelai_api.novelaierror": [[11, "module-novelai_api.NovelAIError"]], "status (novelaierror attribute)": [[11, "novelai_api.NovelAIError.NovelAIError.status"]], "url (novelaierror attribute)": [[11, "novelai_api.NovelAIError.NovelAIError.url"]], "base_address (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.BASE_ADDRESS"]], "lib_root (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.LIB_ROOT"]], "novelaiapi (class in novelai_api.novelai_api)": [[12, "novelai_api.NovelAI_API.NovelAIAPI"]], "__init__() (novelaiapi method)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.__init__"]], "attach_session() (novelaiapi method)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.attach_session"]], "cookies (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.cookies"]], "detach_session() (novelaiapi method)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.detach_session"]], "headers (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.headers"]], "high_level (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.high_level"]], "logger (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.logger"]], "low_level (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.low_level"]], "novelai_api.novelai_api": [[12, "module-novelai_api.NovelAI_API"]], "proxy (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.proxy"]], "proxy_auth (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.proxy_auth"]], "session (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.session"]], "timeout (novelaiapi property)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.timeout"]], "aggressive (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Aggressive"]], "cfg (order attribute)": [[13, "novelai_api.Preset.Order.CFG"]], "clio (model attribute)": [[13, "novelai_api.Preset.Model.Clio"]], "defaults (preset attribute)": [[13, "novelai_api.Preset.Preset.DEFAULTS"]], "euterpe (model attribute)": [[13, "novelai_api.Preset.Model.Euterpe"]], "genji (model attribute)": [[13, "novelai_api.Preset.Model.Genji"]], "hypebot (model attribute)": [[13, "novelai_api.Preset.Model.HypeBot"]], "inline (model attribute)": [[13, "novelai_api.Preset.Model.Inline"]], "kayra (model attribute)": [[13, "novelai_api.Preset.Model.Kayra"]], "krake (model attribute)": [[13, "novelai_api.Preset.Model.Krake"]], "light (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Light"]], "medium (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Medium"]], "mirostat (order attribute)": [[13, "novelai_api.Preset.Order.Mirostat"]], "model (class in novelai_api.preset)": [[13, "novelai_api.Preset.Model"]], "off (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Off"]], "order (class in novelai_api.preset)": [[13, "novelai_api.Preset.Order"]], "preamble (in module novelai_api.preset)": [[13, "novelai_api.Preset.PREAMBLE"]], "phrasereppen (class in novelai_api.preset)": [[13, "novelai_api.Preset.PhraseRepPen"]], "preset (class in novelai_api.preset)": [[13, "novelai_api.Preset.Preset"]], "presetview (class in novelai_api.preset)": [[13, "novelai_api.Preset.PresetView"]], "sigurd (model attribute)": [[13, "novelai_api.Preset.Model.Sigurd"]], "snek (model attribute)": [[13, "novelai_api.Preset.Model.Snek"]], "strenum (class in novelai_api.preset)": [[13, "novelai_api.Preset.StrEnum"]], "tfs (order attribute)": [[13, "novelai_api.Preset.Order.TFS"]], "temperature (order attribute)": [[13, "novelai_api.Preset.Order.Temperature"]], "top_a (order attribute)": [[13, "novelai_api.Preset.Order.Top_A"]], "top_g (order attribute)": [[13, "novelai_api.Preset.Order.Top_G"]], "top_k (order attribute)": [[13, "novelai_api.Preset.Order.Top_K"]], "top_p (order attribute)": [[13, "novelai_api.Preset.Order.Top_P"]], "typical_p (order attribute)": [[13, "novelai_api.Preset.Order.Typical_P"]], "veryaggressive (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.VeryAggressive"]], "verylight (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.VeryLight"]], "__init__() (preset method)": [[13, "novelai_api.Preset.Preset.__init__"]], "__init__() (presetview method)": [[13, "novelai_api.Preset.PresetView.__init__"]], "bos_token_id (preset attribute)": [[13, "novelai_api.Preset.Preset.bos_token_id"]], "cfg_scale (preset attribute)": [[13, "novelai_api.Preset.Preset.cfg_scale"]], "cfg_uc (preset attribute)": [[13, "novelai_api.Preset.Preset.cfg_uc"]], "collapse_model() (in module novelai_api.preset)": [[13, "novelai_api.Preset.collapse_model"]], "copy() (preset method)": [[13, "novelai_api.Preset.Preset.copy"]], "diversity_penalty (preset attribute)": [[13, "novelai_api.Preset.Preset.diversity_penalty"]], "encoder_no_repeat_ngram_size (preset attribute)": [[13, "novelai_api.Preset.Preset.encoder_no_repeat_ngram_size"]], "enum_contains() (in module novelai_api.preset)": [[13, "novelai_api.Preset.enum_contains"]], "enum_member_values (model attribute)": [[13, "novelai_api.Preset.Model.enum_member_values"]], "eos_token_id (preset attribute)": [[13, "novelai_api.Preset.Preset.eos_token_id"]], "from_default() (preset class method)": [[13, "novelai_api.Preset.Preset.from_default"]], "from_file() (preset class method)": [[13, "novelai_api.Preset.Preset.from_file"]], "from_official() (preset class method)": [[13, "novelai_api.Preset.Preset.from_official"]], "from_preset_data() (preset class method)": [[13, "novelai_api.Preset.Preset.from_preset_data"]], "get_hidden_states (preset attribute)": [[13, "novelai_api.Preset.Preset.get_hidden_states"]], "length_penalty (preset attribute)": [[13, "novelai_api.Preset.Preset.length_penalty"]], "max_length (preset attribute)": [[13, "novelai_api.Preset.Preset.max_length"]], "max_time (preset attribute)": [[13, "novelai_api.Preset.Preset.max_time"]], "min_length (preset attribute)": [[13, "novelai_api.Preset.Preset.min_length"]], "mirostat_lr (preset attribute)": [[13, "novelai_api.Preset.Preset.mirostat_lr"]], "mirostat_tau (preset attribute)": [[13, "novelai_api.Preset.Preset.mirostat_tau"]], "model (preset attribute)": [[13, "novelai_api.Preset.Preset.model"]], "model (presetview attribute)": [[13, "novelai_api.Preset.PresetView.model"]], "name (preset attribute)": [[13, "novelai_api.Preset.Preset.name"]], "no_repeat_ngram_size (preset attribute)": [[13, "novelai_api.Preset.Preset.no_repeat_ngram_size"]], "novelai_api.preset": [[13, "module-novelai_api.Preset"]], "num_return_sequences (preset attribute)": [[13, "novelai_api.Preset.Preset.num_return_sequences"]], "order (preset attribute)": [[13, "novelai_api.Preset.Preset.order"]], "pad_token_id (preset attribute)": [[13, "novelai_api.Preset.Preset.pad_token_id"]], "phrase_rep_pen (preset attribute)": [[13, "novelai_api.Preset.Preset.phrase_rep_pen"]], "repetition_penalty (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty"]], "repetition_penalty_default_whitelist (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_default_whitelist"]], "repetition_penalty_frequency (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_frequency"]], "repetition_penalty_presence (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_presence"]], "repetition_penalty_range (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_range"]], "repetition_penalty_slope (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_slope"]], "repetition_penalty_whitelist (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_whitelist"]], "set() (preset method)": [[13, "novelai_api.Preset.Preset.set"]], "tail_free_sampling (preset attribute)": [[13, "novelai_api.Preset.Preset.tail_free_sampling"]], "temperature (preset attribute)": [[13, "novelai_api.Preset.Preset.temperature"]], "textgenerationsettingsversion (preset attribute)": [[13, "novelai_api.Preset.Preset.textGenerationSettingsVersion"]], "to_file() (preset method)": [[13, "novelai_api.Preset.Preset.to_file"]], "to_settings() (preset method)": [[13, "novelai_api.Preset.Preset.to_settings"]], "top_a (preset attribute)": [[13, "novelai_api.Preset.Preset.top_a"]], "top_g (preset attribute)": [[13, "novelai_api.Preset.Preset.top_g"]], "top_k (preset attribute)": [[13, "novelai_api.Preset.Preset.top_k"]], "top_p (preset attribute)": [[13, "novelai_api.Preset.Preset.top_p"]], "typical_p (preset attribute)": [[13, "novelai_api.Preset.Preset.typical_p"]], "update() (preset method)": [[13, "novelai_api.Preset.Preset.update"]], "schemavalidator (class in novelai_api.schemavalidator)": [[14, "novelai_api.SchemaValidator.SchemaValidator"]], "__init__() (schemavalidator method)": [[14, "novelai_api.SchemaValidator.SchemaValidator.__init__"]], "novelai_api.schemavalidator": [[14, "module-novelai_api.SchemaValidator"]], "validate() (schemavalidator class method)": [[14, "novelai_api.SchemaValidator.SchemaValidator.validate"]], "default_model (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.DEFAULT_MODEL"]], "novelaistory (class in novelai_api.storyhandler)": [[15, "novelai_api.StoryHandler.NovelAIStory"]], "novelaistorystorage (class in novelai_api.storyhandler)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage"]], "text_generation_settings_version (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.TEXT_GENERATION_SETTINGS_VERSION"]], "__init__() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.__init__"]], "__init__() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.__init__"]], "api (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.api"]], "api (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.api"]], "banlists (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.banlists"]], "biases (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.biases"]], "build_context() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.build_context"]], "choose() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.choose"]], "context_size (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.context_size"]], "create() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.create"]], "delete() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.delete"]], "edit() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.edit"]], "flatten() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.flatten"]], "generate() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.generate"]], "get_current_tree() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.get_current_tree"]], "global_settings (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.global_settings"]], "global_settings (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.global_settings"]], "idstore (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.idstore"]], "key (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.key"]], "keystore (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.keystore"]], "keystore (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.keystore"]], "load() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.load"]], "load_from_remote() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.load_from_remote"]], "loads() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.loads"]], "model (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.model"]], "novelai_api.storyhandler": [[15, "module-novelai_api.StoryHandler"]], "prefix (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.prefix"]], "preset (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.preset"]], "redo() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.redo"]], "save() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.save"]], "select() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.select"]], "story (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.story"]], "storycontent (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.storycontent"]], "tree (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.tree"]], "undo() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.undo"]], "unload() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.unload"]], "sentencepiece (class in novelai_api.tokenizer)": [[16, "novelai_api.Tokenizer.SentencePiece"]], "tokenizer (class in novelai_api.tokenizer)": [[16, "novelai_api.Tokenizer.Tokenizer"]], "__init__() (sentencepiece method)": [[16, "novelai_api.Tokenizer.SentencePiece.__init__"]], "decode() (sentencepiece method)": [[16, "novelai_api.Tokenizer.SentencePiece.decode"]], "decode() (tokenizer class method)": [[16, "novelai_api.Tokenizer.Tokenizer.decode"]], "encode() (sentencepiece method)": [[16, "novelai_api.Tokenizer.SentencePiece.encode"]], "encode() (tokenizer class method)": [[16, "novelai_api.Tokenizer.Tokenizer.encode"]], "get_tokenizer_name() (tokenizer class method)": [[16, "novelai_api.Tokenizer.Tokenizer.get_tokenizer_name"]], "novelai_api.tokenizer": [[16, "module-novelai_api.Tokenizer"]], "trans_regex_str (sentencepiece attribute)": [[16, "novelai_api.Tokenizer.SentencePiece.trans_regex_str"]], "trans_table_ids (sentencepiece attribute)": [[16, "novelai_api.Tokenizer.SentencePiece.trans_table_ids"]], "trans_table_str (sentencepiece attribute)": [[16, "novelai_api.Tokenizer.SentencePiece.trans_table_str"]], "highlevel (class in novelai_api._high_level)": [[17, "novelai_api._high_level.HighLevel"]], "__init__() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.__init__"]], "download_user_modules() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_modules"]], "download_user_presets() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_presets"]], "download_user_shelves() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_shelves"]], "download_user_stories() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_stories"]], "download_user_story_contents() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_story_contents"]], "generate() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.generate"]], "generate_image() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.generate_image"]], "generate_stream() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.generate_stream"]], "get_keystore() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.get_keystore"]], "login() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.login"]], "login_from_key() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.login_from_key"]], "login_with_token() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.login_with_token"]], "novelai_api._high_level": [[17, "module-novelai_api._high_level"]], "register() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.register"]], "set_keystore() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.set_keystore"]], "upload_user_content() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.upload_user_content"]], "upload_user_contents() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.upload_user_contents"]], "lowlevel (class in novelai_api._low_level)": [[18, "novelai_api._low_level.LowLevel"]], "lowlevel.subscriptiontier (class in novelai_api._low_level)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier"]], "opus (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.OPUS"]], "paper (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.PAPER"]], "scroll (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.SCROLL"]], "tablet (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.TABLET"]], "__init__() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.__init__"]], "bind_subscription() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.bind_subscription"]], "buy_steps() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.buy_steps"]], "change_access_key() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.change_access_key"]], "change_subscription() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.change_subscription"]], "classify() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.classify"]], "delete_account() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.delete_account"]], "delete_module() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.delete_module"]], "delete_object() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.delete_object"]], "download_object() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.download_object"]], "download_objects() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.download_objects"]], "generate() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate"]], "generate_controlnet_mask() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_controlnet_mask"]], "generate_image() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_image"]], "generate_prompt() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_prompt"]], "generate_voice() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_voice"]], "get_data() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_data"]], "get_information() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_information"]], "get_keystore() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_keystore"]], "get_priority() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_priority"]], "get_settings() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_settings"]], "get_subscription() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_subscription"]], "get_trained_module() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_trained_module"]], "get_trained_modules() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_trained_modules"]], "is_reachable() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.is_reachable"]], "is_schema_validation_enabled (lowlevel attribute)": [[18, "novelai_api._low_level.LowLevel.is_schema_validation_enabled"]], "login() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.login"]], "novelai_api._low_level": [[18, "module-novelai_api._low_level"]], "print_with_parameters() (in module novelai_api._low_level)": [[18, "novelai_api._low_level.print_with_parameters"]], "recover_account() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.recover_account"]], "register() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.register"]], "request() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.request"]], "request_account_recovery() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.request_account_recovery"]], "send_email_verification() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.send_email_verification"]], "set_keystore() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.set_keystore"]], "set_settings() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.set_settings"]], "suggest_tags() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.suggest_tags"]], "train_module() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.train_module"]], "upload_object() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.upload_object"]], "upload_objects() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.upload_objects"]], "upscale_image() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.upscale_image"]], "verify_email() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.verify_email"]], "argon_hash() (in module novelai_api.utils)": [[19, "novelai_api.utils.argon_hash"]], "b64_to_tokens() (in module novelai_api.utils)": [[19, "novelai_api.utils.b64_to_tokens"]], "compress_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.compress_user_data"]], "decompress_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.decompress_user_data"]], "decrypt_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.decrypt_data"]], "decrypt_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.decrypt_user_data"]], "encrypt_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.encrypt_data"]], "encrypt_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.encrypt_user_data"]], "extract_preset_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.extract_preset_data"]], "gather_asyncgenerator() (in module novelai_api.utils)": [[19, "novelai_api.utils.gather_asyncgenerator"]], "get_access_key() (in module novelai_api.utils)": [[19, "novelai_api.utils.get_access_key"]], "get_decrypted_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.get_decrypted_user_data"]], "get_encryption_key() (in module novelai_api.utils)": [[19, "novelai_api.utils.get_encryption_key"]], "link_content_to_story() (in module novelai_api.utils)": [[19, "novelai_api.utils.link_content_to_story"]], "novelai_api.utils": [[19, "module-novelai_api.utils"]], "tokenize_if_not() (in module novelai_api.utils)": [[19, "novelai_api.utils.tokenize_if_not"]], "tokens_to_b64() (in module novelai_api.utils)": [[19, "novelai_api.utils.tokens_to_b64"]], "unlink_content_from_story() (in module novelai_api.utils)": [[19, "novelai_api.utils.unlink_content_from_story"]], "aimodules_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.aimodules_integrity"]], "keystore_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.keystore_integrity"]], "preset_from_default() (in module tests.api.test_textgen_presets)": [[20, "tests.api.test_textgen_presets.preset_from_default"]], "preset_from_official() (in module tests.api.test_textgen_presets)": [[20, "tests.api.test_textgen_presets.preset_from_official"]], "presets_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.presets_integrity"]], "shelves_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.shelves_integrity"]], "stories_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.stories_integrity"]], "storycontent_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.storycontent_integrity"]], "test_presets() (in module tests.api.test_textgen_presets)": [[20, "tests.api.test_textgen_presets.test_presets"]], "tests.api.test_decrypt_encrypt_integrity_check": [[20, "module-tests.api.test_decrypt_encrypt_integrity_check"]], "tests.api.test_imagegen_samplers": [[20, "module-tests.api.test_imagegen_samplers"]], "tests.api.test_sync_gen": [[20, "module-tests.api.test_sync_gen"]], "tests.api.test_textgen_presets": [[20, "module-tests.api.test_textgen_presets"]], "api (class in tests.api.boilerplate)": [[21, "tests.api.boilerplate.API"]], "jsonencoder (class in tests.api.boilerplate)": [[21, "tests.api.boilerplate.JSONEncoder"]], "api_handle() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.api_handle"]], "api_handle_sync() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.api_handle_sync"]], "dumps() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.dumps"]], "error_handler() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.error_handler"]], "tests.api.boilerplate": [[21, "module-tests.api.boilerplate"]]}}) \ No newline at end of file +Search.setIndex({"docnames": ["example/example", "example/example.boilerplate", "index", "novelai_api/Full_list_of_modules", "novelai_api/novelai_api", "novelai_api/novelai_api.BanList", "novelai_api/novelai_api.BiasGroup", "novelai_api/novelai_api.GlobalSettings", "novelai_api/novelai_api.Idstore", "novelai_api/novelai_api.ImagePreset", "novelai_api/novelai_api.Keystore", "novelai_api/novelai_api.NovelAIError", "novelai_api/novelai_api.NovelAI_API", "novelai_api/novelai_api.Preset", "novelai_api/novelai_api.SchemaValidator", "novelai_api/novelai_api.StoryHandler", "novelai_api/novelai_api.Tokenizer", "novelai_api/novelai_api.high_level", "novelai_api/novelai_api.low_level", "novelai_api/novelai_api.utils", "tests/api/api", "tests/api/api.boilerplate", "tests/mock/mock"], "filenames": ["example/example.rst", "example/example.boilerplate.rst", "index.rst", "novelai_api/Full_list_of_modules.md", "novelai_api/novelai_api.rst", "novelai_api/novelai_api.BanList.rst", "novelai_api/novelai_api.BiasGroup.rst", "novelai_api/novelai_api.GlobalSettings.rst", "novelai_api/novelai_api.Idstore.rst", "novelai_api/novelai_api.ImagePreset.rst", "novelai_api/novelai_api.Keystore.rst", "novelai_api/novelai_api.NovelAIError.rst", "novelai_api/novelai_api.NovelAI_API.rst", "novelai_api/novelai_api.Preset.rst", "novelai_api/novelai_api.SchemaValidator.rst", "novelai_api/novelai_api.StoryHandler.rst", "novelai_api/novelai_api.Tokenizer.rst", "novelai_api/novelai_api.high_level.rst", "novelai_api/novelai_api.low_level.rst", "novelai_api/novelai_api.utils.rst", "tests/api/api.rst", "tests/api/api.boilerplate.rst", "tests/mock/mock.rst"], "titles": ["example directory", "boilerplate", "novelai-api", "<no title>", "novelai-api package", "novelai_api.BanList", "novelai_api.BiasGroup", "novelai_api.GlobalSettings", "novelai_api.Idstore", "novelai_api.ImagePreset", "novelai_api.Keystore", "novelai_api.NovelAIError", "novelai_api.NovelAI_API", "novelai_api.Preset", "novelai_api.SchemaValidator", "novelai_api.StoryHandler", "novelai_api.Tokenizer", "novelai_api.high_level", "novelai_api.low_level", "novelai_api.utils", "API directory", "boilerplate", "Mock directory"], "terms": {"nai_usernam": [0, 1, 20], "nai_password": [0, 1, 20], "valu": [0, 6, 7, 9, 13, 18, 20], "provid": [0, 8, 9, 11, 13, 16, 18, 20, 21], "via": [0, 17, 20], "environ": [0, 1, 20], "variabl": [0, 1, 20], "thei": [0, 20], "can": [0, 1, 2, 5, 6, 12, 17, 19, 20], "through": [0, 2, 17, 18, 20], "env": [0, 20], "file": [0, 9, 13, 20], "root": [0, 20], "project": [0, 20], "The": [0, 2, 9, 10, 12, 13, 17, 18, 20, 21], "nai_proxi": [0, 20], "i": [0, 2, 3, 5, 6, 7, 9, 10, 13, 16, 17, 18, 19, 20, 21], "also": [0, 9, 17, 20], "support": [0, 1, 3, 17, 18, 20, 21], "inject": [0, 20], "proxi": [0, 12, 15, 20], "address": [0, 1, 12, 18, 20], "If": [0, 17, 19], "you": [0, 2, 17], "have": [0, 3, 17, 19], "novelai": [0, 9, 12, 13, 17, 18], "api": [0, 1, 3, 11, 12, 13, 15, 17, 18, 19, 21], "packag": [0, 2], "instal": [0, 2, 20], "pip": [0, 2], "python": [0, 2, 13], "filenam": [0, 20], "don": 0, "t": [0, 2, 8, 15, 16, 18, 19], "re": [0, 16, 17], "activ": [0, 2], "develop": 0, "poetri": [0, 2, 20], "run": [0, 2, 20, 21], "rememb": [0, 20], "befor": [0, 2, 17, 18, 20, 21], "alreadi": [0, 19, 20], "done": [0, 17, 18, 20], "how": [0, 18], "download": [0, 2, 17, 18, 20], "decrypt": [0, 2, 10, 17, 19, 20], "modul": [0, 3, 4, 18], "from": [0, 2, 6, 7, 9, 10, 13, 15, 17, 18, 19], "account": [0, 2, 7, 9, 17, 18], "decompress": [0, 19, 20], "shelv": [0, 20], "stori": [0, 3, 15, 17, 19, 20], "queri": 0, "controlnet": [0, 9, 18], "mask": [0, 9, 18], "an": [0, 6, 7, 9, 12, 13, 18, 19, 21], "imag": [0, 9, 17, 18], "It": [0, 2, 3, 13, 17], "expect": [0, 11], "result": [0, 20], "png": [0, 9, 18], "exist": [0, 15, 17], "gener": [0, 3, 7, 9, 13, 15, 17, 18, 19], "thi": [0, 2, 12, 13, 15, 16, 17, 18, 20], "same": [0, 13], "folder": [0, 20], "note": 0, "current": [0, 7, 9, 12, 13, 18, 20], "return": [0, 5, 6, 7, 8, 9, 13, 15, 16, 17, 18, 19], "wrong": [0, 18], "due": 0, "convers": 0, "frontend": [0, 2], "see": [0, 17], "issu": 0, "15": 0, "place": 0, "name": [0, 3, 13, 14, 16, 17, 18, 20], "test": [0, 20, 21], "which": [0, 12, 20], "sampler": [0, 9, 20], "work": [0, 2, 9, 12, 13, 20], "creat": [0, 5, 6, 7, 8, 9, 10, 12, 15], "one": [0, 2, 9, 13, 17, 18], "per": 0, "control": 0, "net": [0, 2, 9, 12, 13], "img2img": [0, 9], "text": [0, 2, 3, 7, 13, 16, 17, 18], "direct": 0, "standard": 0, "error": [0, 11, 17, 21], "output": [0, 2, 18], "stderr": 0, "voic": [0, 18], "tt": [0, 18], "To": [0, 2, 17, 18], "speech": [0, 18], "audio": [0, 18], "sampl": [0, 9, 13], "input": [0, 2, 18], "limit": [0, 17, 18], "1000": [0, 18], "charact": [0, 18], "cut": [0, 18], "backend": [0, 18], "tag": [0, 2, 18], "suggest": [0, 18], "gen": [0, 18], "upscal": [0, 18], "should": [0, 2, 10, 13, 15, 17, 18], "512x768": 0, "default": [0, 1, 9, 12, 13, 18, 21], "modifi": 0, "image_s": 0, "chang": [0, 9, 18], "boilerpl": [0, 20], "jsonencod": [0, 1, 20, 21], "dump": [0, 1, 20, 21], "class": [1, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 20, 21], "sourc": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "base": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21], "object": [1, 2, 5, 6, 7, 8, 9, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "redund": 1, "part": 1, "us": [1, 3, 5, 6, 7, 9, 12, 13, 16, 17, 18, 20, 21], "context": [1, 13, 17, 18], "manag": [1, 2, 9], "automat": 1, "login": [1, 2, 17, 18], "usag": 1, "async": [1, 15, 17, 18, 19, 20, 21], "encryption_kei": [1, 21], "logger": [1, 12, 21], "do": [1, 9, 21], "stuff": 1, "A": [1, 2, 17, 18], "custom": 1, "pass": [1, 2, 17, 18], "constructor": [1, 20], "replac": [1, 3, 15, 17], "base_address": [1, 12], "__init__": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21], "option": [1, 9, 10, 12, 13, 15, 17, 18, 19, 21], "str": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 21], "none": [1, 9, 11, 12, 13, 15, 17, 18, 19, 21], "log": [1, 12, 17, 18, 21], "novelai_api": [1, 2, 4, 21], "novelaiapi": [1, 2, 4, 12, 15, 17, 18, 21], "properti": [1, 12, 21], "json": [1, 21], "encod": [1, 2, 9, 16, 17, 18, 19, 21], "extend": [1, 21], "byte": [1, 9, 10, 13, 15, 17, 18, 19, 21], "o": [1, 9, 13, 16, 19, 21], "ani": [1, 2, 6, 7, 9, 10, 13, 14, 15, 17, 18, 19, 21], "e": [1, 2, 21], "shortcut": [1, 21], "configur": [1, 9, 13, 21], "consist": [1, 20, 21], "rest": 2, "intend": 2, "helper": [2, 12], "": [2, 3, 16, 17, 18, 20], "categori": 2, "badg": 2, "pypi": 2, "qualiti": 2, "stat": 2, "retir": 2, "version": [2, 9, 13, 18], "3": [2, 9, 13, 18], "7": [2, 13], "2": [2, 9, 13, 15, 18], "final": [2, 18], "commit": 2, "found": [2, 7, 13], "py": 2, "g": 2, "py3": 2, "endpoint": [2, 18], "m": 2, "get_access_kei": [2, 4, 19], "usernam": [2, 17], "password": [2, 17, 19], "valid": [2, 9, 13, 14, 18], "30": 2, "dai": 2, "requir": 2, "most": [2, 17, 18], "get_access_token": 2, "user": [2, 17], "content": [2, 17, 18, 19], "print": [2, 18], "what": 2, "couldn": 2, "sanity_check": 2, "b64": [2, 9, 17, 18, 19], "model": [2, 3, 4, 5, 6, 7, 9, 13, 15, 16, 17, 18, 19], "data": [2, 6, 10, 13, 17, 18, 19], "full": 2, "list": [2, 4, 5, 6, 13, 15, 16, 18, 19], "avail": 2, "directori": 2, "split": 2, "group": [2, 6], "low": [2, 12, 18], "level": [2, 3, 12, 17, 18], "interfac": 2, "strict": 2, "implement": [2, 18], "offici": [2, 13], "http": [2, 9, 12, 13], "onli": [2, 6, 13, 18, 20], "type": [2, 9, 17, 18], "assert": 2, "schema": [2, 18], "is_schema_validation_en": [2, 18], "true": [2, 5, 6, 17, 18], "high": [2, 9, 12, 17], "build": [2, 17, 18], "easier": 2, "handl": [2, 16, 21], "complex": 2, "set": [2, 7, 9, 13, 17, 18], "mani": 2, "task": 2, "all": [2, 3, 17, 18, 19, 20], "relev": [2, 13, 17, 18], "ar": [2, 13, 17, 18], "venv": 2, "featur": 2, "enhanc": 2, "pr": 2, "pre": [2, 17], "submiss": 2, "hook": 2, "nai": [2, 9, 11, 20], "warn": [2, 18], "wip": 2, "doe": [2, 15, 19], "yet": [2, 8], "local": 2, "viewabl": 2, "html": [2, 9, 13], "index": [2, 15, 18, 19], "trello": 2, "banlist": [2, 4, 15, 17], "biasgroup": [2, 4, 15, 17], "globalset": [2, 4, 15, 17], "idstor": [2, 4, 15], "imagepreset": [2, 4, 16, 17, 18], "keystor": [2, 4, 15, 17, 18, 19, 20], "novelaierror": [2, 4, 17], "preset": [2, 4, 5, 6, 7, 9, 15, 16, 17, 18, 19, 20], "schemavalid": [2, 4], "storyhandl": [2, 4], "util": [2, 4, 10, 17], "calliop": [3, 17], "snek": [3, 13, 17], "genji": [3, 7, 13, 17], "special_open": [3, 17], "specif": [3, 17, 20], "train": [3, 17, 18], "previous": [3, 15, 17], "preambl": [3, 4, 13, 17], "begin": [3, 17], "under": [3, 17, 20], "certain": [3, 17, 18], "condit": [3, 17], "id": [3, 8, 15, 17, 18, 19], "No": [3, 17], "vanilla": [3, 17], "special": [3, 17], "adventur": [3, 17], "theme_textadventur": [3, 17], "prose": [3, 17], "augment": [3, 17], "special_proseaugment": [3, 17], "sigurd": [3, 13, 17], "euterp": [3, 13, 15, 17], "clio": [3, 13, 17], "kayra": [3, 13, 17], "instruct": [3, 17], "experiment": [3, 17], "special_instruct": [3, 17], "cross": [3, 17], "genr": [3, 17], "general_crossgenr": [3, 17], "krake": [3, 13, 17], "style": [3, 17], "algernon": [3, 17], "blackwood": [3, 17], "style_algernonblackwood": [3, 17], "arthur": [3, 17], "conan": [3, 17], "doyl": [3, 17], "style_arthurconandoyl": [3, 17], "edgar": [3, 17], "allan": [3, 17], "poe": [3, 17], "style_edgarallanpo": [3, 17], "h": [3, 17], "p": [3, 17], "lovecraft": [3, 17], "style_hplovecraft": [3, 17], "sheridan": [3, 17], "le": [3, 17], "fanu": [3, 17], "style_shridanlefanu": [3, 17], "jane": [3, 17], "austen": [3, 17], "style_janeausten": [3, 17], "jule": [3, 17], "vern": [3, 17], "style_julesvern": [3, 17], "william": [3, 17], "shakespear": [3, 17], "style_williamshakespear": [3, 17], "theme": [3, 17], "19th": [3, 17], "centuri": [3, 17], "romanc": [3, 17], "theme_19thcenturyrom": [3, 17], "action": [3, 17, 18], "archeologi": [3, 17], "theme_actionarcheologi": [3, 17], "artifici": [3, 17], "intellig": [3, 17], "theme_ai": [3, 17], "ancient": [3, 17], "china": [3, 17], "theme_ancientchina": [3, 17], "greec": [3, 17], "theme_ancientgreek": [3, 17], "india": [3, 17], "theme_india": [3, 17], "anim": [3, 17], "fiction": [3, 17], "theme_animalfict": [3, 17], "anthropomorph": [3, 17], "theme_anthropomorphicanim": [3, 17], "children": [3, 17], "theme_children": [3, 17], "christma": [3, 17], "theme_christma": [3, 17], "comed": [3, 17], "fantasi": [3, 17], "theme_comedicfantasi": [3, 17], "contemporari": [3, 17], "theme_contemporari": [3, 17], "cyberpunk": [3, 17], "theme_cyberpunk": [3, 17], "dark": [3, 17], "theme_darkfantasi": [3, 17], "dragon": [3, 17], "theme_dragon": [3, 17], "egypt": [3, 17], "theme_egypt": [3, 17], "feudal": [3, 17], "japan": [3, 17], "theme_feudaljapan": [3, 17], "game": [3, 17], "theme_gam": [3, 17], "theme_generalfantasi": [3, 17], "golden": [3, 17], "ag": [3, 17], "scifi": [3, 17], "theme_goldenagescifi": [3, 17], "hard": [3, 17], "sf": [3, 17], "theme_hardsf": [3, 17], "histori": [3, 17], "theme_histori": [3, 17], "horror": [3, 17], "theme_horror": [3, 17], "hunter": [3, 17], "gather": [3, 17, 19], "theme_huntergather": [3, 17], "litrpg": [3, 17], "theme_litrpg": [3, 17], "magic": [3, 17], "academi": [3, 17], "theme_magicacademi": [3, 17], "librari": [3, 17], "theme_librari": [3, 17], "light": [3, 13, 17], "novel": [3, 17], "theme_lightnovel": [3, 17], "mar": [3, 17], "colon": [3, 17], "theme_mar": [3, 17], "mediev": [3, 17], "theme_mediev": [3, 17], "militari": [3, 17], "theme_militaryscifi": [3, 17], "music": [3, 17], "theme_mus": [3, 17], "mysteri": [3, 17], "theme_mysteri": [3, 17], "natur": [3, 17], "theme_natur": [3, 17], "naval": [3, 17], "discoveri": [3, 17], "theme_nav": [3, 17], "noir": [3, 17], "theme_noir": [3, 17], "philosophi": [3, 17], "theme_philosophi": [3, 17], "pirat": [3, 17], "theme_pir": [3, 17], "poetic": [3, 17], "theme_poeticfantasi": [3, 17], "post": [3, 17, 18], "apocalypt": [3, 17], "theme_postapocalypt": [3, 17], "rat": [3, 17], "theme_rat": [3, 17], "roman": [3, 17], "empir": [3, 17], "theme_romanempir": [3, 17], "scienc": [3, 17], "theme_sciencefantasi": [3, 17], "space": [3, 17], "opera": [3, 17], "theme_spaceopera": [3, 17], "superhero": [3, 17], "theme_superhero": [3, 17], "steampunk": [3, 17], "theme_airship": [3, 17], "travel": [3, 17], "theme_travel": [3, 17], "urban": [3, 17], "theme_urbanfantasi": [3, 17], "valentin": [3, 17], "theme_valentin": [3, 17], "vike": [3, 17], "theme_vik": [3, 17], "weird": [3, 17], "west": [3, 17], "theme_weirdwest": [3, 17], "western": [3, 17], "theme_westernrom": [3, 17], "inspir": [3, 17], "crab": [3, 17], "snail": [3, 17], "monkei": [3, 17], "inspiration_crabsnailandmonkei": [3, 17], "mercantil": [3, 17], "wolfgirl": [3, 17], "inspiration_mercantilewolfgirlrom": [3, 17], "nervegear": [3, 17], "inspiration_nervegear": [3, 17], "three": [3, 17], "kingdom": [3, 17], "theme_romanceofthreekingdom": [3, 17], "throne": [3, 17], "war": [3, 17], "inspiration_thronewar": [3, 17], "witch": [3, 17], "cap": [3, 17], "inspiration_witchatlevelcap": [3, 17], "low_level": [4, 9, 12], "print_with_paramet": [4, 18], "lowlevel": [4, 12, 18], "high_level": [4, 12], "highlevel": [4, 12, 17], "imagemodel": [4, 9, 16, 17, 18], "controlnetmodel": [4, 9, 18], "imageresolut": [4, 9], "imagesampl": [4, 9, 18], "ucpreset": [4, 9], "imagegenerationtyp": [4, 9, 17, 18], "order": [4, 13], "enum_contain": [4, 13], "collapse_model": [4, 13], "strenum": [4, 13], "phrasereppen": [4, 13], "presetview": [4, 13], "novelaistori": [4, 15], "novelaistorystorag": [4, 15], "token": [4, 5, 6, 7, 13, 17, 18, 19], "sentencepiec": [4, 16], "argon_hash": [4, 19], "get_encryption_kei": [4, 10, 19], "decrypt_data": [4, 19], "encrypt_data": [4, 19], "decompress_user_data": [4, 19], "compress_user_data": [4, 19], "decrypt_user_data": [4, 17, 19], "encrypt_user_data": [4, 17, 19], "link_content_to_stori": [4, 19], "unlink_content_from_stori": [4, 19], "get_decrypted_user_data": [4, 19], "tokens_to_b64": [4, 19], "b64_to_token": [4, 17, 19], "extract_preset_data": [4, 19], "tokenize_if_not": [4, 19], "gather_asyncgener": [4, 19], "sequenc": [5, 6, 13], "union": [5, 6, 9, 12, 13, 16, 17, 18, 19], "int": [5, 6, 7, 9, 11, 13, 15, 16, 17, 18, 19, 21], "enabl": [5, 6, 9, 13, 18], "bool": [5, 6, 7, 9, 13, 15, 17, 18, 19, 21], "ban": [5, 17], "given": [5, 13, 18], "element": [5, 6], "string": [5, 6, 17, 18, 19], "recommend": [5, 6], "flexibl": [5, 6], "between": [5, 6, 12], "paramet": [5, 6, 7, 9, 10, 12, 13, 15, 16, 17, 18, 19, 21], "add": [5, 6, 16, 21], "dict": [5, 6, 7, 9, 10, 13, 15, 16, 17, 18, 19], "get_tokenized_entri": [5, 6], "iter": [5, 6, 17, 19], "bia": [6, 17], "float": [6, 9, 12, 13, 18], "ensure_sequence_finish": 6, "fals": [6, 13, 15, 17, 18, 19, 21], "generate_onc": 6, "neg": 6, "downbia": 6, "posit": 6, "upbia": 6, "ensur": [6, 20], "complet": [6, 17, 18], "bias": [6, 7, 15, 17], "first": [6, 21], "occurr": 6, "classmethod": [6, 9, 13, 14, 16], "from_data": 6, "store": [7, 9, 13, 17], "global": [7, 17], "generate_until_sent": 7, "up": [7, 17], "20": 7, "after": [7, 13, 21], "max_length": [7, 13], "end": [7, 15], "sentenc": 7, "within": 7, "num_logprob": 7, "number": [7, 9, 13, 18, 21], "logprob": 7, "each": [7, 16, 17, 19, 21], "no_logprob": 7, "disabl": [7, 13, 18, 20], "ban_bracket": 7, "appli": 7, "bracket": 7, "bias_dinkus_aster": 7, "dinkus_aster": 7, "ban_ambiguous_genji_token": 7, "genji_ambiguous_token": 7, "rep_pen_whitelist": 7, "repetit": [7, 13], "penalti": [7, 13], "whitelist": [7, 13], "1": [7, 9, 11, 13, 18, 20], "copi": [7, 9, 13], "new": [7, 8, 9, 10, 12, 13, 17, 18], "to_set": [7, 9, 13], "regist": [8, 17, 18], "arg": [8, 18], "everi": 8, "item": [8, 19], "must": [8, 17, 18, 19, 21], "retriev": [8, 17, 19], "download_user_cont": 8, "uniqu": 8, "hasn": 8, "been": [8, 17, 18, 19], "enum": [9, 13, 18], "suggest_tag": [9, 18], "generate_imag": [9, 17, 18], "anime_cur": 9, "safe": 9, "diffus": 9, "anime_ful": 9, "furri": 9, "inainting_anime_cur": 9, "inpaint": 9, "inpainting_anime_ful": 9, "inpainting_furri": 9, "anime_v2": 9, "anime_v3": 9, "inpainting_anime_v3": 9, "controlnet_model": 9, "generate_controlnet_mask": [9, 18], "palette_swap": 9, "hed": 9, "form_lock": 9, "mida": 9, "scribbler": 9, "fake_scribbl": 9, "building_control": 9, "mlsd": 9, "landscap": 9, "uniform": 9, "resolut": 9, "wallpaper_portrait": 9, "1088": 9, "1920": 9, "wallpaper_landscap": 9, "small_portrait": 9, "384": 9, "640": 9, "small_landscap": 9, "small_squar": 9, "512": 9, "normal_portrait": 9, "768": 9, "normal_landscap": 9, "normal_squar": 9, "large_portrait": 9, "1024": 9, "large_landscap": 9, "large_squar": 9, "small_portrait_v2": 9, "small_landscape_v2": 9, "small_square_v2": 9, "normal_portrait_v2": 9, "832": 9, "1216": 9, "normal_landscape_v2": 9, "normal_square_v2": 9, "large_portrait_v2": 9, "1536": 9, "large_landscape_v2": 9, "large_square_v2": 9, "1472": 9, "small_portrait_v3": 9, "small_landscape_v3": 9, "small_square_v3": 9, "normal_portrait_v3": 9, "normal_landscape_v3": 9, "normal_square_v3": 9, "large_portrait_v3": 9, "large_landscape_v3": 9, "large_square_v3": 9, "k_lm": 9, "k_euler": 9, "k_euler_ancestr": 9, "k_heun": 9, "plm": 9, "ddim": 9, "ddim_v3": 9, "nai_smea": 9, "nai_smea_dyn": 9, "k_dpmpp_2m": 9, "k_dpmpp_2s_ancestr": 9, "k_dpmpp_sde": 9, "k_dpm_2": 9, "k_dpm_2_ancestr": 9, "k_dpm_adapt": 9, "k_dpm_fast": 9, "uc": 9, "uc_preset": 9, "preset_low_quality_bad_anatomi": 9, "0": [9, 13, 18], "preset_low_qu": 9, "preset_bad_anatomi": 9, "preset_non": 9, "preset_heavi": 9, "4": [9, 13, 18], "preset_light": 9, "5": [9, 13, 21], "normal": [9, 17], "infil": 9, "quality_toggl": 9, "doc": [9, 13], "qualitytag": 9, "tupl": [9, 17, 18, 19], "width": [9, 18], "height": [9, 18], "prepend": 9, "n_sampl": 9, "seed": [9, 18], "random": [9, 10, 13], "ith": 9, "ha": [9, 17, 18, 19], "nois": 9, "strengthnois": 9, "strength": 9, "scale": [9, 18], "stepsguid": 9, "call": [9, 17, 18, 21], "prompt": [9, 13, 17, 18], "guidanc": 9, "uncond_scal": 9, "todo": 9, "step": [9, 18], "undesiredcont": 9, "smea": 9, "make": [9, 12], "larg": 9, "smea_dyn": 9, "dyn": 9, "best": 9, "wallpap": 9, "controlnet_condit": [9, 18], "gotten": [9, 17], "method": [9, 16, 17, 18, 19], "controlnet_strength": 9, "influenc": 9, "chosen": [9, 13, 16], "decrisp": 9, "reduc": 9, "deepfri": 9, "effect": 9, "twitter": 9, "com": [9, 13], "birchlab": 9, "statu": [9, 11, 18], "1582165379832348672": 9, "add_original_imag": 9, "prevent": 9, "seam": 9, "along": 9, "edg": 9, "mai": 9, "slightli": 9, "black": 9, "white": 9, "area": 9, "cfg_rescal": 9, "rescal": 9, "noise_schedul": 9, "nativ": 9, "karra": 9, "exponenti": 9, "polyexponenti": 9, "last_se": 9, "when": [9, 11, 13, 17], "metadata": 9, "might": 9, "hassl": 9, "legaci": [9, 18], "updat": [9, 13], "kwarg": [9, 13, 17], "like": [9, 13], "instanc": [9, 15], "function": [9, 13, 17, 18, 21], "get": [9, 13, 16, 18], "get_max_n_sampl": 9, "allow": [9, 18], "max": 9, "calculate_cost": 9, "is_opu": 9, "generation_typ": 9, "calcul": 9, "cost": 9, "anla": 9, "subscript": [9, 18], "tier": [9, 18], "opu": [9, 18], "free": [9, 15, 18], "so": 9, "txt2img": 9, "etc": 9, "from_fil": [9, 13], "path": [9, 13], "pathlik": [9, 13], "write": [9, 13], "read": 9, "to_fil": [9, 13], "load": [9, 15], "meta": [10, 15, 17, 18], "assign": 10, "nonc": [10, 19], "kei": [10, 15, 17, 18, 19], "encrypt": [10, 17, 18, 19, 20], "comput": [10, 17], "except": 11, "rais": [11, 21], "problem": [11, 20], "occur": 11, "url": [11, 12], "messag": 11, "caus": 11, "code": 11, "wa": [11, 13, 18], "lib_root": 12, "home": 12, "runner": 12, "session": 12, "aiohttp": 12, "client": 12, "clientsess": 12, "interact": 12, "attribut": 12, "purpos": 12, "attach_sess": 12, "detach_sess": 12, "switch": 12, "synchron": 12, "asynchron": 12, "request": [12, 17, 18], "attach": 12, "empti": [12, 13], "header": 12, "multidict": 12, "_multidict": 12, "cimultidict": 12, "cooki": 12, "simplecooki": 12, "yarl": 12, "proxy_auth": 12, "basicauth": 12, "authent": 12, "_low_level": 12, "thin": 12, "wrapper": [12, 16], "_high_level": 12, "abstract": [12, 16], "top": [12, 13, 17, 18], "detach": 12, "timeout": 12, "second": [12, 19, 21], "intenum": [13, 18], "enumer": 13, "temperatur": [13, 18], "top_k": 13, "top_p": 13, "tf": 13, "top_a": 13, "typical_p": 13, "cfg": 13, "6": 13, "top_g": 13, "mirostat": 13, "8": 13, "enum_class": 13, "enummeta": 13, "check": [13, 17, 18, 20], "collaps": 13, "multipl": [13, 17, 18], "last": 13, "6b": 13, "v4": 13, "v2": [13, 15, 18], "v1": [13, 18], "jp": 13, "hypebot": 13, "inlin": 13, "infillmodel": 13, "enum_member_valu": 13, "off": 13, "verylight": 13, "very_light": 13, "medium": 13, "aggress": 13, "veryaggress": 13, "very_aggress": 13, "n": [13, 20], "author": 13, "variou": [13, 18], "prologu": 13, "60": 13, "198": 13, "endoftext": 13, "sent": [13, 18, 19], "officials_valu": 13, "diversity_penalti": 13, "length_penalti": 13, "40": 13, "min_length": 13, "phrase_rep_pen": 13, "repetition_penalti": 13, "repetition_penalty_default_whitelist": 13, "repetition_penalty_frequ": 13, "repetition_penalty_pres": 13, "repetition_penalty_rang": 13, "repetition_penalty_slop": 13, "repetition_penalty_whitelist": 13, "stop_sequ": [13, 17], "tail_free_sampl": 13, "textgenerationsettingsvers": 13, "naidb": 13, "mirahez": 13, "org": 13, "wiki": 13, "generation_set": 13, "randomness_": 13, "respons": [13, 18], "length": [13, 18], "interrupt": 13, "stop": [13, 17], "minimum": 13, "k_sampl": 13, "a_sampl": 13, "nucleus_sampl": 13, "typical_sampl": 13, "arxiv": 13, "pdf": 13, "2202": 13, "00666": 13, "tail": 13, "free_sampl": 13, "1909": 13, "05858": 13, "rang": 13, "cover": 13, "platform": 13, "openai": 13, "refer": 13, "detail": 13, "exclud": 13, "color": 13, "whether": 13, "compat": 13, "save": [13, 15], "huggingfac": 13, "co": 13, "transform": [13, 19], "main_class": 13, "pretrainedconfig": 13, "cfg_scale": 13, "cfg_uc": 13, "editor": 13, "sliderset": 13, "advanc": 13, "mirostat_lr": 13, "mirostat_tau": 13, "pad_token_id": 13, "text_gener": 13, "generationconfig": 13, "bos_token_id": 13, "eos_token_id": 13, "max_tim": 13, "no_repeat_ngram_s": 13, "encoder_no_repeat_ngram_s": 13, "num_return_sequ": 13, "get_hidden_st": 13, "output_hidden_st": 13, "sampling_opt": 13, "state": 13, "set_sampling_options_st": 13, "sampling_options_st": 13, "come": 13, "noreturn": [13, 18], "instanti": 13, "from_preset_data": 13, "from_offici": [13, 20], "mean": [13, 17], "from_default": [13, 20], "obj": 14, "text_generation_settings_vers": 15, "default_model": 15, "prefix": [15, 17], "global_set": [15, 17], "storycont": [15, 17, 20], "tree": 15, "context_s": 15, "build_context": 15, "edit": 15, "start": [15, 17, 18], "undo": 15, "redo": 15, "upload": [15, 17, 18], "choos": 15, "flatten": 15, "delet": [15, 18], "get_current_tre": 15, "storag": [15, 18], "here": 15, "load_from_remot": 15, "select": [15, 18], "story_id": 15, "ones": 15, "handler": 15, "unload": 15, "ing": 15, "novelai_storyproxi": 15, "sentencepieceprocessor": 16, "around": 16, "decod": [16, 17, 19], "model_path": 16, "trans_table_id": 16, "trans_table_str": 16, "trans_regex_str": 16, "pattern": 16, "workaround": 16, "need": [16, 18], "becaus": 16, "cannot": 16, "some": 16, "behind": 16, "get_tokenizer_nam": 16, "meant": [17, 18], "directli": [17, 18, 21], "rather": [17, 18], "parent": [17, 18], "recapcha": [17, 18], "email": [17, 18, 19], "send_mail": 17, "giftkei": [17, 18], "websit": [17, 18], "send": [17, 18], "mail": 17, "hash": [17, 18], "recoveri": [17, 18], "success": [17, 18], "access": [17, 18], "login_with_token": 17, "access_token": 17, "instead": 17, "persist": 17, "login_from_kei": 17, "access_kei": [17, 18], "get_keystor": [17, 18, 19], "readabl": [17, 18], "manner": 17, "map": 17, "throw": 17, "repeatedli": 17, "your": [17, 18], "internet": 17, "connect": 17, "integr": [17, 20], "lose": [17, 18], "overwrit": [17, 18], "set_keystor": [17, 18], "raw": [17, 18], "serial": [17, 18], "download_user_stori": 17, "download_user_story_cont": 17, "download_user_preset": 17, "download_user_modul": 17, "aimodul": [17, 20], "download_user_shelv": 17, "shelf": 17, "upload_user_cont": 17, "compress": [17, 19, 20], "succeed": 17, "otherwis": 17, "even": 17, "fail": 17, "bad_word": 17, "onc": 17, "finish": [17, 18], "As": [17, 18], "accept": [17, 18, 21], "go": [17, 18], "beyond": [17, 18], "truncat": [17, 18], "give": 17, "ai": [17, 18], "down": 17, "addit": 17, "generate_stream": 17, "asynciter": [17, 18, 19], "time": [17, 19, 21], "describ": 17, "want": 17, "pair": [17, 18], "nice": 18, "wai": 18, "download_object": 18, "stream": 18, "is_reach": 18, "reachabl": 18, "change_access_kei": 18, "current_kei": 18, "new_kei": 18, "new_email": 18, "send_email_verif": 18, "verif": 18, "verify_email": 18, "verification_token": 18, "get_inform": 18, "extens": 18, "inform": 18, "about": 18, "request_account_recoveri": 18, "lost": 18, "differ": 18, "recover_account": 18, "recovery_token": 18, "delete_cont": 18, "recov": 18, "delete_account": 18, "get_data": 18, "get_prior": 18, "prioriti": 18, "system": 18, "isn": 18, "realli": 18, "import": 18, "subscriptionti": 18, "paper": 18, "trial": 18, "tablet": 18, "scroll": 18, "get_subscript": 18, "equal": 18, "object_typ": 18, "upload_object": 18, "link": [18, 19], "object_id": 18, "delete_object": 18, "get_set": 18, "format": 18, "arbitrari": 18, "set_set": 18, "bind_subscript": 18, "payment_processor": 18, "subscription_id": 18, "bind": 18, "payment": 18, "renew": 18, "monthli": 18, "change_subscript": 18, "new_plan": 18, "still": 18, "bound": 18, "param": 18, "generate_prompt": 18, "temp": 18, "upscale_imag": 18, "afaik": 18, "factor": 18, "classifi": 18, "Not": 18, "confid": 18, "consid": 18, "much": 18, "dataset": 18, "other": [18, 20], "similar": 18, "generate_voic": 18, "synthes": 18, "side": 18, "webm": 18, "mp3": 18, "train_modul": 18, "rate": 18, "desc": 18, "singl": 18, "learn": 18, "descript": 18, "being": 18, "get_trained_modul": 18, "module_id": 18, "delete_modul": 18, "got": 18, "buy_step": 18, "amount": 18, "size": 19, "domain": 19, "is_compress": 19, "ref": 19, "doesn": 19, "utf8": 19, "translat": 19, "won": 19, "story_cont": 19, "remov": 19, "filter": 19, "out": 19, "base64": 19, "agen": 19, "asyncgener": 19, "For": 20, "pytest": [20, 21], "scheme": 20, "keystore_integr": 20, "verifi": 20, "stories_integr": 20, "storycontent_integr": 20, "presets_integr": 20, "aimodules_integr": 20, "shelves_integr": 20, "sync": [20, 21], "capabl": 20, "without": [20, 21], "right": 20, "job": 20, "pertain": 20, "test_preset": 20, "preset_from_default": 20, "preset_from_offici": 20, "automodul": 20, "member": 20, "error_handl": [20, 21], "api_handl": [20, 21], "api_handle_sync": [20, 21], "func_ext": 21, "callabl": 21, "await": 21, "attempt": 21, "wait": 21, "decor": 21, "argument": 21, "substitut": 21, "func": 21, "fixtur": 21}, "objects": {"example": [[1, 0, 0, "-", "boilerplate"], [0, 0, 0, "-", "download_modules"], [0, 0, 0, "-", "download_presets"], [0, 0, 0, "-", "download_shelves"], [0, 0, 0, "-", "download_stories_and_content"], [0, 0, 0, "-", "generate_controlnet_masks"], [0, 0, 0, "-", "generate_image"], [0, 0, 0, "-", "generate_image_test_samplers"], [0, 0, 0, "-", "generate_image_with_controlnet"], [0, 0, 0, "-", "generate_image_with_img2img"], [0, 0, 0, "-", "generate_text"], [0, 0, 0, "-", "generate_voice"], [0, 0, 0, "-", "login"], [0, 0, 0, "-", "login_with_proxy"], [0, 0, 0, "-", "suggest_tags"], [0, 0, 0, "-", "upscale_image"]], "example.boilerplate": [[1, 1, 1, "", "API"], [1, 1, 1, "", "JSONEncoder"], [1, 5, 1, "", "dumps"]], "example.boilerplate.API": [[1, 2, 1, "", "__init__"], [1, 3, 1, "", "api"], [1, 4, 1, "", "encryption_key"], [1, 3, 1, "", "logger"]], "example.boilerplate.JSONEncoder": [[1, 2, 1, "", "default"]], "novelai_api": [[5, 0, 0, "-", "BanList"], [6, 0, 0, "-", "BiasGroup"], [7, 0, 0, "-", "GlobalSettings"], [8, 0, 0, "-", "Idstore"], [9, 0, 0, "-", "ImagePreset"], [10, 0, 0, "-", "Keystore"], [11, 0, 0, "-", "NovelAIError"], [12, 0, 0, "-", "NovelAI_API"], [13, 0, 0, "-", "Preset"], [14, 0, 0, "-", "SchemaValidator"], [15, 0, 0, "-", "StoryHandler"], [16, 0, 0, "-", "Tokenizer"], [17, 0, 0, "-", "_high_level"], [18, 0, 0, "-", "_low_level"], [19, 0, 0, "-", "utils"]], "novelai_api.BanList": [[5, 1, 1, "", "BanList"]], "novelai_api.BanList.BanList": [[5, 2, 1, "", "__init__"], [5, 2, 1, "", "add"], [5, 3, 1, "", "enabled"], [5, 2, 1, "", "get_tokenized_entries"]], "novelai_api.BiasGroup": [[6, 1, 1, "", "BiasGroup"]], "novelai_api.BiasGroup.BiasGroup": [[6, 2, 1, "", "__init__"], [6, 2, 1, "", "add"], [6, 3, 1, "", "bias"], [6, 3, 1, "", "enabled"], [6, 3, 1, "", "ensure_sequence_finish"], [6, 2, 1, "", "from_data"], [6, 3, 1, "", "generate_once"], [6, 2, 1, "", "get_tokenized_entries"]], "novelai_api.GlobalSettings": [[7, 1, 1, "", "GlobalSettings"]], "novelai_api.GlobalSettings.GlobalSettings": [[7, 3, 1, "", "NO_LOGPROBS"], [7, 2, 1, "", "__init__"], [7, 3, 1, "", "ban_ambiguous_genji_tokens"], [7, 3, 1, "", "ban_brackets"], [7, 3, 1, "", "bias_dinkus_asterism"], [7, 2, 1, "", "copy"], [7, 3, 1, "", "generate_until_sentence"], [7, 3, 1, "", "num_logprobs"], [7, 3, 1, "", "rep_pen_whitelist"], [7, 2, 1, "", "to_settings"]], "novelai_api.Idstore": [[8, 1, 1, "", "Idstore"]], "novelai_api.Idstore.Idstore": [[8, 2, 1, "", "__init__"], [8, 2, 1, "", "create"], [8, 2, 1, "", "register"]], "novelai_api.ImagePreset": [[9, 1, 1, "", "ControlNetModel"], [9, 1, 1, "", "ImageGenerationType"], [9, 1, 1, "", "ImageModel"], [9, 1, 1, "", "ImagePreset"], [9, 1, 1, "", "ImageResolution"], [9, 1, 1, "", "ImageSampler"], [9, 1, 1, "", "UCPreset"]], "novelai_api.ImagePreset.ControlNetModel": [[9, 3, 1, "", "Building_Control"], [9, 3, 1, "", "Form_Lock"], [9, 3, 1, "", "Landscaper"], [9, 3, 1, "", "Palette_Swap"], [9, 3, 1, "", "Scribbler"]], "novelai_api.ImagePreset.ImageGenerationType": [[9, 3, 1, "", "IMG2IMG"], [9, 3, 1, "", "INPAINTING"], [9, 3, 1, "", "NORMAL"]], "novelai_api.ImagePreset.ImageModel": [[9, 3, 1, "", "Anime_Curated"], [9, 3, 1, "", "Anime_Full"], [9, 3, 1, "", "Anime_v2"], [9, 3, 1, "", "Anime_v3"], [9, 3, 1, "", "Furry"], [9, 3, 1, "", "Inainting_Anime_Curated"], [9, 3, 1, "", "Inpainting_Anime_Full"], [9, 3, 1, "", "Inpainting_Anime_v3"], [9, 3, 1, "", "Inpainting_Furry"]], "novelai_api.ImagePreset.ImagePreset": [[9, 2, 1, "", "__init__"], [9, 3, 1, "", "add_original_image"], [9, 2, 1, "", "calculate_cost"], [9, 3, 1, "", "cfg_rescale"], [9, 3, 1, "", "controlnet_condition"], [9, 3, 1, "", "controlnet_model"], [9, 3, 1, "", "controlnet_strength"], [9, 2, 1, "", "copy"], [9, 3, 1, "", "decrisper"], [9, 2, 1, "", "from_file"], [9, 2, 1, "", "get_max_n_samples"], [9, 3, 1, "", "image"], [9, 3, 1, "", "last_seed"], [9, 3, 1, "", "mask"], [9, 3, 1, "", "n_samples"], [9, 3, 1, "", "noise"], [9, 3, 1, "", "noise_schedule"], [9, 3, 1, "", "quality_toggle"], [9, 3, 1, "", "resolution"], [9, 3, 1, "", "sampler"], [9, 3, 1, "", "scale"], [9, 3, 1, "", "seed"], [9, 3, 1, "", "smea"], [9, 3, 1, "", "smea_dyn"], [9, 3, 1, "", "steps"], [9, 3, 1, "", "strength"], [9, 2, 1, "", "to_file"], [9, 2, 1, "", "to_settings"], [9, 3, 1, "", "uc"], [9, 3, 1, "", "uc_preset"], [9, 3, 1, "", "uncond_scale"], [9, 2, 1, "", "update"]], "novelai_api.ImagePreset.ImageResolution": [[9, 3, 1, "", "Large_Landscape"], [9, 3, 1, "", "Large_Landscape_v2"], [9, 3, 1, "", "Large_Landscape_v3"], [9, 3, 1, "", "Large_Portrait"], [9, 3, 1, "", "Large_Portrait_v2"], [9, 3, 1, "", "Large_Portrait_v3"], [9, 3, 1, "", "Large_Square"], [9, 3, 1, "", "Large_Square_v2"], [9, 3, 1, "", "Large_Square_v3"], [9, 3, 1, "", "Normal_Landscape"], [9, 3, 1, "", "Normal_Landscape_v2"], [9, 3, 1, "", "Normal_Landscape_v3"], [9, 3, 1, "", "Normal_Portrait"], [9, 3, 1, "", "Normal_Portrait_v2"], [9, 3, 1, "", "Normal_Portrait_v3"], [9, 3, 1, "", "Normal_Square"], [9, 3, 1, "", "Normal_Square_v2"], [9, 3, 1, "", "Normal_Square_v3"], [9, 3, 1, "", "Small_Landscape"], [9, 3, 1, "", "Small_Landscape_v2"], [9, 3, 1, "", "Small_Landscape_v3"], [9, 3, 1, "", "Small_Portrait"], [9, 3, 1, "", "Small_Portrait_v2"], [9, 3, 1, "", "Small_Portrait_v3"], [9, 3, 1, "", "Small_Square"], [9, 3, 1, "", "Small_Square_v2"], [9, 3, 1, "", "Small_Square_v3"], [9, 3, 1, "", "Wallpaper_Landscape"], [9, 3, 1, "", "Wallpaper_Portrait"]], "novelai_api.ImagePreset.ImageSampler": [[9, 3, 1, "", "ddim"], [9, 3, 1, "", "ddim_v3"], [9, 3, 1, "", "k_dpm_2"], [9, 3, 1, "", "k_dpm_2_ancestral"], [9, 3, 1, "", "k_dpm_adaptive"], [9, 3, 1, "", "k_dpm_fast"], [9, 3, 1, "", "k_dpmpp_2m"], [9, 3, 1, "", "k_dpmpp_2s_ancestral"], [9, 3, 1, "", "k_dpmpp_sde"], [9, 3, 1, "", "k_euler"], [9, 3, 1, "", "k_euler_ancestral"], [9, 3, 1, "", "k_heun"], [9, 3, 1, "", "k_lms"], [9, 3, 1, "", "nai_smea"], [9, 3, 1, "", "nai_smea_dyn"], [9, 3, 1, "", "plms"]], "novelai_api.ImagePreset.UCPreset": [[9, 3, 1, "", "Preset_Bad_Anatomy"], [9, 3, 1, "", "Preset_Heavy"], [9, 3, 1, "", "Preset_Light"], [9, 3, 1, "", "Preset_Low_Quality"], [9, 3, 1, "", "Preset_Low_Quality_Bad_Anatomy"], [9, 3, 1, "", "Preset_None"]], "novelai_api.Keystore": [[10, 1, 1, "", "Keystore"]], "novelai_api.Keystore.Keystore": [[10, 2, 1, "", "__init__"], [10, 2, 1, "", "create"], [10, 3, 1, "", "data"], [10, 2, 1, "", "decrypt"], [10, 2, 1, "", "encrypt"]], "novelai_api.NovelAIError": [[11, 6, 1, "", "NovelAIError"]], "novelai_api.NovelAIError.NovelAIError": [[11, 2, 1, "", "__init__"], [11, 3, 1, "", "message"], [11, 3, 1, "", "status"], [11, 3, 1, "", "url"]], "novelai_api.NovelAI_API": [[12, 1, 1, "", "NovelAIAPI"]], "novelai_api.NovelAI_API.NovelAIAPI": [[12, 3, 1, "", "BASE_ADDRESS"], [12, 3, 1, "", "LIB_ROOT"], [12, 2, 1, "", "__init__"], [12, 2, 1, "", "attach_session"], [12, 3, 1, "", "cookies"], [12, 2, 1, "", "detach_session"], [12, 3, 1, "", "headers"], [12, 3, 1, "", "high_level"], [12, 3, 1, "", "logger"], [12, 3, 1, "", "low_level"], [12, 3, 1, "", "proxy"], [12, 3, 1, "", "proxy_auth"], [12, 3, 1, "", "session"], [12, 4, 1, "", "timeout"]], "novelai_api.Preset": [[13, 1, 1, "", "Model"], [13, 1, 1, "", "Order"], [13, 7, 1, "", "PREAMBLE"], [13, 1, 1, "", "PhraseRepPen"], [13, 1, 1, "", "Preset"], [13, 1, 1, "", "PresetView"], [13, 1, 1, "", "StrEnum"], [13, 5, 1, "", "collapse_model"], [13, 5, 1, "", "enum_contains"]], "novelai_api.Preset.Model": [[13, 3, 1, "", "Clio"], [13, 3, 1, "", "Euterpe"], [13, 3, 1, "", "Genji"], [13, 3, 1, "", "HypeBot"], [13, 3, 1, "", "Inline"], [13, 3, 1, "", "Kayra"], [13, 3, 1, "", "Krake"], [13, 3, 1, "", "Sigurd"], [13, 3, 1, "", "Snek"], [13, 3, 1, "", "enum_member_values"]], "novelai_api.Preset.Order": [[13, 3, 1, "", "CFG"], [13, 3, 1, "", "Mirostat"], [13, 3, 1, "", "TFS"], [13, 3, 1, "", "Temperature"], [13, 3, 1, "", "Top_A"], [13, 3, 1, "", "Top_G"], [13, 3, 1, "", "Top_K"], [13, 3, 1, "", "Top_P"], [13, 3, 1, "", "Typical_P"]], "novelai_api.Preset.PhraseRepPen": [[13, 3, 1, "", "Aggressive"], [13, 3, 1, "", "Light"], [13, 3, 1, "", "Medium"], [13, 3, 1, "", "Off"], [13, 3, 1, "", "VeryAggressive"], [13, 3, 1, "", "VeryLight"]], "novelai_api.Preset.Preset": [[13, 3, 1, "", "DEFAULTS"], [13, 2, 1, "", "__init__"], [13, 3, 1, "", "bos_token_id"], [13, 3, 1, "", "cfg_scale"], [13, 3, 1, "", "cfg_uc"], [13, 2, 1, "", "copy"], [13, 3, 1, "", "diversity_penalty"], [13, 3, 1, "", "encoder_no_repeat_ngram_size"], [13, 3, 1, "", "eos_token_id"], [13, 2, 1, "", "from_default"], [13, 2, 1, "", "from_file"], [13, 2, 1, "", "from_official"], [13, 2, 1, "", "from_preset_data"], [13, 3, 1, "", "get_hidden_states"], [13, 3, 1, "", "length_penalty"], [13, 3, 1, "", "max_length"], [13, 3, 1, "", "max_time"], [13, 3, 1, "", "min_length"], [13, 3, 1, "", "mirostat_lr"], [13, 3, 1, "", "mirostat_tau"], [13, 3, 1, "", "model"], [13, 3, 1, "", "name"], [13, 3, 1, "", "no_repeat_ngram_size"], [13, 3, 1, "", "num_return_sequences"], [13, 3, 1, "", "order"], [13, 3, 1, "", "pad_token_id"], [13, 3, 1, "", "phrase_rep_pen"], [13, 3, 1, "", "repetition_penalty"], [13, 3, 1, "", "repetition_penalty_default_whitelist"], [13, 3, 1, "", "repetition_penalty_frequency"], [13, 3, 1, "", "repetition_penalty_presence"], [13, 3, 1, "", "repetition_penalty_range"], [13, 3, 1, "", "repetition_penalty_slope"], [13, 3, 1, "", "repetition_penalty_whitelist"], [13, 3, 1, "", "sampling_options"], [13, 2, 1, "", "set"], [13, 2, 1, "", "set_sampling_options_state"], [13, 3, 1, "", "tail_free_sampling"], [13, 3, 1, "", "temperature"], [13, 3, 1, "", "textGenerationSettingsVersion"], [13, 2, 1, "", "to_file"], [13, 2, 1, "", "to_settings"], [13, 3, 1, "", "top_a"], [13, 3, 1, "", "top_g"], [13, 3, 1, "", "top_k"], [13, 3, 1, "", "top_p"], [13, 3, 1, "", "typical_p"], [13, 2, 1, "", "update"]], "novelai_api.Preset.PresetView": [[13, 2, 1, "", "__init__"], [13, 3, 1, "", "model"]], "novelai_api.SchemaValidator": [[14, 1, 1, "", "SchemaValidator"]], "novelai_api.SchemaValidator.SchemaValidator": [[14, 2, 1, "", "__init__"], [14, 2, 1, "", "validate"]], "novelai_api.StoryHandler": [[15, 1, 1, "", "NovelAIStory"], [15, 1, 1, "", "NovelAIStoryStorage"]], "novelai_api.StoryHandler.NovelAIStory": [[15, 3, 1, "", "DEFAULT_MODEL"], [15, 3, 1, "", "TEXT_GENERATION_SETTINGS_VERSION"], [15, 2, 1, "", "__init__"], [15, 3, 1, "", "api"], [15, 3, 1, "", "banlists"], [15, 3, 1, "", "biases"], [15, 2, 1, "", "build_context"], [15, 2, 1, "", "choose"], [15, 3, 1, "", "context_size"], [15, 2, 1, "", "delete"], [15, 2, 1, "", "edit"], [15, 2, 1, "", "flatten"], [15, 2, 1, "", "generate"], [15, 2, 1, "", "get_current_tree"], [15, 3, 1, "", "global_settings"], [15, 3, 1, "", "key"], [15, 3, 1, "", "keystore"], [15, 3, 1, "", "model"], [15, 3, 1, "", "prefix"], [15, 3, 1, "", "preset"], [15, 2, 1, "", "redo"], [15, 2, 1, "", "save"], [15, 3, 1, "", "story"], [15, 3, 1, "", "storycontent"], [15, 3, 1, "", "tree"], [15, 2, 1, "", "undo"]], "novelai_api.StoryHandler.NovelAIStoryStorage": [[15, 2, 1, "", "__init__"], [15, 3, 1, "", "api"], [15, 2, 1, "", "create"], [15, 3, 1, "", "global_settings"], [15, 3, 1, "", "idstore"], [15, 3, 1, "", "keystore"], [15, 2, 1, "", "load"], [15, 2, 1, "", "load_from_remote"], [15, 2, 1, "", "loads"], [15, 2, 1, "", "select"], [15, 2, 1, "", "unload"]], "novelai_api.Tokenizer": [[16, 1, 1, "", "SentencePiece"], [16, 1, 1, "", "Tokenizer"]], "novelai_api.Tokenizer.SentencePiece": [[16, 2, 1, "", "__init__"], [16, 2, 1, "", "decode"], [16, 2, 1, "", "encode"], [16, 3, 1, "", "trans_regex_str"], [16, 3, 1, "", "trans_table_ids"], [16, 3, 1, "", "trans_table_str"]], "novelai_api.Tokenizer.Tokenizer": [[16, 2, 1, "", "decode"], [16, 2, 1, "", "encode"], [16, 2, 1, "", "get_tokenizer_name"]], "novelai_api._high_level": [[17, 1, 1, "", "HighLevel"]], "novelai_api._high_level.HighLevel": [[17, 2, 1, "", "__init__"], [17, 2, 1, "", "download_user_modules"], [17, 2, 1, "", "download_user_presets"], [17, 2, 1, "", "download_user_shelves"], [17, 2, 1, "", "download_user_stories"], [17, 2, 1, "", "download_user_story_contents"], [17, 2, 1, "", "generate"], [17, 2, 1, "", "generate_image"], [17, 2, 1, "", "generate_stream"], [17, 2, 1, "", "get_keystore"], [17, 2, 1, "", "login"], [17, 2, 1, "", "login_from_key"], [17, 2, 1, "", "login_with_token"], [17, 2, 1, "", "register"], [17, 2, 1, "", "set_keystore"], [17, 2, 1, "", "upload_user_content"], [17, 2, 1, "", "upload_user_contents"]], "novelai_api._low_level": [[18, 1, 1, "", "LowLevel"], [18, 5, 1, "", "print_with_parameters"]], "novelai_api._low_level.LowLevel": [[18, 1, 1, "", "SubscriptionTier"], [18, 2, 1, "", "__init__"], [18, 2, 1, "", "bind_subscription"], [18, 2, 1, "", "buy_steps"], [18, 2, 1, "", "change_access_key"], [18, 2, 1, "", "change_subscription"], [18, 2, 1, "", "classify"], [18, 2, 1, "", "delete_account"], [18, 2, 1, "", "delete_module"], [18, 2, 1, "", "delete_object"], [18, 2, 1, "", "download_object"], [18, 2, 1, "", "download_objects"], [18, 2, 1, "", "generate"], [18, 2, 1, "", "generate_controlnet_mask"], [18, 2, 1, "", "generate_image"], [18, 2, 1, "", "generate_prompt"], [18, 2, 1, "", "generate_voice"], [18, 2, 1, "", "get_data"], [18, 2, 1, "", "get_information"], [18, 2, 1, "", "get_keystore"], [18, 2, 1, "", "get_priority"], [18, 2, 1, "", "get_settings"], [18, 2, 1, "", "get_subscription"], [18, 2, 1, "", "get_trained_module"], [18, 2, 1, "", "get_trained_modules"], [18, 2, 1, "", "is_reachable"], [18, 3, 1, "", "is_schema_validation_enabled"], [18, 2, 1, "", "login"], [18, 2, 1, "", "recover_account"], [18, 2, 1, "", "register"], [18, 2, 1, "", "request"], [18, 2, 1, "", "request_account_recovery"], [18, 2, 1, "", "send_email_verification"], [18, 2, 1, "", "set_keystore"], [18, 2, 1, "", "set_settings"], [18, 2, 1, "", "suggest_tags"], [18, 2, 1, "", "train_module"], [18, 2, 1, "", "upload_object"], [18, 2, 1, "", "upload_objects"], [18, 2, 1, "", "upscale_image"], [18, 2, 1, "", "verify_email"]], "novelai_api._low_level.LowLevel.SubscriptionTier": [[18, 3, 1, "", "OPUS"], [18, 3, 1, "", "PAPER"], [18, 3, 1, "", "SCROLL"], [18, 3, 1, "", "TABLET"]], "novelai_api.utils": [[19, 5, 1, "", "argon_hash"], [19, 5, 1, "", "b64_to_tokens"], [19, 5, 1, "", "compress_user_data"], [19, 5, 1, "", "decompress_user_data"], [19, 5, 1, "", "decrypt_data"], [19, 5, 1, "", "decrypt_user_data"], [19, 5, 1, "", "encrypt_data"], [19, 5, 1, "", "encrypt_user_data"], [19, 5, 1, "", "extract_preset_data"], [19, 5, 1, "", "gather_asyncgenerator"], [19, 5, 1, "", "get_access_key"], [19, 5, 1, "", "get_decrypted_user_data"], [19, 5, 1, "", "get_encryption_key"], [19, 5, 1, "", "link_content_to_story"], [19, 5, 1, "", "tokenize_if_not"], [19, 5, 1, "", "tokens_to_b64"], [19, 5, 1, "", "unlink_content_from_story"]], "tests.api": [[21, 0, 0, "-", "boilerplate"], [20, 0, 0, "-", "test_decrypt_encrypt_integrity_check"], [20, 0, 0, "-", "test_imagegen_samplers"], [20, 0, 0, "-", "test_sync_gen"], [20, 0, 0, "-", "test_textgen_presets"]], "tests.api.boilerplate": [[21, 1, 1, "", "API"], [21, 1, 1, "", "JSONEncoder"], [21, 5, 1, "", "api_handle"], [21, 5, 1, "", "api_handle_sync"], [21, 5, 1, "", "dumps"], [21, 5, 1, "", "error_handler"]], "tests.api.boilerplate.API": [[21, 2, 1, "", "__init__"], [21, 3, 1, "", "api"], [21, 4, 1, "", "encryption_key"], [21, 3, 1, "", "logger"]], "tests.api.boilerplate.JSONEncoder": [[21, 2, 1, "", "default"]], "tests.api.test_decrypt_encrypt_integrity_check": [[20, 5, 1, "", "aimodules_integrity"], [20, 5, 1, "", "keystore_integrity"], [20, 5, 1, "", "presets_integrity"], [20, 5, 1, "", "shelves_integrity"], [20, 5, 1, "", "stories_integrity"], [20, 5, 1, "", "storycontent_integrity"]], "tests.api.test_textgen_presets": [[20, 5, 1, "", "preset_from_default"], [20, 5, 1, "", "preset_from_official"], [20, 5, 1, "", "test_presets"]]}, "objtypes": {"0": "py:module", "1": "py:class", "2": "py:method", "3": "py:attribute", "4": "py:property", "5": "py:function", "6": "py:exception", "7": "py:data"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "class", "Python class"], "2": ["py", "method", "Python method"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "property", "Python property"], "5": ["py", "function", "Python function"], "6": ["py", "exception", "Python exception"], "7": ["py", "data", "Python data"]}, "titleterms": {"exampl": [0, 2], "directori": [0, 20, 22], "requir": [0, 20], "usag": [0, 2, 20], "content": [0, 20, 22], "download_modul": 0, "py": [0, 20], "download_preset": 0, "download_shelv": 0, "download_stories_and_cont": 0, "generate_controlnet_mask": 0, "generate_imag": 0, "generate_image_test_sampl": 0, "generate_image_with_controlnet": 0, "generate_image_with_img2img": 0, "generate_text": 0, "generate_voic": 0, "login": 0, "login_with_proxi": 0, "suggest_tag": 0, "upscale_imag": 0, "refer": [0, 2, 20, 22], "boilerpl": [1, 21], "novelai": [2, 4], "api": [2, 4, 20], "us": 2, "modul": [2, 17], "via": 2, "command": 2, "line": 2, "get": 2, "access": 2, "kei": 2, "token": [2, 16], "saniti": 2, "check": 2, "decod": 2, "your": 2, "code": 2, "low_level": [2, 18], "high_level": [2, 17], "develop": 2, "contribut": 2, "test": 2, "against": 2, "mock": [2, 22], "doc": 2, "todo": 2, "packag": 4, "novelai_api": [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "banlist": 5, "biasgroup": 6, "globalset": 7, "idstor": 8, "imagepreset": 9, "keystor": 10, "novelaierror": 11, "preset": 13, "schemavalid": 14, "storyhandl": 15, "list": 17, "util": 19, "test_decrypt_encrypt_integrity_check": 20, "test_imagegen_sampl": 20, "test_sync_gen": 20, "test_textgen_preset": 20, "test_textgen_san": 20}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx.ext.viewcode": 1, "sphinx_last_updated_by_git": 1, "sphinx": 57}, "alltitles": {"example directory": [[0, "example-directory"]], "Requirements": [[0, "requirements"], [20, "requirements"]], "Usage": [[0, "usage"], [2, "usage"], [20, "usage"]], "Content": [[0, "module-example.download_modules"], [20, "content"], [22, "content"]], "download_modules.py": [[0, "download-modules-py"]], "download_presets.py": [[0, "download-presets-py"]], "download_shelves.py": [[0, "download-shelves-py"]], "download_stories_and_content.py": [[0, "download-stories-and-content-py"]], "generate_controlnet_masks.py": [[0, "generate-controlnet-masks-py"]], "generate_image.py": [[0, "generate-image-py"]], "generate_image_test_samplers.py": [[0, "generate-image-test-samplers-py"]], "generate_image_with_controlnet.py": [[0, "generate-image-with-controlnet-py"]], "generate_image_with_img2img.py": [[0, "generate-image-with-img2img-py"]], "generate_text.py": [[0, "generate-text-py"]], "generate_voice.py": [[0, "generate-voice-py"]], "login.py": [[0, "login-py"]], "login_with_proxy.py": [[0, "login-with-proxy-py"]], "suggest_tags.py": [[0, "suggest-tags-py"]], "upscale_image.py": [[0, "upscale-image-py"]], "Reference": [[0, "reference"], [2, "reference"], [20, "reference"], [22, "reference"]], "boilerplate": [[1, "module-example.boilerplate"], [21, "module-tests.api.boilerplate"]], "novelai-api": [[2, "novelai-api"], [2, "novelai-api"]], "Using the module via Command Line": [[2, "using-the-module-via-command-line"]], "Get access key": [[2, "get-access-key"]], "Get access token": [[2, "get-access-token"]], "Sanity check": [[2, "sanity-check"]], "Decode": [[2, "decode"]], "Using the module in your code": [[2, "using-the-module-in-your-code"]], "low_level": [[2, "low-level"]], "high_level": [[2, "high-level"]], "Development": [[2, "development"]], "Contributing": [[2, "contributing"]], "Testing against the API": [[2, "testing-against-the-api"]], "Testing against the mocked API": [[2, "testing-against-the-mocked-api"]], "Docs": [[2, "docs"]], "TODO": [[2, "todo"]], "example": [[2, "example"]], "Test API": [[2, "test-api"]], "Test Mocked API": [[2, "test-mocked-api"]], "novelai-api package": [[4, "novelai-api-package"]], "novelai_api.BanList": [[5, "module-novelai_api.BanList"]], "novelai_api.BiasGroup": [[6, "module-novelai_api.BiasGroup"]], "novelai_api.GlobalSettings": [[7, "module-novelai_api.GlobalSettings"]], "novelai_api.Idstore": [[8, "module-novelai_api.Idstore"]], "novelai_api.ImagePreset": [[9, "module-novelai_api.ImagePreset"]], "novelai_api.Keystore": [[10, "module-novelai_api.Keystore"]], "novelai_api.NovelAIError": [[11, "module-novelai_api.NovelAIError"]], "novelai_api.NovelAI_API": [[12, "module-novelai_api.NovelAI_API"]], "novelai_api.Preset": [[13, "module-novelai_api.Preset"]], "novelai_api.SchemaValidator": [[14, "module-novelai_api.SchemaValidator"]], "novelai_api.StoryHandler": [[15, "module-novelai_api.StoryHandler"]], "novelai_api.Tokenizer": [[16, "module-novelai_api.Tokenizer"]], "novelai_api.high_level": [[17, "module-novelai_api._high_level"]], "List of modules": [[17, "list-of-modules"]], "novelai_api.low_level": [[18, "module-novelai_api._low_level"]], "novelai_api.utils": [[19, "module-novelai_api.utils"]], "API directory": [[20, "api-directory"]], "test_decrypt_encrypt_integrity_check.py": [[20, "module-tests.api.test_decrypt_encrypt_integrity_check"]], "test_imagegen_samplers.py": [[20, "module-tests.api.test_imagegen_samplers"]], "test_sync_gen.py": [[20, "module-tests.api.test_sync_gen"]], "test_textgen_presets.py": [[20, "module-tests.api.test_textgen_presets"]], "test_textgen_sanity.py": [[20, "test-textgen-sanity-py"]], "Mock directory": [[22, "mock-directory"]]}, "indexentries": {"example.download_modules": [[0, "module-example.download_modules"]], "example.download_presets": [[0, "module-example.download_presets"]], "example.download_shelves": [[0, "module-example.download_shelves"]], "example.download_stories_and_content": [[0, "module-example.download_stories_and_content"]], "example.generate_controlnet_masks": [[0, "module-example.generate_controlnet_masks"]], "example.generate_image": [[0, "module-example.generate_image"]], "example.generate_image_test_samplers": [[0, "module-example.generate_image_test_samplers"]], "example.generate_image_with_controlnet": [[0, "module-example.generate_image_with_controlnet"]], "example.generate_image_with_img2img": [[0, "module-example.generate_image_with_img2img"]], "example.generate_text": [[0, "module-example.generate_text"]], "example.generate_voice": [[0, "module-example.generate_voice"]], "example.login": [[0, "module-example.login"]], "example.login_with_proxy": [[0, "module-example.login_with_proxy"]], "example.suggest_tags": [[0, "module-example.suggest_tags"]], "example.upscale_image": [[0, "module-example.upscale_image"]], "module": [[0, "module-example.download_modules"], [0, "module-example.download_presets"], [0, "module-example.download_shelves"], [0, "module-example.download_stories_and_content"], [0, "module-example.generate_controlnet_masks"], [0, "module-example.generate_image"], [0, "module-example.generate_image_test_samplers"], [0, "module-example.generate_image_with_controlnet"], [0, "module-example.generate_image_with_img2img"], [0, "module-example.generate_text"], [0, "module-example.generate_voice"], [0, "module-example.login"], [0, "module-example.login_with_proxy"], [0, "module-example.suggest_tags"], [0, "module-example.upscale_image"], [1, "module-example.boilerplate"], [5, "module-novelai_api.BanList"], [6, "module-novelai_api.BiasGroup"], [7, "module-novelai_api.GlobalSettings"], [8, "module-novelai_api.Idstore"], [9, "module-novelai_api.ImagePreset"], [10, "module-novelai_api.Keystore"], [11, "module-novelai_api.NovelAIError"], [12, "module-novelai_api.NovelAI_API"], [13, "module-novelai_api.Preset"], [14, "module-novelai_api.SchemaValidator"], [15, "module-novelai_api.StoryHandler"], [16, "module-novelai_api.Tokenizer"], [17, "module-novelai_api._high_level"], [18, "module-novelai_api._low_level"], [19, "module-novelai_api.utils"], [20, "module-tests.api.test_decrypt_encrypt_integrity_check"], [20, "module-tests.api.test_imagegen_samplers"], [20, "module-tests.api.test_sync_gen"], [20, "module-tests.api.test_textgen_presets"], [21, "module-tests.api.boilerplate"]], "api (class in example.boilerplate)": [[1, "example.boilerplate.API"]], "jsonencoder (class in example.boilerplate)": [[1, "example.boilerplate.JSONEncoder"]], "__init__() (api method)": [[1, "example.boilerplate.API.__init__"], [21, "tests.api.boilerplate.API.__init__"]], "api (api attribute)": [[1, "example.boilerplate.API.api"], [21, "tests.api.boilerplate.API.api"]], "default() (jsonencoder method)": [[1, "example.boilerplate.JSONEncoder.default"], [21, "tests.api.boilerplate.JSONEncoder.default"]], "dumps() (in module example.boilerplate)": [[1, "example.boilerplate.dumps"]], "encryption_key (api property)": [[1, "example.boilerplate.API.encryption_key"], [21, "tests.api.boilerplate.API.encryption_key"]], "example.boilerplate": [[1, "module-example.boilerplate"]], "logger (api attribute)": [[1, "example.boilerplate.API.logger"], [21, "tests.api.boilerplate.API.logger"]], "banlist (class in novelai_api.banlist)": [[5, "novelai_api.BanList.BanList"]], "__init__() (banlist method)": [[5, "novelai_api.BanList.BanList.__init__"]], "add() (banlist method)": [[5, "novelai_api.BanList.BanList.add"]], "enabled (banlist attribute)": [[5, "novelai_api.BanList.BanList.enabled"]], "get_tokenized_entries() (banlist method)": [[5, "novelai_api.BanList.BanList.get_tokenized_entries"]], "novelai_api.banlist": [[5, "module-novelai_api.BanList"]], "biasgroup (class in novelai_api.biasgroup)": [[6, "novelai_api.BiasGroup.BiasGroup"]], "__init__() (biasgroup method)": [[6, "novelai_api.BiasGroup.BiasGroup.__init__"]], "add() (biasgroup method)": [[6, "novelai_api.BiasGroup.BiasGroup.add"]], "bias (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.bias"]], "enabled (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.enabled"]], "ensure_sequence_finish (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.ensure_sequence_finish"]], "from_data() (biasgroup class method)": [[6, "novelai_api.BiasGroup.BiasGroup.from_data"]], "generate_once (biasgroup attribute)": [[6, "novelai_api.BiasGroup.BiasGroup.generate_once"]], "get_tokenized_entries() (biasgroup method)": [[6, "novelai_api.BiasGroup.BiasGroup.get_tokenized_entries"]], "novelai_api.biasgroup": [[6, "module-novelai_api.BiasGroup"]], "globalsettings (class in novelai_api.globalsettings)": [[7, "novelai_api.GlobalSettings.GlobalSettings"]], "no_logprobs (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.NO_LOGPROBS"]], "__init__() (globalsettings method)": [[7, "novelai_api.GlobalSettings.GlobalSettings.__init__"]], "ban_ambiguous_genji_tokens (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.ban_ambiguous_genji_tokens"]], "ban_brackets (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.ban_brackets"]], "bias_dinkus_asterism (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.bias_dinkus_asterism"]], "copy() (globalsettings method)": [[7, "novelai_api.GlobalSettings.GlobalSettings.copy"]], "generate_until_sentence (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.generate_until_sentence"]], "novelai_api.globalsettings": [[7, "module-novelai_api.GlobalSettings"]], "num_logprobs (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.num_logprobs"]], "rep_pen_whitelist (globalsettings attribute)": [[7, "novelai_api.GlobalSettings.GlobalSettings.rep_pen_whitelist"]], "to_settings() (globalsettings method)": [[7, "novelai_api.GlobalSettings.GlobalSettings.to_settings"]], "idstore (class in novelai_api.idstore)": [[8, "novelai_api.Idstore.Idstore"]], "__init__() (idstore method)": [[8, "novelai_api.Idstore.Idstore.__init__"]], "create() (idstore method)": [[8, "novelai_api.Idstore.Idstore.create"]], "novelai_api.idstore": [[8, "module-novelai_api.Idstore"]], "register() (idstore method)": [[8, "novelai_api.Idstore.Idstore.register"]], "anime_curated (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_Curated"]], "anime_full (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_Full"]], "anime_v2 (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_v2"]], "anime_v3 (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Anime_v3"]], "building_control (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Building_Control"]], "controlnetmodel (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ControlNetModel"]], "form_lock (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Form_Lock"]], "furry (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Furry"]], "img2img (imagegenerationtype attribute)": [[9, "novelai_api.ImagePreset.ImageGenerationType.IMG2IMG"]], "inpainting (imagegenerationtype attribute)": [[9, "novelai_api.ImagePreset.ImageGenerationType.INPAINTING"]], "imagegenerationtype (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageGenerationType"]], "imagemodel (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageModel"]], "imagepreset (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImagePreset"]], "imageresolution (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageResolution"]], "imagesampler (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.ImageSampler"]], "inainting_anime_curated (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inainting_Anime_Curated"]], "inpainting_anime_full (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inpainting_Anime_Full"]], "inpainting_anime_v3 (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inpainting_Anime_v3"]], "inpainting_furry (imagemodel attribute)": [[9, "novelai_api.ImagePreset.ImageModel.Inpainting_Furry"]], "landscaper (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Landscaper"]], "large_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Landscape"]], "large_landscape_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Landscape_v2"]], "large_landscape_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Landscape_v3"]], "large_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Portrait"]], "large_portrait_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Portrait_v2"]], "large_portrait_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Portrait_v3"]], "large_square (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Square"]], "large_square_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Square_v2"]], "large_square_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Large_Square_v3"]], "normal (imagegenerationtype attribute)": [[9, "novelai_api.ImagePreset.ImageGenerationType.NORMAL"]], "normal_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Landscape"]], "normal_landscape_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Landscape_v2"]], "normal_landscape_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Landscape_v3"]], "normal_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Portrait"]], "normal_portrait_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Portrait_v2"]], "normal_portrait_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Portrait_v3"]], "normal_square (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Square"]], "normal_square_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Square_v2"]], "normal_square_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Normal_Square_v3"]], "palette_swap (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Palette_Swap"]], "preset_bad_anatomy (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Bad_Anatomy"]], "preset_heavy (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Heavy"]], "preset_light (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Light"]], "preset_low_quality (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Low_Quality"]], "preset_low_quality_bad_anatomy (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_Low_Quality_Bad_Anatomy"]], "preset_none (ucpreset attribute)": [[9, "novelai_api.ImagePreset.UCPreset.Preset_None"]], "scribbler (controlnetmodel attribute)": [[9, "novelai_api.ImagePreset.ControlNetModel.Scribbler"]], "small_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Landscape"]], "small_landscape_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Landscape_v2"]], "small_landscape_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Landscape_v3"]], "small_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Portrait"]], "small_portrait_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Portrait_v2"]], "small_portrait_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Portrait_v3"]], "small_square (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Square"]], "small_square_v2 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Square_v2"]], "small_square_v3 (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Small_Square_v3"]], "ucpreset (class in novelai_api.imagepreset)": [[9, "novelai_api.ImagePreset.UCPreset"]], "wallpaper_landscape (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Wallpaper_Landscape"]], "wallpaper_portrait (imageresolution attribute)": [[9, "novelai_api.ImagePreset.ImageResolution.Wallpaper_Portrait"]], "__init__() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.__init__"]], "add_original_image (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.add_original_image"]], "calculate_cost() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.calculate_cost"]], "cfg_rescale (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.cfg_rescale"]], "controlnet_condition (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.controlnet_condition"]], "controlnet_model (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.controlnet_model"]], "controlnet_strength (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.controlnet_strength"]], "copy() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.copy"]], "ddim (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.ddim"]], "ddim_v3 (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.ddim_v3"]], "decrisper (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.decrisper"]], "from_file() (imagepreset class method)": [[9, "novelai_api.ImagePreset.ImagePreset.from_file"]], "get_max_n_samples() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.get_max_n_samples"]], "image (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.image"]], "k_dpm_2 (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_2"]], "k_dpm_2_ancestral (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_2_ancestral"]], "k_dpm_adaptive (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_adaptive"]], "k_dpm_fast (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpm_fast"]], "k_dpmpp_2m (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpmpp_2m"]], "k_dpmpp_2s_ancestral (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpmpp_2s_ancestral"]], "k_dpmpp_sde (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_dpmpp_sde"]], "k_euler (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_euler"]], "k_euler_ancestral (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_euler_ancestral"]], "k_heun (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_heun"]], "k_lms (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.k_lms"]], "last_seed (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.last_seed"]], "mask (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.mask"]], "n_samples (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.n_samples"]], "nai_smea (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.nai_smea"]], "nai_smea_dyn (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.nai_smea_dyn"]], "noise (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.noise"]], "noise_schedule (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.noise_schedule"]], "novelai_api.imagepreset": [[9, "module-novelai_api.ImagePreset"]], "plms (imagesampler attribute)": [[9, "novelai_api.ImagePreset.ImageSampler.plms"]], "quality_toggle (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.quality_toggle"]], "resolution (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.resolution"]], "sampler (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.sampler"]], "scale (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.scale"]], "seed (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.seed"]], "smea (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.smea"]], "smea_dyn (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.smea_dyn"]], "steps (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.steps"]], "strength (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.strength"]], "to_file() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.to_file"]], "to_settings() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.to_settings"]], "uc (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.uc"]], "uc_preset (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.uc_preset"]], "uncond_scale (imagepreset attribute)": [[9, "novelai_api.ImagePreset.ImagePreset.uncond_scale"]], "update() (imagepreset method)": [[9, "novelai_api.ImagePreset.ImagePreset.update"]], "keystore (class in novelai_api.keystore)": [[10, "novelai_api.Keystore.Keystore"]], "__init__() (keystore method)": [[10, "novelai_api.Keystore.Keystore.__init__"]], "create() (keystore method)": [[10, "novelai_api.Keystore.Keystore.create"]], "data (keystore attribute)": [[10, "novelai_api.Keystore.Keystore.data"]], "decrypt() (keystore method)": [[10, "novelai_api.Keystore.Keystore.decrypt"]], "encrypt() (keystore method)": [[10, "novelai_api.Keystore.Keystore.encrypt"]], "novelai_api.keystore": [[10, "module-novelai_api.Keystore"]], "novelaierror": [[11, "novelai_api.NovelAIError.NovelAIError"]], "__init__() (novelaierror method)": [[11, "novelai_api.NovelAIError.NovelAIError.__init__"]], "message (novelaierror attribute)": [[11, "novelai_api.NovelAIError.NovelAIError.message"]], "novelai_api.novelaierror": [[11, "module-novelai_api.NovelAIError"]], "status (novelaierror attribute)": [[11, "novelai_api.NovelAIError.NovelAIError.status"]], "url (novelaierror attribute)": [[11, "novelai_api.NovelAIError.NovelAIError.url"]], "base_address (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.BASE_ADDRESS"]], "lib_root (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.LIB_ROOT"]], "novelaiapi (class in novelai_api.novelai_api)": [[12, "novelai_api.NovelAI_API.NovelAIAPI"]], "__init__() (novelaiapi method)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.__init__"]], "attach_session() (novelaiapi method)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.attach_session"]], "cookies (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.cookies"]], "detach_session() (novelaiapi method)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.detach_session"]], "headers (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.headers"]], "high_level (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.high_level"]], "logger (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.logger"]], "low_level (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.low_level"]], "novelai_api.novelai_api": [[12, "module-novelai_api.NovelAI_API"]], "proxy (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.proxy"]], "proxy_auth (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.proxy_auth"]], "session (novelaiapi attribute)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.session"]], "timeout (novelaiapi property)": [[12, "novelai_api.NovelAI_API.NovelAIAPI.timeout"]], "aggressive (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Aggressive"]], "cfg (order attribute)": [[13, "novelai_api.Preset.Order.CFG"]], "clio (model attribute)": [[13, "novelai_api.Preset.Model.Clio"]], "defaults (preset attribute)": [[13, "novelai_api.Preset.Preset.DEFAULTS"]], "euterpe (model attribute)": [[13, "novelai_api.Preset.Model.Euterpe"]], "genji (model attribute)": [[13, "novelai_api.Preset.Model.Genji"]], "hypebot (model attribute)": [[13, "novelai_api.Preset.Model.HypeBot"]], "inline (model attribute)": [[13, "novelai_api.Preset.Model.Inline"]], "kayra (model attribute)": [[13, "novelai_api.Preset.Model.Kayra"]], "krake (model attribute)": [[13, "novelai_api.Preset.Model.Krake"]], "light (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Light"]], "medium (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Medium"]], "mirostat (order attribute)": [[13, "novelai_api.Preset.Order.Mirostat"]], "model (class in novelai_api.preset)": [[13, "novelai_api.Preset.Model"]], "off (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.Off"]], "order (class in novelai_api.preset)": [[13, "novelai_api.Preset.Order"]], "preamble (in module novelai_api.preset)": [[13, "novelai_api.Preset.PREAMBLE"]], "phrasereppen (class in novelai_api.preset)": [[13, "novelai_api.Preset.PhraseRepPen"]], "preset (class in novelai_api.preset)": [[13, "novelai_api.Preset.Preset"]], "presetview (class in novelai_api.preset)": [[13, "novelai_api.Preset.PresetView"]], "sigurd (model attribute)": [[13, "novelai_api.Preset.Model.Sigurd"]], "snek (model attribute)": [[13, "novelai_api.Preset.Model.Snek"]], "strenum (class in novelai_api.preset)": [[13, "novelai_api.Preset.StrEnum"]], "tfs (order attribute)": [[13, "novelai_api.Preset.Order.TFS"]], "temperature (order attribute)": [[13, "novelai_api.Preset.Order.Temperature"]], "top_a (order attribute)": [[13, "novelai_api.Preset.Order.Top_A"]], "top_g (order attribute)": [[13, "novelai_api.Preset.Order.Top_G"]], "top_k (order attribute)": [[13, "novelai_api.Preset.Order.Top_K"]], "top_p (order attribute)": [[13, "novelai_api.Preset.Order.Top_P"]], "typical_p (order attribute)": [[13, "novelai_api.Preset.Order.Typical_P"]], "veryaggressive (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.VeryAggressive"]], "verylight (phrasereppen attribute)": [[13, "novelai_api.Preset.PhraseRepPen.VeryLight"]], "__init__() (preset method)": [[13, "novelai_api.Preset.Preset.__init__"]], "__init__() (presetview method)": [[13, "novelai_api.Preset.PresetView.__init__"]], "bos_token_id (preset attribute)": [[13, "novelai_api.Preset.Preset.bos_token_id"]], "cfg_scale (preset attribute)": [[13, "novelai_api.Preset.Preset.cfg_scale"]], "cfg_uc (preset attribute)": [[13, "novelai_api.Preset.Preset.cfg_uc"]], "collapse_model() (in module novelai_api.preset)": [[13, "novelai_api.Preset.collapse_model"]], "copy() (preset method)": [[13, "novelai_api.Preset.Preset.copy"]], "diversity_penalty (preset attribute)": [[13, "novelai_api.Preset.Preset.diversity_penalty"]], "encoder_no_repeat_ngram_size (preset attribute)": [[13, "novelai_api.Preset.Preset.encoder_no_repeat_ngram_size"]], "enum_contains() (in module novelai_api.preset)": [[13, "novelai_api.Preset.enum_contains"]], "enum_member_values (model attribute)": [[13, "novelai_api.Preset.Model.enum_member_values"]], "eos_token_id (preset attribute)": [[13, "novelai_api.Preset.Preset.eos_token_id"]], "from_default() (preset class method)": [[13, "novelai_api.Preset.Preset.from_default"]], "from_file() (preset class method)": [[13, "novelai_api.Preset.Preset.from_file"]], "from_official() (preset class method)": [[13, "novelai_api.Preset.Preset.from_official"]], "from_preset_data() (preset class method)": [[13, "novelai_api.Preset.Preset.from_preset_data"]], "get_hidden_states (preset attribute)": [[13, "novelai_api.Preset.Preset.get_hidden_states"]], "length_penalty (preset attribute)": [[13, "novelai_api.Preset.Preset.length_penalty"]], "max_length (preset attribute)": [[13, "novelai_api.Preset.Preset.max_length"]], "max_time (preset attribute)": [[13, "novelai_api.Preset.Preset.max_time"]], "min_length (preset attribute)": [[13, "novelai_api.Preset.Preset.min_length"]], "mirostat_lr (preset attribute)": [[13, "novelai_api.Preset.Preset.mirostat_lr"]], "mirostat_tau (preset attribute)": [[13, "novelai_api.Preset.Preset.mirostat_tau"]], "model (preset attribute)": [[13, "novelai_api.Preset.Preset.model"]], "model (presetview attribute)": [[13, "novelai_api.Preset.PresetView.model"]], "name (preset attribute)": [[13, "novelai_api.Preset.Preset.name"]], "no_repeat_ngram_size (preset attribute)": [[13, "novelai_api.Preset.Preset.no_repeat_ngram_size"]], "novelai_api.preset": [[13, "module-novelai_api.Preset"]], "num_return_sequences (preset attribute)": [[13, "novelai_api.Preset.Preset.num_return_sequences"]], "order (preset attribute)": [[13, "novelai_api.Preset.Preset.order"]], "pad_token_id (preset attribute)": [[13, "novelai_api.Preset.Preset.pad_token_id"]], "phrase_rep_pen (preset attribute)": [[13, "novelai_api.Preset.Preset.phrase_rep_pen"]], "repetition_penalty (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty"]], "repetition_penalty_default_whitelist (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_default_whitelist"]], "repetition_penalty_frequency (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_frequency"]], "repetition_penalty_presence (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_presence"]], "repetition_penalty_range (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_range"]], "repetition_penalty_slope (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_slope"]], "repetition_penalty_whitelist (preset attribute)": [[13, "novelai_api.Preset.Preset.repetition_penalty_whitelist"]], "sampling_options (preset attribute)": [[13, "novelai_api.Preset.Preset.sampling_options"]], "set() (preset method)": [[13, "novelai_api.Preset.Preset.set"]], "set_sampling_options_state() (preset method)": [[13, "novelai_api.Preset.Preset.set_sampling_options_state"]], "tail_free_sampling (preset attribute)": [[13, "novelai_api.Preset.Preset.tail_free_sampling"]], "temperature (preset attribute)": [[13, "novelai_api.Preset.Preset.temperature"]], "textgenerationsettingsversion (preset attribute)": [[13, "novelai_api.Preset.Preset.textGenerationSettingsVersion"]], "to_file() (preset method)": [[13, "novelai_api.Preset.Preset.to_file"]], "to_settings() (preset method)": [[13, "novelai_api.Preset.Preset.to_settings"]], "top_a (preset attribute)": [[13, "novelai_api.Preset.Preset.top_a"]], "top_g (preset attribute)": [[13, "novelai_api.Preset.Preset.top_g"]], "top_k (preset attribute)": [[13, "novelai_api.Preset.Preset.top_k"]], "top_p (preset attribute)": [[13, "novelai_api.Preset.Preset.top_p"]], "typical_p (preset attribute)": [[13, "novelai_api.Preset.Preset.typical_p"]], "update() (preset method)": [[13, "novelai_api.Preset.Preset.update"]], "schemavalidator (class in novelai_api.schemavalidator)": [[14, "novelai_api.SchemaValidator.SchemaValidator"]], "__init__() (schemavalidator method)": [[14, "novelai_api.SchemaValidator.SchemaValidator.__init__"]], "novelai_api.schemavalidator": [[14, "module-novelai_api.SchemaValidator"]], "validate() (schemavalidator class method)": [[14, "novelai_api.SchemaValidator.SchemaValidator.validate"]], "default_model (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.DEFAULT_MODEL"]], "novelaistory (class in novelai_api.storyhandler)": [[15, "novelai_api.StoryHandler.NovelAIStory"]], "novelaistorystorage (class in novelai_api.storyhandler)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage"]], "text_generation_settings_version (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.TEXT_GENERATION_SETTINGS_VERSION"]], "__init__() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.__init__"]], "__init__() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.__init__"]], "api (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.api"]], "api (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.api"]], "banlists (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.banlists"]], "biases (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.biases"]], "build_context() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.build_context"]], "choose() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.choose"]], "context_size (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.context_size"]], "create() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.create"]], "delete() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.delete"]], "edit() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.edit"]], "flatten() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.flatten"]], "generate() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.generate"]], "get_current_tree() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.get_current_tree"]], "global_settings (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.global_settings"]], "global_settings (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.global_settings"]], "idstore (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.idstore"]], "key (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.key"]], "keystore (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.keystore"]], "keystore (novelaistorystorage attribute)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.keystore"]], "load() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.load"]], "load_from_remote() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.load_from_remote"]], "loads() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.loads"]], "model (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.model"]], "novelai_api.storyhandler": [[15, "module-novelai_api.StoryHandler"]], "prefix (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.prefix"]], "preset (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.preset"]], "redo() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.redo"]], "save() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.save"]], "select() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.select"]], "story (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.story"]], "storycontent (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.storycontent"]], "tree (novelaistory attribute)": [[15, "novelai_api.StoryHandler.NovelAIStory.tree"]], "undo() (novelaistory method)": [[15, "novelai_api.StoryHandler.NovelAIStory.undo"]], "unload() (novelaistorystorage method)": [[15, "novelai_api.StoryHandler.NovelAIStoryStorage.unload"]], "sentencepiece (class in novelai_api.tokenizer)": [[16, "novelai_api.Tokenizer.SentencePiece"]], "tokenizer (class in novelai_api.tokenizer)": [[16, "novelai_api.Tokenizer.Tokenizer"]], "__init__() (sentencepiece method)": [[16, "novelai_api.Tokenizer.SentencePiece.__init__"]], "decode() (sentencepiece method)": [[16, "novelai_api.Tokenizer.SentencePiece.decode"]], "decode() (tokenizer class method)": [[16, "novelai_api.Tokenizer.Tokenizer.decode"]], "encode() (sentencepiece method)": [[16, "novelai_api.Tokenizer.SentencePiece.encode"]], "encode() (tokenizer class method)": [[16, "novelai_api.Tokenizer.Tokenizer.encode"]], "get_tokenizer_name() (tokenizer class method)": [[16, "novelai_api.Tokenizer.Tokenizer.get_tokenizer_name"]], "novelai_api.tokenizer": [[16, "module-novelai_api.Tokenizer"]], "trans_regex_str (sentencepiece attribute)": [[16, "novelai_api.Tokenizer.SentencePiece.trans_regex_str"]], "trans_table_ids (sentencepiece attribute)": [[16, "novelai_api.Tokenizer.SentencePiece.trans_table_ids"]], "trans_table_str (sentencepiece attribute)": [[16, "novelai_api.Tokenizer.SentencePiece.trans_table_str"]], "highlevel (class in novelai_api._high_level)": [[17, "novelai_api._high_level.HighLevel"]], "__init__() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.__init__"]], "download_user_modules() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_modules"]], "download_user_presets() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_presets"]], "download_user_shelves() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_shelves"]], "download_user_stories() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_stories"]], "download_user_story_contents() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.download_user_story_contents"]], "generate() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.generate"]], "generate_image() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.generate_image"]], "generate_stream() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.generate_stream"]], "get_keystore() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.get_keystore"]], "login() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.login"]], "login_from_key() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.login_from_key"]], "login_with_token() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.login_with_token"]], "novelai_api._high_level": [[17, "module-novelai_api._high_level"]], "register() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.register"]], "set_keystore() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.set_keystore"]], "upload_user_content() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.upload_user_content"]], "upload_user_contents() (highlevel method)": [[17, "novelai_api._high_level.HighLevel.upload_user_contents"]], "lowlevel (class in novelai_api._low_level)": [[18, "novelai_api._low_level.LowLevel"]], "lowlevel.subscriptiontier (class in novelai_api._low_level)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier"]], "opus (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.OPUS"]], "paper (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.PAPER"]], "scroll (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.SCROLL"]], "tablet (lowlevel.subscriptiontier attribute)": [[18, "novelai_api._low_level.LowLevel.SubscriptionTier.TABLET"]], "__init__() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.__init__"]], "bind_subscription() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.bind_subscription"]], "buy_steps() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.buy_steps"]], "change_access_key() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.change_access_key"]], "change_subscription() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.change_subscription"]], "classify() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.classify"]], "delete_account() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.delete_account"]], "delete_module() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.delete_module"]], "delete_object() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.delete_object"]], "download_object() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.download_object"]], "download_objects() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.download_objects"]], "generate() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate"]], "generate_controlnet_mask() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_controlnet_mask"]], "generate_image() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_image"]], "generate_prompt() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_prompt"]], "generate_voice() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.generate_voice"]], "get_data() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_data"]], "get_information() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_information"]], "get_keystore() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_keystore"]], "get_priority() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_priority"]], "get_settings() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_settings"]], "get_subscription() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_subscription"]], "get_trained_module() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_trained_module"]], "get_trained_modules() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.get_trained_modules"]], "is_reachable() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.is_reachable"]], "is_schema_validation_enabled (lowlevel attribute)": [[18, "novelai_api._low_level.LowLevel.is_schema_validation_enabled"]], "login() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.login"]], "novelai_api._low_level": [[18, "module-novelai_api._low_level"]], "print_with_parameters() (in module novelai_api._low_level)": [[18, "novelai_api._low_level.print_with_parameters"]], "recover_account() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.recover_account"]], "register() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.register"]], "request() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.request"]], "request_account_recovery() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.request_account_recovery"]], "send_email_verification() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.send_email_verification"]], "set_keystore() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.set_keystore"]], "set_settings() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.set_settings"]], "suggest_tags() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.suggest_tags"]], "train_module() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.train_module"]], "upload_object() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.upload_object"]], "upload_objects() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.upload_objects"]], "upscale_image() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.upscale_image"]], "verify_email() (lowlevel method)": [[18, "novelai_api._low_level.LowLevel.verify_email"]], "argon_hash() (in module novelai_api.utils)": [[19, "novelai_api.utils.argon_hash"]], "b64_to_tokens() (in module novelai_api.utils)": [[19, "novelai_api.utils.b64_to_tokens"]], "compress_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.compress_user_data"]], "decompress_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.decompress_user_data"]], "decrypt_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.decrypt_data"]], "decrypt_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.decrypt_user_data"]], "encrypt_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.encrypt_data"]], "encrypt_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.encrypt_user_data"]], "extract_preset_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.extract_preset_data"]], "gather_asyncgenerator() (in module novelai_api.utils)": [[19, "novelai_api.utils.gather_asyncgenerator"]], "get_access_key() (in module novelai_api.utils)": [[19, "novelai_api.utils.get_access_key"]], "get_decrypted_user_data() (in module novelai_api.utils)": [[19, "novelai_api.utils.get_decrypted_user_data"]], "get_encryption_key() (in module novelai_api.utils)": [[19, "novelai_api.utils.get_encryption_key"]], "link_content_to_story() (in module novelai_api.utils)": [[19, "novelai_api.utils.link_content_to_story"]], "novelai_api.utils": [[19, "module-novelai_api.utils"]], "tokenize_if_not() (in module novelai_api.utils)": [[19, "novelai_api.utils.tokenize_if_not"]], "tokens_to_b64() (in module novelai_api.utils)": [[19, "novelai_api.utils.tokens_to_b64"]], "unlink_content_from_story() (in module novelai_api.utils)": [[19, "novelai_api.utils.unlink_content_from_story"]], "aimodules_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.aimodules_integrity"]], "keystore_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.keystore_integrity"]], "preset_from_default() (in module tests.api.test_textgen_presets)": [[20, "tests.api.test_textgen_presets.preset_from_default"]], "preset_from_official() (in module tests.api.test_textgen_presets)": [[20, "tests.api.test_textgen_presets.preset_from_official"]], "presets_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.presets_integrity"]], "shelves_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.shelves_integrity"]], "stories_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.stories_integrity"]], "storycontent_integrity() (in module tests.api.test_decrypt_encrypt_integrity_check)": [[20, "tests.api.test_decrypt_encrypt_integrity_check.storycontent_integrity"]], "test_presets() (in module tests.api.test_textgen_presets)": [[20, "tests.api.test_textgen_presets.test_presets"]], "tests.api.test_decrypt_encrypt_integrity_check": [[20, "module-tests.api.test_decrypt_encrypt_integrity_check"]], "tests.api.test_imagegen_samplers": [[20, "module-tests.api.test_imagegen_samplers"]], "tests.api.test_sync_gen": [[20, "module-tests.api.test_sync_gen"]], "tests.api.test_textgen_presets": [[20, "module-tests.api.test_textgen_presets"]], "api (class in tests.api.boilerplate)": [[21, "tests.api.boilerplate.API"]], "jsonencoder (class in tests.api.boilerplate)": [[21, "tests.api.boilerplate.JSONEncoder"]], "api_handle() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.api_handle"]], "api_handle_sync() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.api_handle_sync"]], "dumps() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.dumps"]], "error_handler() (in module tests.api.boilerplate)": [[21, "tests.api.boilerplate.error_handler"]], "tests.api.boilerplate": [[21, "module-tests.api.boilerplate"]]}}) \ No newline at end of file diff --git a/tests/api/api.boilerplate.html b/tests/api/api.boilerplate.html index b05c186..220213c 100644 --- a/tests/api/api.boilerplate.html +++ b/tests/api/api.boilerplate.html @@ -6,7 +6,7 @@ - boilerplate — NovelAI API 0.22.0 documentation + boilerplate — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -216,13 +216,13 @@

    Navigation

  • previous |
  • - + diff --git a/tests/api/api.html b/tests/api/api.html index d5db6c4..e95d7d6 100644 --- a/tests/api/api.html +++ b/tests/api/api.html @@ -6,7 +6,7 @@ - API directory — NovelAI API 0.22.0 documentation + API directory — NovelAI API 0.23.1 documentation @@ -52,7 +52,7 @@

    Navigation

  • previous |
  • - + @@ -273,12 +273,12 @@

    Navigation

  • previous |
  • - + diff --git a/tests/mock/mock.html b/tests/mock/mock.html index ec578e3..2d001aa 100644 --- a/tests/mock/mock.html +++ b/tests/mock/mock.html @@ -6,7 +6,7 @@ - Mock directory — NovelAI API 0.22.0 documentation + Mock directory — NovelAI API 0.23.1 documentation @@ -48,7 +48,7 @@

    Navigation

  • previous |
  • - + @@ -124,12 +124,12 @@

    Navigation

  • previous |
  • - +