image-pipeline commited on
Commit
1d656ca
·
verified ·
1 Parent(s): a18b061

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -17
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 kawaii melon holding a sign 'image pipeline'
17
  output:
18
- url: images/example_3wxm93t9u.png
19
- - text: cute 3d kawaii melon holding a sign says 'Image pipeline' on a board
20
  output:
21
- url: images/example_9vc67s054.png
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/flux/v1/run"
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
- "negative_prompt": "painting, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, deformed, ugly, blurry, bad anatomy, bad proportions, extra limbs, cloned face, skinny, glitchy, double torso, extra arms, extra hands, mangled fingers, missing lips, ugly face, distorted face, extra legs, anime",
68
- "width": "512",
69
- "height": "512",
70
  "samples": "1",
71
- "num_inference_steps": "30",
72
- "safety_checker": false,
73
- "guidance_scale": 7.5,
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/flux/v1
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 |