import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("imagepipeline/Kids-Cartoon")
prompt = "anime, graphic novel style, girl with pink pigtails wearing a blue vand white frock eating an ice-cream"
image = pipe(prompt).images[0] A newer version of this model is available: black-forest-labs/FLUX.1-dev
Want to create production quality AI generated images ?
Easily generate stunning, high-quality images with our APIs, designed for developers and creators. Build powerful applications with reliable, fast, and scalable AI image generation.
Create a free account on imagepipeline.io. No payment required.
support discord server - https://discord.gg/fN9GSfvG
- Downloads last month
- 4
Model tree for imagepipeline/Kids-Cartoon
Base model
black-forest-labs/FLUX.1-dev