From e7eb1ea86421fae9fad22f4f11e84e5d1dd69fb4 Mon Sep 17 00:00:00 2001 From: Alert Aigul Date: Wed, 9 Jul 2025 05:53:49 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=86=95=20add(generate=5Fimage):=20use?= =?UTF-8?q?=5Fnew=5Fshared=5Ftrial=20for=20img2img?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/novelai_python/sdk/ai/generate_image/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/novelai_python/sdk/ai/generate_image/__init__.py b/src/novelai_python/sdk/ai/generate_image/__init__.py index cd896ef..89d3f6c 100755 --- a/src/novelai_python/sdk/ai/generate_image/__init__.py +++ b/src/novelai_python/sdk/ai/generate_image/__init__.py @@ -521,7 +521,8 @@ def build_img2img( reference_information_extracted_multiple: List[float] = None, qualityToggle: bool = None, decrisp_mode: bool = None, - variety_boost: bool = None + variety_boost: bool = None, + use_trial: bool = True ): """ Quickly construct a parameter class that meets the requirements. @@ -598,7 +599,8 @@ def build_img2img( input=prompt, model=model, action=Action.IMG2IMG, - parameters=params + parameters=params, + use_new_shared_trial=use_trial ) @staticmethod From fedae625b7e39dfe12733f150c94f142be2c377d Mon Sep 17 00:00:00 2001 From: Alert Aigul Date: Wed, 9 Jul 2025 05:56:46 +0300 Subject: [PATCH 2/2] version swap for pip download --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b55848a..6de9497 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "novelai-python" -version = "0.7.12" +version = "0.7.13" description = "NovelAI Python Binding With Pydantic" authors = [ { name = "sudoskys", email = "coldlando@hotmail.com" },