Text-to-Image
Diffusers
PyTorch
StableDiffusionPipeline
stable-diffusion
diffusion-models-class
dreambooth-hackathon
wildcard
Instructions to use bakebrain/bergraffi-berlin-graffiti with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bakebrain/bergraffi-berlin-graffiti with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("bakebrain/bergraffi-berlin-graffiti", dtype=torch.bfloat16, device_map="cuda") prompt = "photo of bergraffi futuristic cyberpunk portrait painted by van gogh" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("bakebrain/bergraffi-berlin-graffiti", dtype=torch.bfloat16, device_map="cuda")
prompt = "photo of bergraffi futuristic cyberpunk portrait painted by van gogh"
image = pipe(prompt).images[0]DreamBooth model for the bergraffi concept trained by bakebrain.
This is a Stable Diffusion model fine-tuned on the bergraffi concept with DreamBooth. It can be used by modifying the instance_prompt: photo of bergraffi futuristic cyberpunk portrait painted by van gogh
This model was created as part of the DreamBooth Hackathon 🔥. Visit the organisation page for instructions on how to take part!
Description
This is a Stable Diffusion model fine-tuned on Berlin graffiti images.
Sample Images
150+ generated images can be found here: https://imgur.com/a/0Q00Rq7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
Experiment with the guidance scale! Enjoy!
from diffusers import StableDiffusionPipeline
pipeline = StableDiffusionPipeline.from_pretrained('bakebrain/bergraffi-berlin-graffiti')
prompt = "photo of bergraffi futuristic cyberpunk portrait painted by van gogh"
guidance_scale = 12
image = pipeline(prompt, guidance_scale=guidance_scale).images[0]
image
- Downloads last month
- 1