Instructions to use KALIN727/Kalin_Lineart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use KALIN727/Kalin_Lineart with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("cagliostrolab/animagine-xl-3.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("KALIN727/Kalin_Lineart") prompt = "greyscale, lineart, white background, solo, looking at viewer, simple background, 1boy, bara, male focus, muscular male, muscular, orc, facial hair, blush, solo, tusks, pectorals, monster boy, large pectorals, mature male, beard, pointy ears, upper body, shirt, short hair, looking at viewer, thick eyebrows, fangs, <lora:KALIN_line5:1>, masterpiece,best quality" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Kalin_Lineart

- Prompt
- greyscale, lineart, white background, solo, looking at viewer, simple background, 1boy, bara, male focus, muscular male, muscular, orc, facial hair, blush, solo, tusks, pectorals, monster boy, large pectorals, mature male, beard, pointy ears, upper body, shirt, short hair, looking at viewer, thick eyebrows, fangs, <lora:KALIN_line5:1>, masterpiece,best quality
- Negative Prompt
- nipples, worst quality,ugly,bad anatomy,jpeg artifacts
Download model
Download them in the Files & versions tab.
Usage on diffusers
You must huggingface-cli login before this script run.
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"cagliostrolab/animagine-xl-3.1",
torch_dtype=torch.float16,
use_safetensors=True,
)
pipe.load_lora_weights("KALIN727/Kalin_Lineart",load_lora_weights="KALIN_line.safetensors", adapter_name="KALIN_LINE")
pipe.to('cuda')
prompt = "KALIN_line5, lineart, 1girl, upper body, black bob hair, T-shirt, denim pants, masterpiece,best quality"
negative_prompt = "nipples, worst quality,ugly,bad anatomy,jpeg artifacts"
image = pipe(
prompt,
negative_prompt=negative_prompt,
width=832,
height=1216,
guidance_scale=7,
num_inference_steps=28
).images[0]
image.save("kalin_test.png")
- Downloads last month
- 7
Model tree for KALIN727/Kalin_Lineart
Base model
stabilityai/stable-diffusion-xl-base-1.0 Finetuned
Linaqruf/animagine-xl-2.0 Finetuned
cagliostrolab/animagine-xl-3.0 Finetuned
cagliostrolab/animagine-xl-3.1