7iFiNalBoSS
commited on
Commit
•
dbf97df
1
Parent(s):
26e5729
Update README.md
Browse files
README.md
CHANGED
@@ -47,7 +47,7 @@ Coding in `php` `javascript` `node` etc ? Checkout our documentation
|
|
47 |
import requests
|
48 |
import json
|
49 |
|
50 |
-
url = "https://imagepipeline.io/
|
51 |
|
52 |
payload = json.dumps({
|
53 |
"model_id": "flux",
|
@@ -62,7 +62,7 @@ payload = json.dumps({
|
|
62 |
"multi_lingual": "no",
|
63 |
"embeddings": "",
|
64 |
"lora_models": "bf76912d-743d-4e99-9d48-a232e04e237d",
|
65 |
-
"lora_weights": "0
|
66 |
})
|
67 |
|
68 |
headers = {
|
@@ -77,7 +77,7 @@ print(response.text)
|
|
77 |
}
|
78 |
```
|
79 |
|
80 |
-
Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` :
|
81 |
|
82 |
[![All models](https://img.shields.io/badge/Get%20All%20Models-image_pipeline-BD9319)](https://imagepipeline.io/models)
|
83 |
|
@@ -86,7 +86,7 @@ Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` :
|
|
86 |
#### Generate Image
|
87 |
|
88 |
```http
|
89 |
-
https://api.imagepipeline.io/
|
90 |
```
|
91 |
|
92 |
| Headers | Type | Description |
|
|
|
47 |
import requests
|
48 |
import json
|
49 |
|
50 |
+
url = "https://imagepipeline.io/flux/v1/run"
|
51 |
|
52 |
payload = json.dumps({
|
53 |
"model_id": "flux",
|
|
|
62 |
"multi_lingual": "no",
|
63 |
"embeddings": "",
|
64 |
"lora_models": "bf76912d-743d-4e99-9d48-a232e04e237d",
|
65 |
+
"lora_weights": "1.0"
|
66 |
})
|
67 |
|
68 |
headers = {
|
|
|
77 |
}
|
78 |
```
|
79 |
|
80 |
+
Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` and `flux` :
|
81 |
|
82 |
[![All models](https://img.shields.io/badge/Get%20All%20Models-image_pipeline-BD9319)](https://imagepipeline.io/models)
|
83 |
|
|
|
86 |
#### Generate Image
|
87 |
|
88 |
```http
|
89 |
+
https://api.imagepipeline.io/flux/v1
|
90 |
```
|
91 |
|
92 |
| Headers | Type | Description |
|