Instructions to use Rand000mGuy/ak47 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Rand000mGuy/ak47 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-xl-base-1.0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Rand000mGuy/ak47") prompt = "UNICODE\u0000\u0000H\u0000y\u0000p\u0000e\u0000r\u0000r\u0000e\u0000a\u0000l\u0000i\u0000s\u0000t\u0000i\u0000c\u0000 \u0000a\u0000r\u0000t\u0000 \u0000o\u0000f\u0000 \u0000 \u0000<\u0000l\u0000o\u0000r\u0000a\u0000:\u0000A\u0000K\u0000-\u00004\u00007\u0000:\u00001\u0000.\u00005\u0000>\u0000" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
ak-47

- Prompt
- UNICODEHyperrealistic art of <lora:AK-47:1.5>
Trigger words
You should use AK-47 to trigger the image generation.
Download model
Download them in the Files & versions tab.
- Downloads last month
- 3