Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
Safetensors
stable-diffusion
stable-diffusion-diffusers
Instructions to use sam749/Photon-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use sam749/Photon-v1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("sam749/Photon-v1", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Model Photon-v1 from civitai
Browse files- README.md +40 -0
- photon_v1.safetensors +3 -0
- preview.jpeg +0 -0
README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: creativeml-openrail-m
|
| 3 |
+
library_name: diffusers
|
| 4 |
+
tags:
|
| 5 |
+
- Safetensors
|
| 6 |
+
- stable-diffusion
|
| 7 |
+
- stable-diffusion-diffusers
|
| 8 |
+
- text-to-image
|
| 9 |
+
pipeline_tag: text-to-image
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# Photon
|
| 13 |
+
## v1
|
| 14 |
+
|
| 15 |
+

|
| 16 |
+
|
| 17 |
+
### Description:
|
| 18 |
+
|
| 19 |
+
> <p>This is the initial release focused on achieving photorealistic results. However, please note that the model's hands generation may have some limitations at this stage, and I'm actively exploring training techniques to enhance it.</p>
|
| 20 |
+
|
| 21 |
+
### Creator: Photographer
|
| 22 |
+
### Civitai Page: https://civitai.com/models/84728
|
| 23 |
+
|
| 24 |
+
You can use this with the [🧨Diffusers library](https://github.com/huggingface/diffusers)
|
| 25 |
+
|
| 26 |
+
### Diffusers
|
| 27 |
+
```py
|
| 28 |
+
from diffusers import StableDiffusionPipeline
|
| 29 |
+
import torch
|
| 30 |
+
|
| 31 |
+
model_id = "sam749/Photon-v1"
|
| 32 |
+
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
|
| 33 |
+
pipe = pipe.to("cuda")
|
| 34 |
+
|
| 35 |
+
prompt = "masterpiece, best quality, 1girl, (colorful),(delicate eyes and face), volumatic light, ray tracing, bust shot ,extremely detailed CG unity 8k wallpaper,solo,smile"
|
| 36 |
+
image = pipe(prompt).images[0]
|
| 37 |
+
|
| 38 |
+
image.save("result.png")
|
| 39 |
+
```
|
| 40 |
+
|
photon_v1.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ec41bd2a8271acde4ae81cac004d9f3300e7fb0870eae8cbfe0bbc4ef8e27f91
|
| 3 |
+
size 2132625918
|
preview.jpeg
ADDED
|