MidnightRunner
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ The **MIDNIGHT Illustrious** checkpoint is a versatile and photorealistic model
|
|
28 |
|
29 |
## Prompt Format
|
30 |
|
31 |
-
### Positive
|
32 |
realistic, photorealistic, very aesthetic, best quality, absurdres, masterpiece, amazing quality, newest, scenery, depth of field, high-resolution, high definition, visually intense anaglyphic experience, hallucinations, editorial photography, journalistic style, candid
|
33 |
|
34 |
|
@@ -45,7 +45,7 @@ a vibrant cityscape at night, glowing neon signs, people walking in rain-soaked
|
|
45 |
|
46 |
realistic, photorealistic, very aesthetic, best quality, absurdres, masterpiece, amazing quality, newest, scenery, depth of field
|
47 |
|
48 |
-
### Negative
|
49 |
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)
|
50 |
|
51 |
## Settings
|
@@ -62,6 +62,28 @@ 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 |
|
66 |
## License
|
67 |
|
|
|
28 |
|
29 |
## Prompt Format
|
30 |
|
31 |
+
### Positive
|
32 |
realistic, photorealistic, very aesthetic, best quality, absurdres, masterpiece, amazing quality, newest, scenery, depth of field, high-resolution, high definition, visually intense anaglyphic experience, hallucinations, editorial photography, journalistic style, candid
|
33 |
|
34 |
|
|
|
45 |
|
46 |
realistic, photorealistic, very aesthetic, best quality, absurdres, masterpiece, amazing quality, newest, scenery, depth of field
|
47 |
|
48 |
+
### Negative
|
49 |
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)
|
50 |
|
51 |
## Settings
|
|
|
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 |
|