image-pipeline
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -56,22 +56,16 @@ Coding in `php` `javascript` `node` etc ? Checkout our documentation
|
|
56 |
import requests
|
57 |
import json
|
58 |
|
59 |
-
url = "https://imagepipeline.io/
|
60 |
|
61 |
payload = json.dumps({
|
62 |
-
"
|
63 |
-
"
|
64 |
-
"
|
65 |
-
"width": "512",
|
66 |
-
"height": "512",
|
67 |
"samples": "1",
|
68 |
-
"num_inference_steps": "
|
69 |
-
"
|
70 |
-
"
|
71 |
-
"multi_lingual": "no",
|
72 |
-
"embeddings": "",
|
73 |
-
"lora_models": "fd8813ee-307a-4ca3-b4b5-e9a480d89069",
|
74 |
-
"lora_weights": "0.5"
|
75 |
})
|
76 |
|
77 |
headers = {
|
@@ -95,7 +89,7 @@ Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` and `FLUX`:
|
|
95 |
#### Generate Image
|
96 |
|
97 |
```http
|
98 |
-
https://api.imagepipeline.io/
|
99 |
```
|
100 |
|
101 |
| Headers | Type | Description |
|
|
|
56 |
import requests
|
57 |
import json
|
58 |
|
59 |
+
url = "https://imagepipeline.io/generate/v3"
|
60 |
|
61 |
payload = json.dumps({
|
62 |
+
"prompt": ""A detailed photograph of a woman with short brunette hair styled in a sleek bob haircut. She is wearing a spaghetti strap, form-fitting sequin dress that shimmers in the light, sipping champagne from a glass at an elegant bar. Her makeup is flawless, featuring glossy lipstick, smoky eyes, and perfect, striking features. The atmosphere is moody and sophisticated, with bluish ambient lighting casting soft shadows and enhancing the glamour of the scene."
|
63 |
+
"width": "1024",
|
64 |
+
"height": "1024",
|
|
|
|
|
65 |
"samples": "1",
|
66 |
+
"num_inference_steps": "20",
|
67 |
+
"lora_models": ["fd8813ee-307a-4ca3-b4b5-e9a480d89069"],
|
68 |
+
"lora_weights": ["0.5"]
|
|
|
|
|
|
|
|
|
69 |
})
|
70 |
|
71 |
headers = {
|
|
|
89 |
#### Generate Image
|
90 |
|
91 |
```http
|
92 |
+
https://api.imagepipeline.io/generate/v3
|
93 |
```
|
94 |
|
95 |
| Headers | Type | Description |
|