From da47374a5978e6cf10ae380591ac38656fe40eaa Mon Sep 17 00:00:00 2001 From: sudoskys Date: Wed, 25 Dec 2024 14:57:47 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20feat:=20implement=20image=20meta?= =?UTF-8?q?data=20extraction=20and=20verification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add functionality to extract metadata from images using LSB and PNGInfo. - Implement methods to verify if images are generated by NovelAI. - Add support for handling additional metadata formats and validation. - Refactor existing code for improved error handling and validation. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index d34c184..b481863 100755 --- a/README.md +++ b/README.md @@ -23,8 +23,6 @@ the [NovelAI API service](https://api.novelai.net/docs). pip -U install novelai-python ``` -For security reasons, storing user credentials in plaintext is strongly discouraged. - All API users must adhere to the NovelAI Terms of Service: https://novelai.net/terms. **More examples can be found in the [playground](https://github.com/LlmKira/novelai-python/tree/main/playground) @@ -43,6 +41,7 @@ from novelai_python.sdk.ai.generate_image.schema import PositionMap load_dotenv() session = ApiCredential(api_token=SecretStr(os.getenv("NOVELAI_JWT"))) # pst-*** +# For security reasons, storing user credentials in plaintext is strongly discouraged. prompt = "1girl, year 2023,dynamic angle, best quality, amazing quality, very aesthetic, absurdres"