Instructions to use TrilokDev/cartoon-lora-weights with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TrilokDev/cartoon-lora-weights with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-2-1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("TrilokDev/cartoon-lora-weights") prompt = "a cartoon avatar of a smiling boy with blond hair and green eyes" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Cartoon Face Avatar LoRA

- Prompt
- a cartoon avatar of a smiling boy with blond hair and green eyes
- Negative Prompt
- realistic, photo, blur, distorted face, extra eyes, creepy, shadows
Model description
This LoRA adapter fine-tunes Stable Diffusion 2.1 to generate 2D cartoon avatar faces based on prompts like "a smiling boy with red cap". It was trained on custom captioned cartoon images using 1 epoch of LoRA-based tuning.
Trigger words
You should use cartoon to trigger the image generation.
You should use avatar to trigger the image generation.
You should use cartoon face to trigger the image generation.
Download model
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
- Downloads last month
- 12
Model tree for TrilokDev/cartoon-lora-weights
Base model
stabilityai/stable-diffusion-2-1