image-pipeline commited on
Commit
315486b
·
verified ·
1 Parent(s): 4d7418c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -14
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/flux/v1"
60
 
61
  payload = json.dumps({
62
- "model_id": "flux",
63
- "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",
64
- "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",
65
- "width": "512",
66
- "height": "512",
67
  "samples": "1",
68
- "num_inference_steps": "30",
69
- "safety_checker": false,
70
- "guidance_scale": 7.5,
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/flux/v1
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 |