Create Dockerfile
Browse files- Dockerfile +21 -0
Dockerfile
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
docker run -d -p 5000:5000 --gpus=all r8.im/zylim0702/qr_code_controlnet@sha256:628e604e13cf63d8ec58bd4d238474e8986b054bc5e1326e50995fdbc851c557
|
2 |
+
curl -s -X POST \
|
3 |
+
-H "Content-Type: application/json" \
|
4 |
+
-d $'{
|
5 |
+
"input": {
|
6 |
+
"eta": 0,
|
7 |
+
"url": "https://www.go-yamamoto.com",
|
8 |
+
"seed": -1,
|
9 |
+
"prompt": "A high-res, photo-realistic rendering of Mount Fuji as a sharp, semi-realistic silhouette on the horizon, nature photography, 4k, lens flare, sunrise",
|
10 |
+
"scheduler": "K_EULER_ANCESTRAL",
|
11 |
+
"guess_mode": false,
|
12 |
+
"num_outputs": 1,
|
13 |
+
"guidance_scale": 9,
|
14 |
+
"negative_prompt": "Longbody, lowres, bad anatomy, bad hands, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality",
|
15 |
+
"image_resolution": 768,
|
16 |
+
"num_inference_steps": 100,
|
17 |
+
"disable_safety_check": true,
|
18 |
+
"qr_conditioning_scale": 1.3
|
19 |
+
}
|
20 |
+
}' \
|
21 |
+
http://localhost:5000/predictions
|