mfrashad commited on
Commit
3dc844f
1 Parent(s): e8b1937

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -58
README.md CHANGED
@@ -7,61 +7,4 @@ tags:
7
  - ultra-realistic
8
  pinned: true
9
  duplicated_from: stablediffusionapi/hassaku-hentai-model
10
- ---
11
-
12
- # Hassaku (hentai model) API Inference
13
-
14
- ![generated from stablediffusionapi.com](https://cdn.stablediffusionapi.com/generations/17996588141690461165.png)
15
- ## Get API Key
16
-
17
- Get API key from [Stable Diffusion API](http://stablediffusionapi.com/), No Payment needed.
18
-
19
- Replace Key in below code, change **model_id** to "hassaku-hentai-model"
20
-
21
- Coding in PHP/Node/Java etc? Have a look at docs for more code examples: [View docs](https://stablediffusionapi.com/docs)
22
-
23
- Try model for free: [Generate Images](https://stablediffusionapi.com/models/hassaku-hentai-model)
24
-
25
- Model link: [View model](https://stablediffusionapi.com/models/hassaku-hentai-model)
26
-
27
- Credits: [View credits](https://civitai.com/?query=Hassaku%20%28hentai%20model%29)
28
-
29
- View all models: [View Models](https://stablediffusionapi.com/models)
30
-
31
- import requests
32
- import json
33
-
34
- url = "https://stablediffusionapi.com/api/v4/dreambooth"
35
-
36
- payload = json.dumps({
37
- "key": "your_api_key",
38
- "model_id": "hassaku-hentai-model",
39
- "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",
40
- "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",
41
- "width": "512",
42
- "height": "512",
43
- "samples": "1",
44
- "num_inference_steps": "30",
45
- "safety_checker": "no",
46
- "enhance_prompt": "yes",
47
- "seed": None,
48
- "guidance_scale": 7.5,
49
- "multi_lingual": "no",
50
- "panorama": "no",
51
- "self_attention": "no",
52
- "upscale": "no",
53
- "embeddings": "embeddings_model_id",
54
- "lora": "lora_model_id",
55
- "webhook": None,
56
- "track_id": None
57
- })
58
-
59
- headers = {
60
- 'Content-Type': 'application/json'
61
- }
62
-
63
- response = requests.request("POST", url, headers=headers, data=payload)
64
-
65
- print(response.text)
66
-
67
- > Use this coupon code to get 25% off **DMGG0RBN**
 
7
  - ultra-realistic
8
  pinned: true
9
  duplicated_from: stablediffusionapi/hassaku-hentai-model
10
+ ---