Instructions to use AF552/A4_v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AF552/A4_v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("AF552/A4_v2") prompt = "a\u00004\u0000,\u0000 \u0000P\u0000h\u0000o\u0000t\u0000o\u0000g\u0000r\u0000a\u0000p\u0000h\u0000 \u0000o\u0000f\u0000 \u0000a\u0000 \u0000y\u0000o\u0000u\u0000n\u0000g\u0000 \u0000w\u0000o\u0000m\u0000a\u0000n\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000l\u0000o\u0000n\u0000g\u0000 \u0000b\u0000r\u0000o\u0000w\u0000n\u0000 \u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u0000l\u0000i\u0000g\u0000h\u0000t\u0000 \u0000s\u0000k\u0000i\u0000n\u0000,\u0000 \u0000a\u0000n\u0000d\u0000 \u0000b\u0000r\u0000o\u0000w\u0000n\u0000 \u0000e\u0000y\u0000e\u0000s\u0000,\u0000 \u0000s\u0000i\u0000t\u0000t\u0000i\u0000n\u0000g\u0000 \u0000i\u0000n\u0000 \u0000a\u0000 \u0000m\u0000o\u0000d\u0000e\u0000r\u0000n\u0000 \u0000c\u0000a\u0000f\u0000�\u0000.\u0000 \u0000S\u0000h\u0000e\u0000 \u0000w\u0000e\u0000a\u0000r\u0000s\u0000 \u0000a\u0000 \u0000d\u0000a\u0000r\u0000k\u0000 \u0000g\u0000r\u0000a\u0000y\u0000,\u0000 \u0000k\u0000n\u0000i\u0000t\u0000t\u0000e\u0000d\u0000 \u0000s\u0000w\u0000e\u0000a\u0000t\u0000e\u0000r\u0000 \u0000a\u0000n\u0000d\u0000 \u0000h\u0000a\u0000s\u0000 \u0000r\u0000e\u0000d\u0000-\u0000p\u0000a\u0000i\u0000n\u0000t\u0000e\u0000d\u0000 \u0000n\u0000a\u0000i\u0000l\u0000s\u0000.\u0000 \u0000S\u0000h\u0000e\u0000 \u0000h\u0000o\u0000l\u0000d\u0000s\u0000 \u0000a\u0000 \u0000g\u0000l\u0000a\u0000s\u0000s\u0000 \u0000o\u0000f\u0000 \u0000i\u0000c\u0000e\u0000d\u0000 \u0000l\u0000a\u0000t\u0000t\u0000e\u0000 \u0000i\u0000n\u0000 \u0000h\u0000e\u0000r\u0000 \u0000r\u0000i\u0000g\u0000h\u0000t\u0000 \u0000h\u0000a\u0000n\u0000d\u0000 \u0000a\u0000n\u0000d\u0000 \u0000r\u0000e\u0000s\u0000t\u0000s\u0000 \u0000h\u0000e\u0000r\u0000 \u0000l\u0000e\u0000f\u0000t\u0000 \u0000h\u0000a\u0000n\u0000d\u0000 \u0000o\u0000n\u0000 \u0000h\u0000e\u0000r\u0000 \u0000c\u0000h\u0000e\u0000e\u0000k\u0000.\u0000 \u0000H\u0000e\u0000r\u0000 \u0000e\u0000x\u0000p\u0000r\u0000e\u0000s\u0000s\u0000i\u0000o\u0000n\u0000 \u0000i\u0000s\u0000 \u0000g\u0000e\u0000n\u0000t\u0000l\u0000e\u0000 \u0000w\u0000i\u0000t\u0000h\u0000 \u0000a\u0000 \u0000s\u0000l\u0000i\u0000g\u0000h\u0000t\u0000 \u0000s\u0000m\u0000i\u0000l\u0000e\u0000.\u0000 \u0000T\u0000h\u0000e\u0000 \u0000c\u0000a\u0000f\u0000�\u0000 \u0000h\u0000a\u0000s\u0000 \u0000w\u0000o\u0000o\u0000d\u0000e\u0000n\u0000 \u0000t\u0000a\u0000b\u0000l\u0000e\u0000s\u0000 \u0000a\u0000n\u0000d\u0000 \u0000c\u0000h\u0000a\u0000i\u0000r\u0000s\u0000,\u0000 \u0000a\u0000 \u0000b\u0000l\u0000a\u0000c\u0000k\u0000 \u0000g\u0000l\u0000a\u0000s\u0000s\u0000 \u0000d\u0000i\u0000s\u0000p\u0000l\u0000a\u0000y\u0000 \u0000c\u0000a\u0000s\u0000e\u0000 \u0000i\u0000n\u0000 \u0000t\u0000h\u0000e\u0000 \u0000b\u0000a\u0000c\u0000k\u0000g\u0000r\u0000o\u0000u\u0000n\u0000d\u0000,\u0000 \u0000a\u0000n\u0000d\u0000 \u0000p\u0000o\u0000t\u0000t\u0000e\u0000d\u0000 \u0000p\u0000l\u0000a\u0000n\u0000t\u0000s\u0000.\u0000 \u0000T\u0000h\u0000e\u0000 \u0000c\u0000e\u0000i\u0000l\u0000i\u0000n\u0000g\u0000 \u0000h\u0000a\u0000s\u0000 \u0000r\u0000e\u0000c\u0000e\u0000s\u0000s\u0000e\u0000d\u0000 \u0000l\u0000i\u0000g\u0000h\u0000t\u0000i\u0000n\u0000g\u0000,\u0000 \u0000a\u0000n\u0000d\u0000 \u0000t\u0000h\u0000e\u0000 \u0000w\u0000a\u0000l\u0000l\u0000s\u0000 \u0000a\u0000r\u0000e\u0000 \u0000a\u0000 \u0000m\u0000i\u0000x\u0000 \u0000o\u0000f\u0000 \u0000d\u0000a\u0000r\u0000k\u0000 \u0000a\u0000n\u0000d\u0000 \u0000l\u0000i\u0000g\u0000h\u0000t\u0000 \u0000c\u0000o\u0000l\u0000o\u0000r\u0000s\u0000.\u0000 \u0000T\u0000h\u0000e\u0000 \u0000o\u0000v\u0000e\u0000r\u0000a\u0000l\u0000l\u0000 \u0000a\u0000t\u0000m\u0000o\u0000s\u0000p\u0000h\u0000e\u0000r\u0000e\u0000 \u0000i\u0000s\u0000 \u0000c\u0000o\u0000z\u0000y\u0000 \u0000a\u0000n\u0000d\u0000 \u0000c\u0000o\u0000n\u0000t\u0000e\u0000m\u0000p\u0000o\u0000r\u0000a\u0000r\u0000y\u0000.\u0000" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
A4_v2

- Prompt
- a4, Photograph of a young woman with long brown hair, light skin, and brown eyes, sitting in a modern caf�. She wears a dark gray, knitted sweater and has red-painted nails. She holds a glass of iced latte in her right hand and rests her left hand on her cheek. Her expression is gentle with a slight smile. The caf� has wooden tables and chairs, a black glass display case in the background, and potted plants. The ceiling has recessed lighting, and the walls are a mix of dark and light colors. The overall atmosphere is cozy and contemporary.
Model description
A4_v2 test model
Trigger words
You should use a4 to trigger the image generation.
Download model
Download them in the Files & versions tab.
- Downloads last month
- 17