|
--- |
|
license: creativeml-openrail-m |
|
tags: |
|
- stable-diffusion |
|
- text-to-image |
|
--- |
|
# Galactic Diffusion |
|
This is the fine-tuned Stable Diffusion model trained on images from the <b>entergalactic</b> on Netflix.. |
|
No tokens is needed. |
|
|
|
### Diffusers |
|
|
|
This model can be used just like any other Stable Diffusion model. For more information, |
|
please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion). |
|
|
|
You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX](). |
|
|
|
```python |
|
#!pip install diffusers transformers scipy torch |
|
from diffusers import StableDiffusionPipeline |
|
import torch |
|
|
|
model_id = "AlexZheng/galactic-diffusion-v1.0" |
|
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16) |
|
pipe = pipe.to("cuda") |
|
|
|
prompt = "a beautiful young female with long dark hair, clothed in full dress" |
|
image = pipe(prompt).images[0] |
|
image.save("./samples/1.png") |
|
``` |
|
|
|
|
|
|
|
### Sample images |
|
|
|
"a beautiful young female with long dark hair, clothed in full dress" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/0_0.png) |
|
|
|
"a strong handsome young male clothed in metal armors" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/2_0.png) |
|
|
|
"a British shorthair cat sitting on the floor" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/6_0.png) |
|
|
|
"a golden retriever running in the park" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/8_0.png) |
|
|
|
"a blue shining Porsche sports car" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/10_0.png) |
|
|
|
"a modern concept house, two stories, no people" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/12_0.png) |
|
|
|
"a warm and sweet living room, a TV, no people" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/14_0.png) |
|
|
|
"a beautiful city night scene, no people" |
|
|
|
![output Samples v3](https://huggingface.co/AlexZheng/galactic-diffusion-v1.0/resolve/main/samples/16_0.png) |
|
|
|
|
|
|
|
|