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" }, 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