WizCodes
WorkAbout
WizCodes

Production-ready web platforms, mobile apps, and AI systems. Based in Ahmedabad, India.

Serving clients in US · UK · Canada · Europe

hello@wizcodes.site
Ahmedabad, India · Est. 2025

Services

ServicesWeb DevelopmentMobile AppsAI AutomationIndustries we servePricing

Company

WorkAboutContact

Resources

BlogOpen SourceFAQTestimonials
Listed on
ClutchGoodFirmsThe Manifest
MSME CertifiedDUNS RegisteredGDPR & DPDP256-bit TLS100% code ownership
© 2026 WizCodes. All rights reserved.Ahmedabad, India — Global Clients
Privacy·Terms
  1. Home/
  2. Open Source/
  3. Cartoon Diffusion
CD

Cartoon Diffusion

Turn a photo into a cartoon. Diffusion model and Python library, both published.

PythonMIT

What it does

A image-to-cartoon pipeline built on Stable Diffusion techniques and fine-tuned on the Google Cartoon Set avatar dataset from Kaggle. Published as two things: the trained model, and a Python library that wraps it so converting an image is a two-line call rather than a training setup.

Install

pip install cartoon-diffusion

Usage

python
from cartoon_diffusion import CartoonifyDiffusionPipeline

# Load the pipeline
pipeline = CartoonifyDiffusionPipeline.from_pretrained("wizcodes12/image_to_cartoonify")

# Convert an image to a cartoon
cartoon = pipeline("path/to/selfie.jpg")
cartoon.save("cartoon_output.png")

# Or pass a PIL Image
from PIL import Image
image = Image.open("selfie.jpg")
cartoon = pipeline(image)
cartoon.save("cartoon_output.png")

Built with

  • Python
  • Stable Diffusion
  • Diffusers
  • PyTorch
  • Computer Vision

Get it

View on PyPI View on GitHub Model card

Need something like this built for you?

We build production AI systems and developer tooling for clients, delivered end to end and handed over to your own accounts.

Get a free prototypeAI Automation →