ai-soulmate-sketch-filter
A Python library designed to demonstrate the core functionalities of AI-powered soulmate sketch generation and provide a seamless integration point for exploring the SuperMaker AI's soulmate drawing tool. This package offers a simplified interface to experiment with generating potential soulmate sketches based on various input parameters.
Installation
Install the package using pip: bash pip install ai-soulmate-sketch-filter
Basic Usage Examples
Here are a few examples showcasing how to use the ai-soulmate-sketch-filter package:
1. Generating a basic soulmate sketch with default settings: python from ai_soulmate_sketch_filter import SoulmateSketchGenerator
generator = SoulmateSketchGenerator() sketch = generator.generate_sketch()
sketch is a PIL Image object. You can save it to a file.
sketch.save("soulmate_default.png") print("Generated and saved a default soulmate sketch to soulmate_default.png")
2. Generating a sketch with specific age and gender preferences: python from ai_soulmate_sketch_filter import SoulmateSketchGenerator
generator = SoulmateSketchGenerator() sketch = generator.generate_sketch(age_range=(25, 35), gender="female")
sketch.save("soulmate_age_gender.png") print("Generated and saved a soulmate sketch (female, 25-35) to soulmate_age_gender.png")
3. Generating a sketch with custom facial feature hints (experimental): python from ai_soulmate_sketch_filter import SoulmateSketchGenerator
generator = SoulmateSketchGenerator() sketch = generator.generate_sketch(facial_features={"eyes": "almond", "hair": "brunette"})
sketch.save("soulmate_facial_features.png") print("Generated and saved a soulmate sketch with specified facial features to soulmate_facial_features.png")
4. Controlling the randomness seed for reproducible results: python from ai_soulmate_sketch_filter import SoulmateSketchGenerator
generator1 = SoulmateSketchGenerator(seed=42) sketch1 = generator1.generate_sketch() sketch1.save("soulmate_seed_42_1.png")
generator2 = SoulmateSketchGenerator(seed=42) sketch2 = generator2.generate_sketch() sketch2.save("soulmate_seed_42_2.png")
sketch1 and sketch2 will be identical (if no other parameters are changed)
print("Generated two identical soulmate sketches using the same seed.")
5. Generating a sketch with a preferred ethnicity (experimental): python from ai_soulmate_sketch_filter import SoulmateSketchGenerator
generator = SoulmateSketchGenerator() sketch = generator.generate_sketch(ethnicity="asian")
sketch.save("soulmate_ethnicity_asian.png") print("Generated and saved a soulmate sketch with 'asian' ethnicity to soulmate_ethnicity_asian.png")
Feature List
- Generates a potential soulmate sketch based on AI algorithms.
- Provides options to specify age range, gender, and ethnicity preferences.
- Allows for experimental specification of facial feature hints.
- Offers seed control for reproducible results.
- Returns a PIL Image object for easy saving and manipulation.
- Simple and easy-to-use API.
License
MIT
This project is a gateway to the ai-soulmate-sketch-filter ecosystem. For advanced features and full capabilities, please visit: https://supermaker.ai/image/blog/ai-soulmate-drawing-free-tool-generate-your-soulmate-sketch/
Metadata
Release files for ai-soulmate-sketch-filter 1768297.341.138
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ai_soulmate_sketch_filter-1768297.341.138.tar.gz | 3.9 kB | Without provenance | Details for ai_soulmate_sketch_filter-1768297.341.138.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ai_soulmate_sketch_filter-1768297.341.138-py3-none-any.whl | Python 3 | none | any | Details for ai_soulmate_sketch_filter-1768297.341.138-py3-none-any.whl |
Total release size: 8.3 kB
Release files / ai_soulmate_sketch_filter-1768297.341.138.tar.gz
| Download URL | ai_soulmate_sketch_filter-1768297.341.138.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34be70660bcebf80dcdb4741dbeacf2f05f08e3d0c9cfda2b63afd65ce435d3e
|
|
BLAKE2b-256 checksum How to use checksums |
86501746481b4c858479fc49a46eaa50978dcb8bbf4ed748dd155705d679b4ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / ai_soulmate_sketch_filter-1768297.341.138-py3-none-any.whl
| Download URL | ai_soulmate_sketch_filter-1768297.341.138-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0faaba5b8fa181577008492c5a0386f32ebd4b2284a96dcdf9a662fba72c2443
|
|
BLAKE2b-256 checksum How to use checksums |
00291eda469bcd04883111dd1b7ba474d363039760ad6786dcd7bc043e9699ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for ai-soulmate-sketch-filter 1768297.341.138
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.