Cartoon Diffusion
AI-powered image to cartoon conversion using diffusion models.
Installation
pip install cartoon-diffusion
Usage
from cartoon_diffusion import CartoonifyDiffusionPipeline
# Load the pipeline
pipeline = CartoonifyDiffusionPipeline.from_pretrained("wizcodes12/image_to_cartoonify")
# Convert image to cartoon
cartoon = pipeline("path/to/selfie.jpg")
cartoon.save("cartoon_output.png")
# Or use with PIL Image
from PIL import Image
image = Image.open("selfie.jpg")
cartoon = pipeline(image)
cartoon.save("cartoon_output.png")
Requirements
- Python 3.8+
- PyTorch
- CUDA (optional, for GPU acceleration)
Model
This package uses the pre-trained model from wizcodes12/image_to_cartoonify on Hugging Face.
License
MIT License
Metadata
Release files for cartoon-diffusion 0.1.0
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 |
|---|---|---|---|---|
| cartoon_diffusion-0.1.0.tar.gz | 6.9 kB | Without provenance | Details for cartoon_diffusion-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cartoon_diffusion-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cartoon_diffusion-0.1.0-py3-none-any.whl |
Total release size: 14.1 kB
Release files / cartoon_diffusion-0.1.0.tar.gz
| Download URL | cartoon_diffusion-0.1.0.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2c89c6606b531356c63f525fc1c4524f05c1eea32859ac71bb3a62914e5a7eb
|
|
BLAKE2b-256 checksum How to use checksums |
aec6adf4f330f635100542f29ea21c57cd57f225229be836883635b51c14da14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / cartoon_diffusion-0.1.0-py3-none-any.whl
| Download URL | cartoon_diffusion-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fceb776b1cf444c7638f5ee839c3861ccf2c6691835f97fdc19457944aabe23
|
|
BLAKE2b-256 checksum How to use checksums |
ad3ece24771a279e00e3b8b012d7766fefd38cfdddbee758b70748645b8c86c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for cartoon-diffusion 0.1.0
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.