Text-to-Image
Diffusers
StableDiffusionPipeline
stablediffusionapi.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/photon with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/photon with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("stablediffusionapi/photon", 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
- Draw Things
- DiffusionBee
Update screenshot link in README.md
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ pinned: true
|
|
| 10 |
|
| 11 |
# photon API Inference
|
| 12 |
|
| 13 |
-
, No Payment needed.
|
|
|
|
| 10 |
|
| 11 |
# photon API Inference
|
| 12 |
|
| 13 |
+

|
| 14 |
## Get API Key
|
| 15 |
|
| 16 |
Get API key from [Stable Diffusion API](http://stablediffusionapi.com/), No Payment needed.
|