Skip to content

Releases: LlmKira/novelai-python

0.4.7 /ai/generate && /ai/generate-stream

08 Apr 16:25
dc35edb
Compare
Choose a tag to compare
Merge pull request #52 from LlmKira/dev

feat(api): /ai/generate && /ai/generate-stream

0.4.6 multiple vibe transfer

06 Apr 06:10
037790a
Compare
Choose a tag to compare
  • Class.build() : The build parameters are updated, the original parameters are discarded but still available (merged into new parameters)
            {
-                "reference_image": reference_image,
-                "reference_strength": reference_strength,
-                "reference_information_extracted": reference_information_extracted,
+               "reference_image_multiple": reference_image_multiple,
+               "reference_strength_multiple": reference_strength_multiple,
+               "reference_information_extracted_multiple": reference_information_extracted_multiple,
            }
  • Param Updated

0.4.5 /ai/generate-voice

31 Mar 10:53
bc9e589
Compare
Choose a tag to compare
Merge pull request #45 from LlmKira/dev

:arrow_up: chore: update version to 0.4.5 in pyproject.toml

0.4.4 Fix Server && Vibe Generate consistent results

19 Mar 15:15
611efd2
Compare
Choose a tag to compare
Merge pull request #42 from LlmKira/dev

Small Fix

0.4.3 Fix Server && Vibe Generate consistent results

19 Mar 14:22
ee830f6
Compare
Choose a tag to compare

What's Changed

  • fix(vibe):Align samples for vibe, fix server by @sudoskys in #41

Full Changelog: pypi_0.4.2...pypi_0.4.3

0.4.2 Enhance GenerateImageInfer.calculate_cost

17 Mar 09:45
346f29a
Compare
Choose a tag to compare

✨What's Changed

  • enhance GenerateImageInfer.calculate_cost by @sudoskys in #40

Full Changelog: pypi_0.4.1...pypi_0.4.2

Note For 0.3.* Version

Caution

0.4.1 Break Change

  • Update enum with new model NAI_DIFFUSION_2

  • Change Func Name

- ImageMetadata.write_out
+ ImageMetadata.apply_to_image
  • Get model name from code
+ ImageMetadata.used_model

Caution

0.4.0 Break Change

  • Remove NovelAIMetadata from utils, move to from novelai_python.tool.image_metadata

  • random prompt

- utils.random_prompt
+ tool.random_prompt
  • Remove param in API.generate(**kwarg)
 :param override_headers:
 :param session:  session
- :param remove_sign:  移除追踪信息
  • Move create_mask_from_sketch to tool
- from novelai_python.utils.useful import create_mask_from_sketch
+ from novelai_python.tool.paint_mask import create_mask_from_sketch
  • Add tokenizer
+ from novelai_python.tokenizer import TokenizerUtil
  • Add verify
+ from novelai_python.tool.image_metadata import ImageMetadata
+ verify = ImageMetadata.verify_image_is_novelai(Image.open(image))

Solve #37 #36

0.4.1 Small Fix && Add break change

16 Mar 18:00
ad22fe4
Compare
Choose a tag to compare

Caution

0.4.1 Break Change

  • Update enum with new model NAI_DIFFUSION_2

  • Change Func Name

- ImageMetadata.write_out
+ ImageMetadata.apply_to_image
  • Get model name from code
+ ImageMetadata.used_model

Caution

0.4.0 Break Change

  • Remove NovelAIMetadata from utils, move to from novelai_python.tool.image_metadata

  • random prompt

- utils.random_prompt
+ tool.random_prompt
  • Remove param in API.generate(**kwarg)
 :param override_headers:
 :param session:  session
- :param remove_sign:  移除追踪信息
  • Move create_mask_from_sketch to tool
- from novelai_python.utils.useful import create_mask_from_sketch
+ from novelai_python.tool.paint_mask import create_mask_from_sketch
  • Add tokenizer
+ from novelai_python.tokenizer import TokenizerUtil
  • Add verify
+ from novelai_python.tool.image_metadata import ImageMetadata
+ verify = ImageMetadata.verify_image_is_novelai(Image.open(image))

Solve #37 #36

What's Changed

  • ✨ feat: add apply_lsb script, update enum with new model, and fix lsb… by @sudoskys in #39

Full Changelog: pypi_0.4.0...pypi_0.4.1

0.4.0 Break Change Coming

16 Mar 16:30
e093a55
Compare
Choose a tag to compare

Caution

Break Change

  • Remove NovelAIMetadata from utils, move to from novelai_python.tool.image_metadata

  • random prompt

- utils.random_prompt
+ tool.random_prompt
  • Remove param in API.generate(**kwarg)
 :param override_headers:
 :param session:  session
- :param remove_sign:  移除追踪信息
  • Move create_mask_from_sketch to tool
- from novelai_python.utils.useful import create_mask_from_sketch
+ from novelai_python.tool.paint_mask import create_mask_from_sketch
  • Add tokenizer
+ from novelai_python.tokenizer import TokenizerUtil
  • Add verify
+ from novelai_python.tool.image_metadata import ImageMetadata
+ verify = ImageMetadata.verify_image_is_novelai(Image.open(image))

Solve #37 #36

pypi_0.3.8 Vibe

09 Mar 06:08
146c651
Compare
Choose a tag to compare
Merge pull request #34 from LlmKira/dev

fix(vibe): Enhance add_image_to_black_background Function to Support 32-bit Transparency

pypi_0.3.7 Fix vibe

09 Mar 05:46
282c96d
Compare
Choose a tag to compare
  • Fix logic errors to make vibe consistent with web effects