UCPreset . Preset_Light : "nsfw, lowres, jpeg artifacts, worst quality, watermark, blurry, very displeasing" ,
UCPreset . Preset_None : "lowres" ,
},
+ ImageModel . Furry_v3 : {
+ UCPreset . Preset_Heavy : "nsfw, {{worst quality}}, [displeasing], {unusual pupils}, guide lines, "
+ "{{unfinished}}, {bad} , url, artist name, {{tall image}}, mosaic, {sketch page}, comic panel, "
+ "impact (font), [dated], {logo} , ych, {what} , {where is your god now}, {distorted text}, repeated text, "
+ "{floating head}, {1994} , {widescreen} , absolutely everyone, sequence, {compression artifacts}, "
+ "hard translated, {cropped} , {commissioner name}, unknown text, high contrast" ,
+ UCPreset . Preset_Light : "{worst quality}, guide lines, unfinished, bad, url, tall image, widescreen, "
+ "compression artifacts, unknown text" ,
+ UCPreset . Preset_None : "lowres" ,
+ },
}
# inpainting presets are the same as the normal ones
@@ -394,6 +406,14 @@ Source code for novelai_api.ImagePreset
return cls . from_file ( Path ( __file__ ) . parent / "image_presets" / "presets_v3" / "default.preset" )
+[docs] @classmethod
+
def from_v3_furry_config ( cls ):
+
"""
+
Create a new ImagePreset with the default settings from the v3 furry config
+
"""
+
+
return cls . from_file ( Path ( __file__ ) . parent / "image_presets" / "presets_v3" / "default_furry.preset" )
+
[docs] @classmethod
def from_default_config ( cls , model : ImageModel ) -> "ImagePreset" :
"""
@@ -414,7 +434,9 @@
Source code for novelai_api.ImagePreset
elif model in ( ImageModel . Anime_v2 ,):
return cls . from_v2_config ()
elif model in ( ImageModel . Anime_v3 , ImageModel . Inpainting_Anime_v3 ):
- return cls . from_v3_config ()
+
return cls . from_v3_config ()
+
elif model in ( ImageModel . Furry_v3 , ImageModel . Inpainting_Furry_v3 ):
+
return cls . from_v3_furry_config ()
def __setitem__ ( self , key : str , value : Any ):
if key not in self . _TYPE_MAPPING :
@@ -739,7 +761,7 @@ Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.ImagePreset
diff --git a/_modules/novelai_api/Keystore.html b/_modules/novelai_api/Keystore.html
index 199c912..8109c72 100644
--- a/_modules/novelai_api/Keystore.html
+++ b/_modules/novelai_api/Keystore.html
@@ -5,7 +5,7 @@
-
novelai_api.Keystore — NovelAI API 0.26.0 documentation
+
novelai_api.Keystore — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.Keystore
@@ -260,7 +260,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.Keystore
diff --git a/_modules/novelai_api/NovelAIError.html b/_modules/novelai_api/NovelAIError.html
index 64256f1..e141d18 100644
--- a/_modules/novelai_api/NovelAIError.html
+++ b/_modules/novelai_api/NovelAIError.html
@@ -5,7 +5,7 @@
-
novelai_api.NovelAIError — NovelAI API 0.26.0 documentation
+
novelai_api.NovelAIError — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.NovelAIError
@@ -105,7 +105,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.NovelAIError
diff --git a/_modules/novelai_api/NovelAI_API.html b/_modules/novelai_api/NovelAI_API.html
index 7609801..8708a88 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.26.0 documentation
+
novelai_api.NovelAI_API — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.NovelAI_API
@@ -195,7 +195,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.NovelAI_API
diff --git a/_modules/novelai_api/Preset.html b/_modules/novelai_api/Preset.html
index 7a9e1ff..fc5552f 100644
--- a/_modules/novelai_api/Preset.html
+++ b/_modules/novelai_api/Preset.html
@@ -5,7 +5,7 @@
-
novelai_api.Preset — NovelAI API 0.26.0 documentation
+
novelai_api.Preset — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.Preset
@@ -702,7 +702,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.Preset
diff --git a/_modules/novelai_api/SchemaValidator.html b/_modules/novelai_api/SchemaValidator.html
index bd9f701..b2f7aa6 100644
--- a/_modules/novelai_api/SchemaValidator.html
+++ b/_modules/novelai_api/SchemaValidator.html
@@ -5,7 +5,7 @@
-
novelai_api.SchemaValidator — NovelAI API 0.26.0 documentation
+
novelai_api.SchemaValidator — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.SchemaValidator
@@ -121,7 +121,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.SchemaValidator
diff --git a/_modules/novelai_api/StoryHandler.html b/_modules/novelai_api/StoryHandler.html
index 135532e..cd454a1 100644
--- a/_modules/novelai_api/StoryHandler.html
+++ b/_modules/novelai_api/StoryHandler.html
@@ -5,7 +5,7 @@
-
novelai_api.StoryHandler — NovelAI API 0.26.0 documentation
+
novelai_api.StoryHandler — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.StoryHandler
@@ -551,7 +551,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.StoryHandler
diff --git a/_modules/novelai_api/Tokenizer.html b/_modules/novelai_api/Tokenizer.html
index 6499d36..7d5f072 100644
--- a/_modules/novelai_api/Tokenizer.html
+++ b/_modules/novelai_api/Tokenizer.html
@@ -5,7 +5,7 @@
-
novelai_api.Tokenizer — NovelAI API 0.26.0 documentation
+
novelai_api.Tokenizer — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.Tokenizer
@@ -298,7 +298,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.Tokenizer
diff --git a/_modules/novelai_api/_high_level.html b/_modules/novelai_api/_high_level.html
index 00a2c67..d50963f 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.26.0 documentation
+
novelai_api._high_level — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api._high_level
@@ -552,7 +552,12 @@
Source code for novelai_api._high_level
prompt = f "masterpiece, best quality, { prompt } "
elif model is ImageModel . Anime_v2 :
prompt = f "very aesthetic, best quality, absurdres, { prompt } "
- elif model in ( ImageModel . Anime_v3 , ImageModel . Inpainting_Anime_v3 ):
+ elif model in (
+ ImageModel . Anime_v3 ,
+ ImageModel . Inpainting_Anime_v3 ,
+ ImageModel . Furry_v3 ,
+ ImageModel . Inpainting_Furry_v3 ,
+ ):
prompt = f " { prompt } , best quality, amazing quality, very aesthetic, absurdres"
async for e in self . _parent . low_level . generate_image ( prompt , model , action , settings ):
@@ -588,7 +593,7 @@ Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api._high_level
diff --git a/_modules/novelai_api/_low_level.html b/_modules/novelai_api/_low_level.html
index f3486ba..8ee43ea 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.26.0 documentation
+
novelai_api._low_level — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api._low_level
@@ -1014,7 +1014,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api._low_level
diff --git a/_modules/novelai_api/utils.html b/_modules/novelai_api/utils.html
index 1d55fb6..39aaf06 100644
--- a/_modules/novelai_api/utils.html
+++ b/_modules/novelai_api/utils.html
@@ -5,7 +5,7 @@
-
novelai_api.utils — NovelAI API 0.26.0 documentation
+
novelai_api.utils — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.utils
@@ -464,7 +464,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
novelai_api.utils
diff --git a/_modules/tests/api/boilerplate.html b/_modules/tests/api/boilerplate.html
index 165ee75..aa9610d 100644
--- a/_modules/tests/api/boilerplate.html
+++ b/_modules/tests/api/boilerplate.html
@@ -5,7 +5,7 @@
-
tests.api.boilerplate — NovelAI API 0.26.0 documentation
+
tests.api.boilerplate — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
tests.api.boilerplate
@@ -260,7 +260,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
tests.api.boilerplate
diff --git a/_modules/tests/api/test_decrypt_encrypt_integrity_check.html b/_modules/tests/api/test_decrypt_encrypt_integrity_check.html
index 6018a26..e3ec283 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.26.0 documentation
+
tests.api.test_decrypt_encrypt_integrity_check — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
tests.api.test_decrypt_encrypt_integrity_check
@@ -307,7 +307,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
tests.api.test_decrypt_encrypt_integrity_check
diff --git a/_modules/tests/api/test_textgen_presets.html b/_modules/tests/api/test_textgen_presets.html
index 81c77d4..bb2994c 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.26.0 documentation
+
tests.api.test_textgen_presets — NovelAI API 0.27.0 documentation
@@ -43,7 +43,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
tests.api.test_textgen_presets
@@ -163,7 +163,7 @@
Navigation
modules |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
Module code »
tests.api.test_textgen_presets
diff --git a/_static/documentation_options.js b/_static/documentation_options.js
index e961bb3..25d9074 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.26.0',
+ VERSION: '0.27.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/example/example.boilerplate.html b/example/example.boilerplate.html
index 9c7404e..a57d336 100644
--- a/example/example.boilerplate.html
+++ b/example/example.boilerplate.html
@@ -6,7 +6,7 @@
-
boilerplate — NovelAI API 0.26.0 documentation
+
boilerplate — NovelAI API 0.27.0 documentation
@@ -52,7 +52,7 @@
Navigation
previous |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
example directory »
boilerplate
@@ -198,7 +198,7 @@
Navigation
previous |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
example directory »
boilerplate
diff --git a/example/example.html b/example/example.html
index acf23d3..e0542b1 100644
--- a/example/example.html
+++ b/example/example.html
@@ -6,7 +6,7 @@
-
example directory — NovelAI API 0.26.0 documentation
+
example directory — NovelAI API 0.27.0 documentation
@@ -52,7 +52,7 @@
Navigation
previous |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
example directory
@@ -284,7 +284,7 @@
Navigation
previous |
-
NovelAI API 0.26.0 documentation »
+
NovelAI API 0.27.0 documentation »
example directory
diff --git a/genindex.html b/genindex.html
index ca9e4f6..8ae0665 100644
--- a/genindex.html
+++ b/genindex.html
@@ -5,7 +5,7 @@