Update README.md
Browse files
README.md
CHANGED
@@ -13,12 +13,12 @@ base_model:
|
|
13 |
library_name: diffusers
|
14 |
new_version: black-forest-labs/FLUX.1-dev
|
15 |
widget:
|
16 |
-
- text: cute
|
17 |
output:
|
18 |
-
url: images/
|
19 |
-
- text: cute
|
20 |
output:
|
21 |
-
url:
|
22 |
|
23 |
---
|
24 |
|
@@ -59,22 +59,16 @@ Coding in `php` `javascript` `node` etc ? Checkout our documentation
|
|
59 |
import requests
|
60 |
import json
|
61 |
|
62 |
-
url = "https://imagepipeline.io/
|
63 |
|
64 |
payload = json.dumps({
|
65 |
-
"model_id": "flux",
|
66 |
"prompt": "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner)), blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K",
|
67 |
-
"
|
68 |
-
"
|
69 |
-
"height": "512",
|
70 |
"samples": "1",
|
71 |
-
"num_inference_steps": "
|
72 |
-
"
|
73 |
-
"
|
74 |
-
"multi_lingual": "no",
|
75 |
-
"embeddings": "",
|
76 |
-
"lora_models": "bf76912d-743d-4e99-9d48-a232e04e237d",
|
77 |
-
"lora_weights": "1.0"
|
78 |
})
|
79 |
|
80 |
headers = {
|
@@ -98,7 +92,7 @@ Get more ready to use `MODELS` like this for `SD 1.5` and `SDXL` and `flux` :
|
|
98 |
#### Generate Image
|
99 |
|
100 |
```http
|
101 |
-
https://api.imagepipeline.io/
|
102 |
```
|
103 |
|
104 |
| Headers | Type | Description |
|
|
|
13 |
library_name: diffusers
|
14 |
new_version: black-forest-labs/FLUX.1-dev
|
15 |
widget:
|
16 |
+
- text: cute 3d kawaii coca cola can dancing, sticker style, pastel background
|
17 |
output:
|
18 |
+
url: images/75.png
|
19 |
+
- text: cute kawaii ginger cat playing with a ball of green yarn, pink floor
|
20 |
output:
|
21 |
+
url: image/76.png
|
22 |
|
23 |
---
|
24 |
|
|
|
59 |
import requests
|
60 |
import json
|
61 |
|
62 |
+
url = "https://imagepipeline.io/generate/v3"
|
63 |
|
64 |
payload = json.dumps({
|
|
|
65 |
"prompt": "ultra realistic close up portrait ((beautiful pale cyberpunk female with heavy black eyeliner)), blue eyes, shaved side haircut, hyper detail, cinematic lighting, magic neon, dark red city, Canon EOS R3, nikon, f/1.4, ISO 200, 1/160s, 8K, RAW, unedited, symmetrical balance, in-frame, 8K",
|
66 |
+
"width": "1024",
|
67 |
+
"height": "1024",
|
|
|
68 |
"samples": "1",
|
69 |
+
"num_inference_steps": "25",
|
70 |
+
"lora_models": ["bf76912d-743d-4e99-9d48-a232e04e237d"],
|
71 |
+
"lora_weights": [1.0]
|
|
|
|
|
|
|
|
|
72 |
})
|
73 |
|
74 |
headers = {
|
|
|
92 |
#### Generate Image
|
93 |
|
94 |
```http
|
95 |
+
https://api.imagepipeline.io/generate/v3
|
96 |
```
|
97 |
|
98 |
| Headers | Type | Description |
|