MidnightRunner
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -18,6 +18,7 @@ widget:
|
|
18 |
bad hands, extra digits, (multiple views:1.1), (bad:1.05), fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, sepia, sketch, flat color, signature, artistic error, username, scan, (blurry, lowres, worst quality, (low quality:1.1), ugly, (bad anatomy:1.05), artist name, (patreon username:1.2)
|
19 |
output:
|
20 |
url: stand_on_the_ice.png
|
|
|
21 |
---
|
22 |
|
23 |
# MIDNIGHT Illustrious Checkpoint
|
@@ -62,28 +63,6 @@ bad hands, extra digits, (multiple views:1.1), (bad:1.05), fewer, extra, missing
|
|
62 |
## Additional Notes
|
63 |
|
64 |
- Outputs are best suited for **ComfyUI**, **Automatic1111**, and other **Diffuser-based tools**.
|
65 |
-
- ## 🔧 Usage with Hugging Face Inference API
|
66 |
-
|
67 |
-
You can use this model with the Hugging Face Inference API for generating images directly from code. Here's a sample Python script:
|
68 |
-
|
69 |
-
```python
|
70 |
-
from huggingface_hub import InferenceClient
|
71 |
-
|
72 |
-
# Initialize the Inference Client
|
73 |
-
client = InferenceClient(
|
74 |
-
provider="hf-inference",
|
75 |
-
api_key="hf_xxxxxxxxxxxxxxxxxxxxxxxx" # Replace with your Hugging Face API key
|
76 |
-
)
|
77 |
-
|
78 |
-
# Generate an image
|
79 |
-
image = client.text_to_image(
|
80 |
-
"realistic, photorealistic, very aesthetic, best quality, absurdres, masterpiece, best quality, amazing quality, newest, scenery, depth of field, high-resolution, high definition, visually intense anaglyphic experience, hallucinations, editorial photography, journalistic style, candid, volumetric, candid, bow, fake animal ears, pleated skirt, thighhighs, 2girls, multiple girls, (colorful:1.2), rainbow, light particles, from above, volumetric lighting, ((adult girls:1.2)), _trippy_, realistic, photorealistic, very aesthetic, best quality, absurdres, masterpiece, best quality, amazing quality, newest, scenery, depth of field",
|
81 |
-
model="MidnightRunner/MDNT_Illus/blob/main/MIDNIGHT_illustrious_BakedVAE20V18.safetensors"
|
82 |
-
)
|
83 |
-
|
84 |
-
# Save or display the image
|
85 |
-
image.save("generated_image.png")
|
86 |
-
image.show()
|
87 |
|
88 |
## License
|
89 |
|
|
|
18 |
bad hands, extra digits, (multiple views:1.1), (bad:1.05), fewer, extra, missing, worst quality, jpeg artifacts, bad quality, watermark, unfinished, displeasing, sepia, sketch, flat color, signature, artistic error, username, scan, (blurry, lowres, worst quality, (low quality:1.1), ugly, (bad anatomy:1.05), artist name, (patreon username:1.2)
|
19 |
output:
|
20 |
url: stand_on_the_ice.png
|
21 |
+
|
22 |
---
|
23 |
|
24 |
# MIDNIGHT Illustrious Checkpoint
|
|
|
63 |
## Additional Notes
|
64 |
|
65 |
- Outputs are best suited for **ComfyUI**, **Automatic1111**, and other **Diffuser-based tools**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
|
67 |
## License
|
68 |
|