Skip to content

Commit

Permalink
πŸš€ feat: implement image metadata extraction and verification
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
sudoskys committed Dec 25, 2024
1 parent ee41d34 commit da47374
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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"

Expand Down

0 comments on commit da47374

Please sign in to comment.