Text-to-Image
Diffusers
Safetensors
StableDiffusionPipeline
stablediffusionapi.com
stable-diffusion-api
ultra-realistic
Instructions to use stablediffusionapi/edge-of-realism with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use stablediffusionapi/edge-of-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("stablediffusionapi/edge-of-realism", 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
Commit ·
527771b
1
Parent(s): 4bd1f8a
converted using stablediffusionapi.com
Browse files- README.md +8 -3
- text_encoder/pytorch_model.bin +1 -1
- unet/diffusion_pytorch_model.bin +1 -1
README.md
CHANGED
|
@@ -8,10 +8,9 @@ tags:
|
|
| 8 |
pinned: true
|
| 9 |
---
|
| 10 |
|
|
|
|
| 11 |
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-

|
| 15 |
## Get API Key
|
| 16 |
|
| 17 |
Get API key from [Stable Diffusion API](http://stablediffusionapi.com/), No Payment needed.
|
|
@@ -20,6 +19,12 @@ Replace Key in below code, change **model_id** to "edge-of-realism"
|
|
| 20 |
|
| 21 |
Coding in PHP/Node/Java etc? Have a look at docs for more code examples: [View docs](https://stablediffusionapi.com/docs)
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
import requests
|
| 24 |
import json
|
| 25 |
|
|
|
|
| 8 |
pinned: true
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# Edge of Realism API Inference
|
| 12 |
|
| 13 |
+

|
|
|
|
|
|
|
| 14 |
## Get API Key
|
| 15 |
|
| 16 |
Get API key from [Stable Diffusion API](http://stablediffusionapi.com/), No Payment needed.
|
|
|
|
| 19 |
|
| 20 |
Coding in PHP/Node/Java etc? Have a look at docs for more code examples: [View docs](https://stablediffusionapi.com/docs)
|
| 21 |
|
| 22 |
+
Model link: [View model](https://stablediffusionapi.com/models/edge-of-realism)
|
| 23 |
+
|
| 24 |
+
Credits: [View credits](https://civitai.com/?query=Edge%20of%20Realism)
|
| 25 |
+
|
| 26 |
+
View all models: [View Models](https://stablediffusionapi.com/models)
|
| 27 |
+
|
| 28 |
import requests
|
| 29 |
import json
|
| 30 |
|
text_encoder/pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 492307041
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d619ec6789be079ae9dc3a0c21518d691021e5bf4a3c926a59ff06d848d140e7
|
| 3 |
size 492307041
|
unet/diffusion_pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 3438366373
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55a0980bc52a0ac44764a6c3dea4f200580bbd5ea2c5df42ac1d19a574546808
|
| 3 |
size 3438366373
|