Instructions to use B0rghese/Grotesque_Magical_Realism with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use B0rghese/Grotesque_Magical_Realism 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("B0rghese/Grotesque_Magical_Realism") prompt = "a\u0000l\u0000b\u0000r\u0000i\u0000g\u0000h\u0000t\u0000_\u0000s\u0000t\u0000y\u0000l\u0000e\u0000,\u0000 \u0000g\u0000r\u0000o\u0000t\u0000e\u0000s\u0000q\u0000u\u0000e\u0000,\u0000 \u0000m\u0000a\u0000g\u0000i\u0000c\u0000a\u0000l\u0000 \u0000r\u0000e\u0000a\u0000l\u0000i\u0000s\u0000m\u0000,\u0000 \u0000p\u0000a\u0000i\u0000n\u0000t\u0000e\u0000r\u0000l\u0000y\u0000,\u0000 \u0000m\u0000a\u0000l\u0000e\u0000 \u0000f\u0000o\u0000c\u0000u\u0000s\u0000,\u0000 \u0000h\u0000a\u0000t\u0000,\u0000 \u0000f\u0000a\u0000c\u0000i\u0000a\u0000l\u0000 \u0000h\u0000a\u0000i\u0000r\u0000,\u0000 \u00001\u0000b\u0000o\u0000y\u0000,\u0000 \u0000s\u0000o\u0000l\u0000o\u0000" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - text-to-image | |
| - lora | |
| - diffusers | |
| - template:diffusion-lora | |
| widget: | |
| - output: | |
| url: images/H5HY44PH7VB5AC60G497Q0R8A0.jpeg | |
| text: "a\0l\0b\0r\0i\0g\0h\0t\0_\0s\0t\0y\0l\0e\0,\0 \0g\0r\0o\0t\0e\0s\0q\0u\0e\0,\0 \0m\0a\0g\0i\0c\0a\0l\0 \0r\0e\0a\0l\0i\0s\0m\0,\0 \0p\0a\0i\0n\0t\0e\0r\0l\0y\0,\0 \0m\0a\0l\0e\0 \0f\0o\0c\0u\0s\0,\0 \0h\0a\0t\0,\0 \0f\0a\0c\0i\0a\0l\0 \0h\0a\0i\0r\0,\0 \01\0b\0o\0y\0,\0 \0s\0o\0l\0o\0" | |
| base_model: krea/Krea-2-Turbo | |
| instance_prompt: albright_style, grotesque, magical realism, painterly | |
| # Grotesque Magical Realism | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `albright_style` to trigger the image generation. | |
| You should use `grotesque` to trigger the image generation. | |
| You should use `magical realism` to trigger the image generation. | |
| You should use `painterly` to trigger the image generation. | |
| ## Download model | |
| [Download](/B0rghese/Grotesque_Magical_Realism/tree/main) them in the Files & versions tab. | |